Parent Log:
http://ci.aztec-labs.com/f97bdeeb954e1abb
Command: 17e0d785507e6983: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/5867520ed258adecfee692b3694d693b2c7964ca
Env: REF_NAME=gh-readonly-queue/next/pr-14770-9b801754ba98479ee645488c29d2fda1eecbfd85 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 21:51:26 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14770_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_2f4fe3ddec7e51ea_next
21:51:26 +++ id -u
21:51:26 +++ id -g
21:51:26 ++ 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'\'''
21:51:27 + cid=d5fab11836385e59e7847f868e52039251c14dc9134d635baa33d8fd8f874383
21:51:27 + set +x
21:51:30
PASS src/services/reqresp/rate-limiter/rate_limiter.test.ts
21:51:30 rate limiter
21:51:30
✓ Should allow requests within a peer limit (16 ms)
21:51:30
✓ Should allow requests within the global limit (7 ms)
21:51:30
✓ Should reset after quota has passed (2 ms)
21:51:30
✓ Should handle multiple protocols separately (2 ms)
21:51:30
✓ Should allow requests if no rate limiter is configured (2 ms)
21:51:30
✓ Should smooth out spam (5 ms)
21:51:30
21:51:30
Test Suites: 1 passed, 1 total
21:51:30
Tests: 6 passed, 6 total
21:51:30
Snapshots: 0 total
21:51:30
Time: 1.848 s
21:51:30
Ran all test suites matching p2p/src/services/reqresp/rate-limiter/rate_limiter.test.ts
.
21:51:30
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?