Parent Log:
http://ci.aztec-labs.com/179a28111d15e5ae
Command: 382b132597c2ea2f: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/99e234fe4473771b32124e0402885610a6a3f98a
Env: REF_NAME=gh-readonly-queue/next/pr-15233-1c9ca312bfdace816082212846900a49694e1e50 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 08:59:58 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15233_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fc557f9901045594_next
08:59:58 +++ id -u
08:59:58 +++ id -g
08:59:58 ++ 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:59:59 + cid=b1709c5a036a5576c638d3d95e7661e9f15dfda32b73925f33c5a15814f1a791
08:59:59 + set +x
09:00:00 [09:00:00.943]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:00 [09:00:00.952]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:00 [09:00:00.969]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:00 [09:00:00.970]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:00 [09:00:00.980]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:00 [09:00:00.981]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:00 [09:00:00.988]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:00 [09:00:00.988]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:00 [09:00:00.994]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:00 [09:00:00.994]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.002]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.003]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.010]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.011]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.024]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.025]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.634]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.635]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.641]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.641]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.642]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.642]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.661]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.664]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.683]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.683]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.702]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.702]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.718]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.719]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.734]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.735]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.746]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.747]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01 [09:00:01.761]
INFO:
p2p:reqresp:connection-sampler Stopping connection sampler
09:00:01 [09:00:01.762]
INFO:
p2p:reqresp:connection-sampler Connection sampler stopped
09:00:01
PASS src/services/reqresp/connection-sampler/connection_sampler.test.ts
09:00:01 ConnectionSampler
09:00:01 getPeer
09:00:01
✓ returns a random peer from the list (61 ms)
09:00:01
✓ returns undefined if no peers are available (16 ms)
09:00:01
✓ attempts to find peer with no active connections (11 ms)
09:00:01
✓ should not sample a peer that is being excluded (7 ms)
09:00:01 connection management
09:00:01
✓ correctly tracks active connections (6 ms)
09:00:01
✓ handles multiple connections to same peer (8 ms)
09:00:01
✓ handles errors during connection close (7 ms)
09:00:01
✓ does not accidentally close a stream for another peer (13 ms)
09:00:01 cleanup
09:00:01
✓ cleans up stale connections (609 ms)
09:00:01
✓ properly cleans up on stop (7 ms)
09:00:01 samplePeersBatch
09:00:01
✓ should only return samples as many peers as available (23 ms)
09:00:01
✓ prioritizes peers without active connections (18 ms)
09:00:01
✓ falls back to peers with connections when needed (18 ms)
09:00:01
✓ handles case when all peers have active connections (16 ms)
09:00:01
✓ handles case when fewer peers available than requested (15 ms)
09:00:01
✓ handles case when no peers available (12 ms)
09:00:01
✓ returns exactly the number of peers requested when available (15 ms)
09:00:01
09:00:01
Test Suites: 1 passed, 1 total
09:00:01
Tests: 17 passed, 17 total
09:00:01
Snapshots: 0 total
09:00:01
Time: 1.653 s
09:00:01
Ran all test suites matching p2p/src/services/reqresp/connection-sampler/connection_sampler.test.ts
.
09:00:01
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?