Parent Log:
http://ci.aztec-labs.com/7b3e6e8a2abdd89b
Command: 9e91553d04f5b22d yarn-project/scripts/run_test.sh foundation/src/promise/running-promise.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/10badd24359b04680068afd9ca24407383374db1
Env: REF_NAME=gh-readonly-queue/next/pr-15019-7d223783d91db15002a09abc1b52d1455eb3e3da CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Mon Jun 16 11:10:02 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15019_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_9b74949052e3ac24_next
11:10:03 {"level":40,"time":1750072203212,"pid":254496,"hostname":"pr-15019_arm64_a1-fast","module":"test","msg":"Running promise was not started"}
11:10:03 {"level":40,"time":1750072203262,"pid":254496,"hostname":"pr-15019_arm64_a1-fast","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"}
11:10:03 {"level":40,"time":1750072204262,"pid":254496,"hostname":"pr-15019_arm64_a1-fast","module":"test","msg":"Running promise was not started"}
11:10:03
PASS src/promise/running-promise.test.ts
11:10:03 RunningPromise
11:10:03 trigger
11:10:03
✓ immediately runs the function when not running and awaits for completion (4 ms)
11:10:03
✓ immediately runs the function if sleeping (2 ms)
11:10:03
✓ waits for current run to finish before triggering (1 ms)
11:10:03 handles errors
11:10:03
✓ reports errors upstream (2 ms)
11:10:03
✓ continues running even if fn errors (3 ms)
11:10:03
✓ stops immediately if told so by the error handler (9 ms)
11:10:03
11:10:03
Test Suites: 1 passed, 1 total
11:10:03
Tests: 6 passed, 6 total
11:10:03
Snapshots: 0 total
11:10:03
Time: 0.344 s
11:10:03
Ran all test suites matching /foundation\/src\/promise\/running-promise.test.ts/i
.
11:10:03
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?