Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: Jest Tests.x-pack/plugins/cases/public/components/all_cases - AllCasesGeneric renders the first available status when hiddenStatus is given #116775

Closed
kibanamachine opened this issue Oct 29, 2021 · 2 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
    at /opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/x-pack/plugins/cases/public/components/all_cases/all_cases_generic.test.tsx:85:3
    at _dispatchDescribe (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/index.js:67:26)
    at describe (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/index.js:30:5)
    at Object.<anonymous> (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/x-pack/plugins/cases/public/components/all_cases/all_cases_generic.test.tsx:61:1)
    at Runtime._execModule (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-runtime/build/index.js:1299:24)
    at Runtime._loadModule (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-runtime/build/index.js:898:12)
    at Runtime.requireModule (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-runtime/build/index.js:746:10)
    at jestAdapter (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:106:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at runTestInternal (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/opt/local-ssd/buildkite/builds/kb-c2-16-31f9b67891041999/elastic/kibana-hourly/kibana/node_modules/jest-runner/build/testWorker.js:133:12)

First failure: CI Build - master

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 29, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 29, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-cases (Team:Threat Hunting:Cases)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 2, 2021
@semd
Copy link
Contributor

semd commented Nov 2, 2021

I ran 100 times this test locally in the main branch, all executions passed.
Probably #115687 will help us to prevent these problems.

@semd semd closed this as completed Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test
Projects
None yet
Development

No branches or pull requests

4 participants