Skip to content

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_list/endpoints_rbac_mocked_data·cy·ts - Endpoints RBAC some hosts are enrolled endpoint policy management privilege is none "before all" hook for "should show Endpoint list without link to Endpoint Policy with fleet:none and integrations:none" "before all" hook for "should show Endpoint list without link to Endpoint Policy with fleet:none and integrations:none" #203930

Open
@kibanamachine

Description

A test failed on a tracked branch

CypressError: `cy.task('indexEndpointHosts')` failed with the following error:

> mapper_parsing_exception
	Caused by:
		mapper_parsing_exception: No handler for type [bool] declared on field [flag_hugetlb]
	Root causes:
		mapper_parsing_exception: No handler for type [bool] declared on field [flag_hugetlb]

https://on.cypress.io/api/task

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `some hosts are enrolled`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at <unknown> (http://localhost:5697/__cypress/runner/cypress_runner.js:134966:70)
    at tryCatcher (http://localhost:5697/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5697/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5697/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5697/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5697/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5697/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5697/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5697/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5697/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
    at indexEndpointHosts (webpack:///./tasks/index_endpoint_hosts.ts:22:12)
    at Context.eval (webpack:///./e2e/endpoint_list/endpoints_rbac_mocked_data.cy.ts:148:25)

From Node.js Internals:
  EndpointDataLoadingError: mapper_parsing_exception
  	Caused by:
  		mapper_parsing_exception: No handler for type [bool] declared on field [flag_hugetlb]
  	Root causes:
  		mapper_parsing_exception: No handler for type [bool] declared on field [flag_hugetlb]
      at updatePackages (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1733947485944067894/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/setup_fleet_for_endpoint.ts:147:17)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async retryOnError (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1733947485944067894/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:88:22)

First failure: kibana-on-merge - main

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions