There is a flaky test in the @kbn/pm bootstrap suite that causes two failures.
First failure:
Kibana Pipeline / kibana-intake-agent / Jest Tests.packages/kbn-pm/src/commands.handles dependencies of dependencies
: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error:
at new Spec (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
at new Spec (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/setup_jest_globals.js:78:9)
at specFactory (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/jasmine/Env.js:523:24)
at Env.it (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/jasmine/Env.js:592:24)
at Env.it (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:134:23)
at test (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js:100:21)
at Object.<anonymous> (/dev/shm/workspace/kibana/packages/kbn-pm/src/commands/bootstrap.test.ts:78:1)
at Runtime._execModule (/dev/shm/workspace/kibana/node_modules/jest-runtime/build/index.js:1217:24)
at Runtime._loadModule (/dev/shm/workspace/kibana/node_modules/jest-runtime/build/index.js:828:12)
at Runtime.requireModule (/dev/shm/workspace/kibana/node_modules/jest-runtime/build/index.js:679:10)
at jasmine2 (/dev/shm/workspace/kibana/node_modules/jest-jasmine2/build/index.js:230:13)
at runTestInternal (/dev/shm/workspace/kibana/node_modules/jest-runner/build/runTest.js:372:22)
at process._tickCallback (internal/process/next_tick.js:68:7)
Recent failure: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1545/testReport/junit/Jest%20Tests/packages_kbn-pm_src_commands/Kibana_Pipeline___kibana_intake_agent___handles_dependencies_of_dependencies/
Second failure:
Kibana Pipeline / kibana-intake-agent / Jest Tests.packages/kbn-pm/src/commands.does not run installer if no deps in package
Error: expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `does not run installer if no deps in package 1`
- Snapshot - 6
+ Received + 0
Array [
info [kibana] running yarn,
"",
"",
- info [bar] running yarn,
- "",
- "",
- info [foo] running yarn,
- "",
- "",
]
at Object.<anonymous>.test (/dev/shm/workspace/kibana/packages/kbn-pm/src/commands/bootstrap.test.ts:129:30)
at process._tickCallback (internal/process/next_tick.js:68:7)
Recent failure: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1545/testReport/junit/Jest%20Tests/packages_kbn-pm_src_commands/Kibana_Pipeline___kibana_intake_agent___does_not_run_installer_if_no_deps_in_package/
These are happening pretty frequently in the current snapshot verification builds, which don't use tasks and therefore have slightly different performance characteristics than mainline and PR jobs, which might account for why we're getting timeouts there but not on mainline builds.
There is a flaky test in the
@kbn/pmbootstrap suite that causes two failures.First failure:
Kibana Pipeline / kibana-intake-agent / Jest Tests.packages/kbn-pm/src/commands.handles dependencies of dependenciesRecent failure: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1545/testReport/junit/Jest%20Tests/packages_kbn-pm_src_commands/Kibana_Pipeline___kibana_intake_agent___handles_dependencies_of_dependencies/
Second failure:
Kibana Pipeline / kibana-intake-agent / Jest Tests.packages/kbn-pm/src/commands.does not run installer if no deps in packageRecent failure: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1545/testReport/junit/Jest%20Tests/packages_kbn-pm_src_commands/Kibana_Pipeline___kibana_intake_agent___does_not_run_installer_if_no_deps_in_package/
These are happening pretty frequently in the current snapshot verification builds, which don't use tasks and therefore have slightly different performance characteristics than mainline and PR jobs, which might account for why we're getting timeouts there but not on mainline builds.