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 - ManageAgentPoliciesModal should update policy on submit #189004

Open
kibanamachine opened this issue Jul 23, 2024 · 11 comments · Fixed by #189271 or #196806
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 Jul 23, 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-1721760909194182812/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx:91:3)
    at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/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-1721760909194182812/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx:62:1)
    at Runtime._execModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1430:24)
    at Runtime._loadModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1013:12)
    at Runtime.requireModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:873:12)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/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-1721760909194182812/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1721760909194182812/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 Jul 23, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 23, 2024
@kibanamachine kibanamachine added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 23, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

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

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Jul 25, 2024

Skipped.

main: f6c498c

@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 - 8.x

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

@mistic
Copy link
Member

mistic commented Oct 2, 2024

Skipped.

main: b61bb95
8.x: f1f8fab

kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Oct 18, 2024
## Summary

Unskip flaky tests

Couldn't reproduce the failure in a few runs, the flaky test runner
doesn't support running Jest tests.

Closes elastic#196463
Closes elastic#196464
Closes elastic#196465
Closes elastic#196466
Closes elastic#196467
Closes elastic#196468
Closes elastic#196469

Closes elastic#192798
Closes elastic#189004

(cherry picked from commit d2ee407)
@kibanamachine kibanamachine reopened this Nov 21, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

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