Parent Log: http://ci.aztec-labs.com/e37ebb5e18ac85ad 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/5f78d61bb53ab2c2ccd59528d4439a88b2325b96 Env: REF_NAME=gh-readonly-queue/master/pr-14715-3a776996a430e63770f252088c2fdd32ae17c1f7 CURRENT_VERSION=0.87.8 CI_FULL=1 Date: Mon Jun 9 11:25:48 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14715_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a57cc872d7daa810_master 11:25:48 +++ id -u 11:25:48 +++ id -g 11:25:48 ++ 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'\''' 11:25:48 + cid=17a4e4e37c04d5a67e49b01df179f2b37f068b87140458b7c8030f9900cede2b 11:25:48 + set +x 11:25:57 [11:25:57.045] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:57 [11:25:57.049] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:57 [11:25:57.053] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:57 [11:25:57.053] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:57 [11:25:57.605] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:57 [11:25:57.606] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:57 [11:25:57.672] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:57 [11:25:57.673] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:57 [11:25:57.674] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:57 [11:25:57.675] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:58 [11:25:58.887] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:58 [11:25:58.887] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:58 [11:25:58.890] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:58 [11:25:58.892] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:58 [11:25:58.986] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:58 [11:25:58.986] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:58 [11:25:58.987] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:58 [11:25:58.988] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:58 [11:25:58.988] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:58 [11:25:58.989] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:25:58 [11:25:58.992] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:25:58 [11:25:58.992] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:00 [11:26:00.087] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWDgKueJV1JHjgny2XTxwCPgT5TjchDoq2GuU45nRqhG4k 11:26:00 [11:26:00.087] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:00 err: { 11:26:00 "type": "ReqRespStatusError", 11:26:00 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:00 "stack": 11:26:00 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:00 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:00 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:00 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:00 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:00 "status": 1 11:26:00 } 11:26:00 [11:26:00.097] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWDgKueJV1JHjgny2XTxwCPgT5TjchDoq2GuU45nRqhG4k 11:26:00 [11:26:00.097] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:00 err: { 11:26:00 "type": "ReqRespStatusError", 11:26:00 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:00 "stack": 11:26:00 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:00 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:00 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:00 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:00 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:00 "status": 1 11:26:00 } 11:26:00 [11:26:00.108] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWDgKueJV1JHjgny2XTxwCPgT5TjchDoq2GuU45nRqhG4k 11:26:00 [11:26:00.108] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:00 err: { 11:26:00 "type": "ReqRespStatusError", 11:26:00 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:00 "stack": 11:26:00 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:00 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:00 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:00 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:00 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:00 "status": 1 11:26:00 } 11:26:00 [11:26:00.116] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWDgKueJV1JHjgny2XTxwCPgT5TjchDoq2GuU45nRqhG4k 11:26:00 [11:26:00.117] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:00 err: { 11:26:00 "type": "ReqRespStatusError", 11:26:00 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:00 "stack": 11:26:00 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:00 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:00 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:00 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:00 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:00 "status": 1 11:26:00 } 11:26:00 [11:26:00.122] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWDgKueJV1JHjgny2XTxwCPgT5TjchDoq2GuU45nRqhG4k 11:26:00 [11:26:00.123] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:00 err: { 11:26:00 "type": "ReqRespStatusError", 11:26:00 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:00 "stack": 11:26:00 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:00 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:00 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:00 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:00 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:00 "status": 1 11:26:00 } 11:26:00 [11:26:00.130] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:00 [11:26:00.131] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:00 [11:26:00.135] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:00 [11:26:00.136] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:01 [11:26:01.600] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:01 [11:26:01.601] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:01 [11:26:01.610] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:01 [11:26:01.611] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:02 [11:26:02.691] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:02 [11:26:02.691] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:02 [11:26:02.695] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:02 [11:26:02.695] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:03 [11:26:03.819] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:03 [11:26:03.820] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:03 [11:26:03.825] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:03 [11:26:03.826] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:06 [11:26:06.875] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:06 [11:26:06.875] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:06 [11:26:06.878] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:06 [11:26:06.879] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:12 [11:26:12.074] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:12 [11:26:12.075] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:12 [11:26:12.077] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:12 [11:26:12.078] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:12 [11:26:12.079] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:12 [11:26:12.079] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:12 [11:26:12.083] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:12 [11:26:12.083] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:12 [11:26:12.119] WARN: foundation:memory_fifo Discarding item because queue is flushing 11:26:12 [11:26:12.124] ERROR: p2p:reqresp Unexpected error sending request to peer: Error: Could not enqueue function 11:26:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:65:24 11:26:12 at new Promise (<anonymous>) 11:26:12 at SerialQueue.put (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:55:16) 11:26:12 at ConnectionSampler.put [as dialProtocol] (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/connection-sampler/connection_sampler.ts:204:43) 11:26:12 at ReqResp.dialProtocol (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:449:45) 11:26:12 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:12 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:12 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:12 at TimeoutTask.requestFunction [as fn] (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:200:26) {"peerId":"12D3KooWAD1829873ty3Uxshwic1b5YUHW5zTDua95ecnshpqQm9","subProtocol":"/aztec/req/tx/0.1.0"} 11:26:13 [11:26:13.233] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:13 [11:26:13.235] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:13 [11:26:13.241] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:13 [11:26:13.241] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:14 [11:26:14.293] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:14 [11:26:14.294] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:14 [11:26:14.299] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:14 [11:26:14.300] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:15 [11:26:15.383] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:15 [11:26:15.384] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:15 [11:26:15.388] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:15 [11:26:15.388] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:16 [11:26:16.692] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:16 [11:26:16.692] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:16 [11:26:16.696] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:16 [11:26:16.696] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:17 [11:26:17.827] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWLnA7y8KS2kV1x5a5neUCzqCVEk2hQcTAfvJsWgrqmSqm 11:26:17 [11:26:17.827] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:17 err: { 11:26:17 "type": "ReqRespStatusError", 11:26:17 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:17 "stack": 11:26:17 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:17 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:17 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:17 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:17 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:17 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:17 "status": 1 11:26:17 } 11:26:17 [11:26:17.855] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:17 [11:26:17.855] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:17 [11:26:17.857] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:17 [11:26:17.857] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:17 [11:26:17.861] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:17 [11:26:17.861] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:19 [11:26:19.150] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:19 [11:26:19.151] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:19 [11:26:19.152] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:19 [11:26:19.152] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:19 [11:26:19.153] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:19 [11:26:19.154] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:19 [11:26:19.156] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:19 [11:26:19.157] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:20 [11:26:20.363] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWGPT8S8ypaEQ3U42YQ3dWsN79cCpAXezCY5t8bzTj6EH4 11:26:20 [11:26:20.363] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:20 err: { 11:26:20 "type": "ReqRespStatusError", 11:26:20 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:20 "stack": 11:26:20 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:20 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:20 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:20 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:20 "status": 1 11:26:20 } 11:26:20 [11:26:20.367] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWGPT8S8ypaEQ3U42YQ3dWsN79cCpAXezCY5t8bzTj6EH4 11:26:20 [11:26:20.367] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:20 err: { 11:26:20 "type": "ReqRespStatusError", 11:26:20 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:20 "stack": 11:26:20 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:20 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:20 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:20 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:20 "status": 1 11:26:20 } 11:26:20 [11:26:20.384] WARN: p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWGPT8S8ypaEQ3U42YQ3dWsN79cCpAXezCY5t8bzTj6EH4 11:26:20 [11:26:20.385] WARN: p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED {"protocol":"/aztec/req/ping/0.1.0"} 11:26:20 err: { 11:26:20 "type": "ReqRespStatusError", 11:26:20 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED", 11:26:20 "stack": 11:26:20 Error: ReqResp Error: RATE_LIMIT_EXCEEDED 11:26:20 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15) 11:26:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54 11:26:20 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16) 11:26:20 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32) 11:26:20 at processTicksAndRejections (node:internal/process/task_queues:105:5) 11:26:20 "status": 1 11:26:20 } 11:26:20 [11:26:20.420] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:20 [11:26:20.421] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:20 [11:26:20.422] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:20 [11:26:20.423] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:20 [11:26:20.428] INFO: p2p:reqresp:connection-sampler Stopping connection sampler 11:26:20 [11:26:20.428] INFO: p2p:reqresp:connection-sampler Connection sampler stopped 11:26:20 FAIL src/services/reqresp/reqresp.test.ts (30.995 s) 11:26:20 ReqResp 11:26:20 should perform a ping request (1313 ms) 11:26:20 should handle gracefully if a peer connected peer is offline (618 ms) 11:26:20 should request from a later peer if other peers are offline (1350 ms) 11:26:20 should hit a rate limit if too many requests are made in quick succession (1115 ms) 11:26:20 Tx req protocol 11:26:20 can request a Tx from TxHash (1472 ms) 11:26:20 handles returning empty buffers (1103 ms) 11:26:20 does not crash if tx hash returns undefined (1109 ms) 11:26:20 should hit individual timeout if nothing is returned over the stream (3052 ms) 11:26:20 should hit collective timeout if nothing is returned over the stream from multiple peers (5241 ms) 11:26:20 should penalize peer if transaction validation fails (1121 ms) 11:26:20 Goodbye protocol 11:26:20 should send a goodbye message to a peer (1061 ms) 11:26:20 should not close stream when handling a goodbye message received from peer (1086 ms) 11:26:20 Block protocol 11:26:20 should handle block requests (1310 ms) 11:26:20 Batch requests 11:26:20 should send a batch request between many peers (1173 ms) 11:26:20 should send a batch request with a pinned peer (1297 ms) 11:26:20 should stop after max retry attempts (1269 ms) 11:26:20 11:26:20 ReqResp › should hit a rate limit if too many requests are made in quick succession 11:26:20 11:26:20 expect(received).toBeDefined() 11:26:20 11:26:20 Received: undefined 11:26:20 11:26:20 145 | // Check that one of the responses gets a rate limit response 11:26:20 146 | const rateLimitResponse = responses.find(response => response?.status === ReqRespStatus.RATE_LIMIT_EXCEEDED); 11:26:20 > 147 | expect(rateLimitResponse).toBeDefined(); 11:26:20 | ^ 11:26:20 148 | 11:26:20 149 | // Make sure the error message is logged 11:26:20 150 | const errorMessage = `Rate limit exceeded DeniedPeer for ${ 11:26:20 11:26:20 at Object.toBeDefined (services/reqresp/reqresp.test.ts:147:31) 11:26:20 11:26:20 ReqResp › Batch requests › should send a batch request between many peers 11:26:20 11:26:20 expect(jest.fn()).toHaveBeenCalledTimes(expected) 11:26:20 11:26:20 Expected number of calls: 9 11:26:20 Received number of calls: 11 11:26:20 11:26:20 474 | 11:26:20 475 | // Expect one request to have been sent to each peer 11:26:20 > 476 | expect(sendRequestToPeerSpy).toHaveBeenCalledTimes(batchSize); 11:26:20 | ^ 11:26:20 477 | expect(sendRequestToPeerSpy).toHaveBeenCalledWith( 11:26:20 478 | expect.objectContaining({ 11:26:20 479 | publicKey: nodes[1].p2p.peerId.publicKey, 11:26:20 11:26:20 at Object.toHaveBeenCalledTimes (services/reqresp/reqresp.test.ts:476:36) 11:26:20 11:26:20 ReqResp › Batch requests › should send a batch request with a pinned peer 11:26:20 11:26:20 expect(jest.fn()).toHaveBeenCalledWith(...expected) 11:26:20 11:26:20 Expected: ObjectContaining {"publicKey": [8, 1, 18, 32, 147, 247, 16, 65, 173, 20, …]}, "/aztec/req/ping/0.1.0", {"data": [112, 105, 110, 103, 51], "type": "Buffer"} 11:26:20 Received 11:26:20 1 11:26:20 "12D3KooWSAEQnvp9WqAYMVoQjwEmxBTtsJcmSEbgocDjGe7C4xDr", 11:26:20 "/aztec/req/ping/0.1.0", 11:26:20 @@ -2,9 +2,9 @@ 11:26:20 "data": Array [ 11:26:20 112, 11:26:20 105, 11:26:20 110, 11:26:20 103, 11:26:20 - 51, 11:26:20 + 48, 11:26:20 ], 11:26:20 "type": "Buffer", 11:26:20 }, 11:26:20 2 11:26:20 "12D3KooWJC5h7sj3kTB2vgnkSQbtEdR8zcwmfB5qbpAsEmbmVeZo", 11:26:20 "/aztec/req/ping/0.1.0", 11:26:20 @@ -2,9 +2,9 @@ 11:26:20 "data": Array [ 11:26:20 112, 11:26:20 105, 11:26:20 110, 11:26:20 103, 11:26:20 - 51, 11:26:20 + 49, 11:26:20 ], 11:26:20 "type": "Buffer", 11:26:20 }, 11:26:20 3 11:26:20 "12D3KooWKmxc27PzQJuNcrhVfCpn2uP1w3K87xcsRMPtjigrN2ug", 11:26:20 "/aztec/req/ping/0.1.0", 11:26:20 @@ -2,9 +2,9 @@ 11:26:20 "data": Array [ 11:26:20 112, 11:26:20 105, 11:26:20 110, 11:26:20 103, 11:26:20 - 51, 11:26:20 + 48, 11:26:20 ], 11:26:20 "type": "Buffer", 11:26:20 }, 11:26:20 11:26:20 Number of calls: 14 11:26:20 11:26:20 516 | // Expect pinned peer to have received all requests 11:26:20 517 | for (let i = 0; i < batchSize; i++) { 11:26:20 > 518 | expect(sendRequestToPeerSpy).toHaveBeenCalledWith( 11:26:20 | ^ 11:26:20 519 | expect.objectContaining({ publicKey: nodes[1].p2p.peerId.publicKey }), 11:26:20 520 | ReqRespSubProtocol.PING, 11:26:20 521 | Buffer.from(`ping${i}`), 11:26:20 11:26:20 at Object.toHaveBeenCalledWith (services/reqresp/reqresp.test.ts:518:38) 11:26:20 11:26:20 ReqResp › Batch requests › should stop after max retry attempts 11:26:20 11:26:20 expect(received).toEqual(expected) // deep equality 11:26:20 11:26:20 - Expected - 11 11:26:20 + Received + 3 11:26:20 11:26:20 @@ -74,10 +74,11 @@ 11:26:20 103, 11:26:20 ], 11:26:20 "type": "Buffer", 11:26:20 }, 11:26:20 }, 11:26:20 + undefined, 11:26:20 RequestableBuffer { 11:26:20 "buffer": Object { 11:26:20 "data": Array [ 11:26:20 112, 11:26:20 111, 11:26:20 @@ -85,10 +86,11 @@ 11:26:20 103, 11:26:20 ], 11:26:20 "type": "Buffer", 11:26:20 }, 11:26:20 }, 11:26:20 + undefined, 11:26:20 RequestableBuffer { 11:26:20 "buffer": Object { 11:26:20 "data": Array [ 11:26:20 112, 11:26:20 111, 11:26:20 @@ -96,17 +98,7 @@ 11:26:20 103, 11:26:20 ], 11:26:20 "type": "Buffer", 11:26:20 }, 11:26:20 }, 11:26:20 - RequestableBuffer { 11:26:20 - "buffer": Object { 11:26:20 - "data": Array [ 11:26:20 - 112, 11:26:20 - 111, 11:26:20 - 110, 11:26:20 - 103, 11:26:20 - ], 11:26:20 - "type": "Buffer", 11:26:20 - }, 11:26:20 - }, 11:26:20 + undefined, 11:26:20 ] 11:26:20 11:26:20 555 | 11:26:20 556 | const res = await nodes[0].req.sendBatchRequest(ReqRespSubProtocol.PING, requests, undefined); 11:26:20 > 557 | expect(res).toEqual(expectResponses); 11:26:20 | ^ 11:26:20 558 | 11:26:20 559 | // Check that we did detect hitting a rate limit 11:26:20 560 | expect(requesterLoggerSpy).toHaveBeenCalledWith( 11:26:20 11:26:20 at Object.toEqual (services/reqresp/reqresp.test.ts:557:19) 11:26:20 11:26:20 Test Suites: 1 failed, 1 total 11:26:20 Tests: 4 failed, 12 passed, 16 total 11:26:20 Snapshots: 0 total 11:26:20 Time: 31.084 s 11:26:20 Ran all test suites matching /p2p\/src\/services\/reqresp\/reqresp.test.ts/i. 11:26:20 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?