Parent Log: http://ci.aztec-labs.com/a079291c5cb4bf29 Command: 9e580e2a65a38075 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/184d5f7d956dd7251670a2dd6728f313cfdf3caf Env: REF_NAME=gh-readonly-queue/next/pr-14822-e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Fri Jun 13 21:20:41 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14822_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 21:20:44 [21:20:44.114] INFO: blob-sink:server Server is running on http://localhost:39339 21:20:44 [21:20:44.327] INFO: blob-sink:server Received blob sidecar for block 0x1234 21:20:44 [21:20:44.329] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 21:20:44 [21:20:44.369] INFO: blob-sink:server Stopping blob sink 21:20:44 [21:20:44.370] INFO: blob-sink:server Blob sink stopped 21:20:44 [21:20:44.373] INFO: blob-sink:server Server is running on http://localhost:35401 21:20:44 [21:20:44.417] INFO: blob-sink:server Received blob sidecar for block 0x5678 21:20:44 [21:20:44.419] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 21:20:44 [21:20:44.510] INFO: blob-sink:server Stopping blob sink 21:20:44 [21:20:44.512] INFO: blob-sink:server Blob sink stopped 21:20:44 [21:20:44.514] INFO: blob-sink:server Server is running on http://localhost:37661 21:20:44 [21:20:44.519] 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\"}"} 21:20:44 [21:20:44.520] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:37661"} 21:20:44 [21:20:44.521] INFO: blob-sink:server Stopping blob sink 21:20:44 [21:20:44.521] INFO: blob-sink:server Blob sink stopped 21:20:44 [21:20:44.523] INFO: blob-sink:server Server is running on http://localhost:32909 21:20:49 [21:20:49.544] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 21:20:54 [21:20:54.551] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 21:20:54 [21:20:54.551] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 21:20:54 [21:20:54.552] INFO: blob-sink:server Stopping blob sink 21:20:54 [21:20:54.552] INFO: blob-sink:server Blob sink stopped 21:20:54 [21:20:54.553] INFO: blob-sink:server Server is running on http://localhost:37667 21:20:54 [21:20:54.585] INFO: blob-sink:server Server is running on http://localhost:38639 21:20:54 [21:20:54.589] INFO: blob-sink:server Received blob sidecar for block 0x1234 21:20:54 [21:20:54.590] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 21:20:55 [21:20:55.943] INFO: blob-sink:server Stopping blob sink 21:20:55 [21:20:55.944] INFO: blob-sink:server Blob sink stopped 21:20:55 [21:20:55.945] INFO: blob-sink:server Stopping blob sink 21:20:55 [21:20:55.945] INFO: blob-sink:server Blob sink stopped 21:20:55 [21:20:55.947] INFO: blob-sink:server Server is running on http://localhost:46815 21:20:57 [21:20:57.311] INFO: blob-sink:server Stopping blob sink 21:20:57 [21:20:57.312] INFO: blob-sink:server Blob sink already stopped 21:20:57 [21:20:57.312] INFO: blob-sink:server Stopping blob sink 21:20:57 [21:20:57.313] INFO: blob-sink:server Blob sink stopped 21:20:57 [21:20:57.314] INFO: blob-sink:server Server is running on http://localhost:46779 21:21:02 [21:21:02.363] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 21:21:02 at node:internal/deps/undici/undici:13510:13 { 21:21:02 [cause]: TypeError: Invalid URL 21:21:02 at new URL (node:internal/url:818:25) 21:21:02 at new Request (node:internal/deps/undici/undici:9586:25) 21:21:02 at fetch (node:internal/deps/undici/undici:10315:25) 21:21:02 at fetch (node:internal/deps/undici/undici:13508:10) 21:21:02 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 21:21:02 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 21:21:02 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 21:21:02 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:21:02 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:21:02 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:21:02 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 21:21:02 code: 'ERR_INVALID_URL', 21:21:02 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 21:21:02 } 21:21:02 } 21:21:07 [21:21:07.367] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 21:21:08 [21:21:08.674] INFO: blob-sink:server Stopping blob sink 21:21:08 [21:21:08.674] INFO: blob-sink:server Blob sink already stopped 21:21:08 [21:21:08.674] INFO: blob-sink:server Stopping blob sink 21:21:08 [21:21:08.675] INFO: blob-sink:server Blob sink stopped 21:21:08 [21:21:08.677] INFO: blob-sink:server Server is running on http://localhost:46673 21:21:10 [21:21:10.018] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:42561"]} 21:21:10 [21:21:10.022] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:42561"]} 21:21:10 [21:21:10.023] INFO: blob-sink:server Stopping blob sink 21:21:10 [21:21:10.023] INFO: blob-sink:server Blob sink already stopped 21:21:10 [21:21:10.023] INFO: blob-sink:server Stopping blob sink 21:21:10 [21:21:10.024] INFO: blob-sink:server Blob sink stopped 21:21:10 [21:21:10.025] INFO: blob-sink:server Server is running on http://localhost:33151 21:21:11 [21:21:11.369] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:43527"]} 21:21:11 [21:21:11.373] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:43527"]} 21:21:11 [21:21:11.373] INFO: blob-sink:server Stopping blob sink 21:21:11 [21:21:11.374] INFO: blob-sink:server Blob sink already stopped 21:21:11 [21:21:11.374] INFO: blob-sink:server Stopping blob sink 21:21:11 [21:21:11.374] INFO: blob-sink:server Blob sink stopped 21:21:11 [21:21:11.375] INFO: blob-sink:server Server is running on http://localhost:41331 21:21:17 [21:21:17.723] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 21:21:17 at node:internal/deps/undici/undici:13510:13 21:21:17 at processTicksAndRejections (node:internal/process/task_queues:105:5) 21:21:17 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 21:21:17 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:21:17 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:21:17 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:21:17 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 21:21:17 [cause]: AggregateError: 21:21:17 at internalConnectMultiple (node:net:1139:18) 21:21:17 at afterConnectMultiple (node:net:1714:7) { 21:21:17 code: 'ECONNREFUSED', 21:21:17 [errors]: [ [Error], [Error] ] 21:21:17 } 21:21:17 } 21:21:22 [21:21:22.730] WARN: blob-sink:client Error getting blob sidecar from http://localhost:42959: fetch failed 21:21:29 [21:21:29.080] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 21:21:29 at node:internal/deps/undici/undici:13510:13 21:21:29 at processTicksAndRejections (node:internal/process/task_queues:105:5) 21:21:29 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 21:21:29 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:21:29 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:21:29 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:21:29 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 21:21:29 [cause]: AggregateError: 21:21:29 at internalConnectMultiple (node:net:1139:18) 21:21:29 at afterConnectMultiple (node:net:1714:7) { 21:21:29 code: 'ECONNREFUSED', 21:21:29 [errors]: [ [Error], [Error] ] 21:21:29 } 21:21:29 } 21:21:34 [21:21:34.090] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 21:21:34 at node:internal/deps/undici/undici:13510:13 21:21:34 at processTicksAndRejections (node:internal/process/task_queues:105:5) 21:21:34 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 21:21:34 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:21:34 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:21:34 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:21:34 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 21:21:34 [cause]: AggregateError: 21:21:34 at internalConnectMultiple (node:net:1139:18) 21:21:34 at afterConnectMultiple (node:net:1714:7) { 21:21:34 code: 'ECONNREFUSED', 21:21:34 [errors]: [ [Error], [Error] ] 21:21:34 } 21:21:34 } 21:21:39 [21:21:39.114] WARN: blob-sink:client Error getting blob sidecar from http://localhost:42959: fetch failed 21:21:44 [21:21:44.140] WARN: blob-sink:client Error getting blob sidecar from http://localhost:40243: fetch failed 21:21:45 [21:21:45.485] INFO: blob-sink:server Stopping blob sink 21:21:45 [21:21:45.486] INFO: blob-sink:server Blob sink already stopped 21:21:45 [21:21:45.486] INFO: blob-sink:server Stopping blob sink 21:21:45 [21:21:45.486] INFO: blob-sink:server Blob sink stopped 21:21:45 [21:21:45.487] INFO: blob-sink:server Server is running on http://localhost:41149 21:21:45 [21:21:45.538] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x8d8d7b5ac1eb31e8ee79727eaafcf1ae5f7a977f3dd435f3e9ba4c71bf88a1a1806277d6c3b372f2f79b878f68f8c7a0"} 21:21:46 [21:21:46.831] INFO: blob-sink:server Stopping blob sink 21:21:46 [21:21:46.831] INFO: blob-sink:server Blob sink already stopped 21:21:46 [21:21:46.832] INFO: blob-sink:server Stopping blob sink 21:21:46 [21:21:46.832] INFO: blob-sink:server Blob sink stopped 21:21:46 [21:21:46.833] INFO: blob-sink:server Server is running on http://localhost:40485 21:21:48 [21:21:48.194] INFO: blob-sink:server Stopping blob sink 21:21:48 [21:21:48.194] INFO: blob-sink:server Blob sink already stopped 21:21:48 [21:21:48.195] INFO: blob-sink:server Stopping blob sink 21:21:48 [21:21:48.195] INFO: blob-sink:server Blob sink stopped 21:21:48 [21:21:48.196] INFO: blob-sink:server Server is running on http://localhost:37845 21:21:49 [21:21:49.518] INFO: blob-sink:server Stopping blob sink 21:21:49 [21:21:49.518] INFO: blob-sink:server Blob sink already stopped 21:21:49 [21:21:49.518] INFO: blob-sink:server Stopping blob sink 21:21:49 [21:21:49.518] INFO: blob-sink:server Blob sink stopped 21:21:49 PASS src/client/http.test.ts (67.186 s) 21:21:49 HttpBlobSinkClient 21:21:49 should send and retrieve blobs (262 ms) 21:21:49 should handle multiple blobs (140 ms) 21:21:49 should return empty array for non-existent block (9 ms) 21:21:49 should handle server connection errors gracefully (10030 ms) 21:21:49 Mock Ethereum Clients 21:21:49 should handle no consensus host (1392 ms) 21:21:49 should request based on slot where consensus host is provided (1367 ms) 21:21:49 should handle when multiple consensus hosts are provided (11362 ms) 21:21:49 should handle API keys without headers (1349 ms) 21:21:49 should handle API keys in headers (1350 ms) 21:21:49 should handle multiple consensus hosts with different API key methods (34112 ms) 21:21:49 even if we ask for non-encoded blobs, we should only get encoded blobs (1345 ms) 21:21:49 should handle L1 missed slots (1363 ms) 21:21:49 should fall back to archive client (1323 ms) 21:21:49 21:21:49 Test Suites: 1 passed, 1 total 21:21:49 Tests: 13 passed, 13 total 21:21:49 Snapshots: 0 total 21:21:49 Time: 67.252 s 21:21:49 Ran all test suites matching /blob-sink\/src\/client\/http.test.ts/i. 21:21:49 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?