Parent Log:
http://ci.aztec-labs.com/5640b6c43c3542d3
Command: 736bd65c2c998997:ISOLATE=1:NAME=p2p/src/client/p2p_client.integration.test.ts LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.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:49 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
08:39:49 +++ id -u
08:39:49 +++ id -g
08:39:49 ++ docker run -d --name p2p_src_client_p2p_client.integration.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 '\''LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.test.ts'\'''
08:39:50 + cid=fc635472eb2e31f8aaa0505dbe89e83eb75308244cb6af55a8b6544ec56ce7cb
08:39:50 + set +x
08:39:51 {"level":25,"time":1750754391604,"pid":7,"hostname":"fc635472eb2e","module":"logger","msg":"Logger initialized with level debug"}
08:40:00 [08:40:00.933]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
08:40:01 [08:40:01.037]
DEBUG:
foundation:randomness_singleton Using true randomness
08:40:01 {"level":20,"time":1750754401120,"pid":7,"hostname":"fc635472eb2e","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
08:40:01 {"level":20,"time":1750754401330,"pid":7,"hostname":"fc635472eb2e","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
08:40:11 [08:40:11.546]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:11 [08:40:11.553]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8hUKFv with size: 10485760 KB (LMDB v2)
08:40:11 [08:40:11.554]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:11 [08:40:11.561]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cbsQ2l with size: 10485760 KB (LMDB v2)
08:40:11 [08:40:11.562]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:11 [08:40:11.564]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-j7Bw4h with size: 10485760 KB (LMDB v2)
08:40:11 [08:40:11.565]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:11 [08:40:11.567]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:11 [08:40:11.570]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
08:40:11 [08:40:11.570]
INFO:
p2p:test:integration Shut down p2p clients
08:40:11 [08:40:11.607]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
08:40:11 {"level":20,"time":1750754401370,"pid":7,"hostname":"fc635472eb2e","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
08:40:11 {"level":20,"time":1750754401372,"pid":7,"hostname":"fc635472eb2e","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"}
08:40:20 [08:40:20.697]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:20 [08:40:20.713]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uOnSz4 with size: 10485760 KB (LMDB v2)
08:40:20 [08:40:20.713]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:20 [08:40:20.716]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VFyGlz with size: 10485760 KB (LMDB v2)
08:40:20 [08:40:20.717]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:20 [08:40:20.719]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-15nqNf with size: 10485760 KB (LMDB v2)
08:40:20 [08:40:20.719]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:20 [08:40:20.721]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:20 [08:40:20.723]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
08:40:20 [08:40:20.723]
INFO:
p2p:test:integration Shut down p2p clients
08:40:20 [08:40:20.725]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
08:40:30 [08:40:30.302]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:30 [08:40:30.305]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TFzI6e with size: 10485760 KB (LMDB v2)
08:40:30 [08:40:30.305]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:30 [08:40:30.310]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Di34GO with size: 10485760 KB (LMDB v2)
08:40:30 [08:40:30.311]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:30 [08:40:30.316]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XeudyD with size: 10485760 KB (LMDB v2)
08:40:30 [08:40:30.317]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:30 [08:40:30.320]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:30 [08:40:30.321]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
08:40:30 [08:40:30.322]
INFO:
p2p:test:integration Shut down p2p clients
08:40:30 [08:40:30.325]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
08:40:40 [08:40:40.334]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:40 [08:40:40.337]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Lk7nsn with size: 10485760 KB (LMDB v2)
08:40:40 [08:40:40.337]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:40 [08:40:40.340]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZChReQ with size: 10485760 KB (LMDB v2)
08:40:40 [08:40:40.340]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:40 [08:40:40.344]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-v0xCoY with size: 10485760 KB (LMDB v2)
08:40:40 [08:40:40.344]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:40 [08:40:40.346]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:40 [08:40:40.347]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
08:40:40 [08:40:40.347]
INFO:
p2p:test:integration Shut down p2p clients
08:40:40 [08:40:40.350]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
08:40:50 [08:40:50.567]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:50 [08:40:50.584]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DjZq52 with size: 10485760 KB (LMDB v2)
08:40:50 [08:40:50.587]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:50 [08:40:50.595]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-k30A3z with size: 10485760 KB (LMDB v2)
08:40:50 [08:40:50.596]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:50 [08:40:50.600]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ZPTmtu with size: 10485760 KB (LMDB v2)
08:40:50 [08:40:50.601]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:50 [08:40:50.603]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:50 [08:40:50.604]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
08:40:50 [08:40:50.604]
INFO:
p2p:test:integration Shut down p2p clients
08:40:50 [08:40:50.607]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
08:41:00 [08:41:00.917]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:00 [08:41:00.920]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7wtgXt with size: 10485760 KB (LMDB v2)
08:41:00 [08:41:00.920]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:00 [08:41:00.927]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wcGdX7 with size: 10485760 KB (LMDB v2)
08:41:00 [08:41:00.929]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:00 [08:41:00.933]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CmCPja with size: 10485760 KB (LMDB v2)
08:41:00 [08:41:00.934]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:00 [08:41:00.936]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:00 [08:41:00.938]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
08:41:00 [08:41:00.938]
INFO:
p2p:test:integration Shut down p2p clients
08:41:00 [08:41:00.941]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
08:41:11 [08:41:11.622]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:11 [08:41:11.625]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TCSUB7 with size: 10485760 KB (LMDB v2)
08:41:11 [08:41:11.625]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:11 [08:41:11.627]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bLXNRX with size: 10485760 KB (LMDB v2)
08:41:11 [08:41:11.627]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:11 [08:41:11.631]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-t47ZuN with size: 10485760 KB (LMDB v2)
08:41:11 [08:41:11.632]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:11 [08:41:11.633]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:11 [08:41:11.634]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
08:41:11 [08:41:11.634]
INFO:
p2p:test:integration Shut down p2p clients
08:41:11 [08:41:11.636]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
08:41:21 [08:41:21.670]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:21 [08:41:21.677]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-e9ZqCR with size: 10485760 KB (LMDB v2)
08:41:21 [08:41:21.678]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:21 [08:41:21.681]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-mnXlvt with size: 10485760 KB (LMDB v2)
08:41:21 [08:41:21.682]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:21 [08:41:21.687]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-RjiPZv with size: 10485760 KB (LMDB v2)
08:41:21 [08:41:21.687]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:21 [08:41:21.689]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:21 [08:41:21.690]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
08:41:21 [08:41:21.690]
INFO:
p2p:test:integration Shut down p2p clients
08:41:21 [08:41:21.693]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
08:41:32 [08:41:32.754]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:32 [08:41:32.758]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-SjJHax with size: 10485760 KB (LMDB v2)
08:41:32 [08:41:32.759]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:32 [08:41:32.763]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NWoKL2 with size: 10485760 KB (LMDB v2)
08:41:32 [08:41:32.763]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:32 [08:41:32.766]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WOOvNc with size: 10485760 KB (LMDB v2)
08:41:32 [08:41:32.766]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:32 [08:41:32.768]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:32 [08:41:32.770]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
08:41:32 [08:41:32.771]
INFO:
p2p:test:integration Shut down p2p clients
08:41:32
FAIL src/client/p2p_client.integration.test.ts (
101.511 s)
08:41:32 p2p client integration
08:41:32
✕ returns undefined if unable to find a transaction from another peer (10642 ms)
08:41:32
✕ can request a transaction from another peer (9117 ms)
08:41:32
✕ will penalize peers that send invalid proofs (9597 ms)
08:41:32
✕ will penalize peers that send the wrong transaction (10024 ms)
08:41:32
✕ will propagate messages to peers at the same version (10256 ms)
08:41:32
✕ should not disconnect clients when it returns correct status (10333 ms)
08:41:32
✕ should disconnect client when it returns status with wrong version (10694 ms)
08:41:32
✕ should disconnect client when it returns an invalid status (10056 ms)
08:41:32
✕ propagates messages using mocked gossip sub network (11079 ms)
08:41:32
08:41:32
● p2p client integration › returns undefined if unable to find a transaction from another peer
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:41:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
08:41:32
08:41:32
● p2p client integration › can request a transaction from another peer
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:41:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
08:41:32
08:41:32
● p2p client integration › will penalize peers that send invalid proofs
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:41:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
08:41:32
08:41:32
● p2p client integration › will penalize peers that send the wrong transaction
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:41:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
08:41:32
08:41:32
● p2p client integration › will propagate messages to peers at the same version
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:41:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
08:41:32
08:41:32
● p2p client integration › should not disconnect clients when it returns correct status
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
08:41:32
08:41:32
● p2p client integration › should disconnect client when it returns status with wrong version
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
08:41:32
08:41:32
● p2p client integration › should disconnect client when it returns an invalid status
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
08:41:32
08:41:32
● p2p client integration › propagates messages using mocked gossip sub network
08:41:32
08:41:32 TypeError: config.peerIdPrivateKey.getValue is not a function
08:41:32
08:41:32
140 | }
else {
08:41:32
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:41:32
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:41:32
| ^
08:41:32
143 | }
08:41:32
144 | return config.peerIdPrivateKey;
08:41:32
145 | }
08:41:32
08:41:32
at getValue (util.ts:142:67)
08:41:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:41:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:41:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:41:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:41:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
08:41:32
08:41:32
Test Suites: 1 failed, 1 total
08:41:32
Tests: 9 failed, 9 total
08:41:32
Snapshots: 0 total
08:41:32
Time: 101.625 s
08:41:32
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
08:41:32
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?