Parent Log: http://ci.aztec-labs.com/35b78c34b74af7b3 Command: f2016651899c5161 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/832c9f298cdc0c0098b9ffb3f9e8b69de37f2b14 Env: REF_NAME=gh-readonly-queue/next/pr-15169-227fd751f8d3e07a96e4c1564665f0676f8222af CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 12:03:47 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 12:03:51 [12:03:51.701] INFO: blob-sink:server Server is running on http://localhost:46389 12:03:52 [12:03:52.012] INFO: blob-sink:server Received blob sidecar for block 0x1234 12:03:52 [12:03:52.020] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 12:03:52 [12:03:52.089] INFO: blob-sink:server Stopping blob sink 12:03:52 [12:03:52.091] INFO: blob-sink:server Blob sink stopped 12:03:52 [12:03:52.097] INFO: blob-sink:server Server is running on http://localhost:34603 12:03:52 [12:03:52.160] INFO: blob-sink:server Received blob sidecar for block 0x5678 12:03:52 [12:03:52.164] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 12:03:52 [12:03:52.282] INFO: blob-sink:server Stopping blob sink 12:03:52 [12:03:52.284] INFO: blob-sink:server Blob sink stopped 12:03:52 [12:03:52.287] INFO: blob-sink:server Server is running on http://localhost:33443 12:03:52 [12:03:52.383] 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\"}"} 12:03:52 [12:03:52.385] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:33443"} 12:03:52 [12:03:52.387] INFO: blob-sink:server Stopping blob sink 12:03:52 [12:03:52.388] INFO: blob-sink:server Blob sink stopped 12:03:52 [12:03:52.391] INFO: blob-sink:server Server is running on http://localhost:40221 12:03:57 [12:03:57.458] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 12:04:02 [12:04:02.499] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 12:04:02 [12:04:02.500] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 12:04:02 [12:04:02.501] INFO: blob-sink:server Stopping blob sink 12:04:02 [12:04:02.502] INFO: blob-sink:server Blob sink stopped 12:04:02 [12:04:02.505] INFO: blob-sink:server Server is running on http://localhost:37005 12:04:02 [12:04:02.550] INFO: blob-sink:server Server is running on http://localhost:42029 12:04:02 [12:04:02.575] INFO: blob-sink:server Received blob sidecar for block 0x1234 12:04:02 [12:04:02.578] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 12:04:03 [12:04:03.000] INFO: blob-sink:server Stopping blob sink 12:04:03 [12:04:03.002] INFO: blob-sink:server Blob sink stopped 12:04:03 [12:04:03.003] INFO: blob-sink:server Stopping blob sink 12:04:03 [12:04:03.003] INFO: blob-sink:server Blob sink stopped 12:04:03 [12:04:03.005] INFO: blob-sink:server Server is running on http://localhost:41691 12:04:03 [12:04:03.787] INFO: blob-sink:server Stopping blob sink 12:04:03 [12:04:03.788] INFO: blob-sink:server Blob sink already stopped 12:04:03 [12:04:03.790] INFO: blob-sink:server Stopping blob sink 12:04:03 [12:04:03.791] INFO: blob-sink:server Blob sink stopped 12:04:03 [12:04:03.793] INFO: blob-sink:server Server is running on http://localhost:35803 12:04:08 [12:04:08.950] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 12:04:08 at node:internal/deps/undici/undici:13510:13 { 12:04:08 [cause]: TypeError: Invalid URL 12:04:08 at new URL (node:internal/url:818:25) 12:04:08 at new Request (node:internal/deps/undici/undici:9586:25) 12:04:08 at fetch (node:internal/deps/undici/undici:10315:25) 12:04:08 at fetch (node:internal/deps/undici/undici:13508:10) 12:04:08 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 12:04:08 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 12:04:08 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 12:04:08 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:08 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:08 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:08 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 12:04:08 code: 'ERR_INVALID_URL', 12:04:08 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 12:04:08 } 12:04:08 } 12:04:13 [12:04:13.959] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 12:04:14 [12:04:14.421] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.422] INFO: blob-sink:server Blob sink already stopped 12:04:14 [12:04:14.423] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.423] INFO: blob-sink:server Blob sink stopped 12:04:14 [12:04:14.426] INFO: blob-sink:server Server is running on http://localhost:43511 12:04:14 [12:04:14.839] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:33305"]} 12:04:14 [12:04:14.846] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:33305"]} 12:04:14 [12:04:14.847] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.847] INFO: blob-sink:server Blob sink already stopped 12:04:14 [12:04:14.848] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.848] INFO: blob-sink:server Blob sink stopped 12:04:14 [12:04:14.850] INFO: blob-sink:server Server is running on http://localhost:38873 12:04:15 [12:04:15.281] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:35749"]} 12:04:15 [12:04:15.286] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:35749"]} 12:04:15 [12:04:15.287] INFO: blob-sink:server Stopping blob sink 12:04:15 [12:04:15.287] INFO: blob-sink:server Blob sink already stopped 12:04:15 [12:04:15.288] INFO: blob-sink:server Stopping blob sink 12:04:15 [12:04:15.288] INFO: blob-sink:server Blob sink stopped 12:04:15 [12:04:15.290] INFO: blob-sink:server Server is running on http://localhost:46879 12:04:20 [12:04:20.691] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 12:04:20 at node:internal/deps/undici/undici:13510:13 12:04:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) 12:04:20 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 12:04:20 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:20 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:20 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:20 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 12:04:20 [cause]: AggregateError: 12:04:20 at internalConnectMultiple (node:net:1139:18) 12:04:20 at afterConnectMultiple (node:net:1714:7) { 12:04:20 code: 'ECONNREFUSED', 12:04:20 [errors]: [ [Error], [Error] ] 12:04:20 } 12:04:20 } 12:04:25 [12:04:25.731] WARN: blob-sink:client Error getting blob sidecar from http://localhost:38865: fetch failed 12:04:31 [12:04:31.103] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 12:04:31 at node:internal/deps/undici/undici:13510:13 12:04:31 at processTicksAndRejections (node:internal/process/task_queues:105:5) 12:04:31 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 12:04:31 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:31 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:31 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:31 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 12:04:31 [cause]: AggregateError: 12:04:31 at internalConnectMultiple (node:net:1139:18) 12:04:31 at afterConnectMultiple (node:net:1714:7) { 12:04:31 code: 'ECONNREFUSED', 12:04:31 [errors]: [ [Error], [Error] ] 12:04:31 } 12:04:31 } 12:04:36 [12:04:36.115] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 12:04:36 at node:internal/deps/undici/undici:13510:13 12:04:36 at processTicksAndRejections (node:internal/process/task_queues:105:5) 12:04:36 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 12:04:36 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:36 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:36 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:36 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 12:04:36 [cause]: AggregateError: 12:04:36 at internalConnectMultiple (node:net:1139:18) 12:04:36 at afterConnectMultiple (node:net:1714:7) { 12:04:36 code: 'ECONNREFUSED', 12:04:36 [errors]: [ [Error], [Error] ] 12:04:36 } 12:04:36 } 12:04:41 [12:04:41.125] WARN: blob-sink:client Error getting blob sidecar from http://localhost:38865: fetch failed 12:04:46 [12:04:46.147] WARN: blob-sink:client Error getting blob sidecar from http://localhost:42745: fetch failed 12:04:46 [12:04:46.528] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.528] INFO: blob-sink:server Blob sink already stopped 12:04:46 [12:04:46.529] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.530] INFO: blob-sink:server Blob sink stopped 12:04:46 [12:04:46.532] INFO: blob-sink:server Server is running on http://localhost:44797 12:04:46 [12:04:46.605] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xb988fb5745e68b73afea8db1402c8978674bbe31d1591467fd4736de6bba492a44b98e0c914001b212261d1a784af784"} 12:04:46 [12:04:46.992] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.993] INFO: blob-sink:server Blob sink already stopped 12:04:46 [12:04:46.994] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.994] INFO: blob-sink:server Blob sink stopped 12:04:46 [12:04:46.997] INFO: blob-sink:server Server is running on http://localhost:43527 12:04:47 [12:04:47.349] INFO: blob-sink:server Stopping blob sink 12:04:47 [12:04:47.350] INFO: blob-sink:server Blob sink already stopped 12:04:47 [12:04:47.350] INFO: blob-sink:server Stopping blob sink 12:04:47 [12:04:47.351] INFO: blob-sink:server Blob sink stopped 12:04:47 [12:04:47.352] INFO: blob-sink:server Server is running on http://localhost:45193 12:04:47 [12:04:47.695] INFO: blob-sink:server Stopping blob sink 12:04:47 [12:04:47.695] INFO: blob-sink:server Blob sink already stopped 12:04:47 [12:04:47.695] INFO: blob-sink:server Stopping blob sink 12:04:47 [12:04:47.696] INFO: blob-sink:server Blob sink stopped 12:04:47 PASS src/client/http.test.ts (58.958 s) 12:04:47 HttpBlobSinkClient 12:04:47 should send and retrieve blobs (405 ms) 12:04:47 should handle multiple blobs (190 ms) 12:04:47 should return empty array for non-existent block (103 ms) 12:04:47 should handle server connection errors gracefully (10114 ms) 12:04:47 Mock Ethereum Clients 12:04:47 should handle no consensus host (501 ms) 12:04:47 should request based on slot where consensus host is provided (787 ms) 12:04:47 should handle when multiple consensus hosts are provided (10631 ms) 12:04:47 should handle API keys without headers (424 ms) 12:04:47 should handle API keys in headers (439 ms) 12:04:47 should handle multiple consensus hosts with different API key methods (31241 ms) 12:04:47 even if we ask for non-encoded blobs, we should only get encoded blobs (464 ms) 12:04:47 should handle L1 missed slots (356 ms) 12:04:47 should fall back to archive client (345 ms) 12:04:47 12:04:47 Test Suites: 1 passed, 1 total 12:04:47 Tests: 13 passed, 13 total 12:04:47 Snapshots: 0 total 12:04:47 Time: 59.029 s 12:04:47 Ran all test suites matching blob-sink/src/client/http.test.ts. 12:04:47 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?