Parent Log: http://ci.aztec-labs.com/b0e48762cff3fa7d Command: a5511b51e55ea9c0 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/0dc6f60f84deaa57a8570f9942eb75317f5aeea5 Env: REF_NAME=gh-readonly-queue/next/pr-15162-6ee95286f8bcc5bb6dca43222459ac5bf43a8a75 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 09:42:33 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15162_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 09:42:37 [09:42:37.359] INFO: blob-sink:server Server is running on http://localhost:44925 09:42:38 [09:42:38.032] INFO: blob-sink:server Received blob sidecar for block 0x1234 09:42:38 [09:42:38.045] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 09:42:38 [09:42:38.253] INFO: blob-sink:server Stopping blob sink 09:42:38 [09:42:38.258] INFO: blob-sink:server Blob sink stopped 09:42:38 [09:42:38.266] INFO: blob-sink:server Server is running on http://localhost:34319 09:42:38 [09:42:38.377] INFO: blob-sink:server Received blob sidecar for block 0x5678 09:42:38 [09:42:38.381] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 09:42:38 [09:42:38.546] INFO: blob-sink:server Stopping blob sink 09:42:38 [09:42:38.548] INFO: blob-sink:server Blob sink stopped 09:42:38 [09:42:38.550] INFO: blob-sink:server Server is running on http://localhost:45005 09:42:38 [09:42:38.556] 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\"}"} 09:42:38 [09:42:38.556] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:45005"} 09:42:38 [09:42:38.557] INFO: blob-sink:server Stopping blob sink 09:42:38 [09:42:38.558] INFO: blob-sink:server Blob sink stopped 09:42:38 [09:42:38.559] INFO: blob-sink:server Server is running on http://localhost:40871 09:42:43 [09:42:43.599] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 09:42:48 [09:42:48.613] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 09:42:48 [09:42:48.613] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 09:42:48 [09:42:48.617] INFO: blob-sink:server Stopping blob sink 09:42:48 [09:42:48.618] INFO: blob-sink:server Blob sink stopped 09:42:48 [09:42:48.621] INFO: blob-sink:server Server is running on http://localhost:36289 09:42:48 [09:42:48.672] INFO: blob-sink:server Server is running on http://localhost:35607 09:42:48 [09:42:48.679] INFO: blob-sink:server Received blob sidecar for block 0x1234 09:42:48 [09:42:48.681] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 09:42:49 [09:42:49.221] INFO: blob-sink:server Stopping blob sink 09:42:49 [09:42:49.223] INFO: blob-sink:server Blob sink stopped 09:42:49 [09:42:49.224] INFO: blob-sink:server Stopping blob sink 09:42:49 [09:42:49.224] INFO: blob-sink:server Blob sink stopped 09:42:49 [09:42:49.227] INFO: blob-sink:server Server is running on http://localhost:38779 09:42:49 [09:42:49.639] INFO: blob-sink:server Stopping blob sink 09:42:49 [09:42:49.640] INFO: blob-sink:server Blob sink already stopped 09:42:49 [09:42:49.641] INFO: blob-sink:server Stopping blob sink 09:42:49 [09:42:49.642] INFO: blob-sink:server Blob sink stopped 09:42:49 [09:42:49.645] INFO: blob-sink:server Server is running on http://localhost:36229 09:42:54 [09:42:54.773] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 09:42:54 at node:internal/deps/undici/undici:13510:13 { 09:42:54 [cause]: TypeError: Invalid URL 09:42:54 at new URL (node:internal/url:818:25) 09:42:54 at new Request (node:internal/deps/undici/undici:9586:25) 09:42:54 at fetch (node:internal/deps/undici/undici:10315:25) 09:42:54 at fetch (node:internal/deps/undici/undici:13508:10) 09:42:54 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 09:42:54 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 09:42:54 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 09:42:54 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:42:54 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:42:54 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:42:54 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 09:42:54 code: 'ERR_INVALID_URL', 09:42:54 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 09:42:54 } 09:42:54 } 09:42:59 [09:42:59.780] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 09:43:00 [09:43:00.152] INFO: blob-sink:server Stopping blob sink 09:43:00 [09:43:00.153] INFO: blob-sink:server Blob sink already stopped 09:43:00 [09:43:00.154] INFO: blob-sink:server Stopping blob sink 09:43:00 [09:43:00.154] INFO: blob-sink:server Blob sink stopped 09:43:00 [09:43:00.157] INFO: blob-sink:server Server is running on http://localhost:39303 09:43:00 [09:43:00.613] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36855"]} 09:43:00 [09:43:00.619] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36855"]} 09:43:00 [09:43:00.619] INFO: blob-sink:server Stopping blob sink 09:43:00 [09:43:00.620] INFO: blob-sink:server Blob sink already stopped 09:43:00 [09:43:00.621] INFO: blob-sink:server Stopping blob sink 09:43:00 [09:43:00.621] INFO: blob-sink:server Blob sink stopped 09:43:00 [09:43:00.623] INFO: blob-sink:server Server is running on http://localhost:40049 09:43:01 [09:43:01.087] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:37363"]} 09:43:01 [09:43:01.091] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:37363"]} 09:43:01 [09:43:01.092] INFO: blob-sink:server Stopping blob sink 09:43:01 [09:43:01.092] INFO: blob-sink:server Blob sink already stopped 09:43:01 [09:43:01.093] INFO: blob-sink:server Stopping blob sink 09:43:01 [09:43:01.093] INFO: blob-sink:server Blob sink stopped 09:43:01 [09:43:01.095] INFO: blob-sink:server Server is running on http://localhost:37861 09:43:06 [09:43:06.525] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 09:43:06 at node:internal/deps/undici/undici:13510:13 09:43:06 at processTicksAndRejections (node:internal/process/task_queues:105:5) 09:43:06 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 09:43:06 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:43:06 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:43:06 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:43:06 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 09:43:06 [cause]: AggregateError: 09:43:06 at internalConnectMultiple (node:net:1139:18) 09:43:06 at afterConnectMultiple (node:net:1714:7) { 09:43:06 code: 'ECONNREFUSED', 09:43:06 [errors]: [ [Error], [Error] ] 09:43:06 } 09:43:06 } 09:43:11 [09:43:11.542] WARN: blob-sink:client Error getting blob sidecar from http://localhost:35799: fetch failed 09:43:16 [09:43:16.989] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 09:43:16 at node:internal/deps/undici/undici:13510:13 09:43:16 at processTicksAndRejections (node:internal/process/task_queues:105:5) 09:43:16 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 09:43:16 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:43:16 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:43:16 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:43:16 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 09:43:16 [cause]: AggregateError: 09:43:16 at internalConnectMultiple (node:net:1139:18) 09:43:16 at afterConnectMultiple (node:net:1714:7) { 09:43:16 code: 'ECONNREFUSED', 09:43:16 [errors]: [ [Error], [Error] ] 09:43:16 } 09:43:16 } 09:43:22 [09:43:22.048] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 09:43:22 at node:internal/deps/undici/undici:13510:13 09:43:22 at processTicksAndRejections (node:internal/process/task_queues:105:5) 09:43:22 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 09:43:22 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:43:22 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:43:22 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:43:22 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 09:43:22 [cause]: AggregateError: 09:43:22 at internalConnectMultiple (node:net:1139:18) 09:43:22 at afterConnectMultiple (node:net:1714:7) { 09:43:22 code: 'ECONNREFUSED', 09:43:22 [errors]: [ [Error], [Error] ] 09:43:22 } 09:43:22 } 09:43:27 [09:43:27.063] WARN: blob-sink:client Error getting blob sidecar from http://localhost:35799: fetch failed 09:43:32 [09:43:32.072] WARN: blob-sink:client Error getting blob sidecar from http://localhost:42001: fetch failed 09:43:32 [09:43:32.401] INFO: blob-sink:server Stopping blob sink 09:43:32 [09:43:32.402] INFO: blob-sink:server Blob sink already stopped 09:43:32 [09:43:32.402] INFO: blob-sink:server Stopping blob sink 09:43:32 [09:43:32.402] INFO: blob-sink:server Blob sink stopped 09:43:32 [09:43:32.404] INFO: blob-sink:server Server is running on http://localhost:45405 09:43:32 [09:43:32.458] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x8d00e5504a166a3e88f18c535caebfab6c70fc008e0531bcd5769ce531c45a8caa6ce467498618feea89a0d214b1bf3f"} 09:43:32 [09:43:32.793] INFO: blob-sink:server Stopping blob sink 09:43:32 [09:43:32.793] INFO: blob-sink:server Blob sink already stopped 09:43:32 [09:43:32.794] INFO: blob-sink:server Stopping blob sink 09:43:32 [09:43:32.794] INFO: blob-sink:server Blob sink stopped 09:43:32 [09:43:32.796] INFO: blob-sink:server Server is running on http://localhost:46243 09:43:33 [09:43:33.082] INFO: blob-sink:server Stopping blob sink 09:43:33 [09:43:33.083] INFO: blob-sink:server Blob sink already stopped 09:43:33 [09:43:33.083] INFO: blob-sink:server Stopping blob sink 09:43:33 [09:43:33.083] INFO: blob-sink:server Blob sink stopped 09:43:33 [09:43:33.085] INFO: blob-sink:server Server is running on http://localhost:36261 09:43:33 [09:43:33.352] INFO: blob-sink:server Stopping blob sink 09:43:33 [09:43:33.353] INFO: blob-sink:server Blob sink already stopped 09:43:33 [09:43:33.353] INFO: blob-sink:server Stopping blob sink 09:43:33 [09:43:33.353] INFO: blob-sink:server Blob sink stopped 09:43:33 PASS src/client/http.test.ts (59.228 s) 09:43:33 HttpBlobSinkClient 09:43:33 should send and retrieve blobs (908 ms) 09:43:33 should handle multiple blobs (286 ms) 09:43:33 should return empty array for non-existent block (9 ms) 09:43:33 should handle server connection errors gracefully (10061 ms) 09:43:33 Mock Ethereum Clients 09:43:33 should handle no consensus host (605 ms) 09:43:33 should request based on slot where consensus host is provided (418 ms) 09:43:33 should handle when multiple consensus hosts are provided (10511 ms) 09:43:33 should handle API keys without headers (466 ms) 09:43:33 should handle API keys in headers (471 ms) 09:43:33 should handle multiple consensus hosts with different API key methods (31309 ms) 09:43:33 even if we ask for non-encoded blobs, we should only get encoded blobs (392 ms) 09:43:33 should handle L1 missed slots (289 ms) 09:43:33 should fall back to archive client (270 ms) 09:43:33 09:43:33 Test Suites: 1 passed, 1 total 09:43:33 Tests: 13 passed, 13 total 09:43:33 Snapshots: 0 total 09:43:33 Time: 59.301 s 09:43:33 Ran all test suites matching blob-sink/src/client/http.test.ts. 09:43:33 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?