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/response_actions/response_console/process_operations·cy·ts - Response console Processes operations: "suspend-process --pid" - should suspend a process "suspend-process --pid" - should suspend a process #170371

Open kibanamachine opened 1 year ago

kibanamachine commented 1 year ago

A test failed on a tracked branch

AssertionError: Timed out retrying after 60000ms: Expected to find content: 'Action pending.' but never did.
    at waitForCommandToBeExecuted (webpack:///./tasks/response_console.ts:58:36)
    at Context.eval (webpack:///./e2e/response_actions/response_console/process_operations.cy.ts:123:33)

First failure: CI Build - main

elasticmachine commented 1 year ago

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

kevinlog commented 1 year ago

Related: https://github.com/elastic/kibana/issues/170369

kibanamachine commented 1 year ago

New failure: CI Build - main

ashokaditya commented 1 year ago

The reason for flakiness in process actions (process, kill and suspend) is

  1. sometimes the cron jobs are not running right away or at VM boot, thus the process test fails looking for usr/sbin/cron
  2. The other two tests (kill and suspend) depend on the processes test to provide the pid for the cron job (usr/sbin/cron), which may or may not be running.

The way to avoid this is to

  1. Find 2 processes that always run and are okay to suspend/kill. Either we start/create these processes after agent install or VM boot or pick ones that are sure to be running.
  2. Make the kill/suspend processes use these processes for separate pids, so that the tests are independent.
ashokaditya commented 1 year ago

PR elastic/kibana/pull/171319

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 - 8.14

kibanamachine commented 7 months ago

New failure: CI Build - 8.14

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

New failure: CI Build - 8.14

kibanamachine commented 7 months ago

New failure: CI Build - 8.14

kibanamachine commented 7 months ago

New failure: CI Build - 8.14

kibanamachine commented 7 months ago

New failure: CI Build - 8.14

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

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