Parent Log:
http://ci.aztec-labs.com/62cb07227cb8778b
Command: 3cad4e1fd0756a5c:ISOLATE=1:NAME=p2p/src/services/reqresp/connection-sampler/connection_sampler.test.ts yarn-project/scripts/run_test.sh p2p/src/services/reqresp/connection-sampler/connection_sampler.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e9a2301883801edbe36ea8bba05dcca7e714f30a
Env: REF_NAME=gh-readonly-queue/master/pr-15131-464e1a9d9b40b5188586643b44bc52bffccbc3e6 CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Wed Jun 18 12:51:47 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15131_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fc557f9901045594_master
12:51:47 +++ id -u
12:51:47 +++ id -g
12:51:47 ++ docker run -d --name p2p_src_services_reqresp_connection-sampler_connection_sampler.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/connection-sampler/connection_sampler.test.ts'\'''
12:51:47 + cid=ef0beb341331e41a77dd8e92465cfe63e57a4ab4625ab7f4d969e51cc6cb392f
12:51:47 + set +x
12:51:49 [12:51:49.321]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.339]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:49 [12:51:49.355]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.356]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:49 [12:51:49.367]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.368]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:49 [12:51:49.377]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.378]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:49 [12:51:49.389]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.390]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:49 [12:51:49.400]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.400]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:49 [12:51:49.412]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:49 [12:51:49.412]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.025]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.025]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.042]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.043]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.044]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.054]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.073]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.073]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.092]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.093]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.108]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.108]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.125]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.126]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.144]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.145]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.157]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.158]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50 [12:51:50.169]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
12:51:50 [12:51:50.169]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
12:51:50
PASS src/services/reqresp/connection-sampler/connection_sampler.test.ts
12:51:50 ConnectionSampler
12:51:50 getPeer
12:51:50
✓ returns a random peer from the list (60 ms)
12:51:50
✓ returns undefined if no peers are available (13 ms)
12:51:50
✓ attempts to find peer with no active connections (12 ms)
12:51:50
✓ should not sample a peer that is being excluded (9 ms)
12:51:50 connection management
12:51:50
✓ correctly tracks active connections (11 ms)
12:51:50
✓ handles multiple connections to same peer (10 ms)
12:51:50
✓ handles errors during connection close (12 ms)
12:51:50 cleanup
12:51:50
✓ cleans up stale connections (613 ms)
12:51:50
✓ properly cleans up on stop (28 ms)
12:51:50 samplePeersBatch
12:51:50
✓ should only return samples as many peers as available (19 ms)
12:51:50
✓ prioritizes peers without active connections (19 ms)
12:51:50
✓ falls back to peers with connections when needed (15 ms)
12:51:50
✓ handles case when all peers have active connections (17 ms)
12:51:50
✓ handles case when fewer peers available than requested (19 ms)
12:51:50
✓ handles case when no peers available (12 ms)
12:51:50
✓ returns exactly the number of peers requested when available (12 ms)
12:51:50
12:51:50
Test Suites: 1 passed, 1 total
12:51:50
Tests: 16 passed, 16 total
12:51:50
Snapshots: 0 total
12:51:50
Time: 1.414 s
12:51:50
Ran all test suites matching /p2p\/src\/services\/reqresp\/connection-sampler\/connection_sampler.test.ts/i
.
12:51:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?