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/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout - When on the package policy create page And Route state is provided via Fleet HashRouter and the cancel Link or Button is clicked should use custom "cancel" URL #196463

Closed
kibanamachine opened this issue Oct 16, 2024 · 8 comments · Fixed by #196806 or #199477
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 Oct 16, 2024

A test failed on a tracked branch

Error: thrown: "Exceeded timeout of 5000 ms for a hook.
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 beforeEach (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx:285:7)
    at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx:281:5)
    at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx:264:3)
    at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
    at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/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-1729039860999931928/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx:157:1)
    at Runtime._execModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/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-1729039860999931928/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-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/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-1729039860999931928/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729039860999931928/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 Oct 16, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 16, 2024
@kibanamachine kibanamachine added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 16, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

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

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Oct 17, 2024

Skipped.

main: 613a1eb
8.x: 2ad8de8

@kibanamachine
Copy link
Contributor Author

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

juliaElastic added a commit 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 #196463
Closes #196464
Closes #196465
Closes #196466
Closes #196467
Closes #196468
Closes #196469

Closes #192798
Closes #189004
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 Oct 21, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@mistic
Copy link
Member

mistic commented Oct 22, 2024

Skipped.

main: 1d738b8
8.x: c624b1e
8.16: 30127c0

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.16

@mistic mistic added the v8.16.0 label Oct 23, 2024
@nchaulet nchaulet assigned nchaulet and unassigned nchaulet Nov 4, 2024
@juliaElastic juliaElastic self-assigned this Nov 8, 2024
juliaElastic added a commit that referenced this issue Nov 8, 2024
## Summary

Enabling flaky create package policy test, fixing failures

Closes #196463
Closes #196464
Closes #196465
Closes #196466
Closes #196467
Closes #196468
Closes #196469
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 8, 2024
## Summary

Enabling flaky create package policy test, fixing failures

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

(cherry picked from commit 3dfe062)
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
5 participants