Parent Log:
http://ci.aztec-labs.com/9a389be50a19927e
Command: 4f32fa69539b8ea0: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/ad85cda24c2f9b5b4b17d4921f8597b71949bb6c
Env: REF_NAME=gh-readonly-queue/next/pr-15223-87c4b689268afecc86ab007c3587e45110daa43d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 19:25:40 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15223_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
19:25:40 +++ id -u
19:25:40 +++ id -g
19:25:40 ++ 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'\'''
19:25:41 + cid=5cadbf387cd9d883c0522b97ac9c89770472bec5bf1e8433ca07fddb66a4c066
19:25:41 + set +x
19:25:42 {"level":25,"time":1750793142741,"pid":7,"hostname":"5cadbf387cd9","module":"logger","msg":"Logger initialized with level debug"}
19:25:52 [19:25:52.325]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
19:25:52 [19:25:52.435]
DEBUG:
foundation:randomness_singleton Using true randomness
19:25:53 {"level":20,"time":1750793152508,"pid":7,"hostname":"5cadbf387cd9","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
19:25:53 {"level":20,"time":1750793152735,"pid":7,"hostname":"5cadbf387cd9","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
19:26:02 [19:26:02.502]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:02 [19:26:02.508]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-KTgyju with size: 10485760 KB (LMDB v2)
19:26:02 [19:26:02.510]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:02 [19:26:02.519]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bBvh38 with size: 10485760 KB (LMDB v2)
19:26:02 [19:26:02.519]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:02 [19:26:02.522]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-YoT9EA with size: 10485760 KB (LMDB v2)
19:26:02 [19:26:02.523]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:02 [19:26:02.526]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:02 [19:26:02.528]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
19:26:02 [19:26:02.528]
INFO:
p2p:test:integration Shut down p2p clients
19:26:02 [19:26:02.562]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
19:26:03 {"level":20,"time":1750793152799,"pid":7,"hostname":"5cadbf387cd9","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
19:26:03 {"level":20,"time":1750793152803,"pid":7,"hostname":"5cadbf387cd9","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"}
19:26:11 [19:26:11.670]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:11 [19:26:11.688]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oeRvkv with size: 10485760 KB (LMDB v2)
19:26:11 [19:26:11.688]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:11 [19:26:11.691]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-zgDtYl with size: 10485760 KB (LMDB v2)
19:26:11 [19:26:11.691]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:11 [19:26:11.693]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NcHlZZ with size: 10485760 KB (LMDB v2)
19:26:11 [19:26:11.693]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:11 [19:26:11.695]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:11 [19:26:11.696]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
19:26:11 [19:26:11.697]
INFO:
p2p:test:integration Shut down p2p clients
19:26:11 [19:26:11.699]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
19:26:21 [19:26:21.126]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:21 [19:26:21.129]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Ezd5Jn with size: 10485760 KB (LMDB v2)
19:26:21 [19:26:21.130]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:21 [19:26:21.140]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-a8RDTX with size: 10485760 KB (LMDB v2)
19:26:21 [19:26:21.141]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:21 [19:26:21.143]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-7VBVtV with size: 10485760 KB (LMDB v2)
19:26:21 [19:26:21.143]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:21 [19:26:21.145]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:21 [19:26:21.146]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
19:26:21 [19:26:21.146]
INFO:
p2p:test:integration Shut down p2p clients
19:26:21 [19:26:21.149]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
19:26:30 [19:26:30.830]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:30 [19:26:30.835]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-4B1x6w with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.837]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:30 [19:26:30.846]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ob9Mao with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.847]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:30 [19:26:30.849]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-t8uw84 with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.850]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:30 [19:26:30.851]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:30 [19:26:30.852]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
19:26:30 [19:26:30.853]
INFO:
p2p:test:integration Shut down p2p clients
19:26:30 [19:26:30.856]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
19:26:40 [19:26:40.512]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:40 [19:26:40.515]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-onxB8o with size: 10485760 KB (LMDB v2)
19:26:40 [19:26:40.515]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:40 [19:26:40.518]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-l6UNJr with size: 10485760 KB (LMDB v2)
19:26:40 [19:26:40.518]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:40 [19:26:40.520]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DTKNaS with size: 10485760 KB (LMDB v2)
19:26:40 [19:26:40.521]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:40 [19:26:40.522]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:40 [19:26:40.523]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
19:26:40 [19:26:40.523]
INFO:
p2p:test:integration Shut down p2p clients
19:26:40 [19:26:40.525]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
19:26:51 [19:26:51.148]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:51 [19:26:51.151]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ICuLh7 with size: 10485760 KB (LMDB v2)
19:26:51 [19:26:51.152]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:51 [19:26:51.155]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-q5SOlL with size: 10485760 KB (LMDB v2)
19:26:51 [19:26:51.155]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:51 [19:26:51.158]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-VfKr1O with size: 10485760 KB (LMDB v2)
19:26:51 [19:26:51.158]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:51 [19:26:51.159]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:51 [19:26:51.160]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
19:26:51 [19:26:51.160]
INFO:
p2p:test:integration Shut down p2p clients
19:26:51 [19:26:51.162]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
19:27:01 [19:27:01.091]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:01 [19:27:01.095]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xm97Pr with size: 10485760 KB (LMDB v2)
19:27:01 [19:27:01.095]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:01 [19:27:01.098]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5UXq1e with size: 10485760 KB (LMDB v2)
19:27:01 [19:27:01.099]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:01 [19:27:01.102]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zCxTKC with size: 10485760 KB (LMDB v2)
19:27:01 [19:27:01.103]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:01 [19:27:01.106]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:01 [19:27:01.107]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
19:27:01 [19:27:01.107]
INFO:
p2p:test:integration Shut down p2p clients
19:27:01 [19:27:01.111]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
19:27:11 [19:27:11.929]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:11 [19:27:11.956]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jg7wjY with size: 10485760 KB (LMDB v2)
19:27:11 [19:27:11.958]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:11 [19:27:11.962]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LuAj2C with size: 10485760 KB (LMDB v2)
19:27:11 [19:27:11.962]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:11 [19:27:11.964]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6IvYLn with size: 10485760 KB (LMDB v2)
19:27:11 [19:27:11.964]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:11 [19:27:11.966]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:11 [19:27:11.967]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
19:27:11 [19:27:11.967]
INFO:
p2p:test:integration Shut down p2p clients
19:27:11 [19:27:11.969]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
19:27:22 [19:27:22.144]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:22 [19:27:22.147]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-j9nbhx with size: 10485760 KB (LMDB v2)
19:27:22 [19:27:22.147]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:22 [19:27:22.151]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IZHGmC with size: 10485760 KB (LMDB v2)
19:27:22 [19:27:22.151]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:22 [19:27:22.154]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uRKGMQ with size: 10485760 KB (LMDB v2)
19:27:22 [19:27:22.155]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:22 [19:27:22.157]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:22 [19:27:22.158]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
19:27:22 [19:27:22.159]
INFO:
p2p:test:integration Shut down p2p clients
19:27:22
FAIL src/client/p2p_client.integration.test.ts (
99.79 s)
19:27:22 p2p client integration
19:27:22
✕ returns undefined if unable to find a transaction from another peer (10207 ms)
19:27:22
✕ can request a transaction from another peer (9137 ms)
19:27:22
✕ will penalize peers that send invalid proofs (9449 ms)
19:27:22
✕ will penalize peers that send the wrong transaction (9705 ms)
19:27:22
✕ will propagate messages to peers at the same version (9668 ms)
19:27:22
✕ should not disconnect clients when it returns correct status (10636 ms)
19:27:22
✕ should disconnect client when it returns status with wrong version (9945 ms)
19:27:22
✕ should disconnect client when it returns an invalid status (10857 ms)
19:27:22
✕ propagates messages using mocked gossip sub network (10191 ms)
19:27:22
19:27:22
● p2p client integration › returns undefined if unable to find a transaction from another peer
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
19:27:22
19:27:22
● p2p client integration › can request a transaction from another peer
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
19:27:22
19:27:22
● p2p client integration › will penalize peers that send invalid proofs
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
19:27:22
19:27:22
● p2p client integration › will penalize peers that send the wrong transaction
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
19:27:22
19:27:22
● p2p client integration › will propagate messages to peers at the same version
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
19:27:22
19:27:22
● p2p client integration › should not disconnect clients when it returns correct status
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
19:27:22
19:27:22
● p2p client integration › should disconnect client when it returns status with wrong version
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
19:27:22
19:27:22
● p2p client integration › should disconnect client when it returns an invalid status
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
19:27:22
19:27:22
● p2p client integration › propagates messages using mocked gossip sub network
19:27:22
19:27:22 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:22
19:27:22
135 |
19:27:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:22
| ^
19:27:22
138 | if (peerIdPrivateKeyFilePath) {
19:27:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:22
140 | } else {
19:27:22
19:27:22
at getValue (util.ts:137:58)
19:27:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
19:27:22
19:27:22
Test Suites: 1 failed, 1 total
19:27:22
Tests: 9 failed, 9 total
19:27:22
Snapshots: 0 total
19:27:22
Time: 99.895 s
19:27:22
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
19:27:22
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?