Parent Log:
http://ci.aztec-labs.com/ab63b2ef1085df0f
Command: 68e9475192d7aeac:ISOLATE=1:NAME=p2p/src/services/peer-manager/peer_scoring.test.ts yarn-project/scripts/run_test.sh p2p/src/services/peer-manager/peer_scoring.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/fe25e8151d865a744220512c782713e46482165a
Env: REF_NAME=next CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Sat Jun 21 10:22:11 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=next_amd64
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_b5a57f93e60f4b09_staging
10:22:11 +++ id -u
10:22:11 +++ id -g
10:22:11 ++ docker run -d --name p2p_src_services_peer-manager_peer_scoring.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/peer-manager/peer_scoring.test.ts'\'''
10:22:11 + cid=46d7dee65b55172fba82fa1eb1bda32f9efd8fce40adf11c720a10442188ba44
10:22:11 + set +x
10:22:13
PASS src/services/peer-manager/peer_scoring.test.ts
10:22:13 PeerScoring
10:22:13
✓ should initialize with zero score for a new peer (6 ms)
10:22:13
✓ should update score correctly (2 ms)
10:22:13
✓ should accumulate scores (2 ms)
10:22:13
✓ should decay scores over time (1 ms)
10:22:13
✓ should decay all scores (1 ms)
10:22:13
✓ should apply correct penalties for different error severities (3 ms)
10:22:13
✓ should return zero for non-existent peers (1 ms)
10:22:13
✓ should apply maximum penalty correctly (1 ms)
10:22:13
✓ should handle score updates after long periods of inactivity (1 ms)
10:22:13
✓ should handle penalties in the correct order (2 ms)
10:22:13
✓ should correctly determine peer score state (1 ms)
10:22:13
✓ should handle score state transitions with decay (1 ms)
10:22:13
10:22:13
Test Suites: 1 passed, 1 total
10:22:13
Tests: 12 passed, 12 total
10:22:13
Snapshots: 0 total
10:22:13
Time: 1.256 s
10:22:13
Ran all test suites matching p2p/src/services/peer-manager/peer_scoring.test.ts
.
10:22:13
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?