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/security_solution/public/attack_discovery/pages - AttackDiscovery when loading renders the loading callout #196418

Open
kibanamachine opened this issue Oct 15, 2024 · 4 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Security Generative AI Security Generative AI

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 15, 2024

A test failed on a tracked branch

TypeError: (0 , _reactUse.useLocalStorage) is not a function or its return value is not iterable
    at SettingsModalComponent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/attack_discovery/pages/header/settings_modal/index.tsx:70:66)
    at renderWithHooks (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
    at updateFunctionComponent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:17356:20)
    at updateSimpleMemoComponent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:17215:10)
    at updateMemoComponent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:17092:14)
    at beginWork (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:19135:16)
    at HTMLUnknownElement.callCallback (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
    at invokeGuardedCallback (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
    at beginWork$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
    at performUnitOfWork (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
    at workLoopSync (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
    at renderRootSync (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
    at performSyncWorkOnRoot (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
    at scheduleUpdateOnFiber (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
    at updateContainer (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:26021:7
    at unbatchedUpdates (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
    at legacyRenderSubtreeIntoContainer (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
    at Object.render (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/@testing-library/react/dist/pure.js:101:25
    at batchedUpdates$1 (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
    at act (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
    at render (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/@testing-library/react/dist/pure.js:97:26)
    at Object.<anonymous> (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/attack_discovery/pages/index.test.tsx:512:13)
    at Promise.then.completed (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:281:40)
    at _runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:121:9)
    at run (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1729012282494935342/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 15, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 15, 2024
@kibanamachine kibanamachine added the Team:Security Generative AI Security Generative AI label Oct 15, 2024
@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 15, 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

@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:Security Generative AI Security Generative AI
Projects
None yet
Development

No branches or pull requests

1 participant