Parent Log:
http://ci.aztec-labs.com/14599c7f9b5e088f
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:50 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
08:39:50 +++ id -u
08:39:50 +++ id -g
08:39:50 ++ 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:51 + cid=3125219ff6923f74e96d5d50c6c009e8abec59a65d0705d1fa00c03b1d516e9d
08:39:51 + set +x
08:39:52 {"level":25,"time":1750754392799,"pid":7,"hostname":"3125219ff692","module":"logger","msg":"Logger initialized with level debug"}
08:40:03 [08:40:03.036]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
08:40:03 [08:40:03.143]
DEBUG:
foundation:randomness_singleton Using true randomness
08:40:03 {"level":20,"time":1750754403212,"pid":7,"hostname":"3125219ff692","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
08:40:03 {"level":20,"time":1750754403430,"pid":7,"hostname":"3125219ff692","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
08:40:13 [08:40:13.679]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:13 [08:40:13.684]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-yB3hYe with size: 10485760 KB (LMDB v2)
08:40:13 [08:40:13.685]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:13 [08:40:13.694]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4f9nKy with size: 10485760 KB (LMDB v2)
08:40:13 [08:40:13.694]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:13 [08:40:13.701]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-mNPSVj with size: 10485760 KB (LMDB v2)
08:40:13 [08:40:13.701]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:13 [08:40:13.708]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:13 [08:40:13.712]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
08:40:13 [08:40:13.712]
INFO:
p2p:test:integration Shut down p2p clients
08:40:13 [08:40:13.738]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
08:40:13 {"level":20,"time":1750754403479,"pid":7,"hostname":"3125219ff692","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
08:40:13 {"level":20,"time":1750754403480,"pid":7,"hostname":"3125219ff692","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:23 [08:40:23.164]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:23 [08:40:23.167]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-77fRkv with size: 10485760 KB (LMDB v2)
08:40:23 [08:40:23.168]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:23 [08:40:23.170]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-oywX5R with size: 10485760 KB (LMDB v2)
08:40:23 [08:40:23.170]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:23 [08:40:23.172]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ETjbEy with size: 10485760 KB (LMDB v2)
08:40:23 [08:40:23.173]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:23 [08:40:23.174]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:23 [08:40:23.175]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
08:40:23 [08:40:23.175]
INFO:
p2p:test:integration Shut down p2p clients
08:40:23 [08:40:23.178]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
08:40:32 [08:40:32.107]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:32 [08:40:32.130]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Rmc7U1 with size: 10485760 KB (LMDB v2)
08:40:32 [08:40:32.133]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:32 [08:40:32.137]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-nwuaHI with size: 10485760 KB (LMDB v2)
08:40:32 [08:40:32.137]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:32 [08:40:32.139]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-R9bXvg with size: 10485760 KB (LMDB v2)
08:40:32 [08:40:32.140]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:32 [08:40:32.142]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:32 [08:40:32.142]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
08:40:32 [08:40:32.143]
INFO:
p2p:test:integration Shut down p2p clients
08:40:32 [08:40:32.145]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
08:40:41 [08:40:41.322]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:41 [08:40:41.324]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-H34jHN with size: 10485760 KB (LMDB v2)
08:40:41 [08:40:41.324]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:41 [08:40:41.325]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VGbaO6 with size: 10485760 KB (LMDB v2)
08:40:41 [08:40:41.326]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:41 [08:40:41.327]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-e2hrFQ with size: 10485760 KB (LMDB v2)
08:40:41 [08:40:41.327]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:41 [08:40:41.328]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:41 [08:40:41.328]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
08:40:41 [08:40:41.329]
INFO:
p2p:test:integration Shut down p2p clients
08:40:41 [08:40:41.330]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
08:40:51 [08:40:51.550]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:40:51 [08:40:51.553]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-dlu6jC with size: 10485760 KB (LMDB v2)
08:40:51 [08:40:51.553]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:40:51 [08:40:51.555]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cjW4Qy with size: 10485760 KB (LMDB v2)
08:40:51 [08:40:51.556]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:40:51 [08:40:51.558]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dk65WK with size: 10485760 KB (LMDB v2)
08:40:51 [08:40:51.558]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:40:51 [08:40:51.560]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:40:51 [08:40:51.561]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
08:40:51 [08:40:51.561]
INFO:
p2p:test:integration Shut down p2p clients
08:40:51 [08:40:51.563]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
08:41:01 [08:41:01.803]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:01 [08:41:01.807]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fMHGi3 with size: 10485760 KB (LMDB v2)
08:41:01 [08:41:01.807]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:01 [08:41:01.817]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QgBtRy with size: 10485760 KB (LMDB v2)
08:41:01 [08:41:01.817]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:01 [08:41:01.821]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NoPF6Z with size: 10485760 KB (LMDB v2)
08:41:01 [08:41:01.822]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:01 [08:41:01.824]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:01 [08:41:01.825]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
08:41:01 [08:41:01.825]
INFO:
p2p:test:integration Shut down p2p clients
08:41:01 [08:41:01.827]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
08:41:12 [08:41:12.431]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:12 [08:41:12.434]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-PugiXA with size: 10485760 KB (LMDB v2)
08:41:12 [08:41:12.434]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:12 [08:41:12.436]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-fl3o12 with size: 10485760 KB (LMDB v2)
08:41:12 [08:41:12.436]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:12 [08:41:12.438]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hxbN81 with size: 10485760 KB (LMDB v2)
08:41:12 [08:41:12.438]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:12 [08:41:12.439]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:12 [08:41:12.440]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
08:41:12 [08:41:12.440]
INFO:
p2p:test:integration Shut down p2p clients
08:41:12 [08:41:12.442]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
08:41:22 [08:41:22.435]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:22 [08:41:22.437]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0Oy9o6 with size: 10485760 KB (LMDB v2)
08:41:22 [08:41:22.438]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:22 [08:41:22.440]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2wNV2T with size: 10485760 KB (LMDB v2)
08:41:22 [08:41:22.441]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:22 [08:41:22.443]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-F0BcVl with size: 10485760 KB (LMDB v2)
08:41:22 [08:41:22.443]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:22 [08:41:22.445]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:22 [08:41:22.446]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
08:41:22 [08:41:22.447]
INFO:
p2p:test:integration Shut down p2p clients
08:41:22 [08:41:22.449]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
08:41:32 [08:41:32.238]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
08:41:32 [08:41:32.241]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cJZB0q with size: 10485760 KB (LMDB v2)
08:41:32 [08:41:32.241]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
08:41:32 [08:41:32.244]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-SMD5DZ with size: 10485760 KB (LMDB v2)
08:41:32 [08:41:32.244]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
08:41:32 [08:41:32.246]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GJIci1 with size: 10485760 KB (LMDB v2)
08:41:32 [08:41:32.246]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
08:41:32 [08:41:32.247]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
08:41:32 [08:41:32.249]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
08:41:32 [08:41:32.249]
INFO:
p2p:test:integration Shut down p2p clients
08:41:32
FAIL src/client/p2p_client.integration.test.ts (
99.889 s)
08:41:32 p2p client integration
08:41:32
✕ returns undefined if unable to find a transaction from another peer (10680 ms)
08:41:32
✕ can request a transaction from another peer (9439 ms)
08:41:32
✕ will penalize peers that send invalid proofs (8966 ms)
08:41:32
✕ will penalize peers that send the wrong transaction (9185 ms)
08:41:32
✕ will propagate messages to peers at the same version (10231 ms)
08:41:32
✕ should not disconnect clients when it returns correct status (10263 ms)
08:41:32
✕ should disconnect client when it returns status with wrong version (10613 ms)
08:41:32
✕ should disconnect client when it returns an invalid status (10006 ms)
08:41:32
✕ propagates messages using mocked gossip sub network (9801 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: 100.005 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?