Parent Log:
http://ci.aztec-labs.com/f2f5cc639551c62d
Command: 736bd65c2c998997: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/2b96419831503435fa46a83dc2e2b7ba19109d0f
Env: REF_NAME=gh-readonly-queue/next/pr-15229-af094bce13530e078c78de9f3264280e6693d533 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 08:39:52 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fc557f9901045594_next
08:39:52 +++ id -u
08:39:52 +++ id -g
08:39:52 ++ 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'\'''
08:39:52 + cid=fb33b6ee82692a44867d75215797e3504465eee21a7c970c63104a46527107e9
08:39:52 + set +x
08:39:54 [08:39:54.518]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.524]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.533]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.534]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.542]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.544]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.550]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.551]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.559]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.564]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.572]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.573]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.580]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.581]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:54 [08:39:54.588]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:54 [08:39:54.589]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.202]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.203]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.210]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.211]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.211]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.212]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.230]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.230]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.245]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.245]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.258]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.258]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.294]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.295]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.308]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.308]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.317]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.318]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55 [08:39:55.327]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
08:39:55 [08:39:55.327]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
08:39:55
PASS src/services/reqresp/connection-sampler/connection_sampler.test.ts
08:39:55 ConnectionSampler
08:39:55 getPeer
08:39:55
✓ returns a random peer from the list (71 ms)
08:39:55
✓ returns undefined if no peers are available (8 ms)
08:39:55
✓ attempts to find peer with no active connections (9 ms)
08:39:55
✓ should not sample a peer that is being excluded (7 ms)
08:39:55 connection management
08:39:55
✓ correctly tracks active connections (13 ms)
08:39:55
✓ handles multiple connections to same peer (8 ms)
08:39:55
✓ handles errors during connection close (7 ms)
08:39:55
✓ does not accidentally close a stream for another peer (7 ms)
08:39:55 cleanup
08:39:55
✓ cleans up stale connections (613 ms)
08:39:55
✓ properly cleans up on stop (8 ms)
08:39:55 samplePeersBatch
08:39:55
✓ should only return samples as many peers as available (17 ms)
08:39:55
✓ prioritizes peers without active connections (14 ms)
08:39:55
✓ falls back to peers with connections when needed (12 ms)
08:39:55
✓ handles case when all peers have active connections (36 ms)
08:39:55
✓ handles case when fewer peers available than requested (13 ms)
08:39:55
✓ handles case when no peers available (9 ms)
08:39:55
✓ returns exactly the number of peers requested when available (9 ms)
08:39:55
08:39:55
Test Suites: 1 passed, 1 total
08:39:55
Tests: 17 passed, 17 total
08:39:55
Snapshots: 0 total
08:39:55
Time: 1.549 s
08:39:55
Ran all test suites matching p2p/src/services/reqresp/connection-sampler/connection_sampler.test.ts
.
08:39:55
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?