Parent Log: http://ci.aztec-labs.com/e20580f783f05d65 Command: 67815e8d3568a714 yarn-project/scripts/run_test.sh blob-sink/src/client/http.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/4e03f15ca8099f25d50eddd19c4914764b84fe7b Env: REF_NAME=gh-readonly-queue/next/pr-15013-4800d08570523bc1b2a9e8ec0dfb09e326f4689a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 14:34:32 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15013_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_ed69c995f9b9d850_next 14:34:36 [14:34:36.606] INFO: blob-sink:server Server is running on http://localhost:39205 14:34:36 [14:34:36.899] INFO: blob-sink:server Received blob sidecar for block 0x1234 14:34:36 [14:34:36.902] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 14:34:36 [14:34:36.954] INFO: blob-sink:server Stopping blob sink 14:34:36 [14:34:36.956] INFO: blob-sink:server Blob sink stopped 14:34:36 [14:34:36.959] INFO: blob-sink:server Server is running on http://localhost:37077 14:34:37 [14:34:37.006] INFO: blob-sink:server Received blob sidecar for block 0x5678 14:34:37 [14:34:37.009] INFO: blob-sink:server Blob sidecar stored successfully for block 0x5678 14:34:37 [14:34:37.112] INFO: blob-sink:server Stopping blob sink 14:34:37 [14:34:37.114] INFO: blob-sink:server Blob sink stopped 14:34:37 [14:34:37.116] INFO: blob-sink:server Server is running on http://localhost:44655 14:34:37 [14:34:37.123] 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\"}"} 14:34:37 [14:34:37.123] WARN: blob-sink:client Failed to fetch blobs for 0xnonexistent from all blob sources {"blobSinkUrl":"http://localhost:44655"} 14:34:37 [14:34:37.125] INFO: blob-sink:server Stopping blob sink 14:34:37 [14:34:37.125] INFO: blob-sink:server Blob sink stopped 14:34:37 [14:34:37.127] INFO: blob-sink:server Server is running on http://localhost:40735 14:34:42 [14:34:42.163] WARN: blob-sink:client Blob sink url configured, but unable to send blobs {"blobSinkUrl":"http://localhost:12345","blockHash":"0x1234"} 14:34:47 [14:34:47.183] WARN: blob-sink:client Error getting blob sidecar from http://localhost:12345: fetch failed 14:34:47 [14:34:47.184] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"blobSinkUrl":"http://localhost:12345"} 14:34:47 [14:34:47.185] INFO: blob-sink:server Stopping blob sink 14:34:47 [14:34:47.185] INFO: blob-sink:server Blob sink stopped 14:34:47 [14:34:47.187] INFO: blob-sink:server Server is running on http://localhost:35255 14:34:47 [14:34:47.221] INFO: blob-sink:server Server is running on http://localhost:39709 14:34:47 [14:34:47.227] INFO: blob-sink:server Received blob sidecar for block 0x1234 14:34:47 [14:34:47.228] INFO: blob-sink:server Blob sidecar stored successfully for block 0x1234 14:34:48 [14:34:48.927] INFO: blob-sink:server Stopping blob sink 14:34:48 [14:34:48.930] INFO: blob-sink:server Blob sink stopped 14:34:48 [14:34:48.931] INFO: blob-sink:server Stopping blob sink 14:34:48 [14:34:48.931] INFO: blob-sink:server Blob sink stopped 14:34:48 [14:34:48.934] INFO: blob-sink:server Server is running on http://localhost:41337 14:34:50 [14:34:50.762] INFO: blob-sink:server Stopping blob sink 14:34:50 [14:34:50.763] INFO: blob-sink:server Blob sink already stopped 14:34:50 [14:34:50.764] INFO: blob-sink:server Stopping blob sink 14:34:50 [14:34:50.764] INFO: blob-sink:server Blob sink stopped 14:34:50 [14:34:50.766] INFO: blob-sink:server Server is running on http://localhost:35645 14:34:55 [14:34:55.821] ERROR: blob-sink:client Error getting slot number: TypeError: Failed to parse URL from invalidURL/eth/v1/beacon/headers/0x1234 14:34:55 at node:internal/deps/undici/undici:13510:13 { 14:34:55 [cause]: TypeError: Invalid URL 14:34:55 at new URL (node:internal/url:818:25) 14:34:55 at new Request (node:internal/deps/undici/undici:9586:25) 14:34:55 at fetch (node:internal/deps/undici/undici:10315:25) 14:34:55 at fetch (node:internal/deps/undici/undici:13508:10) 14:34:55 at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12) 14:34:55 at fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:34:15) 14:34:55 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:26) 14:34:55 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:34:55 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:34:55 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:34:55 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:224:30) { 14:34:55 code: 'ERR_INVALID_URL', 14:34:55 input: 'invalidURL/eth/v1/beacon/headers/0x1234' 14:34:55 } 14:34:55 } 14:35:00 [14:35:00.827] WARN: blob-sink:client Error getting blob sidecar from invalidURL: Failed to parse URL from invalidURL/eth/v1/beacon/blob_sidecars/2 14:35:02 [14:35:02.278] INFO: blob-sink:server Stopping blob sink 14:35:02 [14:35:02.279] INFO: blob-sink:server Blob sink already stopped 14:35:02 [14:35:02.280] INFO: blob-sink:server Stopping blob sink 14:35:02 [14:35:02.280] INFO: blob-sink:server Blob sink stopped 14:35:02 [14:35:02.282] INFO: blob-sink:server Server is running on http://localhost:34971 14:35:03 [14:35:03.934] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36861"]} 14:35:03 [14:35:03.937] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:36861"]} 14:35:03 [14:35:03.938] INFO: blob-sink:server Stopping blob sink 14:35:03 [14:35:03.938] INFO: blob-sink:server Blob sink already stopped 14:35:03 [14:35:03.939] INFO: blob-sink:server Stopping blob sink 14:35:03 [14:35:03.939] INFO: blob-sink:server Blob sink stopped 14:35:03 [14:35:03.941] INFO: blob-sink:server Server is running on http://localhost:37743 14:35:05 [14:35:05.321] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38927"]} 14:35:05 [14:35:05.326] WARN: blob-sink:client Failed to fetch blobs for 0x1234 from all blob sources {"l1ConsensusHostUrls":["http://localhost:38927"]} 14:35:05 [14:35:05.327] INFO: blob-sink:server Stopping blob sink 14:35:05 [14:35:05.327] INFO: blob-sink:server Blob sink already stopped 14:35:05 [14:35:05.328] INFO: blob-sink:server Stopping blob sink 14:35:05 [14:35:05.328] INFO: blob-sink:server Blob sink stopped 14:35:05 [14:35:05.330] INFO: blob-sink:server Server is running on http://localhost:34965 14:35:12 [14:35:12.204] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 14:35:12 at node:internal/deps/undici/undici:13510:13 14:35:12 at processTicksAndRejections (node:internal/process/task_queues:105:5) 14:35:12 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 14:35:12 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:35:12 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:35:12 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:35:12 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:336:24) { 14:35:12 [cause]: AggregateError: 14:35:12 at internalConnectMultiple (node:net:1139:18) 14:35:12 at afterConnectMultiple (node:net:1714:7) { 14:35:12 code: 'ECONNREFUSED', 14:35:12 [errors]: [ [Error], [Error] ] 14:35:12 } 14:35:12 } 14:35:17 [14:35:17.222] WARN: blob-sink:client Error getting blob sidecar from http://localhost:33681: fetch failed 14:35:23 [14:35:23.907] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 14:35:23 at node:internal/deps/undici/undici:13510:13 14:35:23 at processTicksAndRejections (node:internal/process/task_queues:105:5) 14:35:23 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 14:35:23 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:35:23 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:35:23 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:35:23 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 14:35:23 [cause]: AggregateError: 14:35:23 at internalConnectMultiple (node:net:1139:18) 14:35:23 at afterConnectMultiple (node:net:1714:7) { 14:35:23 code: 'ECONNREFUSED', 14:35:23 [errors]: [ [Error], [Error] ] 14:35:23 } 14:35:23 } 14:35:28 [14:35:28.922] ERROR: blob-sink:client Error getting slot number: TypeError: fetch failed 14:35:28 at node:internal/deps/undici/undici:13510:13 14:35:28 at processTicksAndRejections (node:internal/process/task_queues:105:5) 14:35:28 at retry (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/retry/index.js:54:20) 14:35:28 at HttpBlobSinkClient.fetch (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:33:14) 14:35:28 at HttpBlobSinkClient.getSlotNumber (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:340:21) 14:35:28 at HttpBlobSinkClient.getBlobSidecar (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.ts:187:26) 14:35:28 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/blob-sink/src/client/http.test.ts:352:24) { 14:35:28 [cause]: AggregateError: 14:35:28 at internalConnectMultiple (node:net:1139:18) 14:35:28 at afterConnectMultiple (node:net:1714:7) { 14:35:28 code: 'ECONNREFUSED', 14:35:28 [errors]: [ [Error], [Error] ] 14:35:28 } 14:35:28 } 14:35:33 [14:35:33.942] WARN: blob-sink:client Error getting blob sidecar from http://localhost:33681: fetch failed 14:35:38 [14:35:38.959] WARN: blob-sink:client Error getting blob sidecar from http://localhost:34523: fetch failed 14:35:40 [14:35:40.512] INFO: blob-sink:server Stopping blob sink 14:35:40 [14:35:40.514] INFO: blob-sink:server Blob sink already stopped 14:35:40 [14:35:40.515] INFO: blob-sink:server Stopping blob sink 14:35:40 [14:35:40.516] INFO: blob-sink:server Blob sink stopped 14:35:40 [14:35:40.522] INFO: blob-sink:server Server is running on http://localhost:39419 14:35:40 [14:35:40.587] WARN: blob-sink:client Failed to deserialise blob {"commitment":"0xa13a90750b129c211ac2df5983a2c1e3c7f8e484b1b1e993ffcc4db881c3c3da0316378b30a236b74382fc693f0e4c77"} 14:35:42 [14:35:42.063] INFO: blob-sink:server Stopping blob sink 14:35:42 [14:35:42.064] INFO: blob-sink:server Blob sink already stopped 14:35:42 [14:35:42.064] INFO: blob-sink:server Stopping blob sink 14:35:42 [14:35:42.065] INFO: blob-sink:server Blob sink stopped 14:35:42 [14:35:42.067] INFO: blob-sink:server Server is running on http://localhost:34545 14:35:43 [14:35:43.544] INFO: blob-sink:server Stopping blob sink 14:35:43 [14:35:43.545] INFO: blob-sink:server Blob sink already stopped 14:35:43 [14:35:43.546] INFO: blob-sink:server Stopping blob sink 14:35:43 [14:35:43.547] INFO: blob-sink:server Blob sink stopped 14:35:43 [14:35:43.551] INFO: blob-sink:server Server is running on http://localhost:45103 14:35:44 [14:35:44.890] INFO: blob-sink:server Stopping blob sink 14:35:44 [14:35:44.891] INFO: blob-sink:server Blob sink already stopped 14:35:44 [14:35:44.891] INFO: blob-sink:server Stopping blob sink 14:35:44 [14:35:44.891] INFO: blob-sink:server Blob sink stopped 14:35:44 PASS src/client/http.test.ts (71.759 s) 14:35:44 HttpBlobSinkClient 14:35:44 should send and retrieve blobs (359 ms) 14:35:44 should handle multiple blobs (157 ms) 14:35:44 should return empty array for non-existent block (11 ms) 14:35:44 should handle server connection errors gracefully (10059 ms) 14:35:44 Mock Ethereum Clients 14:35:44 should handle no consensus host (1746 ms) 14:35:44 should request based on slot where consensus host is provided (1831 ms) 14:35:44 should handle when multiple consensus hosts are provided (11515 ms) 14:35:44 should handle API keys without headers (1659 ms) 14:35:44 should handle API keys in headers (1388 ms) 14:35:44 should handle multiple consensus hosts with different API key methods (35187 ms) 14:35:44 even if we ask for non-encoded blobs, we should only get encoded blobs (1548 ms) 14:35:44 should handle L1 missed slots (1482 ms) 14:35:44 should fall back to archive client (1342 ms) 14:35:44 14:35:44 Test Suites: 1 passed, 1 total 14:35:44 Tests: 13 passed, 13 total 14:35:44 Snapshots: 0 total 14:35:44 Time: 71.851 s 14:35:44 Ran all test suites matching /blob-sink\/src\/client\/http.test.ts/i. 14:35:44 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?