Parent Log: http://ci.aztec-labs.com/9f4d5cb4c0acef50 Command: fab700985fdda05e yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9164f0ea2d1bd891bbde066fe27f2239188ddec9 Env: REF_NAME=gh-readonly-queue/next/pr-15169-301dce04331dcfb583b7508b91491de618d4acf4 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 11:25:44 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 11:25:48 [11:25:48.782] INFO: blob-sink:server Server is running on http://localhost:42021 11:25:49 [11:25:49.070] INFO: blob-sink:server Received blob sidecar for block 0x1234 11:25:49 [11:25:49.074] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 11:25:49 [11:25:49.127] INFO: blob-sink:server Stopping blob sink 11:25:49 [11:25:49.129] INFO: blob-sink:server Blob sink stopped 11:25:49 [11:25:49.133] INFO: blob-sink:server Server is running on http://localhost:37613 11:25:49 [11:25:49.181] INFO: blob-sink:server Received blob sidecar for block 0x5678 11:25:49 [11:25:49.184] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 11:25:49 [11:25:49.293] INFO: blob-sink:server Stopping blob sink 11:25:49 [11:25:49.295] INFO: blob-sink:server Blob sink stopped 11:25:49 [11:25:49.297] INFO: blob-sink:server Server is running on http://localhost:37895 11:25:49 [11:25:49.304] 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\"}"} 11:25:49 [11:25:49.305] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:37895"} 11:25:49 [11:25:49.306] INFO: blob-sink:server Stopping blob sink 11:25:49 [11:25:49.307] INFO: blob-sink:server Blob sink stopped 11:25:49 [11:25:49.309] INFO: blob-sink:server Server is running on http://localhost:36067 11:25:54 [11:25:54.346] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 11:25:59 [11:25:59.367] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 11:25:59 [11:25:59.368] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 11:25:59 [11:25:59.368] INFO: blob-sink:server Stopping blob sink 11:25:59 [11:25:59.369] INFO: blob-sink:server Blob sink stopped 11:25:59 [11:25:59.370] INFO: blob-sink:server Server is running on http://localhost:33443 11:25:59 [11:25:59.409] INFO: blob-sink:server Server is running on http://localhost:37503 11:25:59 [11:25:59.416] INFO: blob-sink:server Received blob sidecar for block 0x1234 11:25:59 [11:25:59.418] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 11:25:59 [11:25:59.890] INFO: blob-sink:server Stopping blob sink 11:25:59 [11:25:59.891] INFO: blob-sink:server Blob sink stopped 11:25:59 [11:25:59.892] INFO: blob-sink:server Stopping blob sink 11:25:59 [11:25:59.892] INFO: blob-sink:server Blob sink stopped 11:25:59 [11:25:59.894] INFO: blob-sink:server Server is running on http://localhost:44429 11:26:00 [11:26:00.315] INFO: blob-sink:server Stopping blob sink 11:26:00 [11:26:00.317] INFO: blob-sink:server Blob sink already stopped 11:26:00 [11:26:00.318] INFO: blob-sink:server Stopping blob sink 11:26:00 [11:26:00.319] INFO: blob-sink:server Blob sink stopped 11:26:00 [11:26:00.323] INFO: blob-sink:server Server is running on http://localhost:40617 11:26:05 [11:26:05.393] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 11:26:05 at node:internal/deps/undici/undici:13510:13 { 11:26:05 [cause]: TypeError: Invalid URL 11:26:05 at new URL (node:internal/url:818:25) 11:26:05 at new Request (node:internal/deps/undici/undici:9586:25) 11:26:05 at fetch (node:internal/deps/undici/undici:10315:25) 11:26:05 at fetch (node:internal/deps/undici/undici:13508:10) 11:26:05 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 11:26:05 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 11:26:05 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 11:26:05 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 11:26:05 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 11:26:05 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 11:26:05 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 11:26:05 code: 'ERR_INVALID_URL', 11:26:05 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 11:26:05 } 11:26:05 } 11:26:10 [11:26:10.399] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 11:26:10 [11:26:10.687] INFO: blob-sink:server Stopping blob sink 11:26:10 [11:26:10.687] INFO: blob-sink:server Blob sink already stopped 11:26:10 [11:26:10.688] INFO: blob-sink:server Stopping blob sink 11:26:10 [11:26:10.689] INFO: blob-sink:server Blob sink stopped 11:26:10 [11:26:10.692] INFO: blob-sink:server Server is running on http://localhost:36527 11:26:11 [11:26:11.097] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38503"]} 11:26:11 [11:26:11.100] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38503"]} 11:26:11 [11:26:11.101] INFO: blob-sink:server Stopping blob sink 11:26:11 [11:26:11.101] INFO: blob-sink:server Blob sink already stopped 11:26:11 [11:26:11.102] INFO: blob-sink:server Stopping blob sink 11:26:11 [11:26:11.102] INFO: blob-sink:server Blob sink stopped 11:26:11 [11:26:11.103] INFO: blob-sink:server Server is running on http://localhost:40515 11:26:11 [11:26:11.466] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38675"]} 11:26:11 [11:26:11.471] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38675"]} 11:26:11 [11:26:11.472] INFO: blob-sink:server Stopping blob sink 11:26:11 [11:26:11.472] INFO: blob-sink:server Blob sink already stopped 11:26:11 [11:26:11.472] INFO: blob-sink:server Stopping blob sink 11:26:11 [11:26:11.473] INFO: blob-sink:server Blob sink stopped 11:26:11 [11:26:11.474] INFO: blob-sink:server Server is running on http://localhost:44525 11:26:17 [11:26:17.111] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 11:26:17 at node:internal/deps/undici/undici:13510:13 11:26:17 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:17 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 11:26:17 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 11:26:17 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 11:26:17 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 11:26:17 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 11:26:17 [cause]: AggregateError: 11:26:17 at internalConnectMultiple (node:net:1139:18) 11:26:17 at afterConnectMultiple (node:net:1714:7) { 11:26:17 code: 'ECONNREFUSED', 11:26:17 [errors]: [ [Error], [Error] ] 11:26:17 } 11:26:17 } 11:26:22 [11:26:22.128] WARN: blob-sink:client Error getting blob sidecar from http://localhost:37407: fetch failed 11:26:27 [11:26:27.447] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 11:26:27 at node:internal/deps/undici/undici:13510:13 11:26:27 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:27 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 11:26:27 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 11:26:27 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 11:26:27 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 11:26:27 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 11:26:27 [cause]: AggregateError: 11:26:27 at internalConnectMultiple (node:net:1139:18) 11:26:27 at afterConnectMultiple (node:net:1714:7) { 11:26:27 code: 'ECONNREFUSED', 11:26:27 [errors]: [ [Error], [Error] ] 11:26:27 } 11:26:27 } 11:26:32 [11:26:32.465] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 11:26:32 at node:internal/deps/undici/undici:13510:13 11:26:32 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:32 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 11:26:32 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 11:26:32 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 11:26:32 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 11:26:32 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 11:26:32 [cause]: AggregateError: 11:26:32 at internalConnectMultiple (node:net:1139:18) 11:26:32 at afterConnectMultiple (node:net:1714:7) { 11:26:32 code: 'ECONNREFUSED', 11:26:32 [errors]: [ [Error], [Error] ] 11:26:32 } 11:26:32 } 11:26:37 [11:26:37.478] WARN: blob-sink:client Error getting blob sidecar from http://localhost:37407: fetch failed 11:26:42 [11:26:42.488] WARN: blob-sink:client Error getting blob sidecar from http://localhost:34511: fetch failed 11:26:42 [11:26:42.894] INFO: blob-sink:server Stopping blob sink 11:26:42 [11:26:42.894] INFO: blob-sink:server Blob sink already stopped 11:26:42 [11:26:42.895] INFO: blob-sink:server Stopping blob sink 11:26:42 [11:26:42.896] INFO: blob-sink:server Blob sink stopped 11:26:42 [11:26:42.898] INFO: blob-sink:server Server is running on http://localhost:43041 11:26:42 [11:26:42.979] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x854b1681337a7c6f18ccfd9c88487b7c13a4f873d2e161c487c9dc6540865b0bca724c5aff1f4c0673dd01b515103bc2"} 11:26:43 [11:26:43.336] INFO: blob-sink:server Stopping blob sink 11:26:43 [11:26:43.337] INFO: blob-sink:server Blob sink already stopped 11:26:43 [11:26:43.337] INFO: blob-sink:server Stopping blob sink 11:26:43 [11:26:43.338] INFO: blob-sink:server Blob sink stopped 11:26:43 [11:26:43.340] INFO: blob-sink:server Server is running on http://localhost:40971 11:26:43 [11:26:43.774] INFO: blob-sink:server Stopping blob sink 11:26:43 [11:26:43.774] INFO: blob-sink:server Blob sink already stopped 11:26:43 [11:26:43.775] INFO: blob-sink:server Stopping blob sink 11:26:43 [11:26:43.775] INFO: blob-sink:server Blob sink stopped 11:26:43 [11:26:43.777] INFO: blob-sink:server Server is running on http://localhost:40837 11:26:44 [11:26:44.220] INFO: blob-sink:server Stopping blob sink 11:26:44 [11:26:44.221] INFO: blob-sink:server Blob sink already stopped 11:26:44 [11:26:44.221] INFO: blob-sink:server Stopping blob sink 11:26:44 [11:26:44.223] INFO: blob-sink:server Blob sink stopped 11:26:44 PASS src/client/http.test.ts (58.556 s) 11:26:44 HttpBlobSinkClient 11:26:44 should send and retrieve blobs (356 ms) 11:26:44 should handle multiple blobs (164 ms) 11:26:44 should return empty array for non-existent block (11 ms) 11:26:44 should handle server connection errors gracefully (10061 ms) 11:26:44 Mock Ethereum Clients 11:26:44 should handle no consensus host (523 ms) 11:26:44 should request based on slot where consensus host is provided (427 ms) 11:26:44 should handle when multiple consensus hosts are provided (10368 ms) 11:26:44 should handle API keys without headers (412 ms) 11:26:44 should handle API keys in headers (371 ms) 11:26:44 should handle multiple consensus hosts with different API key methods (31422 ms) 11:26:44 even if we ask for non-encoded blobs, we should only get encoded blobs (441 ms) 11:26:44 should handle L1 missed slots (437 ms) 11:26:44 should fall back to archive client (447 ms) 11:26:44 11:26:44 Test Suites: 1 passed, 1 total 11:26:44 Tests: 13 passed, 13 total 11:26:44 Snapshots: 0 total 11:26:44 Time: 58.664 s 11:26:44 Ran all test suites matching blob-sink/src/client/http.test.ts. 11:26:44 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?