Parent Log: http://ci.aztec-labs.com/6f54d6e87ee134d3 Command: 467c61bd41bfcfc4 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/2a96aa32179deb1c1a98c9bc93fbe72f0d016d62 Env: REF_NAME=gh-readonly-queue/next/pr-15284-aacd7d15462246c78893a25b05d292342c07b582 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 15:36:39 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15284_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 15:36:43 [15:36:43.956] INFO: blob-sink:server Server is running on http://localhost:35955 15:36:44 [15:36:44.285] INFO: blob-sink:server Received blob sidecar for block 0x1234 15:36:44 [15:36:44.287] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 15:36:44 [15:36:44.354] INFO: blob-sink:server Stopping blob sink 15:36:44 [15:36:44.356] INFO: blob-sink:server Blob sink stopped 15:36:44 [15:36:44.361] INFO: blob-sink:server Server is running on http://localhost:45807 15:36:44 [15:36:44.469] INFO: blob-sink:server Received blob sidecar for block 0x5678 15:36:44 [15:36:44.479] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 15:36:44 [15:36:44.916] INFO: blob-sink:server Stopping blob sink 15:36:44 [15:36:44.918] INFO: blob-sink:server Blob sink stopped 15:36:44 [15:36:44.920] INFO: blob-sink:server Server is running on http://localhost:36805 15:36:44 [15:36:44.926] 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:36:44 [15:36:44.927] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:36805"} 15:36:44 [15:36:44.928] INFO: blob-sink:server Stopping blob sink 15:36:44 [15:36:44.929] INFO: blob-sink:server Blob sink stopped 15:36:44 [15:36:44.930] INFO: blob-sink:server Server is running on http://localhost:37331 15:36:49 [15:36:49.972] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 15:36:55 [15:36:55.007] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 15:36:55 [15:36:55.009] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 15:36:55 [15:36:55.011] INFO: blob-sink:server Stopping blob sink 15:36:55 [15:36:55.013] INFO: blob-sink:server Blob sink stopped 15:36:55 [15:36:55.017] INFO: blob-sink:server Server is running on http://localhost:35075 15:36:55 [15:36:55.066] INFO: blob-sink:server Server is running on http://localhost:34651 15:36:55 [15:36:55.088] INFO: blob-sink:server Received blob sidecar for block 0x1234 15:36:55 [15:36:55.095] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 15:36:55 [15:36:55.805] INFO: blob-sink:server Stopping blob sink 15:36:55 [15:36:55.810] INFO: blob-sink:server Blob sink stopped 15:36:55 [15:36:55.811] INFO: blob-sink:server Stopping blob sink 15:36:55 [15:36:55.811] INFO: blob-sink:server Blob sink stopped 15:36:55 [15:36:55.814] INFO: blob-sink:server Server is running on http://localhost:40535 15:36:56 [15:36:56.425] INFO: blob-sink:server Stopping blob sink 15:36:56 [15:36:56.425] INFO: blob-sink:server Blob sink already stopped 15:36:56 [15:36:56.426] INFO: blob-sink:server Stopping blob sink 15:36:56 [15:36:56.426] INFO: blob-sink:server Blob sink stopped 15:36:56 [15:36:56.428] INFO: blob-sink:server Server is running on http://localhost:43079 15:37:01 [15:37:01.515] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 15:37:01 at node:internal/deps/undici/undici:13510:13 15:37:01 at runNextTicks (node:internal/process/task_queues:65:5) 15:37:01 at processTimers (node:internal/timers:520:9) { 15:37:01 [cause]: TypeError: Invalid URL 15:37:01 at new URL (node:internal/url:818:25) 15:37:01 at new Request (node:internal/deps/undici/undici:9586:25) 15:37:01 at fetch (node:internal/deps/undici/undici:10315:25) 15:37:01 at fetch (node:internal/deps/undici/undici:13508:10) 15:37:01 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 15:37:01 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 15:37:01 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 15:37:01 at runNextTicks (node:internal/process/task_queues:65:5) 15:37:01 at processTimers (node:internal/timers:520:9) 15:37:01 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:37:01 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:37:01 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:37:01 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:225:30) { 15:37:01 code: 'ERR_INVALID_URL', 15:37:01 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 15:37:01 } 15:37:01 } 15:37:06 [15:37:06.525] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 15:37:06 [15:37:06.870] INFO: blob-sink:server Stopping blob sink 15:37:06 [15:37:06.871] INFO: blob-sink:server Blob sink already stopped 15:37:06 [15:37:06.872] INFO: blob-sink:server Stopping blob sink 15:37:06 [15:37:06.872] INFO: blob-sink:server Blob sink stopped 15:37:06 [15:37:06.876] INFO: blob-sink:server Server is running on http://localhost:40287 15:37:07 [15:37:07.232] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38483"]} 15:37:07 [15:37:07.236] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38483"]} 15:37:07 [15:37:07.236] INFO: blob-sink:server Stopping blob sink 15:37:07 [15:37:07.237] INFO: blob-sink:server Blob sink already stopped 15:37:07 [15:37:07.237] INFO: blob-sink:server Stopping blob sink 15:37:07 [15:37:07.237] INFO: blob-sink:server Blob sink stopped 15:37:07 [15:37:07.239] INFO: blob-sink:server Server is running on http://localhost:40475 15:37:07 [15:37:07.582] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38999"]} 15:37:07 [15:37:07.586] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38999"]} 15:37:07 [15:37:07.587] INFO: blob-sink:server Stopping blob sink 15:37:07 [15:37:07.587] INFO: blob-sink:server Blob sink already stopped 15:37:07 [15:37:07.588] INFO: blob-sink:server Stopping blob sink 15:37:07 [15:37:07.589] INFO: blob-sink:server Blob sink stopped 15:37:07 [15:37:07.591] INFO: blob-sink:server Server is running on http://localhost:36697 15:37:12 [15:37:12.948] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:37:12 at node:internal/deps/undici/undici:13510:13 15:37:12 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:37:12 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:37:12 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:37:12 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:37:12 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:37:12 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:337:24) { 15:37:12 [cause]: AggregateError: 15:37:12 at internalConnectMultiple (node:net:1139:18) 15:37:12 at afterConnectMultiple (node:net:1714:7) { 15:37:12 code: 'ECONNREFUSED', 15:37:12 [errors]: [ [Error], [Error] ] 15:37:12 } 15:37:12 } 15:37:17 [15:37:17.965] WARN: blob-sink:client Error getting blob sidecar from http://localhost:36125: fetch failed 15:37:23 [15:37:23.256] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:37:23 at node:internal/deps/undici/undici:13510:13 15:37:23 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:37:23 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:37:23 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:37:23 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:37:23 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:37:23 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 15:37:23 [cause]: AggregateError: 15:37:23 at internalConnectMultiple (node:net:1139:18) 15:37:23 at afterConnectMultiple (node:net:1714:7) { 15:37:23 code: 'ECONNREFUSED', 15:37:23 [errors]: [ [Error], [Error] ] 15:37:23 } 15:37:23 } 15:37:28 [15:37:28.266] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:37:28 at node:internal/deps/undici/undici:13510:13 15:37:28 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:37:28 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:37:28 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:37:28 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:37:28 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:37:28 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:353:24) { 15:37:28 [cause]: AggregateError: 15:37:28 at internalConnectMultiple (node:net:1139:18) 15:37:28 at afterConnectMultiple (node:net:1714:7) { 15:37:28 code: 'ECONNREFUSED', 15:37:28 [errors]: [ [Error], [Error] ] 15:37:28 } 15:37:28 } 15:37:33 [15:37:33.280] WARN: blob-sink:client Error getting blob sidecar from http://localhost:36125: fetch failed 15:37:38 [15:37:38.290] WARN: blob-sink:client Error getting blob sidecar from http://localhost:34519: fetch failed 15:37:38 [15:37:38.693] INFO: blob-sink:server Stopping blob sink 15:37:38 [15:37:38.693] INFO: blob-sink:server Blob sink already stopped 15:37:38 [15:37:38.694] INFO: blob-sink:server Stopping blob sink 15:37:38 [15:37:38.694] INFO: blob-sink:server Blob sink stopped 15:37:38 [15:37:38.696] INFO: blob-sink:server Server is running on http://localhost:43529 15:37:38 [15:37:38.769] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x80060ed9568ddae5cdcd7288e33abf7b703c01a68c0f4cfc999e852f2547f80a3c511f122d362dd8d81506f58f41af75"} 15:37:39 [15:37:39.065] INFO: blob-sink:server Stopping blob sink 15:37:39 [15:37:39.065] INFO: blob-sink:server Blob sink already stopped 15:37:39 [15:37:39.066] INFO: blob-sink:server Stopping blob sink 15:37:39 [15:37:39.066] INFO: blob-sink:server Blob sink stopped 15:37:39 [15:37:39.068] INFO: blob-sink:server Server is running on http://localhost:42077 15:37:39 [15:37:39.380] INFO: blob-sink:server Stopping blob sink 15:37:39 [15:37:39.380] INFO: blob-sink:server Blob sink already stopped 15:37:39 [15:37:39.381] INFO: blob-sink:server Stopping blob sink 15:37:39 [15:37:39.381] INFO: blob-sink:server Blob sink stopped 15:37:39 [15:37:39.382] INFO: blob-sink:server Server is running on http://localhost:41583 15:37:39 [15:37:39.639] INFO: blob-sink:server Stopping blob sink 15:37:39 [15:37:39.639] INFO: blob-sink:server Blob sink already stopped 15:37:39 [15:37:39.640] INFO: blob-sink:server Stopping blob sink 15:37:39 [15:37:39.641] INFO: blob-sink:server Blob sink stopped 15:37:39 PASS src/client/http.test.ts (58.95 s) 15:37:39 HttpBlobSinkClient 15:37:39 should send and retrieve blobs (415 ms) 15:37:39 should handle multiple blobs (559 ms) 15:37:39 should return empty array for non-existent block (10 ms) 15:37:39 should handle server connection errors gracefully (10084 ms) 15:37:39 Mock Ethereum Clients 15:37:39 should handle no consensus host (797 ms) 15:37:39 should request based on slot where consensus host is provided (615 ms) 15:37:39 should handle when multiple consensus hosts are provided (10446 ms) 15:37:39 should handle API keys without headers (364 ms) 15:37:39 should handle API keys in headers (351 ms) 15:37:39 should handle multiple consensus hosts with different API key methods (31105 ms) 15:37:39 even if we ask for non-encoded blobs, we should only get encoded blobs (372 ms) 15:37:39 should handle L1 missed slots (314 ms) 15:37:39 should fall back to archive client (259 ms) 15:37:39 15:37:39 Test Suites: 1 passed, 1 total 15:37:39 Tests: 13 passed, 13 total 15:37:39 Snapshots: 0 total 15:37:39 Time: 59.042 s 15:37:39 Ran all test suites matching blob-sink/src/client/http.test.ts. 15:37:39 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?