Parent Log: http://ci.aztec-labs.com/f32faee66f030d3c Command: bdb887914394d73a yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/47c749527b1c3cce3edd9defedc46e89ea00c69e Env: REF_NAME=gh-readonly-queue/next/pr-15009-00cd67e98e76d3202a0219baf301d59ef4211872 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 15:53:08 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15009_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 15:53:12 [15:53:12.765] INFO: blob-sink:server Server is running on http://localhost:38827 15:53:13 [15:53:13.114] INFO: blob-sink:server Received blob sidecar for block 0x1234 15:53:13 [15:53:13.118] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 15:53:13 [15:53:13.178] INFO: blob-sink:server Stopping blob sink 15:53:13 [15:53:13.180] INFO: blob-sink:server Blob sink stopped 15:53:13 [15:53:13.185] INFO: blob-sink:server Server is running on http://localhost:37797 15:53:13 [15:53:13.247] INFO: blob-sink:server Received blob sidecar for block 0x5678 15:53:13 [15:53:13.252] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 15:53:13 [15:53:13.390] INFO: blob-sink:server Stopping blob sink 15:53:13 [15:53:13.391] INFO: blob-sink:server Blob sink stopped 15:53:13 [15:53:13.394] INFO: blob-sink:server Server is running on http://localhost:33365 15:53:13 [15:53:13.404] 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\"}"} 15:53:13 [15:53:13.405] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:33365"} 15:53:13 [15:53:13.406] INFO: blob-sink:server Stopping blob sink 15:53:13 [15:53:13.407] INFO: blob-sink:server Blob sink stopped 15:53:13 [15:53:13.409] INFO: blob-sink:server Server is running on http://localhost:43377 15:53:18 [15:53:18.455] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 15:53:23 [15:53:23.485] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 15:53:23 [15:53:23.485] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 15:53:23 [15:53:23.486] INFO: blob-sink:server Stopping blob sink 15:53:23 [15:53:23.486] INFO: blob-sink:server Blob sink stopped 15:53:23 [15:53:23.487] INFO: blob-sink:server Server is running on http://localhost:43745 15:53:23 [15:53:23.518] INFO: blob-sink:server Server is running on http://localhost:42989 15:53:23 [15:53:23.523] INFO: blob-sink:server Received blob sidecar for block 0x1234 15:53:23 [15:53:23.525] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 15:53:24 [15:53:24.923] INFO: blob-sink:server Stopping blob sink 15:53:24 [15:53:24.925] INFO: blob-sink:server Blob sink stopped 15:53:24 [15:53:24.925] INFO: blob-sink:server Stopping blob sink 15:53:24 [15:53:24.926] INFO: blob-sink:server Blob sink stopped 15:53:24 [15:53:24.928] INFO: blob-sink:server Server is running on http://localhost:46381 15:53:26 [15:53:26.363] INFO: blob-sink:server Stopping blob sink 15:53:26 [15:53:26.363] INFO: blob-sink:server Blob sink already stopped 15:53:26 [15:53:26.364] INFO: blob-sink:server Stopping blob sink 15:53:26 [15:53:26.364] INFO: blob-sink:server Blob sink stopped 15:53:26 [15:53:26.366] INFO: blob-sink:server Server is running on http://localhost:35991 15:53:31 [15:53:31.429] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 15:53:31 at node:internal/deps/undici/undici:13510:13 { 15:53:31 [cause]: TypeError: Invalid URL 15:53:31 at new URL (node:internal/url:818:25) 15:53:31 at new Request (node:internal/deps/undici/undici:9586:25) 15:53:31 at fetch (node:internal/deps/undici/undici:10315:25) 15:53:31 at fetch (node:internal/deps/undici/undici:13508:10) 15:53:31 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 15:53:31 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 15:53:31 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 15:53:31 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:53:31 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:53:31 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:53:31 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 15:53:31 code: 'ERR_INVALID_URL', 15:53:31 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 15:53:31 } 15:53:31 } 15:53:36 [15:53:36.482] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 15:53:38 [15:53:38.026] INFO: blob-sink:server Stopping blob sink 15:53:38 [15:53:38.029] INFO: blob-sink:server Blob sink already stopped 15:53:38 [15:53:38.030] INFO: blob-sink:server Stopping blob sink 15:53:38 [15:53:38.031] INFO: blob-sink:server Blob sink stopped 15:53:38 [15:53:38.039] INFO: blob-sink:server Server is running on http://localhost:42305 15:53:39 [15:53:39.538] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41445"]} 15:53:39 [15:53:39.546] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41445"]} 15:53:39 [15:53:39.546] INFO: blob-sink:server Stopping blob sink 15:53:39 [15:53:39.547] INFO: blob-sink:server Blob sink already stopped 15:53:39 [15:53:39.548] INFO: blob-sink:server Stopping blob sink 15:53:39 [15:53:39.548] INFO: blob-sink:server Blob sink stopped 15:53:39 [15:53:39.550] INFO: blob-sink:server Server is running on http://localhost:38093 15:53:41 [15:53:41.097] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:35575"]} 15:53:41 [15:53:41.100] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:35575"]} 15:53:41 [15:53:41.101] INFO: blob-sink:server Stopping blob sink 15:53:41 [15:53:41.101] INFO: blob-sink:server Blob sink already stopped 15:53:41 [15:53:41.101] INFO: blob-sink:server Stopping blob sink 15:53:41 [15:53:41.102] INFO: blob-sink:server Blob sink stopped 15:53:41 [15:53:41.104] INFO: blob-sink:server Server is running on http://localhost:41747 15:53:47 [15:53:47.562] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:53:47 at node:internal/deps/undici/undici:13510:13 15:53:47 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:53:47 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:53:47 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:53:47 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:53:47 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:53:47 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 15:53:47 [cause]: AggregateError: 15:53:47 at internalConnectMultiple (node:net:1139:18) 15:53:47 at afterConnectMultiple (node:net:1714:7) { 15:53:47 code: 'ECONNREFUSED', 15:53:47 [errors]: [ [Error], [Error] ] 15:53:47 } 15:53:47 } 15:53:52 [15:53:52.573] WARN: blob-sink:client Error getting blob sidecar from http://localhost:39921: fetch failed 15:53:58 [15:53:58.899] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:53:58 at node:internal/deps/undici/undici:13510:13 15:53:58 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:53:58 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:53:58 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:53:58 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:53:58 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:53:58 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 15:53:58 [cause]: AggregateError: 15:53:58 at internalConnectMultiple (node:net:1139:18) 15:53:58 at afterConnectMultiple (node:net:1714:7) { 15:53:58 code: 'ECONNREFUSED', 15:53:58 [errors]: [ [Error], [Error] ] 15:53:58 } 15:53:58 } 15:54:03 [15:54:03.906] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:54:03 at node:internal/deps/undici/undici:13510:13 15:54:03 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:54:03 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:54:03 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:54:03 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:54:03 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:54:03 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 15:54:03 [cause]: AggregateError: 15:54:03 at internalConnectMultiple (node:net:1139:18) 15:54:03 at afterConnectMultiple (node:net:1714:7) { 15:54:03 code: 'ECONNREFUSED', 15:54:03 [errors]: [ [Error], [Error] ] 15:54:03 } 15:54:03 } 15:54:08 [15:54:08.918] WARN: blob-sink:client Error getting blob sidecar from http://localhost:39921: fetch failed 15:54:13 [15:54:13.929] WARN: blob-sink:client Error getting blob sidecar from http://localhost:39891: fetch failed 15:54:15 [15:54:15.225] INFO: blob-sink:server Stopping blob sink 15:54:15 [15:54:15.226] INFO: blob-sink:server Blob sink already stopped 15:54:15 [15:54:15.226] INFO: blob-sink:server Stopping blob sink 15:54:15 [15:54:15.227] INFO: blob-sink:server Blob sink stopped 15:54:15 [15:54:15.228] INFO: blob-sink:server Server is running on http://localhost:41283 15:54:15 [15:54:15.438] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xaa11dce06c950d2d5481d6be27885211e0804f219df7a27217a27e0e6a09e51e470896c54f56d9e0a3645e1adbca4e8a"} 15:54:16 [15:54:16.854] INFO: blob-sink:server Stopping blob sink 15:54:16 [15:54:16.854] INFO: blob-sink:server Blob sink already stopped 15:54:16 [15:54:16.855] INFO: blob-sink:server Stopping blob sink 15:54:16 [15:54:16.855] INFO: blob-sink:server Blob sink stopped 15:54:16 [15:54:16.857] INFO: blob-sink:server Server is running on http://localhost:41121 15:54:18 [15:54:18.391] INFO: blob-sink:server Stopping blob sink 15:54:18 [15:54:18.392] INFO: blob-sink:server Blob sink already stopped 15:54:18 [15:54:18.392] INFO: blob-sink:server Stopping blob sink 15:54:18 [15:54:18.392] INFO: blob-sink:server Blob sink stopped 15:54:18 [15:54:18.394] INFO: blob-sink:server Server is running on http://localhost:36013 15:54:19 [15:54:19.853] INFO: blob-sink:server Stopping blob sink 15:54:19 [15:54:19.854] INFO: blob-sink:server Blob sink already stopped 15:54:19 [15:54:19.854] INFO: blob-sink:server Stopping blob sink 15:54:19 [15:54:19.854] INFO: blob-sink:server Blob sink stopped 15:54:19 PASS src/client/http.test.ts (70.41 s) 15:54:19 HttpBlobSinkClient 15:54:19 should send and retrieve blobs (424 ms) 15:54:19 should handle multiple blobs (209 ms) 15:54:19 should return empty array for non-existent block (14 ms) 15:54:19 should handle server connection errors gracefully (10078 ms) 15:54:19 Mock Ethereum Clients 15:54:19 should handle no consensus host (1440 ms) 15:54:19 should request based on slot where consensus host is provided (1438 ms) 15:54:19 should handle when multiple consensus hosts are provided (11667 ms) 15:54:19 should handle API keys without headers (1514 ms) 15:54:19 should handle API keys in headers (1553 ms) 15:54:19 should handle multiple consensus hosts with different API key methods (34124 ms) 15:54:19 even if we ask for non-encoded blobs, we should only get encoded blobs (1628 ms) 15:54:19 should handle L1 missed slots (1537 ms) 15:54:19 should fall back to archive client (1462 ms) 15:54:19 15:54:19 Test Suites: 1 passed, 1 total 15:54:19 Tests: 13 passed, 13 total 15:54:19 Snapshots: 0 total 15:54:19 Time: 70.502 s 15:54:19 Ran all test suites matching /blob-sink\/src\/client\/http.test.ts/i. 15:54:19 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?