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