Parent Log: http://ci.aztec-labs.com/5341f5baef09d91c Command: a73e94f3b52b3d94 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/aa12cea18cfe4e45e23b46cf1a086d8331837eb5 Env: REF_NAME=db/simple-bc-hash CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Mon Jun 16 17:14:47 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=db_simple-bc-hash_amd64 Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 17:14:52 [17:14:52.207] INFO: blob-sink:server Server is running on http://localhost:33069 17:14:52 [17:14:52.468] INFO: blob-sink:server Received blob sidecar for block 0x1234 17:14:52 [17:14:52.470] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 17:14:52 [17:14:52.515] INFO: blob-sink:server Stopping blob sink 17:14:52 [17:14:52.516] INFO: blob-sink:server Blob sink stopped 17:14:52 [17:14:52.521] INFO: blob-sink:server Server is running on http://localhost:43543 17:14:52 [17:14:52.568] INFO: blob-sink:server Received blob sidecar for block 0x5678 17:14:52 [17:14:52.571] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 17:14:52 [17:14:52.689] INFO: blob-sink:server Stopping blob sink 17:14:52 [17:14:52.690] INFO: blob-sink:server Blob sink stopped 17:14:52 [17:14:52.693] INFO: blob-sink:server Server is running on http://localhost:42629 17:14:52 [17:14:52.699] 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\"}"} 17:14:52 [17:14:52.700] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:42629"} 17:14:52 [17:14:52.701] INFO: blob-sink:server Stopping blob sink 17:14:52 [17:14:52.702] INFO: blob-sink:server Blob sink stopped 17:14:52 [17:14:52.704] INFO: blob-sink:server Server is running on http://localhost:36253 17:14:57 [17:14:57.732] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 17:15:02 [17:15:02.748] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 17:15:02 [17:15:02.748] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 17:15:02 [17:15:02.749] INFO: blob-sink:server Stopping blob sink 17:15:02 [17:15:02.749] INFO: blob-sink:server Blob sink stopped 17:15:02 [17:15:02.751] INFO: blob-sink:server Server is running on http://localhost:37321 17:15:02 [17:15:02.788] INFO: blob-sink:server Server is running on http://localhost:37385 17:15:02 [17:15:02.798] INFO: blob-sink:server Received blob sidecar for block 0x1234 17:15:02 [17:15:02.800] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 17:15:03 [17:15:03.080] INFO: blob-sink:server Stopping blob sink 17:15:03 [17:15:03.081] INFO: blob-sink:server Blob sink stopped 17:15:03 [17:15:03.082] INFO: blob-sink:server Stopping blob sink 17:15:03 [17:15:03.082] INFO: blob-sink:server Blob sink stopped 17:15:03 [17:15:03.084] INFO: blob-sink:server Server is running on http://localhost:45809 17:15:03 [17:15:03.391] INFO: blob-sink:server Stopping blob sink 17:15:03 [17:15:03.392] INFO: blob-sink:server Blob sink already stopped 17:15:03 [17:15:03.393] INFO: blob-sink:server Stopping blob sink 17:15:03 [17:15:03.393] INFO: blob-sink:server Blob sink stopped 17:15:03 [17:15:03.395] INFO: blob-sink:server Server is running on http://localhost:37017 17:15:08 [17:15:08.492] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 17:15:08 at node:internal/deps/undici/undici:13510:13 { 17:15:08 [cause]: TypeError: Invalid URL 17:15:08 at new URL (node:internal/url:818:25) 17:15:08 at new Request (node:internal/deps/undici/undici:9586:25) 17:15:08 at fetch (node:internal/deps/undici/undici:10315:25) 17:15:08 at fetch (node:internal/deps/undici/undici:13508:10) 17:15:08 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 17:15:08 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 17:15:08 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 17:15:08 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 17:15:08 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 17:15:08 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 17:15:08 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 17:15:08 code: 'ERR_INVALID_URL', 17:15:08 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 17:15:08 } 17:15:08 } 17:15:13 [17:15:13.500] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 17:15:13 [17:15:13.920] INFO: blob-sink:server Stopping blob sink 17:15:13 [17:15:13.920] INFO: blob-sink:server Blob sink already stopped 17:15:13 [17:15:13.921] INFO: blob-sink:server Stopping blob sink 17:15:13 [17:15:13.921] INFO: blob-sink:server Blob sink stopped 17:15:13 [17:15:13.925] INFO: blob-sink:server Server is running on http://localhost:36975 17:15:14 [17:15:14.340] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41015"]} 17:15:14 [17:15:14.343] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:41015"]} 17:15:14 [17:15:14.344] INFO: blob-sink:server Stopping blob sink 17:15:14 [17:15:14.344] INFO: blob-sink:server Blob sink already stopped 17:15:14 [17:15:14.345] INFO: blob-sink:server Stopping blob sink 17:15:14 [17:15:14.345] INFO: blob-sink:server Blob sink stopped 17:15:14 [17:15:14.346] INFO: blob-sink:server Server is running on http://localhost:38915 17:15:14 [17:15:14.731] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36803"]} 17:15:14 [17:15:14.736] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36803"]} 17:15:14 [17:15:14.736] INFO: blob-sink:server Stopping blob sink 17:15:14 [17:15:14.737] INFO: blob-sink:server Blob sink already stopped 17:15:14 [17:15:14.737] INFO: blob-sink:server Stopping blob sink 17:15:14 [17:15:14.737] INFO: blob-sink:server Blob sink stopped 17:15:14 [17:15:14.739] INFO: blob-sink:server Server is running on http://localhost:41397 17:15:20 [17:15:20.086] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 17:15:20 at node:internal/deps/undici/undici:13510:13 17:15:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) 17:15:20 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 17:15:20 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 17:15:20 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 17:15:20 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 17:15:20 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 17:15:20 [cause]: AggregateError: 17:15:20 at internalConnectMultiple (node:net:1139:18) 17:15:20 at afterConnectMultiple (node:net:1714:7) { 17:15:20 code: 'ECONNREFUSED', 17:15:20 [errors]: [ [Error], [Error] ] 17:15:20 } 17:15:20 } 17:15:25 [17:15:25.096] WARN: blob-sink:client Error getting blob sidecar from http://localhost:45287: fetch failed 17:15:30 [17:15:30.519] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 17:15:30 at node:internal/deps/undici/undici:13510:13 17:15:30 at processTicksAndRejections (node:internal/process/task_queues:105:5) 17:15:30 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 17:15:30 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 17:15:30 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 17:15:30 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 17:15:30 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 17:15:30 [cause]: AggregateError: 17:15:30 at internalConnectMultiple (node:net:1139:18) 17:15:30 at afterConnectMultiple (node:net:1714:7) { 17:15:30 code: 'ECONNREFUSED', 17:15:30 [errors]: [ [Error], [Error] ] 17:15:30 } 17:15:30 } 17:15:35 [17:15:35.526] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 17:15:35 at node:internal/deps/undici/undici:13510:13 17:15:35 at processTicksAndRejections (node:internal/process/task_queues:105:5) 17:15:35 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 17:15:35 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 17:15:35 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 17:15:35 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 17:15:35 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 17:15:35 [cause]: AggregateError: 17:15:35 at internalConnectMultiple (node:net:1139:18) 17:15:35 at afterConnectMultiple (node:net:1714:7) { 17:15:35 code: 'ECONNREFUSED', 17:15:35 [errors]: [ [Error], [Error] ] 17:15:35 } 17:15:35 } 17:15:40 [17:15:40.537] WARN: blob-sink:client Error getting blob sidecar from http://localhost:45287: fetch failed 17:15:45 [17:15:45.548] WARN: blob-sink:client Error getting blob sidecar from http://localhost:43937: fetch failed 17:15:45 [17:15:45.909] INFO: blob-sink:server Stopping blob sink 17:15:45 [17:15:45.910] INFO: blob-sink:server Blob sink already stopped 17:15:45 [17:15:45.910] INFO: blob-sink:server Stopping blob sink 17:15:45 [17:15:45.911] INFO: blob-sink:server Blob sink stopped 17:15:45 [17:15:45.914] INFO: blob-sink:server Server is running on http://localhost:33119 17:15:45 [17:15:45.981] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x88153e416230e86f69f2116514265d3fcd9d2e23130fd6932b9c07313e0fd2c1d5032d19dc7565b044705cb06f998d08"} 17:15:46 [17:15:46.324] INFO: blob-sink:server Stopping blob sink 17:15:46 [17:15:46.324] INFO: blob-sink:server Blob sink already stopped 17:15:46 [17:15:46.324] INFO: blob-sink:server Stopping blob sink 17:15:46 [17:15:46.325] INFO: blob-sink:server Blob sink stopped 17:15:46 [17:15:46.326] INFO: blob-sink:server Server is running on http://localhost:34629 17:15:46 [17:15:46.605] INFO: blob-sink:server Stopping blob sink 17:15:46 [17:15:46.605] INFO: blob-sink:server Blob sink already stopped 17:15:46 [17:15:46.605] INFO: blob-sink:server Stopping blob sink 17:15:46 [17:15:46.606] INFO: blob-sink:server Blob sink stopped 17:15:46 [17:15:46.607] INFO: blob-sink:server Server is running on http://localhost:46659 17:15:46 [17:15:46.879] INFO: blob-sink:server Stopping blob sink 17:15:46 [17:15:46.879] INFO: blob-sink:server Blob sink already stopped 17:15:46 [17:15:46.880] INFO: blob-sink:server Stopping blob sink 17:15:46 [17:15:46.880] INFO: blob-sink:server Blob sink stopped 17:15:46 PASS src/client/http.test.ts (58.623 s) 17:15:46 HttpBlobSinkClient 17:15:46 should send and retrieve blobs (319 ms) 17:15:46 should handle multiple blobs (172 ms) 17:15:46 should return empty array for non-existent block (11 ms) 17:15:46 should handle server connection errors gracefully (10047 ms) 17:15:46 Mock Ethereum Clients 17:15:46 should handle no consensus host (332 ms) 17:15:46 should request based on slot where consensus host is provided (311 ms) 17:15:46 should handle when multiple consensus hosts are provided (10528 ms) 17:15:46 should handle API keys without headers (422 ms) 17:15:46 should handle API keys in headers (393 ms) 17:15:46 should handle multiple consensus hosts with different API key methods (31174 ms) 17:15:46 even if we ask for non-encoded blobs, we should only get encoded blobs (412 ms) 17:15:46 should handle L1 missed slots (281 ms) 17:15:46 should fall back to archive client (274 ms) 17:15:46 17:15:46 Test Suites: 1 passed, 1 total 17:15:46 Tests: 13 passed, 13 total 17:15:46 Snapshots: 0 total 17:15:46 Time: 58.721 s 17:15:46 Ran all test suites matching blob-sink/src/client/http.test.ts. 17:15:46 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?