Parent Log: http://ci.aztec-labs.com/87ee31c573e4d4f4 Command: b895a7fa8f839b60 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b80949775e5c27908a6055ad24592f7d98bdc45a Env: REF_NAME=gh-readonly-queue/next/pr-14816-fa159c5d52a45358479f951a547fed37f141a6ed CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Sat Jun 14 10:43:40 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14816_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 10:43:44 [10:43:44.147] INFO: blob-sink:server Server is running on http://localhost:39781 10:43:44 [10:43:44.428] INFO: blob-sink:server Received blob sidecar for block 0x1234 10:43:44 [10:43:44.431] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 10:43:44 [10:43:44.483] INFO: blob-sink:server Stopping blob sink 10:43:44 [10:43:44.485] INFO: blob-sink:server Blob sink stopped 10:43:44 [10:43:44.489] INFO: blob-sink:server Server is running on http://localhost:34601 10:43:44 [10:43:44.540] INFO: blob-sink:server Received blob sidecar for block 0x5678 10:43:44 [10:43:44.544] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 10:43:44 [10:43:44.710] INFO: blob-sink:server Stopping blob sink 10:43:44 [10:43:44.712] INFO: blob-sink:server Blob sink stopped 10:43:44 [10:43:44.715] INFO: blob-sink:server Server is running on http://localhost:46641 10:43:44 [10:43:44.721] WARN: blob-sink:client Unable to get blob sidecar for 0xnonexistent: Bad Request (400) {"status":400,"statusText":"Bad Request","body":"{\"error\":\"Invalid block_id parameter\"}"} 10:43:44 [10:43:44.722] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:46641"} 10:43:44 [10:43:44.723] INFO: blob-sink:server Stopping blob sink 10:43:44 [10:43:44.724] INFO: blob-sink:server Blob sink stopped 10:43:44 [10:43:44.726] INFO: blob-sink:server Server is running on http://localhost:45053 10:43:49 [10:43:49.758] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 10:43:54 [10:43:54.772] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 10:43:54 [10:43:54.772] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 10:43:54 [10:43:54.773] INFO: blob-sink:server Stopping blob sink 10:43:54 [10:43:54.773] INFO: blob-sink:server Blob sink stopped 10:43:54 [10:43:54.774] INFO: blob-sink:server Server is running on http://localhost:45353 10:43:54 [10:43:54.810] INFO: blob-sink:server Server is running on http://localhost:39719 10:43:54 [10:43:54.816] INFO: blob-sink:server Received blob sidecar for block 0x1234 10:43:54 [10:43:54.817] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 10:43:56 [10:43:56.575] INFO: blob-sink:server Stopping blob sink 10:43:56 [10:43:56.577] INFO: blob-sink:server Blob sink stopped 10:43:56 [10:43:56.578] INFO: blob-sink:server Stopping blob sink 10:43:56 [10:43:56.578] INFO: blob-sink:server Blob sink stopped 10:43:56 [10:43:56.581] INFO: blob-sink:server Server is running on http://localhost:35339 10:43:58 [10:43:58.018] INFO: blob-sink:server Stopping blob sink 10:43:58 [10:43:58.018] INFO: blob-sink:server Blob sink already stopped 10:43:58 [10:43:58.019] INFO: blob-sink:server Stopping blob sink 10:43:58 [10:43:58.019] INFO: blob-sink:server Blob sink stopped 10:43:58 [10:43:58.021] INFO: blob-sink:server Server is running on http://localhost:46191 10:44:03 [10:44:03.075] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 10:44:03 at node:internal/deps/undici/undici:13510:13 { 10:44:03 [cause]: TypeError: Invalid URL 10:44:03 at new URL (node:internal/url:818:25) 10:44:03 at new Request (node:internal/deps/undici/undici:9586:25) 10:44:03 at fetch (node:internal/deps/undici/undici:10315:25) 10:44:03 at fetch (node:internal/deps/undici/undici:13508:10) 10:44:03 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 10:44:03 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 10:44:03 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 10:44:03 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:44:03 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:44:03 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:44:03 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 10:44:03 code: 'ERR_INVALID_URL', 10:44:03 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 10:44:03 } 10:44:03 } 10:44:08 [10:44:08.084] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 10:44:09 [10:44:09.630] INFO: blob-sink:server Stopping blob sink 10:44:09 [10:44:09.631] INFO: blob-sink:server Blob sink already stopped 10:44:09 [10:44:09.632] INFO: blob-sink:server Stopping blob sink 10:44:09 [10:44:09.632] INFO: blob-sink:server Blob sink stopped 10:44:09 [10:44:09.636] INFO: blob-sink:server Server is running on http://localhost:36927 10:44:11 [10:44:11.164] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:39561"]} 10:44:11 [10:44:11.167] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:39561"]} 10:44:11 [10:44:11.168] INFO: blob-sink:server Stopping blob sink 10:44:11 [10:44:11.168] INFO: blob-sink:server Blob sink already stopped 10:44:11 [10:44:11.168] INFO: blob-sink:server Stopping blob sink 10:44:11 [10:44:11.168] INFO: blob-sink:server Blob sink stopped 10:44:11 [10:44:11.169] INFO: blob-sink:server Server is running on http://localhost:45645 10:44:12 [10:44:12.631] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:35917"]} 10:44:12 [10:44:12.634] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:35917"]} 10:44:12 [10:44:12.634] INFO: blob-sink:server Stopping blob sink 10:44:12 [10:44:12.635] INFO: blob-sink:server Blob sink already stopped 10:44:12 [10:44:12.635] INFO: blob-sink:server Stopping blob sink 10:44:12 [10:44:12.635] INFO: blob-sink:server Blob sink stopped 10:44:12 [10:44:12.637] INFO: blob-sink:server Server is running on http://localhost:38163 10:44:19 [10:44:19.228] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 10:44:19 at node:internal/deps/undici/undici:13510:13 10:44:19 at processTicksAndRejections (node:internal/process/task_queues:105:5) 10:44:19 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 10:44:19 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:44:19 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:44:19 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:44:19 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 10:44:19 [cause]: AggregateError: 10:44:19 at internalConnectMultiple (node:net:1139:18) 10:44:19 at afterConnectMultiple (node:net:1714:7) { 10:44:19 code: 'ECONNREFUSED', 10:44:19 [errors]: [ [Error], [Error] ] 10:44:19 } 10:44:19 } 10:44:24 [10:44:24.241] WARN: blob-sink:client Error getting blob sidecar from http://localhost:43497: fetch failed 10:44:30 [10:44:30.541] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 10:44:30 at node:internal/deps/undici/undici:13510:13 10:44:30 at processTicksAndRejections (node:internal/process/task_queues:105:5) 10:44:30 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 10:44:30 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:44:30 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:44:30 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:44:30 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 10:44:30 [cause]: AggregateError: 10:44:30 at internalConnectMultiple (node:net:1139:18) 10:44:30 at afterConnectMultiple (node:net:1714:7) { 10:44:30 code: 'ECONNREFUSED', 10:44:30 [errors]: [ [Error], [Error] ] 10:44:30 } 10:44:30 } 10:44:35 [10:44:35.548] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 10:44:35 at node:internal/deps/undici/undici:13510:13 10:44:35 at processTicksAndRejections (node:internal/process/task_queues:105:5) 10:44:35 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 10:44:35 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:44:35 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:44:35 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:44:35 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 10:44:35 [cause]: AggregateError: 10:44:35 at internalConnectMultiple (node:net:1139:18) 10:44:35 at afterConnectMultiple (node:net:1714:7) { 10:44:35 code: 'ECONNREFUSED', 10:44:35 [errors]: [ [Error], [Error] ] 10:44:35 } 10:44:35 } 10:44:40 [10:44:40.557] WARN: blob-sink:client Error getting blob sidecar from http://localhost:43497: fetch failed 10:44:45 [10:44:45.709] WARN: blob-sink:client Error getting blob sidecar from http://localhost:34127: fetch failed 10:44:47 [10:44:47.167] INFO: blob-sink:server Stopping blob sink 10:44:47 [10:44:47.168] INFO: blob-sink:server Blob sink already stopped 10:44:47 [10:44:47.169] INFO: blob-sink:server Stopping blob sink 10:44:47 [10:44:47.169] INFO: blob-sink:server Blob sink stopped 10:44:47 [10:44:47.171] INFO: blob-sink:server Server is running on http://localhost:46197 10:44:47 [10:44:47.250] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xa2973feded85e2d3dff9e3d7e8a3d6c2965f130ae45bbbc99a2a9fd3c124132c6335a3f80f47c3caedff1ae2908e4e4b"} 10:44:48 [10:44:48.559] INFO: blob-sink:server Stopping blob sink 10:44:48 [10:44:48.559] INFO: blob-sink:server Blob sink already stopped 10:44:48 [10:44:48.560] INFO: blob-sink:server Stopping blob sink 10:44:48 [10:44:48.560] INFO: blob-sink:server Blob sink stopped 10:44:48 [10:44:48.561] INFO: blob-sink:server Server is running on http://localhost:39335 10:44:50 [10:44:50.056] INFO: blob-sink:server Stopping blob sink 10:44:50 [10:44:50.057] INFO: blob-sink:server Blob sink already stopped 10:44:50 [10:44:50.057] INFO: blob-sink:server Stopping blob sink 10:44:50 [10:44:50.057] INFO: blob-sink:server Blob sink stopped 10:44:50 [10:44:50.059] INFO: blob-sink:server Server is running on http://localhost:42941 10:44:51 [10:44:51.765] INFO: blob-sink:server Stopping blob sink 10:44:51 [10:44:51.766] INFO: blob-sink:server Blob sink already stopped 10:44:51 [10:44:51.766] INFO: blob-sink:server Stopping blob sink 10:44:51 [10:44:51.767] INFO: blob-sink:server Blob sink stopped 10:44:51 PASS src/client/http.test.ts (70.557 s) 10:44:51 HttpBlobSinkClient 10:44:51 should send and retrieve blobs (346 ms) 10:44:51 should handle multiple blobs (225 ms) 10:44:51 should return empty array for non-existent block (11 ms) 10:44:51 should handle server connection errors gracefully (10048 ms) 10:44:51 Mock Ethereum Clients 10:44:51 should handle no consensus host (1805 ms) 10:44:51 should request based on slot where consensus host is provided (1441 ms) 10:44:51 should handle when multiple consensus hosts are provided (11613 ms) 10:44:51 should handle API keys without headers (1536 ms) 10:44:51 should handle API keys in headers (1466 ms) 10:44:51 should handle multiple consensus hosts with different API key methods (34534 ms) 10:44:51 even if we ask for non-encoded blobs, we should only get encoded blobs (1390 ms) 10:44:51 should handle L1 missed slots (1497 ms) 10:44:51 should fall back to archive client (1709 ms) 10:44:51 10:44:51 Test Suites: 1 passed, 1 total 10:44:51 Tests: 13 passed, 13 total 10:44:51 Snapshots: 0 total 10:44:51 Time: 70.647 s 10:44:51 Ran all test suites matching /blob-sink\/src\/client\/http.test.ts/i. 10:44:51 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?