Parent Log: http://ci.aztec-labs.com/7ec536495953bb64 Command: 70462c95d683706b yarn-project/scripts/run_test.sh foundation/src/json-rpc/client/safe_json_rpc_client.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/fa159c5d52a45358479f951a547fed37f141a6ed Env: REF_NAME=gh-readonly-queue/next/pr-15054-184d5f7d956dd7251670a2dd6728f313cfdf3caf CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 22:56:10 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15054_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_4b365858835adaf9_next 22:56:11 {"level":40,"time":1749855371714,"pid":193010,"hostname":"pr-15054_amd64_x1-full","module":"json-rpc:client","err":{"type":"Error","message":"test error","stack":"Error: test error\n at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/json-rpc/client/safe_json_rpc_client.test.ts:136:37)\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 processTicksAndRejections (node:internal/process/task_queues:105:5)\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":"Failed to fetch from the remote server"} 22:56:11 {"level":40,"time":1749855371765,"pid":193010,"hostname":"pr-15054_amd64_x1-full","module":"json-rpc:client","err":{"type":"Error","message":"test error","stack":"Error: test error\n at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/json-rpc/client/safe_json_rpc_client.test.ts:136:37)\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 processTicksAndRejections (node:internal/process/task_queues:105:5)\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":"Failed to fetch from the remote server"} 22:56:11 {"level":40,"time":1749855371843,"pid":193010,"hostname":"pr-15054_amd64_x1-full","module":"json-rpc:client","err":{"type":"Error","message":"test error","stack":"Error: test error\n at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/json-rpc/client/safe_json_rpc_client.test.ts:136:37)\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 processTicksAndRejections (node:internal/process/task_queues:105:5)\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":"Failed to fetch from the remote server"} 22:56:11 {"level":40,"time":1749855371976,"pid":193010,"hostname":"pr-15054_amd64_x1-full","module":"json-rpc:client","err":{"type":"Error","message":"test error","stack":"Error: test error\n at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/json-rpc/client/safe_json_rpc_client.test.ts:136:37)\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 processTicksAndRejections (node:internal/process/task_queues:105:5)\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":"Failed to fetch from the remote server"} 22:56:12 {"level":40,"time":1749855372393,"pid":193010,"hostname":"pr-15054_amd64_x1-full","module":"json-rpc:client","err":{"type":"Error","message":"test error","stack":"Error: test error\n at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/foundation/src/json-rpc/client/safe_json_rpc_client.test.ts:136:37)\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 processTicksAndRejections (node:internal/process/task_queues:105:5)\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":"Failed to fetch from the remote server"} 22:56:13 PASS src/json-rpc/client/safe_json_rpc_client.test.ts 22:56:13 SafeJsonRpcClient 22:56:13 batching window 0 22:56:13 sends single requests (48 ms) 22:56:13 sends multiple requests in the same batch in order (9 ms) 22:56:13 handles errors in some requests (8 ms) 22:56:13 handles fetch errors (21 ms) 22:56:13 skipped breaks batches up after window closes 22:56:13 batching window 1 22:56:13 sends single requests (17 ms) 22:56:13 sends multiple requests in the same batch in order (7 ms) 22:56:13 handles errors in some requests (5 ms) 22:56:13 handles fetch errors (5 ms) 22:56:13 skipped breaks batches up after window closes 22:56:13 batching window 10 22:56:13 sends single requests (19 ms) 22:56:13 sends multiple requests in the same batch in order (20 ms) 22:56:13 handles errors in some requests (22 ms) 22:56:13 handles fetch errors (14 ms) 22:56:13 skipped breaks batches up after window closes 22:56:13 batching window 25 22:56:13 sends single requests (40 ms) 22:56:13 sends multiple requests in the same batch in order (32 ms) 22:56:13 handles errors in some requests (28 ms) 22:56:13 handles fetch errors (27 ms) 22:56:13 skipped breaks batches up after window closes 22:56:13 batching window 100 22:56:13 sends single requests (105 ms) 22:56:13 sends multiple requests in the same batch in order (105 ms) 22:56:13 handles errors in some requests (104 ms) 22:56:13 handles fetch errors (103 ms) 22:56:13 skipped breaks batches up after window closes 22:56:13 manual batching 22:56:13 splits into batches (10 ms) 22:56:13 splits into batches inside Promise.all (10 ms) 22:56:13 accepts normal promises (8 ms) 22:56:13 specifying max batch size 22:56:13 splits into batches (1114 ms) 22:56:13 specifying max body size 22:56:13 splits into batches (205 ms) 22:56:13 rejects requests that are too large (6 ms) 22:56:13 22:56:13 Test Suites: 1 passed, 1 total 22:56:13 Tests: 5 skipped, 26 passed, 31 total 22:56:13 Snapshots: 0 total 22:56:13 Time: 2.757 s 22:56:13 Ran all test suites matching /foundation\/src\/json-rpc\/client\/safe_json_rpc_client.test.ts/i. 22:56:13 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?