Parent Log:
http://ci.aztec-labs.com/20565fb19cf53bed
Command: 557c108a8ed544a3:ISOLATE=1:NAME=p2p/src/services/reqresp/rate-limiter/rate_limiter.test.ts yarn-project/scripts/run_test.sh p2p/src/services/reqresp/rate-limiter/rate_limiter.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069
Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 20:30:36 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_2f4fe3ddec7e51ea_next
20:30:36 +++ id -u
20:30:36 +++ id -g
20:30:36 ++ docker run -d --name p2p_src_services_reqresp_rate-limiter_rate_limiter.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/rate-limiter/rate_limiter.test.ts'\'''
20:30:37 + cid=8ca07eac273474ed4babde5670b75833129c5a56c5e8d03924d15f9c57f5ca85
20:30:37 + set +x
20:30:40
PASS src/services/reqresp/rate-limiter/rate_limiter.test.ts
20:30:40 rate limiter
20:30:40
✓ Should allow requests within a peer limit (13 ms)
20:30:40
✓ Should allow requests within the global limit (3 ms)
20:30:40
✓ Should reset after quota has passed (1 ms)
20:30:40
✓ Should handle multiple protocols separately (1 ms)
20:30:40
✓ Should allow requests if no rate limiter is configured
20:30:40
✓ Should smooth out spam (2 ms)
20:30:40
20:30:40
Test Suites: 1 passed, 1 total
20:30:40
Tests: 6 passed, 6 total
20:30:40
Snapshots: 0 total
20:30:40
Time: 1.808 s
20:30:40
Ran all test suites matching p2p/src/services/reqresp/rate-limiter/rate_limiter.test.ts
.
20:30:40
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?