Parent Log: http://ci.aztec-labs.com/23bd615181153a40 Command: 2b73ae8ee702d4cd yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/78a5deb1c3aa24503935bbda20f9374ba35aa5c4 Env: REF_NAME=gh-readonly-queue/next/pr-15112-f17855f94a58189a98dd378743e67b774ea38144 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 10:12:25 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15112_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 10:12:31 [10:12:31.555] INFO: blob-sink:server Server is running on http://localhost:39631 10:12:31 [10:12:31.849] INFO: blob-sink:server Received blob sidecar for block 0x1234 10:12:31 [10:12:31.853] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 10:12:31 [10:12:31.906] INFO: blob-sink:server Stopping blob sink 10:12:31 [10:12:31.908] INFO: blob-sink:server Blob sink stopped 10:12:31 [10:12:31.912] INFO: blob-sink:server Server is running on http://localhost:42605 10:12:31 [10:12:31.969] INFO: blob-sink:server Received blob sidecar for block 0x5678 10:12:31 [10:12:31.973] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 10:12:32 [10:12:32.088] INFO: blob-sink:server Stopping blob sink 10:12:32 [10:12:32.089] INFO: blob-sink:server Blob sink stopped 10:12:32 [10:12:32.092] INFO: blob-sink:server Server is running on http://localhost:36643 10:12:32 [10:12:32.100] 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\"}"} 10:12:32 [10:12:32.101] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:36643"} 10:12:32 [10:12:32.102] INFO: blob-sink:server Stopping blob sink 10:12:32 [10:12:32.103] INFO: blob-sink:server Blob sink stopped 10:12:32 [10:12:32.105] INFO: blob-sink:server Server is running on http://localhost:37765 10:12:37 [10:12:37.154] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 10:12:42 [10:12:42.179] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 10:12:42 [10:12:42.180] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 10:12:42 [10:12:42.181] INFO: blob-sink:server Stopping blob sink 10:12:42 [10:12:42.181] INFO: blob-sink:server Blob sink stopped 10:12:42 [10:12:42.183] INFO: blob-sink:server Server is running on http://localhost:33581 10:12:42 [10:12:42.219] INFO: blob-sink:server Server is running on http://localhost:42831 10:12:42 [10:12:42.226] INFO: blob-sink:server Received blob sidecar for block 0x1234 10:12:42 [10:12:42.228] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 10:12:42 [10:12:42.550] INFO: blob-sink:server Stopping blob sink 10:12:42 [10:12:42.551] INFO: blob-sink:server Blob sink stopped 10:12:42 [10:12:42.552] INFO: blob-sink:server Stopping blob sink 10:12:42 [10:12:42.552] INFO: blob-sink:server Blob sink stopped 10:12:42 [10:12:42.554] INFO: blob-sink:server Server is running on http://localhost:45817 10:12:42 [10:12:42.961] INFO: blob-sink:server Stopping blob sink 10:12:42 [10:12:42.963] INFO: blob-sink:server Blob sink already stopped 10:12:42 [10:12:42.964] INFO: blob-sink:server Stopping blob sink 10:12:42 [10:12:42.964] INFO: blob-sink:server Blob sink stopped 10:12:42 [10:12:42.969] INFO: blob-sink:server Server is running on http://localhost:41395 10:12:48 [10:12:48.034] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 10:12:48 at node:internal/deps/undici/undici:13510:13 { 10:12:48 [cause]: TypeError: Invalid URL 10:12:48 at new URL (node:internal/url:818:25) 10:12:48 at new Request (node:internal/deps/undici/undici:9586:25) 10:12:48 at fetch (node:internal/deps/undici/undici:10315:25) 10:12:48 at fetch (node:internal/deps/undici/undici:13508:10) 10:12:48 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 10:12:48 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 10:12:48 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 10:12:48 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:12:48 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:12:48 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:12:48 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 10:12:48 code: 'ERR_INVALID_URL', 10:12:48 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 10:12:48 } 10:12:48 } 10:12:53 [10:12:53.042] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 10:12:53 [10:12:53.368] INFO: blob-sink:server Stopping blob sink 10:12:53 [10:12:53.369] INFO: blob-sink:server Blob sink already stopped 10:12:53 [10:12:53.370] INFO: blob-sink:server Stopping blob sink 10:12:53 [10:12:53.370] INFO: blob-sink:server Blob sink stopped 10:12:53 [10:12:53.372] INFO: blob-sink:server Server is running on http://localhost:39511 10:12:53 [10:12:53.758] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:33637"]} 10:12:53 [10:12:53.763] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:33637"]} 10:12:53 [10:12:53.764] INFO: blob-sink:server Stopping blob sink 10:12:53 [10:12:53.764] INFO: blob-sink:server Blob sink already stopped 10:12:53 [10:12:53.765] INFO: blob-sink:server Stopping blob sink 10:12:53 [10:12:53.765] INFO: blob-sink:server Blob sink stopped 10:12:53 [10:12:53.767] INFO: blob-sink:server Server is running on http://localhost:45529 10:12:54 [10:12:54.141] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38895"]} 10:12:54 [10:12:54.144] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38895"]} 10:12:54 [10:12:54.145] INFO: blob-sink:server Stopping blob sink 10:12:54 [10:12:54.145] INFO: blob-sink:server Blob sink already stopped 10:12:54 [10:12:54.145] INFO: blob-sink:server Stopping blob sink 10:12:54 [10:12:54.146] INFO: blob-sink:server Blob sink stopped 10:12:54 [10:12:54.147] INFO: blob-sink:server Server is running on http://localhost:32859 10:12:59 [10:12:59.516] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 10:12:59 at node:internal/deps/undici/undici:13510:13 10:12:59 at processTicksAndRejections (node:internal/process/task_queues:105:5) 10:12:59 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 10:12:59 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:12:59 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:12:59 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:12:59 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 10:12:59 [cause]: AggregateError: 10:12:59 at internalConnectMultiple (node:net:1139:18) 10:12:59 at afterConnectMultiple (node:net:1714:7) { 10:12:59 code: 'ECONNREFUSED', 10:12:59 [errors]: [ [Error], [Error] ] 10:12:59 } 10:12:59 } 10:13:04 [10:13:04.536] WARN: blob-sink:client Error getting blob sidecar from http://localhost:46053: fetch failed 10:13:09 [10:13:09.836] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 10:13:09 at node:internal/deps/undici/undici:13510:13 10:13:09 at processTicksAndRejections (node:internal/process/task_queues:105:5) 10:13:09 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 10:13:09 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:13:09 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:13:09 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:13:09 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 10:13:09 [cause]: AggregateError: 10:13:09 at internalConnectMultiple (node:net:1139:18) 10:13:09 at afterConnectMultiple (node:net:1714:7) { 10:13:09 code: 'ECONNREFUSED', 10:13:09 [errors]: [ [Error], [Error] ] 10:13:09 } 10:13:09 } 10:13:14 [10:13:14.856] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 10:13:14 at node:internal/deps/undici/undici:13510:13 10:13:14 at processTicksAndRejections (node:internal/process/task_queues:105:5) 10:13:14 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 10:13:14 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 10:13:14 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 10:13:14 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 10:13:14 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 10:13:14 [cause]: AggregateError: 10:13:14 at internalConnectMultiple (node:net:1139:18) 10:13:14 at afterConnectMultiple (node:net:1714:7) { 10:13:14 code: 'ECONNREFUSED', 10:13:14 [errors]: [ [Error], [Error] ] 10:13:14 } 10:13:14 } 10:13:19 [10:13:19.872] WARN: blob-sink:client Error getting blob sidecar from http://localhost:46053: fetch failed 10:13:25 [10:13:25.043] WARN: blob-sink:client Error getting blob sidecar from http://localhost:35115: fetch failed 10:13:25 [10:13:25.438] INFO: blob-sink:server Stopping blob sink 10:13:25 [10:13:25.439] INFO: blob-sink:server Blob sink already stopped 10:13:25 [10:13:25.440] INFO: blob-sink:server Stopping blob sink 10:13:25 [10:13:25.440] INFO: blob-sink:server Blob sink stopped 10:13:25 [10:13:25.442] INFO: blob-sink:server Server is running on http://localhost:39927 10:13:25 [10:13:25.518] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x897c119a45f40ee0bd6719a8fc22ea95ddf5f26bd9c5f082c322b443a3d55fa6b995f6740e20d0bdf8dd550681ece576"} 10:13:25 [10:13:25.839] INFO: blob-sink:server Stopping blob sink 10:13:25 [10:13:25.841] INFO: blob-sink:server Blob sink already stopped 10:13:25 [10:13:25.842] INFO: blob-sink:server Stopping blob sink 10:13:25 [10:13:25.842] INFO: blob-sink:server Blob sink stopped 10:13:25 [10:13:25.846] INFO: blob-sink:server Server is running on http://localhost:38651 10:13:26 [10:13:26.172] INFO: blob-sink:server Stopping blob sink 10:13:26 [10:13:26.173] INFO: blob-sink:server Blob sink already stopped 10:13:26 [10:13:26.173] INFO: blob-sink:server Stopping blob sink 10:13:26 [10:13:26.173] INFO: blob-sink:server Blob sink stopped 10:13:26 [10:13:26.174] INFO: blob-sink:server Server is running on http://localhost:44199 10:13:26 [10:13:26.505] INFO: blob-sink:server Stopping blob sink 10:13:26 [10:13:26.506] INFO: blob-sink:server Blob sink already stopped 10:13:26 [10:13:26.506] INFO: blob-sink:server Stopping blob sink 10:13:26 [10:13:26.507] INFO: blob-sink:server Blob sink stopped 10:13:26 PASS src/client/http.test.ts (59.873 s) 10:13:26 HttpBlobSinkClient 10:13:26 should send and retrieve blobs (363 ms) 10:13:26 should handle multiple blobs (179 ms) 10:13:26 should return empty array for non-existent block (12 ms) 10:13:26 should handle server connection errors gracefully (10079 ms) 10:13:26 Mock Ethereum Clients 10:13:26 should handle no consensus host (370 ms) 10:13:26 should request based on slot where consensus host is provided (412 ms) 10:13:26 should handle when multiple consensus hosts are provided (10403 ms) 10:13:26 should handle API keys without headers (395 ms) 10:13:26 should handle API keys in headers (380 ms) 10:13:26 should handle multiple consensus hosts with different API key methods (31295 ms) 10:13:26 even if we ask for non-encoded blobs, we should only get encoded blobs (402 ms) 10:13:26 should handle L1 missed slots (330 ms) 10:13:26 should fall back to archive client (333 ms) 10:13:26 10:13:26 Test Suites: 1 passed, 1 total 10:13:26 Tests: 13 passed, 13 total 10:13:26 Snapshots: 0 total 10:13:26 Time: 59.96 s 10:13:26 Ran all test suites matching blob-sink/src/client/http.test.ts. 10:13:26 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?