Parent Log:
http://ci.aztec-labs.com/0950287702b4016e
Command: 7ad4152ecf607d72 yarn-project/scripts/run_test.sh foundation/src/promise/running-promise.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/15c121440ebf929fded7bd0c31960fb154a3fa7a
Env: REF_NAME=gh-readonly-queue/next/pr-14554-befc8c4c9ab253911288e1ef4bdd56c5ae8eeb9b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 11 22:57:59 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14554_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_9b74949052e3ac24_next
22:58:00 {"level":40,"time":1749682680786,"pid":208080,"hostname":"pr-14554_amd64_x4-full","module":"test","msg":"Running promise was not started"}
22:58:00 {"level":40,"time":1749682680836,"pid":208080,"hostname":"pr-14554_amd64_x4-full","module":"test","err":{"type":"Error","message":"ouch","stack":"Error: ouch\n at RunningPromise.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/promise/running-promise.test.ts:59:31)\n at /home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-mock/build/index.js:397:39\n at RunningPromise.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-mock/build/index.js:404:13)\n at RunningPromise.mockConstructor [as fn] (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-mock/build/index.js:148:19)\n at fn (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/promise/running-promise.ts:54:22)\n at RunningPromise.poll [as start] (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/promise/running-promise.ts:75:27)\n at Object.start (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/promise/running-promise.test.ts:86:22)\n at Promise.then.completed (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/run.js:316:40)\n at _runTest (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/run.js:121:9)\n at _runTestsForDescribeBlock (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-runner/build/runTest.js:444:34)"},"msg":"Error handler has requested to exit"}
22:58:00 {"level":40,"time":1749682681836,"pid":208080,"hostname":"pr-14554_amd64_x4-full","module":"test","msg":"Running promise was not started"}
22:58:00
PASS src/promise/running-promise.test.ts
22:58:00 RunningPromise
22:58:00 trigger
22:58:00
✓ immediately runs the function when not running and awaits for completion (6 ms)
22:58:00
✓ immediately runs the function if sleeping (2 ms)
22:58:00
✓ waits for current run to finish before triggering (1 ms)
22:58:00 handles errors
22:58:00
✓ reports errors upstream (2 ms)
22:58:00
✓ continues running even if fn errors (3 ms)
22:58:00
✓ stops immediately if told so by the error handler (22 ms)
22:58:00
22:58:00
Test Suites: 1 passed, 1 total
22:58:00
Tests: 6 passed, 6 total
22:58:00
Snapshots: 0 total
22:58:00
Time: 0.478 s
22:58:00
Ran all test suites matching /foundation\/src\/promise\/running-promise.test.ts/i
.
22:58:00
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?