Parent Log: http://ci.aztec-labs.com/2aac72a9f0a3e7d4 Command: b818050160cbcbd8 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=1 Date: Fri Jun 13 21:17:05 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14822_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 21:17:10 [21:17:10.056] INFO: blob-sink:server Server is running on http://localhost:44197 21:17:10 [21:17:10.369] INFO: blob-sink:server Received blob sidecar for block 0x1234 21:17:10 [21:17:10.372] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 21:17:10 [21:17:10.434] INFO: blob-sink:server Stopping blob sink 21:17:10 [21:17:10.436] INFO: blob-sink:server Blob sink stopped 21:17:10 [21:17:10.442] INFO: blob-sink:server Server is running on http://localhost:35549 21:17:10 [21:17:10.628] INFO: blob-sink:server Received blob sidecar for block 0x5678 21:17:10 [21:17:10.637] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 21:17:10 [21:17:10.853] INFO: blob-sink:server Stopping blob sink 21:17:10 [21:17:10.857] INFO: blob-sink:server Blob sink stopped 21:17:10 [21:17:10.860] INFO: blob-sink:server Server is running on http://localhost:45573 21:17:10 [21:17:10.875] 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:17:10 [21:17:10.877] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:45573"} 21:17:10 [21:17:10.879] INFO: blob-sink:server Stopping blob sink 21:17:10 [21:17:10.880] INFO: blob-sink:server Blob sink stopped 21:17:10 [21:17:10.883] INFO: blob-sink:server Server is running on http://localhost:41675 21:17:15 [21:17:15.927] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 21:17:20 [21:17:20.940] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 21:17:20 [21:17:20.940] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 21:17:20 [21:17:20.941] INFO: blob-sink:server Stopping blob sink 21:17:20 [21:17:20.941] INFO: blob-sink:server Blob sink stopped 21:17:20 [21:17:20.943] INFO: blob-sink:server Server is running on http://localhost:33465 21:17:20 [21:17:20.976] INFO: blob-sink:server Server is running on http://localhost:45547 21:17:20 [21:17:20.982] INFO: blob-sink:server Received blob sidecar for block 0x1234 21:17:20 [21:17:20.984] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 21:17:22 [21:17:22.589] INFO: blob-sink:server Stopping blob sink 21:17:22 [21:17:22.590] INFO: blob-sink:server Blob sink stopped 21:17:22 [21:17:22.591] INFO: blob-sink:server Stopping blob sink 21:17:22 [21:17:22.591] INFO: blob-sink:server Blob sink stopped 21:17:22 [21:17:22.593] INFO: blob-sink:server Server is running on http://localhost:41139 21:17:24 [21:17:24.000] INFO: blob-sink:server Stopping blob sink 21:17:24 [21:17:24.002] INFO: blob-sink:server Blob sink already stopped 21:17:24 [21:17:24.004] INFO: blob-sink:server Stopping blob sink 21:17:24 [21:17:24.004] INFO: blob-sink:server Blob sink stopped 21:17:24 [21:17:24.009] INFO: blob-sink:server Server is running on http://localhost:36967 21:17:29 [21:17:29.083] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 21:17:29 at node:internal/deps/undici/undici:13510:13 { 21:17:29 [cause]: TypeError: Invalid URL 21:17:29 at new URL (node:internal/url:818:25) 21:17:29 at new Request (node:internal/deps/undici/undici:9586:25) 21:17:29 at fetch (node:internal/deps/undici/undici:10315:25) 21:17:29 at fetch (node:internal/deps/undici/undici:13508:10) 21:17:29 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 21:17:29 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 21:17:29 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 21:17:29 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:17:29 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:17:29 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:17:29 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 21:17:29 code: 'ERR_INVALID_URL', 21:17:29 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 21:17:29 } 21:17:29 } 21:17:34 [21:17:34.090] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 21:17:35 [21:17:35.567] INFO: blob-sink:server Stopping blob sink 21:17:35 [21:17:35.568] INFO: blob-sink:server Blob sink already stopped 21:17:35 [21:17:35.568] INFO: blob-sink:server Stopping blob sink 21:17:35 [21:17:35.568] INFO: blob-sink:server Blob sink stopped 21:17:35 [21:17:35.570] INFO: blob-sink:server Server is running on http://localhost:34019 21:17:37 [21:17:37.193] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36897"]} 21:17:37 [21:17:37.198] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36897"]} 21:17:37 [21:17:37.199] INFO: blob-sink:server Stopping blob sink 21:17:37 [21:17:37.199] INFO: blob-sink:server Blob sink already stopped 21:17:37 [21:17:37.200] INFO: blob-sink:server Stopping blob sink 21:17:37 [21:17:37.201] INFO: blob-sink:server Blob sink stopped 21:17:37 [21:17:37.203] INFO: blob-sink:server Server is running on http://localhost:43575 21:17:38 [21:17:38.701] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36797"]} 21:17:38 [21:17:38.706] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36797"]} 21:17:38 [21:17:38.706] INFO: blob-sink:server Stopping blob sink 21:17:38 [21:17:38.707] INFO: blob-sink:server Blob sink already stopped 21:17:38 [21:17:38.707] INFO: blob-sink:server Stopping blob sink 21:17:38 [21:17:38.708] INFO: blob-sink:server Blob sink stopped 21:17:38 [21:17:38.709] INFO: blob-sink:server Server is running on http://localhost:40207 21:17:45 [21:17:45.335] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 21:17:45 at node:internal/deps/undici/undici:13510:13 21:17:45 at processTicksAndRejections (node:internal/process/task_queues:105:5) 21:17:45 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 21:17:45 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:17:45 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:17:45 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:17:45 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 21:17:45 [cause]: AggregateError: 21:17:45 at internalConnectMultiple (node:net:1139:18) 21:17:45 at afterConnectMultiple (node:net:1714:7) { 21:17:45 code: 'ECONNREFUSED', 21:17:45 [errors]: [ [Error], [Error] ] 21:17:45 } 21:17:45 } 21:17:50 [21:17:50.348] WARN: blob-sink:client Error getting blob sidecar from http://localhost:35647: fetch failed 21:17:56 [21:17:56.929] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 21:17:56 at node:internal/deps/undici/undici:13510:13 21:17:56 at processTicksAndRejections (node:internal/process/task_queues:105:5) 21:17:56 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 21:17:56 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:17:56 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:17:56 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:17:56 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 21:17:56 [cause]: AggregateError: 21:17:56 at internalConnectMultiple (node:net:1139:18) 21:17:56 at afterConnectMultiple (node:net:1714:7) { 21:17:56 code: 'ECONNREFUSED', 21:17:56 [errors]: [ [Error], [Error] ] 21:17:56 } 21:17:56 } 21:18:01 [21:18:01.940] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 21:18:01 at node:internal/deps/undici/undici:13510:13 21:18:01 at processTicksAndRejections (node:internal/process/task_queues:105:5) 21:18:01 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 21:18:01 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 21:18:01 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 21:18:01 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 21:18:01 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 21:18:01 [cause]: AggregateError: 21:18:01 at internalConnectMultiple (node:net:1139:18) 21:18:01 at afterConnectMultiple (node:net:1714:7) { 21:18:01 code: 'ECONNREFUSED', 21:18:01 [errors]: [ [Error], [Error] ] 21:18:01 } 21:18:01 } 21:18:06 [21:18:06.952] WARN: blob-sink:client Error getting blob sidecar from http://localhost:35647: fetch failed 21:18:11 [21:18:11.961] WARN: blob-sink:client Error getting blob sidecar from http://localhost:36903: fetch failed 21:18:13 [21:18:13.581] INFO: blob-sink:server Stopping blob sink 21:18:13 [21:18:13.582] INFO: blob-sink:server Blob sink already stopped 21:18:13 [21:18:13.583] INFO: blob-sink:server Stopping blob sink 21:18:13 [21:18:13.583] INFO: blob-sink:server Blob sink stopped 21:18:13 [21:18:13.587] INFO: blob-sink:server Server is running on http://localhost:46011 21:18:13 [21:18:13.650] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xa34cc956ada745595fa1a41f3748bfc6a4b5cb1352354f1f19d42628873f5e68fae41330a14d53a1f66dcb95f0f94626"} 21:18:15 [21:18:15.306] INFO: blob-sink:server Stopping blob sink 21:18:15 [21:18:15.307] INFO: blob-sink:server Blob sink already stopped 21:18:15 [21:18:15.307] INFO: blob-sink:server Stopping blob sink 21:18:15 [21:18:15.308] INFO: blob-sink:server Blob sink stopped 21:18:15 [21:18:15.309] INFO: blob-sink:server Server is running on http://localhost:41067 21:18:16 [21:18:16.877] INFO: blob-sink:server Stopping blob sink 21:18:16 [21:18:16.878] INFO: blob-sink:server Blob sink already stopped 21:18:16 [21:18:16.879] INFO: blob-sink:server Stopping blob sink 21:18:16 [21:18:16.879] INFO: blob-sink:server Blob sink stopped 21:18:16 [21:18:16.882] INFO: blob-sink:server Server is running on http://localhost:37341 21:18:18 [21:18:18.299] INFO: blob-sink:server Stopping blob sink 21:18:18 [21:18:18.300] INFO: blob-sink:server Blob sink already stopped 21:18:18 [21:18:18.300] INFO: blob-sink:server Stopping blob sink 21:18:18 [21:18:18.300] INFO: blob-sink:server Blob sink stopped 21:18:18 PASS src/client/http.test.ts (71.627 s) 21:18:18 HttpBlobSinkClient 21:18:18 should send and retrieve blobs (392 ms) 21:18:18 should handle multiple blobs (419 ms) 21:18:18 should return empty array for non-existent block (23 ms) 21:18:18 should handle server connection errors gracefully (10061 ms) 21:18:18 Mock Ethereum Clients 21:18:18 should handle no consensus host (1649 ms) 21:18:18 should request based on slot where consensus host is provided (1413 ms) 21:18:18 should handle when multiple consensus hosts are provided (11562 ms) 21:18:18 should handle API keys without headers (1632 ms) 21:18:18 should handle API keys in headers (1507 ms) 21:18:18 should handle multiple consensus hosts with different API key methods (34876 ms) 21:18:18 even if we ask for non-encoded blobs, we should only get encoded blobs (1723 ms) 21:18:18 should handle L1 missed slots (1572 ms) 21:18:18 should fall back to archive client (1421 ms) 21:18:18 21:18:18 Test Suites: 1 passed, 1 total 21:18:18 Tests: 13 passed, 13 total 21:18:18 Snapshots: 0 total 21:18:18 Time: 71.735 s 21:18:18 Ran all test suites matching /blob-sink\/src\/client\/http.test.ts/i. 21:18:18 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?