Parent Log: http://ci.aztec-labs.com/c81d42f03fadf137 Command: a5511b51e55ea9c0 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9cbd161a1dfa928167c1f969200b95df55ed4c6b Env: REF_NAME=gh-readonly-queue/next/pr-15157-6e3848bbd6845559b55825f0bc64df0673272969 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 09:42:27 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15157_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 09:42:31 [09:42:31.390] INFO: blob-sink:server Server is running on http://localhost:35623 09:42:31 [09:42:31.757] INFO: blob-sink:server Received blob sidecar for block 0x1234 09:42:31 [09:42:31.760] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 09:42:31 [09:42:31.816] INFO: blob-sink:server Stopping blob sink 09:42:31 [09:42:31.818] INFO: blob-sink:server Blob sink stopped 09:42:31 [09:42:31.822] INFO: blob-sink:server Server is running on http://localhost:39381 09:42:31 [09:42:31.871] INFO: blob-sink:server Received blob sidecar for block 0x5678 09:42:31 [09:42:31.874] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 09:42:32 [09:42:32.006] INFO: blob-sink:server Stopping blob sink 09:42:32 [09:42:32.007] INFO: blob-sink:server Blob sink stopped 09:42:32 [09:42:32.010] INFO: blob-sink:server Server is running on http://localhost:34919 09:42:32 [09:42:32.028] 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\"}"} 09:42:32 [09:42:32.029] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:34919"} 09:42:32 [09:42:32.030] INFO: blob-sink:server Stopping blob sink 09:42:32 [09:42:32.031] INFO: blob-sink:server Blob sink stopped 09:42:32 [09:42:32.032] INFO: blob-sink:server Server is running on http://localhost:35727 09:42:37 [09:42:37.061] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 09:42:42 [09:42:42.079] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 09:42:42 [09:42:42.080] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 09:42:42 [09:42:42.081] INFO: blob-sink:server Stopping blob sink 09:42:42 [09:42:42.081] INFO: blob-sink:server Blob sink stopped 09:42:42 [09:42:42.083] INFO: blob-sink:server Server is running on http://localhost:41355 09:42:42 [09:42:42.122] INFO: blob-sink:server Server is running on http://localhost:37253 09:42:42 [09:42:42.130] INFO: blob-sink:server Received blob sidecar for block 0x1234 09:42:42 [09:42:42.133] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 09:42:42 [09:42:42.471] INFO: blob-sink:server Stopping blob sink 09:42:42 [09:42:42.472] INFO: blob-sink:server Blob sink stopped 09:42:42 [09:42:42.472] INFO: blob-sink:server Stopping blob sink 09:42:42 [09:42:42.473] INFO: blob-sink:server Blob sink stopped 09:42:42 [09:42:42.475] INFO: blob-sink:server Server is running on http://localhost:46377 09:42:42 [09:42:42.914] INFO: blob-sink:server Stopping blob sink 09:42:42 [09:42:42.916] INFO: blob-sink:server Blob sink already stopped 09:42:42 [09:42:42.917] INFO: blob-sink:server Stopping blob sink 09:42:42 [09:42:42.918] INFO: blob-sink:server Blob sink stopped 09:42:42 [09:42:42.922] INFO: blob-sink:server Server is running on http://localhost:39947 09:42:47 [09:42:47.991] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 09:42:47 at node:internal/deps/undici/undici:13510:13 { 09:42:47 [cause]: TypeError: Invalid URL 09:42:47 at new URL (node:internal/url:818:25) 09:42:47 at new Request (node:internal/deps/undici/undici:9586:25) 09:42:47 at fetch (node:internal/deps/undici/undici:10315:25) 09:42:47 at fetch (node:internal/deps/undici/undici:13508:10) 09:42:47 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 09:42:47 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 09:42:47 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 09:42:47 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:42:47 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:42:47 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:42:47 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 09:42:47 code: 'ERR_INVALID_URL', 09:42:47 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 09:42:47 } 09:42:47 } 09:42:52 [09:42:52.997] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 09:42:53 [09:42:53.356] INFO: blob-sink:server Stopping blob sink 09:42:53 [09:42:53.357] INFO: blob-sink:server Blob sink already stopped 09:42:53 [09:42:53.357] INFO: blob-sink:server Stopping blob sink 09:42:53 [09:42:53.358] INFO: blob-sink:server Blob sink stopped 09:42:53 [09:42:53.360] INFO: blob-sink:server Server is running on http://localhost:46147 09:42:53 [09:42:53.739] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:40241"]} 09:42:53 [09:42:53.743] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:40241"]} 09:42:53 [09:42:53.744] INFO: blob-sink:server Stopping blob sink 09:42:53 [09:42:53.744] INFO: blob-sink:server Blob sink already stopped 09:42:53 [09:42:53.745] INFO: blob-sink:server Stopping blob sink 09:42:53 [09:42:53.745] INFO: blob-sink:server Blob sink stopped 09:42:53 [09:42:53.747] INFO: blob-sink:server Server is running on http://localhost:40105 09:42:54 [09:42:54.083] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36199"]} 09:42:54 [09:42:54.087] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36199"]} 09:42:54 [09:42:54.088] INFO: blob-sink:server Stopping blob sink 09:42:54 [09:42:54.088] INFO: blob-sink:server Blob sink already stopped 09:42:54 [09:42:54.088] INFO: blob-sink:server Stopping blob sink 09:42:54 [09:42:54.089] INFO: blob-sink:server Blob sink stopped 09:42:54 [09:42:54.091] INFO: blob-sink:server Server is running on http://localhost:32997 09:42:59 [09:42:59.444] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 09:42:59 at node:internal/deps/undici/undici:13510:13 09:42:59 at processTicksAndRejections (node:internal/process/task_queues:105:5) 09:42:59 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 09:42:59 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:42:59 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:42:59 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:42:59 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 09:42:59 [cause]: AggregateError: 09:42:59 at internalConnectMultiple (node:net:1139:18) 09:42:59 at afterConnectMultiple (node:net:1714:7) { 09:42:59 code: 'ECONNREFUSED', 09:42:59 [errors]: [ [Error], [Error] ] 09:42:59 } 09:42:59 } 09:43:04 [09:43:04.595] WARN: blob-sink:client Error getting blob sidecar from http://localhost:42533: fetch failed 09:43:09 [09:43:09.901] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 09:43:09 at node:internal/deps/undici/undici:13510:13 09:43:09 at processTicksAndRejections (node:internal/process/task_queues:105:5) 09:43:09 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 09:43:09 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:43:09 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:43:09 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:43:09 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 09:43:09 [cause]: AggregateError: 09:43:09 at internalConnectMultiple (node:net:1139:18) 09:43:09 at afterConnectMultiple (node:net:1714:7) { 09:43:09 code: 'ECONNREFUSED', 09:43:09 [errors]: [ [Error], [Error] ] 09:43:09 } 09:43:09 } 09:43:14 [09:43:14.910] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 09:43:14 at node:internal/deps/undici/undici:13510:13 09:43:14 at processTicksAndRejections (node:internal/process/task_queues:105:5) 09:43:14 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 09:43:14 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 09:43:14 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 09:43:14 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 09:43:14 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 09:43:14 [cause]: AggregateError: 09:43:14 at internalConnectMultiple (node:net:1139:18) 09:43:14 at afterConnectMultiple (node:net:1714:7) { 09:43:14 code: 'ECONNREFUSED', 09:43:14 [errors]: [ [Error], [Error] ] 09:43:14 } 09:43:14 } 09:43:19 [09:43:19.921] WARN: blob-sink:client Error getting blob sidecar from http://localhost:42533: fetch failed 09:43:24 [09:43:24.932] WARN: blob-sink:client Error getting blob sidecar from http://localhost:34357: fetch failed 09:43:25 [09:43:25.331] INFO: blob-sink:server Stopping blob sink 09:43:25 [09:43:25.331] INFO: blob-sink:server Blob sink already stopped 09:43:25 [09:43:25.332] INFO: blob-sink:server Stopping blob sink 09:43:25 [09:43:25.332] INFO: blob-sink:server Blob sink stopped 09:43:25 [09:43:25.334] INFO: blob-sink:server Server is running on http://localhost:43675 09:43:25 [09:43:25.392] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xa38d197902ccee01579cea8ca08358a9b34ab3b9d1756b917d8824d6088ae10174520e79c34c4a9f3f3711be99ff6afd"} 09:43:25 [09:43:25.752] INFO: blob-sink:server Stopping blob sink 09:43:25 [09:43:25.753] INFO: blob-sink:server Blob sink already stopped 09:43:25 [09:43:25.753] INFO: blob-sink:server Stopping blob sink 09:43:25 [09:43:25.754] INFO: blob-sink:server Blob sink stopped 09:43:25 [09:43:25.755] INFO: blob-sink:server Server is running on http://localhost:40939 09:43:26 [09:43:26.097] INFO: blob-sink:server Stopping blob sink 09:43:26 [09:43:26.097] INFO: blob-sink:server Blob sink already stopped 09:43:26 [09:43:26.098] INFO: blob-sink:server Stopping blob sink 09:43:26 [09:43:26.098] INFO: blob-sink:server Blob sink stopped 09:43:26 [09:43:26.099] INFO: blob-sink:server Server is running on http://localhost:35335 09:43:26 [09:43:26.411] INFO: blob-sink:server Stopping blob sink 09:43:26 [09:43:26.411] INFO: blob-sink:server Blob sink already stopped 09:43:26 [09:43:26.411] INFO: blob-sink:server Stopping blob sink 09:43:26 [09:43:26.412] INFO: blob-sink:server Blob sink stopped 09:43:26 PASS src/client/http.test.ts (57.951 s) 09:43:26 HttpBlobSinkClient 09:43:26 should send and retrieve blobs (437 ms) 09:43:26 should handle multiple blobs (188 ms) 09:43:26 should return empty array for non-existent block (22 ms) 09:43:26 should handle server connection errors gracefully (10051 ms) 09:43:26 Mock Ethereum Clients 09:43:26 should handle no consensus host (391 ms) 09:43:26 should request based on slot where consensus host is provided (445 ms) 09:43:26 should handle when multiple consensus hosts are provided (10438 ms) 09:43:26 should handle API keys without headers (387 ms) 09:43:26 should handle API keys in headers (343 ms) 09:43:26 should handle multiple consensus hosts with different API key methods (31243 ms) 09:43:26 even if we ask for non-encoded blobs, we should only get encoded blobs (421 ms) 09:43:26 should handle L1 missed slots (344 ms) 09:43:26 should fall back to archive client (313 ms) 09:43:26 09:43:26 Test Suites: 1 passed, 1 total 09:43:26 Tests: 13 passed, 13 total 09:43:26 Snapshots: 0 total 09:43:26 Time: 58.038 s 09:43:26 Ran all test suites matching blob-sink/src/client/http.test.ts. 09:43:26 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?