elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/tamper_protection/switching_policies/unenroll_agent_from_fleet_changing_policy_from_enabled_to_enabled·cy·ts - Unenroll agent from fleet changing agent policy when agent tamper protection is enabled but then is switched to a policy with it also enabled "before each" hook for "should unenroll from fleet without issues" "before each" hook for "should unenroll from fleet without issues" #170816

Closed kibanamachine closed 2 months ago

kibanamachine commented 12 months ago

A test failed on a tracked branch

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

> Command failed with exit code 1: vagrant up
The box 'ubuntu/jammy64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://vagrantcloud.com/ubuntu/jammy64"]
Error: The requested URL returned error: 429

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: `Unenroll agent from fleet c...`
    at <unknown> (http://localhost:5640/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (http://localhost:5640/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5640/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5640/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5640/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5640/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5640/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5640/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5640/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5640/__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/unenroll_agent_from_fleet_changing_policy_from_enabled_to_enabled.cy.ts:59:32)

From Node.js Internals:
  Error: Command failed with exit code 1: vagrant up
  The box 'ubuntu/jammy64' could not be found or
  could not be accessed in the remote catalog. If this is a private
  box on HashiCorp's Vagrant Cloud, please verify you're logged in via
  `vagrant login`. Also, please double-check the name. The expanded
  URL and error message are shown below:

  URL: ["https://vagrantcloud.com/ubuntu/jammy64"]
  Error: The requested URL returned error: 429
      at makeError (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-8b25346e45db1bca/elastic/kibana-on-merge/kibana/node_modules/execa/lib/error.js:60:11)
      at handlePromise (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-8b25346e45db1bca/elastic/kibana-on-merge/kibana/node_modules/execa/index.js:118:26)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async createVagrantVm (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-8b25346e45db1bca/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:188:5)
  at async Promise.all (index 0)
      at async createAndEnrollEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-8b25346e45db1bca/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:85:49)
      at async attemptCreateEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-8b25346e45db1bca/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 12 months ago

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

kibanamachine commented 12 months ago

New failure: CI Build - main

kibanamachine commented 12 months ago

New failure: CI Build - main

kibanamachine commented 12 months ago

New failure: CI Build - main

kibanamachine commented 12 months ago

New failure: CI Build - main

kibanamachine commented 12 months ago

New failure: CI Build - main

dasansol92 commented 12 months ago

PR: https://github.com/elastic/kibana/pull/170897

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

mistic commented 10 months ago

Skipped.

main: https://github.com/elastic/kibana/commit/52b593c99fecc7f29c4df990ea7b49665e286c11

kevinlog commented 10 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 10 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 9 months ago

New failure: CI Build - 8.12

kibanamachine commented 9 months ago

New failure: CI Build - 8.12

kibanamachine commented 9 months ago

New failure: CI Build - 8.12

kibanamachine commented 9 months ago

New failure: CI Build - 8.12

mistic commented 9 months ago

/skip

kibanamachine commented 9 months ago

Skipped

8.12: 9530783bf0cedc5e3d9bab362bab202f1e5c126f

dasansol92 commented 9 months ago

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

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

Skipped

main: f5877fada114a443f3e699c370ed4cb8a96f6c4a

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 6 months ago

New failure: CI Build - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main