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/fleet/public/components - PackagePolicyActionsMenu Should disable upgrade button if package does not have upgrade #191804

Open
kibanamachine opened this issue Aug 30, 2024 · 15 comments · Fixed by #195791 or #202289
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 30, 2024

A test failed on a tracked branch

Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/components/package_policy_actions_menu.test.tsx:117:3)
    at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/components/package_policy_actions_menu.test.tsx:112:1)
    at Runtime._execModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1725003370620422489/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Aug 30, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 30, 2024
@kibanamachine kibanamachine added the Team:Fleet Team label for Observability Data Collection Fleet team label Aug 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 30, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kpollich kpollich self-assigned this Sep 20, 2024
@kpollich
Copy link
Member

I'm trying to reproduce this failure on #193459.

I've run the flaky jest suite in a loop 100 times without seeing a failure multiple times now. Will see if anything changes in CI.

@kpollich
Copy link
Member

The 100 execution loop for these tests passed in Kibana CI on #193459, so I'm closing this.

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine kibanamachine reopened this Oct 15, 2024
@kpollich
Copy link
Member

Took another look at this and ran the test 1000 times in CI with no issues. Not sure what to do here. Closing again.

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

mistic added a commit that referenced this issue Nov 21, 2024
@mistic
Copy link
Member

mistic commented Nov 21, 2024

Skipped.

main: cba99de

@mistic mistic added the blocker label Nov 21, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.17

CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 9, 2024
## Summary

Changes in elastic#201443 with some
tweaks

Closes elastic#201210
Closes elastic#200786
Closes elastic#191804
Closes elastic#199204
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
## Summary

Changes in elastic#201443 with some
tweaks

Closes elastic#201210
Closes elastic#200786
Closes elastic#191804
Closes elastic#199204
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 Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
4 participants