Parent Log: http://ci.aztec-labs.com/d525d18f08c39a3a Command: 731d98bdb3377842 yarn-project/scripts/run_test.sh foundation/src/promise/running-promise.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/daebab2c4bace59ef25ddb29040a040926f095e6 Env: REF_NAME=gh-readonly-queue/next/pr-14986-b80949775e5c27908a6055ad24592f7d98bdc45a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 09:10:33 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14986_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_9b74949052e3ac24_next 09:10:34 {"level":40,"time":1750065034324,"pid":207292,"hostname":"pr-14986_amd64_x2-full","module":"test","msg":"Running promise was not started"} 09:10:34 {"level":40,"time":1750065034374,"pid":207292,"hostname":"pr-14986_amd64_x2-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"} 09:10:34 {"level":40,"time":1750065035374,"pid":207292,"hostname":"pr-14986_amd64_x2-full","module":"test","msg":"Running promise was not started"} 09:10:34 PASS src/promise/running-promise.test.ts 09:10:34 RunningPromise 09:10:34 trigger 09:10:34 immediately runs the function when not running and awaits for completion (7 ms) 09:10:34 immediately runs the function if sleeping (2 ms) 09:10:34 waits for current run to finish before triggering (2 ms) 09:10:34 handles errors 09:10:34 reports errors upstream (2 ms) 09:10:34 continues running even if fn errors (3 ms) 09:10:34 stops immediately if told so by the error handler (11 ms) 09:10:34 09:10:34 Test Suites: 1 passed, 1 total 09:10:34 Tests: 6 passed, 6 total 09:10:34 Snapshots: 0 total 09:10:34 Time: 0.454 s 09:10:34 Ran all test suites matching /foundation\/src\/promise\/running-promise.test.ts/i. 09:10:34 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?