Parent Log: http://ci.aztec-labs.com/4fd629c3accd1cc5 Command: 9c87e3b98c85c9a9 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7763eef5eb7f045b9184a0a4591b394296eb3aa8 Env: REF_NAME=gh-readonly-queue/next/pr-14770-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 15:06:07 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14770_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 15:06:11 [15:06:11.914] INFO: blob-sink:server Server is running on http://localhost:44151 15:06:12 [15:06:12.234] INFO: blob-sink:server Received blob sidecar for block 0x1234 15:06:12 [15:06:12.237] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 15:06:12 [15:06:12.298] INFO: blob-sink:server Stopping blob sink 15:06:12 [15:06:12.300] INFO: blob-sink:server Blob sink stopped 15:06:12 [15:06:12.311] INFO: blob-sink:server Server is running on http://localhost:44397 15:06:12 [15:06:12.443] INFO: blob-sink:server Received blob sidecar for block 0x5678 15:06:12 [15:06:12.447] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 15:06:12 [15:06:12.642] INFO: blob-sink:server Stopping blob sink 15:06:12 [15:06:12.644] INFO: blob-sink:server Blob sink stopped 15:06:12 [15:06:12.648] INFO: blob-sink:server Server is running on http://localhost:46335 15:06:12 [15:06:12.658] 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:06:12 [15:06:12.659] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:46335"} 15:06:12 [15:06:12.661] INFO: blob-sink:server Stopping blob sink 15:06:12 [15:06:12.663] INFO: blob-sink:server Blob sink stopped 15:06:12 [15:06:12.665] INFO: blob-sink:server Server is running on http://localhost:35595 15:06:17 [15:06:17.724] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 15:06:22 [15:06:22.750] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 15:06:22 [15:06:22.751] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 15:06:22 [15:06:22.752] INFO: blob-sink:server Stopping blob sink 15:06:22 [15:06:22.753] INFO: blob-sink:server Blob sink stopped 15:06:22 [15:06:22.756] INFO: blob-sink:server Server is running on http://localhost:39207 15:06:22 [15:06:22.793] INFO: blob-sink:server Server is running on http://localhost:45577 15:06:22 [15:06:22.803] INFO: blob-sink:server Received blob sidecar for block 0x1234 15:06:22 [15:06:22.805] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 15:06:23 [15:06:23.144] INFO: blob-sink:server Stopping blob sink 15:06:23 [15:06:23.145] INFO: blob-sink:server Blob sink stopped 15:06:23 [15:06:23.146] INFO: blob-sink:server Stopping blob sink 15:06:23 [15:06:23.146] INFO: blob-sink:server Blob sink stopped 15:06:23 [15:06:23.148] INFO: blob-sink:server Server is running on http://localhost:40155 15:06:23 [15:06:23.628] INFO: blob-sink:server Stopping blob sink 15:06:23 [15:06:23.630] INFO: blob-sink:server Blob sink already stopped 15:06:23 [15:06:23.632] INFO: blob-sink:server Stopping blob sink 15:06:23 [15:06:23.633] INFO: blob-sink:server Blob sink stopped 15:06:23 [15:06:23.638] INFO: blob-sink:server Server is running on http://localhost:42309 15:06:28 [15:06:28.708] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 15:06:28 at node:internal/deps/undici/undici:13510:13 { 15:06:28 [cause]: TypeError: Invalid URL 15:06:28 at new URL (node:internal/url:818:25) 15:06:28 at new Request (node:internal/deps/undici/undici:9586:25) 15:06:28 at fetch (node:internal/deps/undici/undici:10315:25) 15:06:28 at fetch (node:internal/deps/undici/undici:13508:10) 15:06:28 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 15:06:28 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 15:06:28 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 15:06:28 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:06:28 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:06:28 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:06:28 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 15:06:28 code: 'ERR_INVALID_URL', 15:06:28 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 15:06:28 } 15:06:28 } 15:06:33 [15:06:33.718] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 15:06:34 [15:06:34.087] INFO: blob-sink:server Stopping blob sink 15:06:34 [15:06:34.087] INFO: blob-sink:server Blob sink already stopped 15:06:34 [15:06:34.088] INFO: blob-sink:server Stopping blob sink 15:06:34 [15:06:34.089] INFO: blob-sink:server Blob sink stopped 15:06:34 [15:06:34.091] INFO: blob-sink:server Server is running on http://localhost:44647 15:06:34 [15:06:34.445] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:37431"]} 15:06:34 [15:06:34.450] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:37431"]} 15:06:34 [15:06:34.450] INFO: blob-sink:server Stopping blob sink 15:06:34 [15:06:34.450] INFO: blob-sink:server Blob sink already stopped 15:06:34 [15:06:34.451] INFO: blob-sink:server Stopping blob sink 15:06:34 [15:06:34.451] INFO: blob-sink:server Blob sink stopped 15:06:34 [15:06:34.453] INFO: blob-sink:server Server is running on http://localhost:37713 15:06:34 [15:06:34.878] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:45467"]} 15:06:34 [15:06:34.882] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:45467"]} 15:06:34 [15:06:34.883] INFO: blob-sink:server Stopping blob sink 15:06:34 [15:06:34.883] INFO: blob-sink:server Blob sink already stopped 15:06:34 [15:06:34.883] INFO: blob-sink:server Stopping blob sink 15:06:34 [15:06:34.884] INFO: blob-sink:server Blob sink stopped 15:06:34 [15:06:34.885] INFO: blob-sink:server Server is running on http://localhost:44589 15:06:40 [15:06:40.230] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:06:40 at node:internal/deps/undici/undici:13510:13 15:06:40 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:06:40 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:06:40 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:06:40 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:06:40 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:06:40 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 15:06:40 [cause]: AggregateError: 15:06:40 at internalConnectMultiple (node:net:1139:18) 15:06:40 at afterConnectMultiple (node:net:1714:7) { 15:06:40 code: 'ECONNREFUSED', 15:06:40 [errors]: [ [Error], [Error] ] 15:06:40 } 15:06:40 } 15:06:45 [15:06:45.254] WARN: blob-sink:client Error getting blob sidecar from http://localhost:45403: fetch failed 15:06:50 [15:06:50.940] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:06:50 at node:internal/deps/undici/undici:13510:13 15:06:50 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:06:50 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:06:50 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:06:50 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:06:50 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:06:50 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 15:06:50 [cause]: AggregateError: 15:06:50 at internalConnectMultiple (node:net:1139:18) 15:06:50 at afterConnectMultiple (node:net:1714:7) { 15:06:50 code: 'ECONNREFUSED', 15:06:50 [errors]: [ [Error], [Error] ] 15:06:50 } 15:06:50 } 15:06:55 [15:06:55.955] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 15:06:55 at node:internal/deps/undici/undici:13510:13 15:06:55 at processTicksAndRejections (node:internal/process/task_queues:105:5) 15:06:55 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 15:06:55 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 15:06:55 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 15:06:55 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 15:06:55 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 15:06:55 [cause]: AggregateError: 15:06:55 at internalConnectMultiple (node:net:1139:18) 15:06:55 at afterConnectMultiple (node:net:1714:7) { 15:06:55 code: 'ECONNREFUSED', 15:06:55 [errors]: [ [Error], [Error] ] 15:06:55 } 15:06:55 } 15:07:00 [15:07:00.972] WARN: blob-sink:client Error getting blob sidecar from http://localhost:45403: fetch failed 15:07:05 [15:07:05.982] WARN: blob-sink:client Error getting blob sidecar from http://localhost:36395: fetch failed 15:07:06 [15:07:06.454] INFO: blob-sink:server Stopping blob sink 15:07:06 [15:07:06.454] INFO: blob-sink:server Blob sink already stopped 15:07:06 [15:07:06.455] INFO: blob-sink:server Stopping blob sink 15:07:06 [15:07:06.455] INFO: blob-sink:server Blob sink stopped 15:07:06 [15:07:06.456] INFO: blob-sink:server Server is running on http://localhost:45753 15:07:06 [15:07:06.518] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0x927e45863ecc32b591d1c39c4d396781363bdc03747581d6e1300e6380e01326a3ef81afa684ab10f1db925efbc78cbb"} 15:07:06 [15:07:06.898] INFO: blob-sink:server Stopping blob sink 15:07:06 [15:07:06.899] INFO: blob-sink:server Blob sink already stopped 15:07:06 [15:07:06.899] INFO: blob-sink:server Stopping blob sink 15:07:06 [15:07:06.900] INFO: blob-sink:server Blob sink stopped 15:07:06 [15:07:06.901] INFO: blob-sink:server Server is running on http://localhost:42417 15:07:07 [15:07:07.253] INFO: blob-sink:server Stopping blob sink 15:07:07 [15:07:07.254] INFO: blob-sink:server Blob sink already stopped 15:07:07 [15:07:07.254] INFO: blob-sink:server Stopping blob sink 15:07:07 [15:07:07.255] INFO: blob-sink:server Blob sink stopped 15:07:07 [15:07:07.256] INFO: blob-sink:server Server is running on http://localhost:33913 15:07:07 [15:07:07.632] INFO: blob-sink:server Stopping blob sink 15:07:07 [15:07:07.633] INFO: blob-sink:server Blob sink already stopped 15:07:07 [15:07:07.634] INFO: blob-sink:server Stopping blob sink 15:07:07 [15:07:07.634] INFO: blob-sink:server Blob sink stopped 15:07:07 PASS src/client/http.test.ts (59.219 s) 15:07:07 HttpBlobSinkClient 15:07:07 should send and retrieve blobs (397 ms) 15:07:07 should handle multiple blobs (344 ms) 15:07:07 should return empty array for non-existent block (17 ms) 15:07:07 should handle server connection errors gracefully (10090 ms) 15:07:07 Mock Ethereum Clients 15:07:07 should handle no consensus host (392 ms) 15:07:07 should request based on slot where consensus host is provided (487 ms) 15:07:07 should handle when multiple consensus hosts are provided (10455 ms) 15:07:07 should handle API keys without headers (362 ms) 15:07:07 should handle API keys in headers (432 ms) 15:07:07 should handle multiple consensus hosts with different API key methods (31571 ms) 15:07:07 even if we ask for non-encoded blobs, we should only get encoded blobs (444 ms) 15:07:07 should handle L1 missed slots (355 ms) 15:07:07 should fall back to archive client (379 ms) 15:07:07 15:07:07 Test Suites: 1 passed, 1 total 15:07:07 Tests: 13 passed, 13 total 15:07:07 Snapshots: 0 total 15:07:07 Time: 59.325 s 15:07:07 Ran all test suites matching blob-sink/src/client/http.test.ts. 15:07:07 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?