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/alerts_table/bulk_actions - AlertsTable.BulkActions when the bulk action hook is set and the toolbar is on and select all is clicked and executing a bulk action should call refresh function of use fetch alerts when bulk action 3 is clicked #152176

Closed
kibanamachine opened this issue Feb 27, 2023 · 4 comments · Fixed by #156795
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Alerting/RulesManagement Issues related to the Rules Management UX Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 27, 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-7a724d9b4f71ae4b/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx:702:11)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx:587:9)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx:515:7)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx:383:5)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx:204:3)
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_table/bulk_actions/bulk_actions.test.tsx:47:1)
    at Runtime._execModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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-7a724d9b4f71ae4b/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 Feb 27, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Feb 27, 2023
@kibanamachine kibanamachine added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Feb 27, 2023
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Feb 27, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

mistic added a commit that referenced this issue Feb 27, 2023
@mistic
Copy link
Member

mistic commented Feb 27, 2023

Skipped.

main: 4b90731

@XavierM XavierM added the Feature:Alerting/RulesManagement Issues related to the Rules Management UX label Feb 28, 2023
bmorelli25 pushed a commit to bmorelli25/kibana that referenced this issue Mar 10, 2023
guskovaue added a commit that referenced this issue Mar 22, 2023
Fix: 
- #152176
- #152267

## Summary

Rewrite long and flaky bulk edit tests into functional test
tsullivan pushed a commit to tsullivan/kibana that referenced this issue Mar 22, 2023
Fix: 
- elastic#152176
- elastic#152267

## Summary

Rewrite long and flaky bulk edit tests into functional test
kibanamachine added a commit that referenced this issue May 5, 2023
# Backport

This will backport the following commits from `main` to `8.8`:
- [Fix skipped Bulk Actions in Alerts Table tests
(#156795)](#156795)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julian
Gernun","email":"17549662+jcger@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-05T15:04:20Z","message":"Fix
skipped Bulk Actions in Alerts Table tests (#156795)\n\n##
Summary\r\n\r\nFixes
#154970
#152176 times
before:\r\n![Screenshot\r\n12](https://user-images.githubusercontent.com/17549662/236402240-5be77baa-c35b-44f2-bbe1-f49d7cd6accc.png)\r\n\r\nRun
times
after:\r\n\r\n![Screenshot](https://user-images.githubusercontent.com/17549662/236402290-0d7377b2-1db3-4c62-8164-ff40358aea63.png)","sha":"8325b0d01451bce2ddbe1418fbb751a744eff96d","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v8.8.0","v8.9.0"],"number":156795,"url":"https://github.com/elastic/kibana/pull/156795","mergeCommit":{"message":"Fix
skipped Bulk Actions in Alerts Table tests (#156795)\n\n##
Summary\r\n\r\nFixes
#154970
#152176 times
before:\r\n![Screenshot\r\n12](https://user-images.githubusercontent.com/17549662/236402240-5be77baa-c35b-44f2-bbe1-f49d7cd6accc.png)\r\n\r\nRun
times
after:\r\n\r\n![Screenshot](https://user-images.githubusercontent.com/17549662/236402290-0d7377b2-1db3-4c62-8164-ff40358aea63.png)","sha":"8325b0d01451bce2ddbe1418fbb751a744eff96d"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156795","number":156795,"mergeCommit":{"message":"Fix
skipped Bulk Actions in Alerts Table tests (#156795)\n\n##
Summary\r\n\r\nFixes
#154970
#152176 times
before:\r\n![Screenshot\r\n12](https://user-images.githubusercontent.com/17549662/236402240-5be77baa-c35b-44f2-bbe1-f49d7cd6accc.png)\r\n\r\nRun
times
after:\r\n\r\n![Screenshot](https://user-images.githubusercontent.com/17549662/236402290-0d7377b2-1db3-4c62-8164-ff40358aea63.png)","sha":"8325b0d01451bce2ddbe1418fbb751a744eff96d"}}]}]
BACKPORT-->

Co-authored-by: Julian Gernun <17549662+jcger@users.noreply.github.com>
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 Feature:Alerting/RulesManagement Issues related to the Rules Management UX Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants