Parent Log:
http://ci.aztec-labs.com/d6c554ed0d0fee9b
Command: 53e9b8d3e8ba3411: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/2707ec99de02004f3e30e7af0810e0d741ab9794
Env: REF_NAME=gh-readonly-queue/master/pr-15049-f4ac84d7ac4041d505399edd8819840bb14d6c9d CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Sat Jun 14 10:49:14 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15049_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a57cc872d7daa810_master
10:49:14 +++ id -u
10:49:14 +++ id -g
10:49:14 ++ 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'\'''
10:49:15 + cid=7ed5e5784f0366b6c933a91549010a2b1f41657d31b6034068bb8f0e4d69315b
10:49:15 + set +x
10:49:23 [10:49:23.958]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:23 [10:49:23.962]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:23 [10:49:23.966]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:23 [10:49:23.966]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:24 [10:49:24.515]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:24 [10:49:24.517]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:24 [10:49:24.567]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:24 [10:49:24.568]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:24 [10:49:24.569]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:24 [10:49:24.569]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:25 [10:49:25.748]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:25 [10:49:25.749]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:25 [10:49:25.752]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:25 [10:49:25.754]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:25 [10:49:25.871]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:25 [10:49:25.872]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:25 [10:49:25.873]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:25 [10:49:25.874]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:25 [10:49:25.875]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:25 [10:49:25.875]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:25 [10:49:25.878]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:25 [10:49:25.878]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:26 [10:49:26.962]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWSP3tWXnAwAeNFxJxU8qMHX5GRRCiUJLTpvQ8sBMtKM3z
10:49:26 [10:49:26.963]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:26 err: {
10:49:26 "type": "ReqRespStatusError",
10:49:26 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:26 "stack":
10:49:26 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:26 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:26 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:26 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:26 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:26 "status": 1
10:49:26 }
10:49:26 [10:49:26.971]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWSP3tWXnAwAeNFxJxU8qMHX5GRRCiUJLTpvQ8sBMtKM3z
10:49:26 [10:49:26.971]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:26 err: {
10:49:26 "type": "ReqRespStatusError",
10:49:26 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:26 "stack":
10:49:26 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:26 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:26 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:26 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:26 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:26 "status": 1
10:49:26 }
10:49:26 [10:49:26.975]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWSP3tWXnAwAeNFxJxU8qMHX5GRRCiUJLTpvQ8sBMtKM3z
10:49:26 [10:49:26.975]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:26 err: {
10:49:26 "type": "ReqRespStatusError",
10:49:26 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:26 "stack":
10:49:26 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:26 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:26 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:26 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:26 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:26 "status": 1
10:49:26 }
10:49:26 [10:49:26.978]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWSP3tWXnAwAeNFxJxU8qMHX5GRRCiUJLTpvQ8sBMtKM3z
10:49:26 [10:49:26.979]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:26 err: {
10:49:26 "type": "ReqRespStatusError",
10:49:26 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:26 "stack":
10:49:26 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:26 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:26 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:26 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:26 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:26 "status": 1
10:49:26 }
10:49:26 [10:49:26.982]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWSP3tWXnAwAeNFxJxU8qMHX5GRRCiUJLTpvQ8sBMtKM3z
10:49:26 [10:49:26.982]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:26 err: {
10:49:26 "type": "ReqRespStatusError",
10:49:26 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:26 "stack":
10:49:26 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:26 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:26 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:26 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:26 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:26 "status": 1
10:49:26 }
10:49:26 [10:49:26.988]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:26 [10:49:26.988]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:26 [10:49:26.992]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:26 [10:49:26.996]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:28 [10:49:28.459]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:28 [10:49:28.460]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:28 [10:49:28.464]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:28 [10:49:28.464]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:29 [10:49:29.565]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:29 [10:49:29.565]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:29 [10:49:29.569]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:29 [10:49:29.569]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:30 [10:49:30.648]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:30 [10:49:30.649]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:30 [10:49:30.653]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:30 [10:49:30.653]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:33 [10:49:33.708]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:33 [10:49:33.709]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:33 [10:49:33.713]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:33 [10:49:33.714]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:38 [10:49:38.912]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:38 [10:49:38.914]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:38 [10:49:38.915]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:38 [10:49:38.916]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:38 [10:49:38.917]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:38 [10:49:38.917]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:38 [10:49:38.921]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:38 [10:49:38.922]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:38 [10:49:38.942]
WARN:
foundation:memory_fifo Discarding item because queue is flushing
10:49:38 [10:49:38.946]
ERROR:
p2p:reqresp Unexpected error sending request to peer: Error: Could not enqueue function
10:49:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:65:24
10:49:38 at new Promise (<anonymous>)
10:49:38 at SerialQueue.put (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:55:16)
10:49:38 at ConnectionSampler.put [as dialProtocol] (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/connection-sampler/connection_sampler.ts:204:43)
10:49:38 at ReqResp.dialProtocol (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:449:45)
10:49:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:38 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:38 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:38 at TimeoutTask.requestFunction [as fn] (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:200:26)
{"peerId":"12D3KooWJDF3U3F3PubqSnSKd9v2V7Cxr81A82VXYEw2W2Gxxvoj","subProtocol":"/aztec/req/tx/0.1.0"}
10:49:40 [10:49:40.030]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:40 [10:49:40.031]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:40 [10:49:40.034]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:40 [10:49:40.035]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:41 [10:49:41.079]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:41 [10:49:41.079]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:41 [10:49:41.083]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:41 [10:49:41.084]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:42 [10:49:42.126]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:42 [10:49:42.126]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:42 [10:49:42.130]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:42 [10:49:42.130]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:43 [10:49:43.385]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:43 [10:49:43.385]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:43 [10:49:43.389]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:43 [10:49:43.390]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:44 [10:49:44.543]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWGDwsHhyp117GpkSm5yW6YQowHTZVy6t9t2pXUUu5MHCf
10:49:44 [10:49:44.543]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:44 err: {
10:49:44 "type": "ReqRespStatusError",
10:49:44 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:44 "stack":
10:49:44 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:44 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:44 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:44 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:44 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:44 "status": 1
10:49:44 }
10:49:44 [10:49:44.566]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:44 [10:49:44.567]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:44 [10:49:44.568]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:44 [10:49:44.568]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:44 [10:49:44.571]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:44 [10:49:44.572]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:45 [10:49:45.841]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:45 [10:49:45.842]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:45 [10:49:45.843]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:45 [10:49:45.843]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:45 [10:49:45.844]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:45 [10:49:45.845]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:45 [10:49:45.848]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:45 [10:49:45.848]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:46 [10:49:46.979]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWNDnxVAh2LjW5bH1hPYLAtaLk1AR2GqGPP6sqv3m8agp9
10:49:46 [10:49:46.980]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:46 err: {
10:49:46 "type": "ReqRespStatusError",
10:49:46 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:46 "stack":
10:49:46 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:46 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:46 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:46 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:46 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:46 "status": 1
10:49:46 }
10:49:46 [10:49:46.983]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWNDnxVAh2LjW5bH1hPYLAtaLk1AR2GqGPP6sqv3m8agp9
10:49:46 [10:49:46.983]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:46 err: {
10:49:46 "type": "ReqRespStatusError",
10:49:46 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:46 "stack":
10:49:46 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:46 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:46 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:46 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:46 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:46 "status": 1
10:49:46 }
10:49:46 [10:49:46.997]
WARN:
p2p:reqresp Rate limit exceeded DeniedPeer for /aztec/req/ping/0.1.0 from 12D3KooWNDnxVAh2LjW5bH1hPYLAtaLk1AR2GqGPP6sqv3m8agp9
10:49:46 [10:49:46.998]
WARN:
p2p:reqresp Reqresp Response error: Error undefined ReqResp Error: RATE_LIMIT_EXCEEDED
{"protocol":"/aztec/req/ping/0.1.0"}
10:49:46 err: {
10:49:46 "type": "ReqRespStatusError",
10:49:46 "message": "ReqResp Error: RATE_LIMIT_EXCEEDED",
10:49:46 "stack":
10:49:46 Error: ReqResp Error: RATE_LIMIT_EXCEEDED
10:49:46 at ReqResp.streamHandler (/home/aztec-dev/aztec-packages/yarn-project/p2p/src/services/reqresp/reqresp.ts:630:15)
10:49:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:54
10:49:46 at NoopTracer.startActiveSpan (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/noop.js:29:16)
10:49:46 at ReqResp.replacementMethod (/home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:31:32)
10:49:46 at processTicksAndRejections (node:internal/process/task_queues:105:5)
10:49:46 "status": 1
10:49:46 }
10:49:47 [10:49:47.010]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:47 [10:49:47.011]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:47 [10:49:47.012]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:47 [10:49:47.012]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:47 [10:49:47.016]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
10:49:47 [10:49:47.016]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
10:49:47
FAIL src/services/reqresp/reqresp.test.ts (
31.173 s)
10:49:47 ReqResp
10:49:47
✓ should perform a ping request (1348 ms)
10:49:47
✓ should handle gracefully if a peer connected peer is offline (597 ms)
10:49:47
✓ should request from a later peer if other peers are offline (1338 ms)
10:49:47
✕ should hit a rate limit if too many requests are made in quick succession (1097 ms)
10:49:47 Tx req protocol
10:49:47
✓ can request a Tx from TxHash (1460 ms)
10:49:47
✓ handles returning empty buffers (1109 ms)
10:49:47
✓ does not crash if tx hash returns undefined (1078 ms)
10:49:47
✓ should hit individual timeout if nothing is returned over the stream (3062 ms)
10:49:47
✓ should hit collective timeout if nothing is returned over the stream from multiple peers (5225 ms)
10:49:47
✓ should penalize peer if transaction validation fails (1095 ms)
10:49:47 Goodbye protocol
10:49:47
✓ should send a goodbye message to a peer (1045 ms)
10:49:47
✓ should not close stream when handling a goodbye message received from peer (1046 ms)
10:49:47 Block protocol
10:49:47
✓ should handle block requests (1267 ms)
10:49:47 Batch requests
10:49:47
✕ should send a batch request between many peers (1180 ms)
10:49:47
✕ should send a batch request with a pinned peer (1284 ms)
10:49:47
✕ should stop after max retry attempts (1162 ms)
10:49:47
10:49:47
● ReqResp › should hit a rate limit if too many requests are made in quick succession
10:49:47
10:49:47
expect(received).toBeDefined
()
10:49:47
10:49:47 Received:
undefined
10:49:47
10:49:47
145 | // Check that one of the responses gets a rate limit response
10:49:47
146 | const rateLimitResponse = responses.find(response => response?.status === ReqRespStatus.RATE_LIMIT_EXCEEDED);
10:49:47
> 147 | expect(rateLimitResponse).toBeDefined();
10:49:47
| ^
10:49:47
148 |
10:49:47
149 | // Make sure the error message is logged
10:49:47
150 | const errorMessage = `Rate limit exceeded DeniedPeer for ${
10:49:47
10:49:47
at Object.toBeDefined (services/reqresp/reqresp.test.ts:147:31)
10:49:47
10:49:47
● ReqResp › Batch requests › should send a batch request between many peers
10:49:47
10:49:47
expect(jest.fn()).toHaveBeenCalledTimes
(expected)
10:49:47
10:49:47 Expected number of calls:
9
10:49:47 Received number of calls:
11
10:49:47
10:49:47
474 |
10:49:47
475 | // Expect one request to have been sent to each peer
10:49:47
> 476 | expect(sendRequestToPeerSpy).toHaveBeenCalledTimes(batchSize);
10:49:47
| ^
10:49:47
477 | expect(sendRequestToPeerSpy).toHaveBeenCalledWith(
10:49:47
478 | expect.objectContaining({
10:49:47
479 | publicKey: nodes[1].p2p.peerId.publicKey,
10:49:47
10:49:47
at Object.toHaveBeenCalledTimes (services/reqresp/reqresp.test.ts:476:36)
10:49:47
10:49:47
● ReqResp › Batch requests › should send a batch request with a pinned peer
10:49:47
10:49:47
expect(jest.fn()).toHaveBeenCalledWith
(...expected)
10:49:47
10:49:47 Expected:
ObjectContaining {"publicKey": [8, 1, 18, 32, 119, 1, 113, 174, 22, 208, …]},
"/aztec/req/ping/0.1.0",
{"data": [112, 105, 110, 103, 51], "type": "Buffer"}
10:49:47 Received
10:49:47 1
10:49:47
"12D3KooWLkCKeZYvqfYzroQrwQx24AkKX1AN5WwTLvGzrGwJyv7x",
10:49:47
"/aztec/req/ping/0.1.0",
10:49:47
@@ -2,9 +2,9 @@
10:49:47
"data": Array [
10:49:47
112,
10:49:47
105,
10:49:47
110,
10:49:47
103,
10:49:47
- 51,
10:49:47
+ 48,
10:49:47
],
10:49:47
"type": "Buffer",
10:49:47
},
10:49:47 2
10:49:47
"12D3KooWPKAApE3JEY34Pq5JCAn4uCy6s9wMfBxgCBmBmQMhptFx",
10:49:47
"/aztec/req/ping/0.1.0",
10:49:47
@@ -2,9 +2,9 @@
10:49:47
"data": Array [
10:49:47
112,
10:49:47
105,
10:49:47
110,
10:49:47
103,
10:49:47
- 51,
10:49:47
+ 49,
10:49:47
],
10:49:47
"type": "Buffer",
10:49:47
},
10:49:47 3
10:49:47
"12D3KooWHpuxkMYnrKFATEZf8wd6sC5ber6FWj59j1m8tT6iH7ai",
10:49:47
"/aztec/req/ping/0.1.0",
10:49:47
@@ -2,9 +2,9 @@
10:49:47
"data": Array [
10:49:47
112,
10:49:47
105,
10:49:47
110,
10:49:47
103,
10:49:47
- 51,
10:49:47
+ 48,
10:49:47
],
10:49:47
"type": "Buffer",
10:49:47
},
10:49:47
10:49:47 Number of calls:
14
10:49:47
10:49:47
516 | // Expect pinned peer to have received all requests
10:49:47
517 | for (let i = 0; i < batchSize; i++) {
10:49:47
> 518 | expect(sendRequestToPeerSpy).toHaveBeenCalledWith(
10:49:47
| ^
10:49:47
519 | expect.objectContaining({ publicKey: nodes[1].p2p.peerId.publicKey }),
10:49:47
520 | ReqRespSubProtocol.PING,
10:49:47
521 | Buffer.from(`ping${i}`),
10:49:47
10:49:47
at Object.toHaveBeenCalledWith (services/reqresp/reqresp.test.ts:518:38)
10:49:47
10:49:47
● ReqResp › Batch requests › should stop after max retry attempts
10:49:47
10:49:47
expect(received).toEqual
(expected) // deep equality
10:49:47
10:49:47
- Expected - 11
10:49:47
+ Received + 3
10:49:47
10:49:47
@@ -74,10 +74,11 @@
10:49:47
103,
10:49:47
],
10:49:47
"type": "Buffer",
10:49:47
},
10:49:47
},
10:49:47
+ undefined,
10:49:47
RequestableBuffer {
10:49:47
"buffer": Object {
10:49:47
"data": Array [
10:49:47
112,
10:49:47
111,
10:49:47
@@ -85,10 +86,11 @@
10:49:47
103,
10:49:47
],
10:49:47
"type": "Buffer",
10:49:47
},
10:49:47
},
10:49:47
+ undefined,
10:49:47
RequestableBuffer {
10:49:47
"buffer": Object {
10:49:47
"data": Array [
10:49:47
112,
10:49:47
111,
10:49:47
@@ -96,17 +98,7 @@
10:49:47
103,
10:49:47
],
10:49:47
"type": "Buffer",
10:49:47
},
10:49:47
},
10:49:47
- RequestableBuffer {
10:49:47
- "buffer": Object {
10:49:47
- "data": Array [
10:49:47
- 112,
10:49:47
- 111,
10:49:47
- 110,
10:49:47
- 103,
10:49:47
- ],
10:49:47
- "type": "Buffer",
10:49:47
- },
10:49:47
- },
10:49:47
+ undefined,
10:49:47
]
10:49:47
10:49:47
555 |
10:49:47
556 | const res = await nodes[0].req.sendBatchRequest(ReqRespSubProtocol.PING, requests, undefined);
10:49:47
> 557 | expect(res).toEqual(expectResponses);
10:49:47
| ^
10:49:47
558 |
10:49:47
559 | // Check that we did detect hitting a rate limit
10:49:47
560 | expect(requesterLoggerSpy).toHaveBeenCalledWith(
10:49:47
10:49:47
at Object.toEqual (services/reqresp/reqresp.test.ts:557:19)
10:49:47
10:49:47
Test Suites: 1 failed, 1 total
10:49:47
Tests: 4 failed,
12 passed, 16 total
10:49:47
Snapshots: 0 total
10:49:47
Time: 31.258 s
10:49:47
Ran all test suites matching /p2p\/src\/services\/reqresp\/reqresp.test.ts/i
.
10:49:47
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?