Parent Log: http://ci.aztec-labs.com/f4e0ca293bf0a04f 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_x2-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.616] INFO: blob-sink:server Server is running on http://localhost:36927 12:03:51 [12:03:51.898] INFO: blob-sink:server Received blob sidecar for block 0x1234 12:03:51 [12:03:51.902] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 12:03:51 [12:03:51.955] INFO: blob-sink:server Stopping blob sink 12:03:51 [12:03:51.956] INFO: blob-sink:server Blob sink stopped 12:03:51 [12:03:51.960] INFO: blob-sink:server Server is running on http://localhost:32971 12:03:52 [12:03:52.006] INFO: blob-sink:server Received blob sidecar for block 0x5678 12:03:52 [12:03:52.010] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 12:03:52 [12:03:52.119] INFO: blob-sink:server Stopping blob sink 12:03:52 [12:03:52.121] INFO: blob-sink:server Blob sink stopped 12:03:52 [12:03:52.123] INFO: blob-sink:server Server is running on http://localhost:43113 12:03:52 [12:03:52.130] 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.131] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:43113"} 12:03:52 [12:03:52.132] INFO: blob-sink:server Stopping blob sink 12:03:52 [12:03:52.133] INFO: blob-sink:server Blob sink stopped 12:03:52 [12:03:52.134] INFO: blob-sink:server Server is running on http://localhost:45729 12:03:57 [12:03:57.195] 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.260] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 12:04:02 [12:04:02.261] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 12:04:02 [12:04:02.262] INFO: blob-sink:server Stopping blob sink 12:04:02 [12:04:02.263] INFO: blob-sink:server Blob sink stopped 12:04:02 [12:04:02.268] INFO: blob-sink:server Server is running on http://localhost:37067 12:04:02 [12:04:02.329] INFO: blob-sink:server Server is running on http://localhost:38887 12:04:02 [12:04:02.367] INFO: blob-sink:server Received blob sidecar for block 0x1234 12:04:02 [12:04:02.370] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 12:04:02 [12:04:02.853] INFO: blob-sink:server Stopping blob sink 12:04:02 [12:04:02.856] INFO: blob-sink:server Blob sink stopped 12:04:02 [12:04:02.857] INFO: blob-sink:server Stopping blob sink 12:04:02 [12:04:02.857] INFO: blob-sink:server Blob sink stopped 12:04:02 [12:04:02.861] INFO: blob-sink:server Server is running on http://localhost:40069 12:04:03 [12:04:03.333] INFO: blob-sink:server Stopping blob sink 12:04:03 [12:04:03.334] INFO: blob-sink:server Blob sink already stopped 12:04:03 [12:04:03.334] INFO: blob-sink:server Stopping blob sink 12:04:03 [12:04:03.335] INFO: blob-sink:server Blob sink stopped 12:04:03 [12:04:03.336] INFO: blob-sink:server Server is running on http://localhost:39731 12:04:08 [12:04:08.420] 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.428] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 12:04:13 [12:04:13.792] INFO: blob-sink:server Stopping blob sink 12:04:13 [12:04:13.793] INFO: blob-sink:server Blob sink already stopped 12:04:13 [12:04:13.794] INFO: blob-sink:server Stopping blob sink 12:04:13 [12:04:13.794] INFO: blob-sink:server Blob sink stopped 12:04:13 [12:04:13.796] INFO: blob-sink:server Server is running on http://localhost:33929 12:04:14 [12:04:14.180] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41559"]} 12:04:14 [12:04:14.184] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41559"]} 12:04:14 [12:04:14.185] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.185] INFO: blob-sink:server Blob sink already stopped 12:04:14 [12:04:14.186] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.186] INFO: blob-sink:server Blob sink stopped 12:04:14 [12:04:14.187] INFO: blob-sink:server Server is running on http://localhost:42031 12:04:14 [12:04:14.543] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41343"]} 12:04:14 [12:04:14.547] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41343"]} 12:04:14 [12:04:14.548] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.548] INFO: blob-sink:server Blob sink already stopped 12:04:14 [12:04:14.548] INFO: blob-sink:server Stopping blob sink 12:04:14 [12:04:14.549] INFO: blob-sink:server Blob sink stopped 12:04:14 [12:04:14.550] INFO: blob-sink:server Server is running on http://localhost:40463 12:04:19 [12:04:19.943] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 12:04:19 at node:internal/deps/undici/undici:13510:13 12:04:19 at processTicksAndRejections (node:internal/process/task_queues:105:5) 12:04:19 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 12:04:19 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:19 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:19 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:19 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 12:04:19 [cause]: AggregateError: 12:04:19 at internalConnectMultiple (node:net:1139:18) 12:04:19 at afterConnectMultiple (node:net:1714:7) { 12:04:19 code: 'ECONNREFUSED', 12:04:19 [errors]: [ [Error], [Error] ] 12:04:19 } 12:04:19 } 12:04:24 [12:04:24.982] WARN: blob-sink:client Error getting blob sidecar from http://localhost:39199: fetch failed 12:04:30 [12:04:30.365] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 12:04:30 at node:internal/deps/undici/undici:13510:13 12:04:30 at processTicksAndRejections (node:internal/process/task_queues:105:5) 12:04:30 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 12:04:30 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:30 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:30 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:30 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 12:04:30 [cause]: AggregateError: 12:04:30 at internalConnectMultiple (node:net:1139:18) 12:04:30 at afterConnectMultiple (node:net:1714:7) { 12:04:30 code: 'ECONNREFUSED', 12:04:30 [errors]: [ [Error], [Error] ] 12:04:30 } 12:04:30 } 12:04:35 [12:04:35.384] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 12:04:35 at node:internal/deps/undici/undici:13510:13 12:04:35 at processTicksAndRejections (node:internal/process/task_queues:105:5) 12:04:35 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 12:04:35 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 12:04:35 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 12:04:35 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 12:04:35 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 12:04:35 [cause]: AggregateError: 12:04:35 at internalConnectMultiple (node:net:1139:18) 12:04:35 at afterConnectMultiple (node:net:1714:7) { 12:04:35 code: 'ECONNREFUSED', 12:04:35 [errors]: [ [Error], [Error] ] 12:04:35 } 12:04:35 } 12:04:40 [12:04:40.405] WARN: blob-sink:client Error getting blob sidecar from http://localhost:39199: fetch failed 12:04:45 [12:04:45.473] WARN: blob-sink:client Error getting blob sidecar from http://localhost:40691: fetch failed 12:04:45 [12:04:45.855] INFO: blob-sink:server Stopping blob sink 12:04:45 [12:04:45.856] INFO: blob-sink:server Blob sink already stopped 12:04:45 [12:04:45.856] INFO: blob-sink:server Stopping blob sink 12:04:45 [12:04:45.857] INFO: blob-sink:server Blob sink stopped 12:04:45 [12:04:45.859] INFO: blob-sink:server Server is running on http://localhost:35795 12:04:45 [12:04:45.921] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xa1c99902897c6e5940ede873eef63918d64e97a6a452ca2f9589af153975801a467f12d7a19039cc4ef48fbc6cd55108"} 12:04:46 [12:04:46.235] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.235] INFO: blob-sink:server Blob sink already stopped 12:04:46 [12:04:46.236] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.237] INFO: blob-sink:server Blob sink stopped 12:04:46 [12:04:46.238] INFO: blob-sink:server Server is running on http://localhost:37041 12:04:46 [12:04:46.575] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.575] INFO: blob-sink:server Blob sink already stopped 12:04:46 [12:04:46.576] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.576] INFO: blob-sink:server Blob sink stopped 12:04:46 [12:04:46.578] INFO: blob-sink:server Server is running on http://localhost:46651 12:04:46 [12:04:46.875] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.876] INFO: blob-sink:server Blob sink already stopped 12:04:46 [12:04:46.877] INFO: blob-sink:server Stopping blob sink 12:04:46 [12:04:46.878] INFO: blob-sink:server Blob sink stopped 12:04:46 PASS src/client/http.test.ts (58.346 s) 12:04:46 HttpBlobSinkClient 12:04:46 should send and retrieve blobs (350 ms) 12:04:46 should handle multiple blobs (163 ms) 12:04:46 should return empty array for non-existent block (11 ms) 12:04:46 should handle server connection errors gracefully (10131 ms) 12:04:46 Mock Ethereum Clients 12:04:46 should handle no consensus host (592 ms) 12:04:46 should request based on slot where consensus host is provided (476 ms) 12:04:46 should handle when multiple consensus hosts are provided (10459 ms) 12:04:46 should handle API keys without headers (391 ms) 12:04:46 should handle API keys in headers (362 ms) 12:04:46 should handle multiple consensus hosts with different API key methods (31308 ms) 12:04:46 even if we ask for non-encoded blobs, we should only get encoded blobs (379 ms) 12:04:46 should handle L1 missed slots (339 ms) 12:04:46 should fall back to archive client (301 ms) 12:04:46 12:04:46 Test Suites: 1 passed, 1 total 12:04:46 Tests: 13 passed, 13 total 12:04:46 Snapshots: 0 total 12:04:46 Time: 58.429 s 12:04:46 Ran all test suites matching blob-sink/src/client/http.test.ts. 12:04:46 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?