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/triggers_actions_ui/public/application/sections/rules_list/components - rules_list rules_list component with items can filter by rule states #149061

Open
kibanamachine opened this issue Jan 17, 2023 · 9 comments
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Alerting/RulesManagement Issues related to the Rules Management UX skipped-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 17, 2023

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 it (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx:808:5)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
    at describe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx:414:3)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/rules_list/components/rules_list.test.tsx:261:1)
    at Runtime._execModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1377:24)
    at Runtime._loadModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:989:12)
    at Runtime.requireModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:849:12)
    at jestAdapter (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-f90b349b41b5abeb/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jan 17, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 17, 2023
@kibanamachine kibanamachine added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Jan 17, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

jcger added a commit that referenced this issue Feb 6, 2023
## Summary

Related to #149061

I won't close the issue with this PR so we can keep getting notified
about future fails

Updated so it waits until the spinner is gone instead of waiting for
"Rule state" text to appear as it's done this way in the rest of the
tests and they are not flaky.
Instead of assuming that the rule status filter button and it's toolbar
are shown from the beginning, we ensure they are present waiting for
these elements to appear. (I hope this one was the root cause but we
won't be sure until this stops happening)
@jcger jcger moved this from In Review to On Hold in AppEx: ResponseOps - Rules & Alerts Management Feb 6, 2023
sphilipse pushed a commit to sphilipse/kibana that referenced this issue Feb 6, 2023
…c#150056)

## Summary

Related to elastic#149061

I won't close the issue with this PR so we can keep getting notified
about future fails

Updated so it waits until the spinner is gone instead of waiting for
"Rule state" text to appear as it's done this way in the rest of the
tests and they are not flaky.
Instead of assuming that the rule status filter button and it's toolbar
are shown from the beginning, we ensure they are present waiting for
these elements to appear. (I hope this one was the root cause but we
won't be sure until this stops happening)
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.7

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@jcger jcger removed their assignment Oct 19, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Oct 24, 2023

Skipped.

main: f790f83

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.11

@JiaweiWu JiaweiWu added the Feature:Alerting/RulesManagement Issues related to the Rules Management UX label Nov 26, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.11

@bhavyarm bhavyarm added v8.13.0 and removed v8.12.0 labels Feb 6, 2024
@JiaweiWu JiaweiWu self-assigned this May 15, 2024
@cnasikas cnasikas added v8.15.0 and removed v8.13.0 labels May 15, 2024
@bhavyarm bhavyarm removed the v8.15.0 label Sep 23, 2024
@cnasikas cnasikas removed the v8.16.0 label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Alerting/RulesManagement Issues related to the Rules Management UX skipped-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

9 participants