Parent Log:
http://ci.aztec-labs.com/ec53a48cfa0deda9
Command: f5e85dbc8a1d83c5: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/26c5a39fe03723d11540f721293d7aebd1f478d9
Env: REF_NAME=gh-readonly-queue/next/pr-14995-75d792847d8434a0c504e7adf5c102a913065272 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 09:01:08 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14995_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fc557f9901045594_next
09:01:08 +++ id -u
09:01:08 +++ id -g
09:01:08 ++ 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'\'''
09:01:08 + cid=9442a2b0376acf3a924f2799d721e581df828d259ff90e83a51ff604273c5280
09:01:08 + set +x
09:01:10 [09:01:10.341]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.353]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:10 [09:01:10.378]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.379]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:10 [09:01:10.390]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.391]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:10 [09:01:10.402]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.402]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:10 [09:01:10.413]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.415]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:10 [09:01:10.422]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.423]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:10 [09:01:10.430]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:10 [09:01:10.430]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.039]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.040]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.053]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.055]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.056]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.056]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.082]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.083]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.103]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.103]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.117]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.117]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.132]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.132]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.150]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.151]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.166]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.167]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11 [09:01:11.182]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:01:11 [09:01:11.183]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:01:11
PASS src/services/reqresp/connection-sampler/connection_sampler.test.ts
09:01:11 ConnectionSampler
09:01:11 getPeer
09:01:11
✓ returns a random peer from the list (107 ms)
09:01:11
✓ returns undefined if no peers are available (17 ms)
09:01:11
✓ attempts to find peer with no active connections (11 ms)
09:01:11
✓ should not sample a peer that is being excluded (11 ms)
09:01:11 connection management
09:01:11
✓ correctly tracks active connections (12 ms)
09:01:11
✓ handles multiple connections to same peer (9 ms)
09:01:11
✓ handles errors during connection close (6 ms)
09:01:11 cleanup
09:01:11
✓ cleans up stale connections (609 ms)
09:01:11
✓ properly cleans up on stop (17 ms)
09:01:11 samplePeersBatch
09:01:11
✓ should only return samples as many peers as available (27 ms)
09:01:11
✓ prioritizes peers without active connections (19 ms)
09:01:11
✓ falls back to peers with connections when needed (14 ms)
09:01:11
✓ handles case when all peers have active connections (15 ms)
09:01:11
✓ handles case when fewer peers available than requested (19 ms)
09:01:11
✓ handles case when no peers available (16 ms)
09:01:11
✓ returns exactly the number of peers requested when available (15 ms)
09:01:11
09:01:11
Test Suites: 1 passed, 1 total
09:01:11
Tests: 16 passed, 16 total
09:01:11
Snapshots: 0 total
09:01:11
Time: 1.56 s
09:01:11
Ran all test suites matching /p2p\/src\/services\/reqresp\/connection-sampler\/connection_sampler.test.ts/i
.
09:01:11
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?