elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.67k stars 8.23k forks source link

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/tamper_protection/switching_policies/uninstall_agent_from_host_changing_policy_from_enabled_to_disabled·cy·ts - Uninstall agent from host changing agent policy when agent tamper protection is enabled but then is switched to a policy with it disabled "before each" hook for "should uninstall from host without issues" "before each" hook for "should uninstall from host without issues" #170604

Open kibanamachine opened 1 year ago

kibanamachine commented 1 year ago

A test failed on a tracked branch

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

> Failed to retrieve list of versions from elastic's artifact repository: Service Temporarily Unavailable (HTTP 503) {URL: https://artifacts-api.elastic.co/v1/versions)

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

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Uninstall agent from host c...`
    at <unknown> (http://localhost:5645/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (http://localhost:5645/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5645/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5645/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5645/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5645/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5645/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5645/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5645/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5645/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
    at createEndpointHost (webpack:///./tasks/create_endpoint_host.ts:15:12)
    at Context.eval (webpack:///./e2e/tamper_protection/switching_policies/uninstall_agent_from_host_changing_policy_from_enabled_to_disabled.cy.ts:58:32)

From Node.js Internals:
  Error: Failed to retrieve list of versions from elastic's artifact repository: Service Temporarily Unavailable (HTTP 503) {URL: https://artifacts-api.elastic.co/v1/versions)
      at <unknown> (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-61ba7c06b1faa29d/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts:453:15)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async getLatestAgentDownloadVersion (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-61ba7c06b1faa29d/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts:450:60)
      at async getAgentDownloadUrl (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-61ba7c06b1faa29d/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts:403:39)
      at async createAndEnrollEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-61ba7c06b1faa29d/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:67:25)
      at async attemptCreateEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-61ba7c06b1faa29d/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/cypress/support/data_loaders.ts:340:27)

First failure: CI Build - main

elasticmachine commented 1 year ago

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

kibanamachine commented 1 year ago

New failure: CI Build - main

kibanamachine commented 1 year ago

New failure: CI Build - main

mistic commented 1 year ago

Skipped.

main: 9a21552

ashokaditya commented 11 months ago

not flaky

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

kibanamachine commented 11 months ago

New failure: CI Build - main

mistic commented 11 months ago

Skipped.

main: https://github.com/elastic/kibana/commit/f3bec6dae84bd7c47528c185a6cafa753136c458

kevinlog commented 11 months ago

@dasansol92 @szwarckonrad - should be fixed with new Endpoint snapshot addressing this: https://github.com/elastic/security-team/issues/8244

Also labeled with a new reason on our board: "Endpoint bug"

szwarckonrad commented 11 months ago

Last failures were related to 8.13 agent failures (https://github.com/elastic/security-team/issues/8244) , will be closed with https://github.com/elastic/kibana/pull/173589

kibanamachine commented 10 months ago

New failure: CI Build - 8.12

kibanamachine commented 10 months ago

New failure: CI Build - 8.12

kibanamachine commented 10 months ago

New failure: CI Build - 8.12

kibanamachine commented 10 months ago

New failure: CI Build - 8.12

mistic commented 10 months ago

/skip

kibanamachine commented 10 months ago

Skipped

8.12: 2a5dbf8a1a5363b8fda5067032f723dc0d823546

dasansol92 commented 9 months ago

https://github.com/elastic/kibana/pull/175780

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

New failure: CI Build - main

kibanamachine commented 7 months ago

Skipped

main: afaae2c961a457b4d60d249cc184656639c839ee

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main

kibanamachine commented 5 months ago

New failure: kibana-on-merge - main