Parent Log: http://ci.aztec-labs.com/814f01bc2b04ad56 Command: d2a1f586812a792c yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/464e1a9d9b40b5188586643b44bc52bffccbc3e6 Env: REF_NAME=gh-readonly-queue/master/pr-15117-c06f30929f18b85bcea93c0926a8d640a3819f00 CURRENT_VERSION=0.87.8 CI_FULL=1 Date: Tue Jun 17 20:24:10 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15117_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_master 20:24:13 [20:24:13.828] INFO: blob-sink:server Server is running on http://localhost:40735 20:24:14 [20:24:14.161] INFO: blob-sink:server Received blob sidecar for block 0x1234 20:24:14 [20:24:14.163] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 20:24:14 [20:24:14.274] INFO: blob-sink:server Stopping blob sink 20:24:14 [20:24:14.276] INFO: blob-sink:server Blob sink stopped 20:24:14 [20:24:14.280] INFO: blob-sink:server Server is running on http://localhost:35743 20:24:14 [20:24:14.579] INFO: blob-sink:server Received blob sidecar for block 0x5678 20:24:14 [20:24:14.583] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 20:24:15 [20:24:15.138] INFO: blob-sink:server Stopping blob sink 20:24:15 [20:24:15.139] INFO: blob-sink:server Blob sink stopped 20:24:15 [20:24:15.141] INFO: blob-sink:server Server is running on http://localhost:43375 20:24:15 [20:24:15.147] 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\"}"} 20:24:15 [20:24:15.147] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:43375"} 20:24:15 [20:24:15.148] INFO: blob-sink:server Stopping blob sink 20:24:15 [20:24:15.149] INFO: blob-sink:server Blob sink stopped 20:24:15 [20:24:15.150] INFO: blob-sink:server Server is running on http://localhost:39713 20:24:20 [20:24:20.248] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 20:24:25 [20:24:25.271] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 20:24:25 [20:24:25.275] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 20:24:25 [20:24:25.276] INFO: blob-sink:server Stopping blob sink 20:24:25 [20:24:25.277] INFO: blob-sink:server Blob sink stopped 20:24:25 [20:24:25.279] INFO: blob-sink:server Server is running on http://localhost:41431 20:24:25 [20:24:25.583] INFO: blob-sink:server Server is running on http://localhost:42287 20:24:25 [20:24:25.595] INFO: blob-sink:server Received blob sidecar for block 0x1234 20:24:25 [20:24:25.599] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 20:24:27 [20:24:27.190] INFO: blob-sink:server Stopping blob sink 20:24:27 [20:24:27.191] INFO: blob-sink:server Blob sink stopped 20:24:27 [20:24:27.192] INFO: blob-sink:server Stopping blob sink 20:24:27 [20:24:27.192] INFO: blob-sink:server Blob sink stopped 20:24:27 [20:24:27.194] INFO: blob-sink:server Server is running on http://localhost:33259 20:24:28 [20:24:28.720] INFO: blob-sink:server Stopping blob sink 20:24:28 [20:24:28.720] INFO: blob-sink:server Blob sink already stopped 20:24:28 [20:24:28.721] INFO: blob-sink:server Stopping blob sink 20:24:28 [20:24:28.721] INFO: blob-sink:server Blob sink stopped 20:24:28 [20:24:28.723] INFO: blob-sink:server Server is running on http://localhost:32943 20:24:33 [20:24:33.998] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 20:24:34 at node:internal/deps/undici/undici:13510:13 { 20:24:34 [cause]: TypeError: Invalid URL 20:24:34 at new URL (node:internal/url:818:25) 20:24:34 at new Request (node:internal/deps/undici/undici:9586:25) 20:24:34 at fetch (node:internal/deps/undici/undici:10315:25) 20:24:34 at fetch (node:internal/deps/undici/undici:13508:10) 20:24:34 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 20:24:34 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 20:24:34 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 20:24:34 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 20:24:34 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 20:24:34 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 20:24:34 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:230:30) { 20:24:34 code: 'ERR_INVALID_URL', 20:24:34 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 20:24:34 } 20:24:34 } 20:24:39 [20:24:39.011] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 20:24:40 [20:24:40.358] INFO: blob-sink:server Stopping blob sink 20:24:40 [20:24:40.359] INFO: blob-sink:server Blob sink already stopped 20:24:40 [20:24:40.359] INFO: blob-sink:server Stopping blob sink 20:24:40 [20:24:40.360] INFO: blob-sink:server Blob sink stopped 20:24:40 [20:24:40.362] INFO: blob-sink:server Server is running on http://localhost:36605 20:24:42 [20:24:42.030] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:43367"]} 20:24:42 [20:24:42.033] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:43367"]} 20:24:42 [20:24:42.034] INFO: blob-sink:server Stopping blob sink 20:24:42 [20:24:42.034] INFO: blob-sink:server Blob sink already stopped 20:24:42 [20:24:42.035] INFO: blob-sink:server Stopping blob sink 20:24:42 [20:24:42.035] INFO: blob-sink:server Blob sink stopped 20:24:42 [20:24:42.037] INFO: blob-sink:server Server is running on http://localhost:38941 20:24:43 [20:24:43.749] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:33993"]} 20:24:43 [20:24:43.753] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:33993"]} 20:24:43 [20:24:43.753] INFO: blob-sink:server Stopping blob sink 20:24:43 [20:24:43.754] INFO: blob-sink:server Blob sink already stopped 20:24:43 [20:24:43.754] INFO: blob-sink:server Stopping blob sink 20:24:43 [20:24:43.754] INFO: blob-sink:server Blob sink stopped 20:24:43 [20:24:43.756] INFO: blob-sink:server Server is running on http://localhost:40025 20:24:50 [20:24:50.519] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 20:24:50 at node:internal/deps/undici/undici:13510:13 20:24:50 at processTicksAndRejections (node:internal/process/task_queues:105:5) 20:24:50 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 20:24:50 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 20:24:50 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 20:24:50 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 20:24:50 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:342:24) { 20:24:50 [cause]: AggregateError: 20:24:50 at internalConnectMultiple (node:net:1139:18) 20:24:50 at afterConnectMultiple (node:net:1714:7) { 20:24:50 code: 'ECONNREFUSED', 20:24:50 [errors]: [ [Error], [Error] ] 20:24:50 } 20:24:50 } 20:24:55 [20:24:55.528] WARN: blob-sink:client Error getting blob sidecar from http://localhost:44535: fetch failed 20:25:02 [20:25:02.098] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 20:25:02 at node:internal/deps/undici/undici:13510:13 20:25:02 at processTicksAndRejections (node:internal/process/task_queues:105:5) 20:25:02 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 20:25:02 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 20:25:02 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 20:25:02 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 20:25:02 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:358:24) { 20:25:02 [cause]: AggregateError: 20:25:02 at internalConnectMultiple (node:net:1139:18) 20:25:02 at afterConnectMultiple (node:net:1714:7) { 20:25:02 code: 'ECONNREFUSED', 20:25:02 [errors]: [ [Error], [Error] ] 20:25:02 } 20:25:02 } 20:25:07 [20:25:07.129] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 20:25:07 at node:internal/deps/undici/undici:13510:13 20:25:07 at processTicksAndRejections (node:internal/process/task_queues:105:5) 20:25:07 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 20:25:07 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 20:25:07 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 20:25:07 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 20:25:07 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:358:24) { 20:25:07 [cause]: AggregateError: 20:25:07 at internalConnectMultiple (node:net:1139:18) 20:25:07 at afterConnectMultiple (node:net:1714:7) { 20:25:07 code: 'ECONNREFUSED', 20:25:07 [errors]: [ [Error], [Error] ] 20:25:07 } 20:25:07 } 20:25:12 [20:25:12.141] WARN: blob-sink:client Error getting blob sidecar from http://localhost:44535: fetch failed 20:25:17 [20:25:17.149] WARN: blob-sink:client Error getting blob sidecar from http://localhost:37141: fetch failed 20:25:18 [20:25:18.669] INFO: blob-sink:server Stopping blob sink 20:25:18 [20:25:18.670] INFO: blob-sink:server Blob sink already stopped 20:25:18 [20:25:18.671] INFO: blob-sink:server Stopping blob sink 20:25:18 [20:25:18.671] INFO: blob-sink:server Blob sink stopped 20:25:18 [20:25:18.674] INFO: blob-sink:server Server is running on http://localhost:39967 20:25:18 [20:25:18.962] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x97f60cecf18d82061b1321c069d0553fb933420fde674dedda5104944f7bd6625843acb919faceecb4cc2c3f97d9928c"} 20:25:20 [20:25:20.379] INFO: blob-sink:server Stopping blob sink 20:25:20 [20:25:20.379] INFO: blob-sink:server Blob sink already stopped 20:25:20 [20:25:20.380] INFO: blob-sink:server Stopping blob sink 20:25:20 [20:25:20.380] INFO: blob-sink:server Blob sink stopped 20:25:20 [20:25:20.381] INFO: blob-sink:server Server is running on http://localhost:42969 20:25:22 [20:25:22.120] INFO: blob-sink:server Stopping blob sink 20:25:22 [20:25:22.121] INFO: blob-sink:server Blob sink already stopped 20:25:22 [20:25:22.121] INFO: blob-sink:server Stopping blob sink 20:25:22 [20:25:22.122] INFO: blob-sink:server Blob sink stopped 20:25:22 [20:25:22.124] INFO: blob-sink:server Server is running on http://localhost:38541 20:25:24 [20:25:24.195] INFO: blob-sink:server Stopping blob sink 20:25:24 [20:25:24.196] INFO: blob-sink:server Blob sink already stopped 20:25:24 [20:25:24.197] INFO: blob-sink:server Stopping blob sink 20:25:24 [20:25:24.198] INFO: blob-sink:server Blob sink stopped 20:25:24 PASS src/client/http.test.ts (72.687 s) 20:25:24 HttpBlobSinkClient 20:25:24 should send and retrieve blobs (458 ms) 20:25:24 should handle multiple blobs (861 ms) 20:25:24 should return empty array for non-existent block (9 ms) 20:25:24 should handle server connection errors gracefully (10128 ms) 20:25:24 Mock Ethereum Clients 20:25:24 should handle no consensus host (1914 ms) 20:25:24 should request based on slot where consensus host is provided (1529 ms) 20:25:24 should handle when multiple consensus hosts are provided (11638 ms) 20:25:24 should handle API keys without headers (1676 ms) 20:25:24 should handle API keys in headers (1718 ms) 20:25:24 should handle multiple consensus hosts with different API key methods (34917 ms) 20:25:24 even if we ask for non-encoded blobs, we should only get encoded blobs (1708 ms) 20:25:24 should handle L1 missed slots (1741 ms) 20:25:24 should fall back to archive client (2075 ms) 20:25:24 20:25:24 Test Suites: 1 passed, 1 total 20:25:24 Tests: 13 passed, 13 total 20:25:24 Snapshots: 0 total 20:25:24 Time: 72.752 s 20:25:24 Ran all test suites matching /blob-sink\/src\/client\/http.test.ts/i. 20:25:24 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?