Parent Log:
http://ci.aztec-labs.com/f32faee66f030d3c
Command: bdb887914394d73a: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/47c749527b1c3cce3edd9defedc46e89ea00c69e
Env: REF_NAME=gh-readonly-queue/next/pr-15009-00cd67e98e76d3202a0219baf301d59ef4211872 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 15:53:37 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15009_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_2f4fe3ddec7e51ea_next
15:53:37 +++ id -u
15:53:37 +++ id -g
15:53:37 ++ 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'\'''
15:53:37 + cid=f0a8116259c82307a0ee9ecd80bcf67316f097afaf1342559149d5371b047678
15:53:37 + set +x
15:53:40
PASS src/services/reqresp/rate-limiter/rate_limiter.test.ts
15:53:40 rate limiter
15:53:40
✓ Should allow requests within a peer limit (11 ms)
15:53:40
✓ Should allow requests within the global limit (4 ms)
15:53:40
✓ Should reset after quota has passed (2 ms)
15:53:40
✓ Should handle multiple protocols separately (3 ms)
15:53:40
✓ Should allow requests if no rate limiter is configured (1 ms)
15:53:40
✓ Should smooth out spam (2 ms)
15:53:40
15:53:40
Test Suites: 1 passed, 1 total
15:53:40
Tests: 6 passed, 6 total
15:53:40
Snapshots: 0 total
15:53:40
Time: 1.657 s
15:53:40
Ran all test suites matching /p2p\/src\/services\/reqresp\/rate-limiter\/rate_limiter.test.ts/i
.
15:53:40
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?