Parent Log:
http://ci.aztec-labs.com/09c8f962e2d23894
Command: 6d103549f0f4c9d2: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/534f06e45f48274efd53a2204c90cb0b91a53efb
Env: REF_NAME=gh-readonly-queue/next/pr-15230-ad85cda24c2f9b5b4b17d4921f8597b71949bb6c CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 20:49:18 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15230_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:49:18 +++ id -u
20:49:18 +++ id -g
20:49:18 ++ 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:49:18 + cid=c6e6d234e638174a9df84451c357f186c64ae3ad8d76f11608dda8e2fc1efca5
20:49:18 + set +x
20:49:21
PASS src/services/reqresp/rate-limiter/rate_limiter.test.ts
20:49:21 rate limiter
20:49:21
✓ Should allow requests within a peer limit (20 ms)
20:49:21
✓ Should allow requests within the global limit (6 ms)
20:49:21
✓ Should reset after quota has passed (2 ms)
20:49:21
✓ Should handle multiple protocols separately (3 ms)
20:49:21
✓ Should allow requests if no rate limiter is configured (7 ms)
20:49:21
✓ Should smooth out spam (5 ms)
20:49:21
20:49:21
Test Suites: 1 passed, 1 total
20:49:21
Tests: 6 passed, 6 total
20:49:21
Snapshots: 0 total
20:49:21
Time: 1.885 s
20:49:21
Ran all test suites matching p2p/src/services/reqresp/rate-limiter/rate_limiter.test.ts
.
20:49:21
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?