Parent Log:
http://ci.aztec-labs.com/af1e20c8fae4f49c
Command: a668859b212fc7b1 yarn-project/scripts/run_test.sh foundation/src/promise/running-promise.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/3c1b9d57eadcc8fb03a7ed42610cf0a1ae4a32eb
Env: REF_NAME=gh-readonly-queue/next/pr-14858-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 21:39:54 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14858_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_9b74949052e3ac24_next
21:39:56 {"level":40,"time":1750196396455,"pid":289820,"hostname":"pr-14858_amd64_x2-full","module":"test","msg":"Running promise was not started"}
21:39:56 {"level":40,"time":1750196396505,"pid":289820,"hostname":"pr-14858_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:305:39\n at RunningPromise.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-mock/build/index.js:312:13)\n at RunningPromise.mockConstructor [as fn] (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-mock/build/index.js:102: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.finally.completed (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:1559:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:1499:10)\n at _callCircusTest (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:1009:40)\n at _runTest (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:949:3)\n at _runTestsForDescribeBlock (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:839:13)\n at _runTestsForDescribeBlock (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:829:11)\n at _runTestsForDescribeBlock (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:829:11)\n at run (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:757:3)\n at runAndTransformResultsToJestFormat (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/jestAdapterInit.js:1920:21)\n at jestAdapter (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-circus/build/runner.js:101:19)\n at runTestInternal (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-runner/build/index.js:272:16)\n at runTest (/home/aztec-dev/aztec-packages/yarn-project/node_modules/jest-runner/build/index.js:340:7)"},"msg":"Error handler has requested to exit"}
21:39:56 {"level":40,"time":1750196397505,"pid":289820,"hostname":"pr-14858_amd64_x2-full","module":"test","msg":"Running promise was not started"}
21:39:56
PASS src/promise/running-promise.test.ts
21:39:56 RunningPromise
21:39:56 trigger
21:39:56
✓ immediately runs the function when not running and awaits for completion (6 ms)
21:39:56
✓ immediately runs the function if sleeping (2 ms)
21:39:56
✓ waits for current run to finish before triggering (1 ms)
21:39:56 handles errors
21:39:56
✓ reports errors upstream (1 ms)
21:39:56
✓ continues running even if fn errors (3 ms)
21:39:56
✓ stops immediately if told so by the error handler (9 ms)
21:39:56
21:39:56
Test Suites: 1 passed, 1 total
21:39:56
Tests: 6 passed, 6 total
21:39:56
Snapshots: 0 total
21:39:56
Time: 0.522 s
21:39:56
Ran all test suites matching foundation/src/promise/running-promise.test.ts
.
21:39:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?