elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/scan·cy·ts - Response console Scan operation: "before all" hook for ""scan --path" - should scan a folder" "before all" hook for ""scan --path" - should scan a folder" #186146

Open kibanamachine opened 3 months ago

kibanamachine commented 3 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
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "/opt/buildkite-agent/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-jammy64/20240605.1.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184", "--vsys", "0", "--unit", "13", "--disk", "/opt/buildkite-agent/VirtualBox VMs/ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184/ubuntu-jammy-22.04-cloudimg.vmdk", "--vsys", "0", "--unit", "14", "--disk", "/opt/buildkite-agent/VirtualBox VMs/ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184/ubuntu-jammy-22.04-cloudimg-configdrive.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /opt/buildkite-agent/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-jammy64/20240605.1.0/virtualbox/box.ovf...
OK.
0%...
Progress state: VBOX_E_INVALID_OBJECT_STATE
VBoxManage: error: Appliance import failed
VBoxManage: error: Storage for the medium '/opt/buildkite-agent/VirtualBox VMs/ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184/ubuntu-jammy-22.04-cloudimg.vmdk' is not created
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1404 of file VBoxManageAppliance.cpp

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: `Scan operation:`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at <unknown> (http://localhost:5659/__cypress/runner/cypress_runner.js:135281:70)
    at tryCatcher (http://localhost:5659/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5659/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5659/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5659/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5659/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5659/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5659/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5659/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5659/__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/response_actions/response_console/scan.cy.ts:61:40)

From Node.js Internals:
  Error: Command failed with exit code 1: vagrant up
  There was an error while executing `VBoxManage`, a CLI used by Vagrant
  for controlling VirtualBox. The command and stderr is shown below.

  Command: ["import", "/opt/buildkite-agent/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-jammy64/20240605.1.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184", "--vsys", "0", "--unit", "13", "--disk", "/opt/buildkite-agent/VirtualBox VMs/ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184/ubuntu-jammy-22.04-cloudimg.vmdk", "--vsys", "0", "--unit", "14", "--disk", "/opt/buildkite-agent/VirtualBox VMs/ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184/ubuntu-jammy-22.04-cloudimg-configdrive.vmdk"]

  Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
  Interpreting /opt/buildkite-agent/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-jammy64/20240605.1.0/virtualbox/box.ovf...
  OK.
  0%...
  Progress state: VBOX_E_INVALID_OBJECT_STATE
  VBoxManage: error: Appliance import failed
  VBoxManage: error: Storage for the medium '/opt/buildkite-agent/VirtualBox VMs/ubuntu-jammy-22.04-cloudimg-20240605_1718235064442_96184/ubuntu-jammy-22.04-cloudimg.vmdk' is not created
  VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component ApplianceWrap, interface IAppliance
  VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1404 of file VBoxManageAppliance.cpp
      at makeError (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1718233331634740080/elastic/kibana-on-merge/kibana/node_modules/execa/lib/error.js:60:11)
      at handlePromise (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1718233331634740080/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/bk-agent-prod-gcp-1718233331634740080/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/vm_services.ts:242:7)
      at async createAndEnrollEndpointHostCI (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1718233331634740080/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/cypress/support/create_and_enroll_endpoint_host_ci.ts:95:18)
      at async attemptCreateEndpointHost (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1718233331634740080/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/cypress/support/data_loaders.ts:406:17)

First failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

elasticmachine commented 3 months ago

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

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main