Parent Log: http://ci.aztec-labs.com/7d83d82915cf08a3 Command: 56d3c530a47f3a72 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9071986bfe3af58c70d2c80c10f523e22bfe4cb4 Env: REF_NAME=gh-readonly-queue/next/pr-15133-64d1ec347b1cea9fa1b04ff6fc2984f8ee073b2b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 14:51:43 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15133_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 14:51:47 [14:51:47.385] INFO: blob-sink:server Server is running on http://localhost:45907 14:51:47 [14:51:47.661] INFO: blob-sink:server Received blob sidecar for block 0x1234 14:51:47 [14:51:47.664] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 14:51:47 [14:51:47.759] INFO: blob-sink:server Stopping blob sink 14:51:47 [14:51:47.763] INFO: blob-sink:server Blob sink stopped 14:51:47 [14:51:47.778] INFO: blob-sink:server Server is running on http://localhost:32887 14:51:47 [14:51:47.962] INFO: blob-sink:server Received blob sidecar for block 0x5678 14:51:47 [14:51:47.973] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 14:51:48 [14:51:48.141] INFO: blob-sink:server Stopping blob sink 14:51:48 [14:51:48.143] INFO: blob-sink:server Blob sink stopped 14:51:48 [14:51:48.146] INFO: blob-sink:server Server is running on http://localhost:33177 14:51:48 [14:51:48.153] 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\"}"} 14:51:48 [14:51:48.154] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:33177"} 14:51:48 [14:51:48.155] INFO: blob-sink:server Stopping blob sink 14:51:48 [14:51:48.155] INFO: blob-sink:server Blob sink stopped 14:51:48 [14:51:48.157] INFO: blob-sink:server Server is running on http://localhost:38307 14:51:53 [14:51:53.187] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 14:51:58 [14:51:58.217] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 14:51:58 [14:51:58.218] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 14:51:58 [14:51:58.219] INFO: blob-sink:server Stopping blob sink 14:51:58 [14:51:58.219] INFO: blob-sink:server Blob sink stopped 14:51:58 [14:51:58.221] INFO: blob-sink:server Server is running on http://localhost:46805 14:51:58 [14:51:58.254] INFO: blob-sink:server Server is running on http://localhost:35119 14:51:58 [14:51:58.259] INFO: blob-sink:server Received blob sidecar for block 0x1234 14:51:58 [14:51:58.260] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 14:51:58 [14:51:58.681] INFO: blob-sink:server Stopping blob sink 14:51:58 [14:51:58.683] INFO: blob-sink:server Blob sink stopped 14:51:58 [14:51:58.684] INFO: blob-sink:server Stopping blob sink 14:51:58 [14:51:58.684] INFO: blob-sink:server Blob sink stopped 14:51:58 [14:51:58.687] INFO: blob-sink:server Server is running on http://localhost:46601 14:51:59 [14:51:59.157] INFO: blob-sink:server Stopping blob sink 14:51:59 [14:51:59.159] INFO: blob-sink:server Blob sink already stopped 14:51:59 [14:51:59.161] INFO: blob-sink:server Stopping blob sink 14:51:59 [14:51:59.161] INFO: blob-sink:server Blob sink stopped 14:51:59 [14:51:59.167] INFO: blob-sink:server Server is running on http://localhost:43611 14:52:04 [14:52:04.244] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 14:52:04 at node:internal/deps/undici/undici:13510:13 { 14:52:04 [cause]: TypeError: Invalid URL 14:52:04 at new URL (node:internal/url:818:25) 14:52:04 at new Request (node:internal/deps/undici/undici:9586:25) 14:52:04 at fetch (node:internal/deps/undici/undici:10315:25) 14:52:04 at fetch (node:internal/deps/undici/undici:13508:10) 14:52:04 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 14:52:04 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 14:52:04 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 14:52:04 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:52:04 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:52:04 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:52:04 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 14:52:04 code: 'ERR_INVALID_URL', 14:52:04 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 14:52:04 } 14:52:04 } 14:52:09 [14:52:09.316] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 14:52:09 [14:52:09.732] INFO: blob-sink:server Stopping blob sink 14:52:09 [14:52:09.732] INFO: blob-sink:server Blob sink already stopped 14:52:09 [14:52:09.733] INFO: blob-sink:server Stopping blob sink 14:52:09 [14:52:09.733] INFO: blob-sink:server Blob sink stopped 14:52:09 [14:52:09.735] INFO: blob-sink:server Server is running on http://localhost:43365 14:52:10 [14:52:10.130] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:46845"]} 14:52:10 [14:52:10.136] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:46845"]} 14:52:10 [14:52:10.137] INFO: blob-sink:server Stopping blob sink 14:52:10 [14:52:10.137] INFO: blob-sink:server Blob sink already stopped 14:52:10 [14:52:10.138] INFO: blob-sink:server Stopping blob sink 14:52:10 [14:52:10.138] INFO: blob-sink:server Blob sink stopped 14:52:10 [14:52:10.140] INFO: blob-sink:server Server is running on http://localhost:37645 14:52:10 [14:52:10.570] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36907"]} 14:52:10 [14:52:10.573] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36907"]} 14:52:10 [14:52:10.574] INFO: blob-sink:server Stopping blob sink 14:52:10 [14:52:10.574] INFO: blob-sink:server Blob sink already stopped 14:52:10 [14:52:10.574] INFO: blob-sink:server Stopping blob sink 14:52:10 [14:52:10.575] INFO: blob-sink:server Blob sink stopped 14:52:10 [14:52:10.576] INFO: blob-sink:server Server is running on http://localhost:40735 14:52:15 [14:52:15.941] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 14:52:15 at node:internal/deps/undici/undici:13510:13 14:52:15 at processTicksAndRejections (node:internal/process/task_queues:105:5) 14:52:15 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 14:52:15 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:52:15 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:52:15 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:52:15 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 14:52:15 [cause]: AggregateError: 14:52:15 at internalConnectMultiple (node:net:1139:18) 14:52:15 at afterConnectMultiple (node:net:1714:7) { 14:52:15 code: 'ECONNREFUSED', 14:52:15 [errors]: [ [Error], [Error] ] 14:52:15 } 14:52:15 } 14:52:21 [14:52:21.039] WARN: blob-sink:client Error getting blob sidecar from http://localhost:41317: fetch failed 14:52:26 [14:52:26.421] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 14:52:26 at node:internal/deps/undici/undici:13510:13 14:52:26 at processTicksAndRejections (node:internal/process/task_queues:105:5) 14:52:26 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 14:52:26 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:52:26 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:52:26 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:52:26 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 14:52:26 [cause]: AggregateError: 14:52:26 at internalConnectMultiple (node:net:1139:18) 14:52:26 at afterConnectMultiple (node:net:1714:7) { 14:52:26 code: 'ECONNREFUSED', 14:52:26 [errors]: [ [Error], [Error] ] 14:52:26 } 14:52:26 } 14:52:31 [14:52:31.433] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 14:52:31 at node:internal/deps/undici/undici:13510:13 14:52:31 at processTicksAndRejections (node:internal/process/task_queues:105:5) 14:52:31 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 14:52:31 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:52:31 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:52:31 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:52:31 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 14:52:31 [cause]: AggregateError: 14:52:31 at internalConnectMultiple (node:net:1139:18) 14:52:31 at afterConnectMultiple (node:net:1714:7) { 14:52:31 code: 'ECONNREFUSED', 14:52:31 [errors]: [ [Error], [Error] ] 14:52:31 } 14:52:31 } 14:52:36 [14:52:36.445] WARN: blob-sink:client Error getting blob sidecar from http://localhost:41317: fetch failed 14:52:41 [14:52:41.453] WARN: blob-sink:client Error getting blob sidecar from http://localhost:36415: fetch failed 14:52:41 [14:52:41.815] INFO: blob-sink:server Stopping blob sink 14:52:41 [14:52:41.816] INFO: blob-sink:server Blob sink already stopped 14:52:41 [14:52:41.817] INFO: blob-sink:server Stopping blob sink 14:52:41 [14:52:41.818] INFO: blob-sink:server Blob sink stopped 14:52:41 [14:52:41.821] INFO: blob-sink:server Server is running on http://localhost:35817 14:52:41 [14:52:41.884] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x807e3fb24c1bce7a945497954546c565eadcbeaa9fa4613592432bac7e27fe486c88ec8d6e4751be8e97cd2d6834e713"} 14:52:42 [14:52:42.192] INFO: blob-sink:server Stopping blob sink 14:52:42 [14:52:42.192] INFO: blob-sink:server Blob sink already stopped 14:52:42 [14:52:42.193] INFO: blob-sink:server Stopping blob sink 14:52:42 [14:52:42.193] INFO: blob-sink:server Blob sink stopped 14:52:42 [14:52:42.195] INFO: blob-sink:server Server is running on http://localhost:35185 14:52:42 [14:52:42.533] INFO: blob-sink:server Stopping blob sink 14:52:42 [14:52:42.534] INFO: blob-sink:server Blob sink already stopped 14:52:42 [14:52:42.535] INFO: blob-sink:server Stopping blob sink 14:52:42 [14:52:42.535] INFO: blob-sink:server Blob sink stopped 14:52:42 [14:52:42.536] INFO: blob-sink:server Server is running on http://localhost:33653 14:52:42 [14:52:42.870] INFO: blob-sink:server Stopping blob sink 14:52:42 [14:52:42.870] INFO: blob-sink:server Blob sink already stopped 14:52:42 [14:52:42.871] INFO: blob-sink:server Stopping blob sink 14:52:42 [14:52:42.871] INFO: blob-sink:server Blob sink stopped 14:52:42 PASS src/client/http.test.ts (58.573 s) 14:52:42 HttpBlobSinkClient 14:52:42 should send and retrieve blobs (393 ms) 14:52:42 should handle multiple blobs (368 ms) 14:52:42 should return empty array for non-existent block (12 ms) 14:52:42 should handle server connection errors gracefully (10063 ms) 14:52:42 Mock Ethereum Clients 14:52:42 should handle no consensus host (465 ms) 14:52:42 should request based on slot where consensus host is provided (478 ms) 14:52:42 should handle when multiple consensus hosts are provided (10570 ms) 14:52:42 should handle API keys without headers (404 ms) 14:52:42 should handle API keys in headers (436 ms) 14:52:42 should handle multiple consensus hosts with different API key methods (31243 ms) 14:52:42 even if we ask for non-encoded blobs, we should only get encoded blobs (375 ms) 14:52:42 should handle L1 missed slots (340 ms) 14:52:42 should fall back to archive client (335 ms) 14:52:42 14:52:42 Test Suites: 1 passed, 1 total 14:52:42 Tests: 13 passed, 13 total 14:52:42 Snapshots: 0 total 14:52:42 Time: 58.647 s 14:52:42 Ran all test suites matching blob-sink/src/client/http.test.ts. 14:52:42 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?