Parent Log: http://ci.aztec-labs.com/c499571648db87cc Command: 59d7caa3bc5b3609:ISOLATE=1:NAME=p2p/src/services/reqresp/reqresp.test.ts yarn-project/scripts/run_test.sh p2p/src/services/reqresp/reqresp.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/260a6c8dbe7557aae065d685de66faa2bc362a9d Env: REF_NAME=gh-readonly-queue/master/pr-14951-64b2b9f661d3e31df0f8ec9120130b753eeb7533 CURRENT_VERSION=0.87.8 CI_FULL=1 Date: Tue Jun 10 22:19:57 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14951_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a57cc872d7daa810_master 22:19:57 +++ id -u 22:19:57 +++ id -g 22:19:57 ++ docker run -d --name p2p_src_services_reqresp_reqresp.test.ts --net=none --cpuset-cpus=0-127 --cpus=2 --memory=8g --user 1000:1000 -v/home/aztec-dev:/home/aztec-dev --mount type=tmpfs,target=/tmp,tmpfs-size=1g --workdir /home/aztec-dev/aztec-packages -e HOME -e VERBOSE -e GIT_CONFIG_GLOBAL=/home/aztec-dev/aztec-packages/build-images/src/home/.gitconfig -e FORCE_COLOR=true -e CPUS -e MEM aztecprotocol/build:3.0 /bin/bash -c 'timeout -v 600s bash -c '\''yarn-project/scripts/run_test.sh p2p/src/services/reqresp/reqresp.test.ts'\''' 22:19:57 + cid=2eaa829ee0555e77d49ab4c1f9a8b00e908f9b58ebc8a523f3449e6c796777bb 22:19:57 + set +x 22:20:05 [22:20:05.702] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:05 [22:20:05.706] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:05 [22:20:05.710] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:05 [22:20:05.710] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:06 [22:20:06.255] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:06 [22:20:06.257] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:06 [22:20:06.317] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:06 [22:20:06.318] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:06 [22:20:06.319] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:06 [22:20:06.321] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:07 [22:20:07.536] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:07 [22:20:07.537] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:07 [22:20:07.540] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:07 [22:20:07.542] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:07 [22:20:07.651] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:07 [22:20:07.652] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:07 [22:20:07.653] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:07 [22:20:07.653] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:07 [22:20:07.654] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:07 [22:20:07.654] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:07 [22:20:07.657] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:07 [22:20:07.657] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:08 [22:20:08.736] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWPr8idd9Yw6bf4LsQmU6A7TYEb8J1KcCXySUGR7RQu2zc 22:20:08 [22:20:08.737] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:08 err: { 22:20:08 "type": "ReqRespStatusError", 22:20:08 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:08 "stack": 22:20:08 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:08 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:08 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:08 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:08 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:08 "status": 1 22:20:08 } 22:20:08 [22:20:08.747] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWPr8idd9Yw6bf4LsQmU6A7TYEb8J1KcCXySUGR7RQu2zc 22:20:08 [22:20:08.747] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:08 err: { 22:20:08 "type": "ReqRespStatusError", 22:20:08 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:08 "stack": 22:20:08 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:08 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:08 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:08 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:08 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:08 "status": 1 22:20:08 } 22:20:08 [22:20:08.752] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWPr8idd9Yw6bf4LsQmU6A7TYEb8J1KcCXySUGR7RQu2zc 22:20:08 [22:20:08.753] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:08 err: { 22:20:08 "type": "ReqRespStatusError", 22:20:08 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:08 "stack": 22:20:08 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:08 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:08 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:08 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:08 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:08 "status": 1 22:20:08 } 22:20:08 [22:20:08.757] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWPr8idd9Yw6bf4LsQmU6A7TYEb8J1KcCXySUGR7RQu2zc 22:20:08 [22:20:08.757] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:08 err: { 22:20:08 "type": "ReqRespStatusError", 22:20:08 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:08 "stack": 22:20:08 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:08 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:08 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:08 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:08 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:08 "status": 1 22:20:08 } 22:20:08 [22:20:08.760] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWPr8idd9Yw6bf4LsQmU6A7TYEb8J1KcCXySUGR7RQu2zc 22:20:08 [22:20:08.761] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:08 err: { 22:20:08 "type": "ReqRespStatusError", 22:20:08 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:08 "stack": 22:20:08 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:08 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:08 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:08 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:08 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:08 "status": 1 22:20:08 } 22:20:08 [22:20:08.767] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:08 [22:20:08.768] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:08 [22:20:08.772] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:08 [22:20:08.772] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:10 [22:20:10.189] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:10 [22:20:10.189] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:10 [22:20:10.193] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:10 [22:20:10.193] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:11 [22:20:11.282] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:11 [22:20:11.283] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:11 [22:20:11.286] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:11 [22:20:11.286] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:12 [22:20:12.352] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:12 [22:20:12.353] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:12 [22:20:12.361] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:12 [22:20:12.363] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:15 [22:20:15.419] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:15 [22:20:15.419] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:15 [22:20:15.422] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:15 [22:20:15.422] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:20 [22:20:20.603] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:20 [22:20:20.604] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:20 [22:20:20.605] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:20 [22:20:20.605] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:20 [22:20:20.607] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:20 [22:20:20.607] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:20 [22:20:20.610] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:20 [22:20:20.611] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:20 [22:20:20.624] WARN: foundation:memory_fifo Discarding item because queue is flushing 22:20:20 [22:20:20.628] ERROR: p2p:reqresp Unexpected error sending request to peer: Error: Could not enqueue function 22:20:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:65:24 22:20:20 at new Promise (<anonymous>) 22:20:20 at SerialQueue.put (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:55:16) 22:20:20 at ConnectionSampler.put [as dialProtocol] (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/connection-sampler/connection_sampler.ts:204:43) 22:20:20 at ReqResp.dialProtocol (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:449:45) 22:20:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:20 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:20 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:20 at TimeoutTask.requestFunction [as fn] (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:200:26) {"peerId":"12D3KooWJsXJXWSAbNadn2iYA7EFD3Ec2A9Lto4bQmZfjQA85NFr","subProtocol":"/aztec/req/tx/0.1.0"} 22:20:21 [22:20:21.711] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:21 [22:20:21.712] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:21 [22:20:21.715] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:21 [22:20:21.715] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:22 [22:20:22.755] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:22 [22:20:22.755] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:22 [22:20:22.758] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:22 [22:20:22.758] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:23 [22:20:23.802] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:23 [22:20:23.803] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:23 [22:20:23.806] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:23 [22:20:23.806] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:25 [22:20:25.067] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:25 [22:20:25.068] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:25 [22:20:25.072] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:25 [22:20:25.072] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:26 [22:20:26.202] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWBTnycHsGkVHsZ3vAF6i8yBZQjHeqXAgJzebKY3v3ZZbK 22:20:26 [22:20:26.202] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:26 err: { 22:20:26 "type": "ReqRespStatusError", 22:20:26 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:26 "stack": 22:20:26 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:26 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:26 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:26 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:26 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:26 "status": 1 22:20:26 } 22:20:26 [22:20:26.225] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:26 [22:20:26.226] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:26 [22:20:26.227] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:26 [22:20:26.227] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:26 [22:20:26.230] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:26 [22:20:26.231] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:27 [22:20:27.470] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:27 [22:20:27.470] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:27 [22:20:27.472] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:27 [22:20:27.472] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:27 [22:20:27.473] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:27 [22:20:27.474] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:27 [22:20:27.478] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:27 [22:20:27.478] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:28 [22:20:28.586] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWCqJ8Ju4DQu3fgKUYGeBQgq7FHxPvUAJ1MgMrPEFSCUpW 22:20:28 [22:20:28.587] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:28 err: { 22:20:28 "type": "ReqRespStatusError", 22:20:28 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:28 "stack": 22:20:28 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:28 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:28 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:28 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:28 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:28 "status": 1 22:20:28 } 22:20:28 [22:20:28.590] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWCqJ8Ju4DQu3fgKUYGeBQgq7FHxPvUAJ1MgMrPEFSCUpW 22:20:28 [22:20:28.590] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:28 err: { 22:20:28 "type": "ReqRespStatusError", 22:20:28 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:28 "stack": 22:20:28 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:28 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:28 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:28 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:28 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:28 "status": 1 22:20:28 } 22:20:28 [22:20:28.603] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWCqJ8Ju4DQu3fgKUYGeBQgq7FHxPvUAJ1MgMrPEFSCUpW 22:20:28 [22:20:28.603] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 22:20:28 err: { 22:20:28 "type": "ReqRespStatusError", 22:20:28 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 22:20:28 "stack": 22:20:28 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 22:20:28 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 22:20:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 22:20:28 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 22:20:28 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 22:20:28 at processTicksAndRejections (node:internal/process/task_queues:105:5) 22:20:28 "status": 1 22:20:28 } 22:20:28 [22:20:28.614] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:28 [22:20:28.615] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:28 [22:20:28.615] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:28 [22:20:28.616] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:28 [22:20:28.619] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 22:20:28 [22:20:28.619] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 22:20:28 FAIL src/services/reqresp/reqresp.test.ts (30.167 s) 22:20:28 ReqResp 22:20:28 should perform a ping request (1237 ms) 22:20:28 should handle gracefully if a peer connected peer is offline (606 ms) 22:20:28 should request from a later peer if other peers are offline (1361 ms) 22:20:28 should hit a rate limit if too many requests are made in quick succession (1096 ms) 22:20:28 Tx req protocol 22:20:28 can request a Tx from TxHash (1413 ms) 22:20:28 handles returning empty buffers (1094 ms) 22:20:28 does not crash if tx hash returns undefined (1088 ms) 22:20:28 should hit individual timeout if nothing is returned over the stream (3046 ms) 22:20:28 should hit collective timeout if nothing is returned over the stream from multiple peers (5203 ms) 22:20:28 should penalize peer if transaction validation fails (1089 ms) 22:20:28 Goodbye protocol 22:20:28 should send a goodbye message to a peer (1045 ms) 22:20:28 should not close stream when handling a goodbye message received from peer (1050 ms) 22:20:28 Block protocol 22:20:28 should handle block requests (1266 ms) 22:20:28 Batch requests 22:20:28 should send a batch request between many peers (1159 ms) 22:20:28 should send a batch request with a pinned peer (1257 ms) 22:20:28 should stop after max retry attempts (1134 ms) 22:20:28 22:20:28 ReqResp › should hit a rate limit if too many requests are made in quick succession 22:20:28 22:20:28 expect(received).toBeDefined() 22:20:28 22:20:28 Received: undefined 22:20:28 22:20:28 145 | // Check that one of the responses gets a rate limit response 22:20:28 146 | const rateLimitResponse = responses.find(response => response?.status === ReqRespStatus.RATE_LIMIT_EXCEEDED); 22:20:28 > 147 | expect(rateLimitResponse).toBeDefined(); 22:20:28 | ^ 22:20:28 148 | 22:20:28 149 | // Make sure the error message is logged 22:20:28 150 | const errorMessage = `Rate limit exceeded DeniedPeer for ${ 22:20:28 22:20:28 at Object.toBeDefined (services/reqresp/reqresp.test.ts:147:31) 22:20:28 22:20:28 ReqResp › Batch requests › should send a batch request between many peers 22:20:28 22:20:28 expect(jest.fn()).toHaveBeenCalledTimes(expected) 22:20:28 22:20:28 Expected number of calls: 9 22:20:28 Received number of calls: 11 22:20:28 22:20:28 474 | 22:20:28 475 | // Expect one request to have been sent to each peer 22:20:28 > 476 | expect(sendRequestToPeerSpy).toHaveBeenCalledTimes(batchSize); 22:20:28 | ^ 22:20:28 477 | expect(sendRequestToPeerSpy).toHaveBeenCalledWith( 22:20:28 478 | expect.objectContaining({ 22:20:28 479 | publicKey: nodes[1].p2p.peerId.publicKey, 22:20:28 22:20:28 at Object.toHaveBeenCalledTimes (services/reqresp/reqresp.test.ts:476:36) 22:20:28 22:20:28 ReqResp › Batch requests › should send a batch request with a pinned peer 22:20:28 22:20:28 expect(jest.fn()).toHaveBeenCalledWith(...expected) 22:20:28 22:20:28 Expected: ObjectContaining {"publicKey": [8, 1, 18, 32, 60, 105, 19, 85, 38, 183, …]}, "/aztec/req/ping/0.1.0", {"data": [112, 105, 110, 103, 51], "type": "Buffer"} 22:20:28 Received 22:20:28 1 22:20:28 "12D3KooWNjxSoVc9hCJXvCNWdift7VazQtptRksM9axsoUHS5iyR", 22:20:28 "/aztec/req/ping/0.1.0", 22:20:28 @@ -2,9 +2,9 @@ 22:20:28 "data": Array [ 22:20:28 112, 22:20:28 105, 22:20:28 110, 22:20:28 103, 22:20:28 - 51, 22:20:28 + 48, 22:20:28 ], 22:20:28 "type": "Buffer", 22:20:28 }, 22:20:28 2 22:20:28 "12D3KooWMeiQdBy8Ko34DgFwdiZwdChJ9GAgdiA4nTLEXo9FkeFV", 22:20:28 "/aztec/req/ping/0.1.0", 22:20:28 @@ -2,9 +2,9 @@ 22:20:28 "data": Array [ 22:20:28 112, 22:20:28 105, 22:20:28 110, 22:20:28 103, 22:20:28 - 51, 22:20:28 + 49, 22:20:28 ], 22:20:28 "type": "Buffer", 22:20:28 }, 22:20:28 3 22:20:28 "12D3KooWDtBZS5mHivdHbNxVTmYHB3NrM2eyymAU4aXywv83B6dK", 22:20:28 "/aztec/req/ping/0.1.0", 22:20:28 @@ -2,9 +2,9 @@ 22:20:28 "data": Array [ 22:20:28 112, 22:20:28 105, 22:20:28 110, 22:20:28 103, 22:20:28 - 51, 22:20:28 + 48, 22:20:28 ], 22:20:28 "type": "Buffer", 22:20:28 }, 22:20:28 22:20:28 Number of calls: 12 22:20:28 22:20:28 516 | // Expect pinned peer to have received all requests 22:20:28 517 | for (let i = 0; i < batchSize; i++) { 22:20:28 > 518 | expect(sendRequestToPeerSpy).toHaveBeenCalledWith( 22:20:28 | ^ 22:20:28 519 | expect.objectContaining({ publicKey: nodes[1].p2p.peerId.publicKey }), 22:20:28 520 | ReqRespSubProtocol.PING, 22:20:28 521 | Buffer.from(`ping${i}`), 22:20:28 22:20:28 at Object.toHaveBeenCalledWith (services/reqresp/reqresp.test.ts:518:38) 22:20:28 22:20:28 ReqResp › Batch requests › should stop after max retry attempts 22:20:28 22:20:28 expect(received).toEqual(expected) // deep equality 22:20:28 22:20:28 - Expected - 11 22:20:28 + Received + 3 22:20:28 22:20:28 @@ -74,10 +74,11 @@ 22:20:28 103, 22:20:28 ], 22:20:28 "type": "Buffer", 22:20:28 }, 22:20:28 }, 22:20:28 + undefined, 22:20:28 RequestableBuffer { 22:20:28 "buffer": Object { 22:20:28 "data": Array [ 22:20:28 112, 22:20:28 111, 22:20:28 @@ -85,10 +86,11 @@ 22:20:28 103, 22:20:28 ], 22:20:28 "type": "Buffer", 22:20:28 }, 22:20:28 }, 22:20:28 + undefined, 22:20:28 RequestableBuffer { 22:20:28 "buffer": Object { 22:20:28 "data": Array [ 22:20:28 112, 22:20:28 111, 22:20:28 @@ -96,17 +98,7 @@ 22:20:28 103, 22:20:28 ], 22:20:28 "type": "Buffer", 22:20:28 }, 22:20:28 }, 22:20:28 - RequestableBuffer { 22:20:28 - "buffer": Object { 22:20:28 - "data": Array [ 22:20:28 - 112, 22:20:28 - 111, 22:20:28 - 110, 22:20:28 - 103, 22:20:28 - ], 22:20:28 - "type": "Buffer", 22:20:28 - }, 22:20:28 - }, 22:20:28 + undefined, 22:20:28 ] 22:20:28 22:20:28 555 | 22:20:28 556 | const res = await nodes[0].req.sendBatchRequest(ReqRespSubProtocol.PING, requests, undefined); 22:20:28 > 557 | expect(res).toEqual(expectResponses); 22:20:28 | ^ 22:20:28 558 | 22:20:28 559 | // Check that we did detect hitting a rate limit 22:20:28 560 | expect(requesterLoggerSpy).toHaveBeenCalledWith( 22:20:28 22:20:28 at Object.toEqual (services/reqresp/reqresp.test.ts:557:19) 22:20:28 22:20:28 Test Suites: 1 failed, 1 total 22:20:28 Tests: 4 failed, 12 passed, 16 total 22:20:28 Snapshots: 0 total 22:20:28 Time: 30.244 s 22:20:28 Ran all test suites matching /p2p\/src\/services\/reqresp\/reqresp.test.ts/i. 22:20:28 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?