Parent Log:
http://ci.aztec-labs.com/8987cc544dfadd81
Command: 766c06d3b41e663f: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=0
Date: Tue Jun 24 08:44:23 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15229_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
08:44:23 +++ id -u
08:44:23 +++ id -g
08:44:23 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-63 --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:44:23 + cid=f30740a7a6178d14b1de845697838d7e8994f36c6d6954784667c0e0796c0a85
08:44:23 + set +x
08:44:24 {"level":25,"time":1750754664647,"pid":7,"hostname":"f30740a7a617","module":"logger","msg":"Logger initialized with level debug"}
08:44:30 [08:44:30.898]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
08:44:30 [08:44:30.966]
DEBUG:
foundation:randomness_singleton Using true randomness
08:44:31 {"level":20,"time":1750754671018,"pid":7,"hostname":"f30740a7a617","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
08:44:31 {"level":20,"time":1750754671174,"pid":7,"hostname":"f30740a7a617","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
08:44:39 [08:44:39.844]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:44:39 [08:44:39.846]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-PcTvHO with size: 10485760 KB (LMDB v2)
08:44:39 [08:44:39.847]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:44:39 [08:44:39.852]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-GRjS8D with size: 10485760 KB (LMDB v2)
08:44:39 [08:44:39.852]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:44:39 [08:44:39.853]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Spe1pC with size: 10485760 KB (LMDB v2)
08:44:39 [08:44:39.854]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:44:39 [08:44:39.856]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:44:39 [08:44:39.857]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
08:44:39 [08:44:39.858]
INFO:
p2p:test:integration Shut down p2p clients
08:44:39 [08:44:39.875]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
08:44:40 {"level":20,"time":1750754671223,"pid":7,"hostname":"f30740a7a617","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
08:44:40 {"level":20,"time":1750754671223,"pid":7,"hostname":"f30740a7a617","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:44:48 [08:44:48.482]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:44:48 [08:44:48.483]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-P6mp65 with size: 10485760 KB (LMDB v2)
08:44:48 [08:44:48.483]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:44:48 [08:44:48.484]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-plLTpN with size: 10485760 KB (LMDB v2)
08:44:48 [08:44:48.485]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:44:48 [08:44:48.486]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-e6aTFG with size: 10485760 KB (LMDB v2)
08:44:48 [08:44:48.486]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:44:48 [08:44:48.487]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:44:48 [08:44:48.488]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
08:44:48 [08:44:48.488]
INFO:
p2p:test:integration Shut down p2p clients
08:44:48 [08:44:48.490]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
08:44:57 [08:44:57.174]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:44:57 [08:44:57.175]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gLdiho with size: 10485760 KB (LMDB v2)
08:44:57 [08:44:57.175]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:44:57 [08:44:57.176]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-P27fjk with size: 10485760 KB (LMDB v2)
08:44:57 [08:44:57.177]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:44:57 [08:44:57.177]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-H6l2W1 with size: 10485760 KB (LMDB v2)
08:44:57 [08:44:57.178]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:44:57 [08:44:57.179]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:44:57 [08:44:57.179]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
08:44:57 [08:44:57.179]
INFO:
p2p:test:integration Shut down p2p clients
08:44:57 [08:44:57.181]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
08:45:05 [08:45:05.970]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:45:05 [08:45:05.981]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QYFC8u with size: 10485760 KB (LMDB v2)
08:45:05 [08:45:05.982]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:45:05 [08:45:05.983]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Q3Ejyq with size: 10485760 KB (LMDB v2)
08:45:05 [08:45:05.983]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:45:05 [08:45:05.984]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NKDoqc with size: 10485760 KB (LMDB v2)
08:45:05 [08:45:05.984]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:45:05 [08:45:05.985]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:45:05 [08:45:05.986]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
08:45:05 [08:45:05.986]
INFO:
p2p:test:integration Shut down p2p clients
08:45:05 [08:45:05.988]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
08:45:14 [08:45:14.884]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:45:14 [08:45:14.885]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-w5sgDK with size: 10485760 KB (LMDB v2)
08:45:14 [08:45:14.885]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:45:14 [08:45:14.886]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-N9iBMQ with size: 10485760 KB (LMDB v2)
08:45:14 [08:45:14.886]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:45:14 [08:45:14.887]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-adpcTw with size: 10485760 KB (LMDB v2)
08:45:14 [08:45:14.888]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:45:14 [08:45:14.888]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:45:14 [08:45:14.889]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
08:45:14 [08:45:14.889]
INFO:
p2p:test:integration Shut down p2p clients
08:45:14 [08:45:14.890]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
08:45:23 [08:45:23.736]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:45:23 [08:45:23.737]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zqWZaL with size: 10485760 KB (LMDB v2)
08:45:23 [08:45:23.738]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:45:23 [08:45:23.738]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jCO4Vq with size: 10485760 KB (LMDB v2)
08:45:23 [08:45:23.739]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:45:23 [08:45:23.740]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2JZdny with size: 10485760 KB (LMDB v2)
08:45:23 [08:45:23.740]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:45:23 [08:45:23.740]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:45:23 [08:45:23.741]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
08:45:23 [08:45:23.741]
INFO:
p2p:test:integration Shut down p2p clients
08:45:23 [08:45:23.743]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
08:45:32 [08:45:32.649]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:45:32 [08:45:32.650]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lKWSaJ with size: 10485760 KB (LMDB v2)
08:45:32 [08:45:32.651]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:45:32 [08:45:32.651]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3N3rOr with size: 10485760 KB (LMDB v2)
08:45:32 [08:45:32.652]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:45:32 [08:45:32.653]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5z3c4n with size: 10485760 KB (LMDB v2)
08:45:32 [08:45:32.653]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:45:32 [08:45:32.654]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:45:32 [08:45:32.655]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
08:45:32 [08:45:32.655]
INFO:
p2p:test:integration Shut down p2p clients
08:45:32 [08:45:32.656]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
08:45:41 [08:45:41.507]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:45:41 [08:45:41.519]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-16eIPH with size: 10485760 KB (LMDB v2)
08:45:41 [08:45:41.519]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:45:41 [08:45:41.520]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-l7BvcG with size: 10485760 KB (LMDB v2)
08:45:41 [08:45:41.520]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:45:41 [08:45:41.521]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uTsPZM with size: 10485760 KB (LMDB v2)
08:45:41 [08:45:41.521]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:45:41 [08:45:41.522]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:45:41 [08:45:41.523]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
08:45:41 [08:45:41.523]
INFO:
p2p:test:integration Shut down p2p clients
08:45:41 [08:45:41.524]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
08:45:50 [08:45:50.646]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:45:50 [08:45:50.647]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-yenMUl with size: 10485760 KB (LMDB v2)
08:45:50 [08:45:50.647]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:45:50 [08:45:50.648]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YULu8b with size: 10485760 KB (LMDB v2)
08:45:50 [08:45:50.649]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:45:50 [08:45:50.649]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SODrSg with size: 10485760 KB (LMDB v2)
08:45:50 [08:45:50.650]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:45:50 [08:45:50.650]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:45:50 [08:45:50.651]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
08:45:50 [08:45:50.651]
INFO:
p2p:test:integration Shut down p2p clients
08:45:50
FAIL src/client/p2p_client.integration.test.ts (
86.281 s)
08:45:50 p2p client integration
08:45:50
✕ returns undefined if unable to find a transaction from another peer (8962 ms)
08:45:50
✕ can request a transaction from another peer (8614 ms)
08:45:50
✕ will penalize peers that send invalid proofs (8691 ms)
08:45:50
✕ will penalize peers that send the wrong transaction (8806 ms)
08:45:50
✕ will propagate messages to peers at the same version (8902 ms)
08:45:50
✕ should not disconnect clients when it returns correct status (8851 ms)
08:45:50
✕ should disconnect client when it returns status with wrong version (8913 ms)
08:45:50
✕ should disconnect client when it returns an invalid status (8867 ms)
08:45:50
✕ propagates messages using mocked gossip sub network (9129 ms)
08:45:50
08:45:50
● p2p client integration › returns undefined if unable to find a transaction from another peer
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:45:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
08:45:50
08:45:50
● p2p client integration › can request a transaction from another peer
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:45:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
08:45:50
08:45:50
● p2p client integration › will penalize peers that send invalid proofs
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:45:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
08:45:50
08:45:50
● p2p client integration › will penalize peers that send the wrong transaction
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:45:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
08:45:50
08:45:50
● p2p client integration › will propagate messages to peers at the same version
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:45:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
08:45:50
08:45:50
● p2p client integration › should not disconnect clients when it returns correct status
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
08:45:50
08:45:50
● p2p client integration › should disconnect client when it returns status with wrong version
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
08:45:50
08:45:50
● p2p client integration › should disconnect client when it returns an invalid status
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
08:45:50
08:45:50
● p2p client integration › propagates messages using mocked gossip sub network
08:45:50
08:45:50 TypeError: config.peerIdPrivateKey.getValue is not a function
08:45:50
08:45:50
140 | }
else {
08:45:50
141 | peerIdPrivateKeySingleton = store.openSingleton<string>('peerIdPrivateKey');
08:45:50
> 142 | await peerIdPrivateKeySingleton.set(config.peerIdPrivateKey.getValue());
08:45:50
| ^
08:45:50
143 | }
08:45:50
144 | return config.peerIdPrivateKey;
08:45:50
145 | }
08:45:50
08:45:50
at getValue (util.ts:142:67)
08:45:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
08:45:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
08:45:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
08:45:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
08:45:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
08:45:50
08:45:50
Test Suites: 1 failed, 1 total
08:45:50
Tests: 9 failed, 9 total
08:45:50
Snapshots: 0 total
08:45:50
Time: 86.359 s
08:45:50
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
08:45:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?