Parent Log:
http://ci.aztec-labs.com/95979217b3f59e6f
Command: 2f76ae4bba915073: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/87c4b689268afecc86ab007c3587e45110daa43d
Env: REF_NAME=gh-readonly-queue/next/pr-15220-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 16:34:36 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15220_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
16:34:37 +++ id -u
16:34:37 +++ id -g
16:34:37 ++ 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'\'''
16:34:37 + cid=c89949a12a4210dadd5a7b7aa7e2ccd8446593ed4cb2b750573eacb7c3cb3318
16:34:37 + set +x
16:34:38 {"level":25,"time":1750782878748,"pid":7,"hostname":"c89949a12a42","module":"logger","msg":"Logger initialized with level debug"}
16:34:48 [16:34:48.311]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
16:34:48 [16:34:48.398]
DEBUG:
foundation:randomness_singleton Using true randomness
16:34:49 {"level":20,"time":1750782888440,"pid":7,"hostname":"c89949a12a42","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
16:34:49 {"level":20,"time":1750782888680,"pid":7,"hostname":"c89949a12a42","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
16:34:58 [16:34:58.716]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:34:58 [16:34:58.722]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-eioqgx with size: 10485760 KB (LMDB v2)
16:34:58 [16:34:58.723]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:34:58 [16:34:58.732]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-x101yF with size: 10485760 KB (LMDB v2)
16:34:58 [16:34:58.732]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:34:58 [16:34:58.734]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-51pmq1 with size: 10485760 KB (LMDB v2)
16:34:58 [16:34:58.735]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:34:58 [16:34:58.737]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:34:58 [16:34:58.739]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
16:34:58 [16:34:58.739]
INFO:
p2p:test:integration Shut down p2p clients
16:34:58 [16:34:58.761]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
16:34:59 {"level":20,"time":1750782888716,"pid":7,"hostname":"c89949a12a42","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
16:34:59 {"level":20,"time":1750782888716,"pid":7,"hostname":"c89949a12a42","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"}
16:35:07 [16:35:07.687]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:07 [16:35:07.690]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-vL662l with size: 10485760 KB (LMDB v2)
16:35:07 [16:35:07.691]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:07 [16:35:07.694]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZOrpBj with size: 10485760 KB (LMDB v2)
16:35:07 [16:35:07.694]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:07 [16:35:07.696]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-iHHLMX with size: 10485760 KB (LMDB v2)
16:35:07 [16:35:07.696]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:07 [16:35:07.698]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:07 [16:35:07.699]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
16:35:07 [16:35:07.699]
INFO:
p2p:test:integration Shut down p2p clients
16:35:07 [16:35:07.702]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
16:35:17 [16:35:17.284]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:17 [16:35:17.290]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gW8D8b with size: 10485760 KB (LMDB v2)
16:35:17 [16:35:17.291]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:17 [16:35:17.295]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uUd4du with size: 10485760 KB (LMDB v2)
16:35:17 [16:35:17.295]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:17 [16:35:17.298]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-KigtYz with size: 10485760 KB (LMDB v2)
16:35:17 [16:35:17.298]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:17 [16:35:17.300]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:17 [16:35:17.301]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
16:35:17 [16:35:17.302]
INFO:
p2p:test:integration Shut down p2p clients
16:35:17 [16:35:17.304]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
16:35:27 [16:35:27.712]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:27 [16:35:27.715]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1egdkY with size: 10485760 KB (LMDB v2)
16:35:27 [16:35:27.716]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:27 [16:35:27.719]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HInXax with size: 10485760 KB (LMDB v2)
16:35:27 [16:35:27.720]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:27 [16:35:27.722]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5yFSCj with size: 10485760 KB (LMDB v2)
16:35:27 [16:35:27.723]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:27 [16:35:27.725]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:27 [16:35:27.726]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
16:35:27 [16:35:27.726]
INFO:
p2p:test:integration Shut down p2p clients
16:35:27 [16:35:27.729]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
16:35:37 [16:35:37.360]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:37 [16:35:37.382]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-VAUJ2N with size: 10485760 KB (LMDB v2)
16:35:37 [16:35:37.383]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:37 [16:35:37.392]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-vbYImJ with size: 10485760 KB (LMDB v2)
16:35:37 [16:35:37.392]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:37 [16:35:37.395]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ov9RSa with size: 10485760 KB (LMDB v2)
16:35:37 [16:35:37.395]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:37 [16:35:37.398]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:37 [16:35:37.400]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
16:35:37 [16:35:37.400]
INFO:
p2p:test:integration Shut down p2p clients
16:35:37 [16:35:37.404]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
16:35:47 [16:35:47.910]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:47 [16:35:47.913]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ryoENb with size: 10485760 KB (LMDB v2)
16:35:47 [16:35:47.913]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:47 [16:35:47.916]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Yq8HYM with size: 10485760 KB (LMDB v2)
16:35:47 [16:35:47.916]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:47 [16:35:47.918]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-M5O0Ik with size: 10485760 KB (LMDB v2)
16:35:47 [16:35:47.918]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:47 [16:35:47.920]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:47 [16:35:47.921]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
16:35:47 [16:35:47.921]
INFO:
p2p:test:integration Shut down p2p clients
16:35:47 [16:35:47.923]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
16:35:57 [16:35:57.988]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:57 [16:35:57.991]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jTGOSO with size: 10485760 KB (LMDB v2)
16:35:57 [16:35:57.991]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:57 [16:35:57.999]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-qMCC7j with size: 10485760 KB (LMDB v2)
16:35:57 [16:35:57.999]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:58 [16:35:58.001]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-lUoUFW with size: 10485760 KB (LMDB v2)
16:35:58 [16:35:58.002]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:58 [16:35:58.004]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:58 [16:35:58.006]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
16:35:58 [16:35:58.006]
INFO:
p2p:test:integration Shut down p2p clients
16:35:58 [16:35:58.009]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
16:36:07 [16:36:07.722]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:07 [16:36:07.725]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-5vFAWW with size: 10485760 KB (LMDB v2)
16:36:07 [16:36:07.725]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:07 [16:36:07.728]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tMIFxO with size: 10485760 KB (LMDB v2)
16:36:07 [16:36:07.728]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:07 [16:36:07.730]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-W91lAF with size: 10485760 KB (LMDB v2)
16:36:07 [16:36:07.730]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:07 [16:36:07.732]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:07 [16:36:07.733]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
16:36:07 [16:36:07.733]
INFO:
p2p:test:integration Shut down p2p clients
16:36:07 [16:36:07.736]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
16:36:18 [16:36:18.342]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:18 [16:36:18.371]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0O0zxm with size: 10485760 KB (LMDB v2)
16:36:18 [16:36:18.379]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:18 [16:36:18.396]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-PfwqES with size: 10485760 KB (LMDB v2)
16:36:18 [16:36:18.397]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:18 [16:36:18.407]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-mwatuV with size: 10485760 KB (LMDB v2)
16:36:18 [16:36:18.408]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:18 [16:36:18.412]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:18 [16:36:18.415]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
16:36:18 [16:36:18.416]
INFO:
p2p:test:integration Shut down p2p clients
16:36:18
FAIL src/client/p2p_client.integration.test.ts (
99.984 s)
16:36:18 p2p client integration
16:36:18
✕ returns undefined if unable to find a transaction from another peer (10432 ms)
16:36:18
✕ can request a transaction from another peer (8939 ms)
16:36:18
✕ will penalize peers that send invalid proofs (9601 ms)
16:36:18
✕ will penalize peers that send the wrong transaction (10423 ms)
16:36:18
✕ will propagate messages to peers at the same version (9673 ms)
16:36:18
✕ should not disconnect clients when it returns correct status (10518 ms)
16:36:18
✕ should disconnect client when it returns status with wrong version (10084 ms)
16:36:18
✕ should disconnect client when it returns an invalid status (9726 ms)
16:36:18
✕ propagates messages using mocked gossip sub network (10682 ms)
16:36:18
16:36:18
● p2p client integration › returns undefined if unable to find a transaction from another peer
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:18
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
16:36:18
16:36:18
● p2p client integration › can request a transaction from another peer
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:18
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
16:36:18
16:36:18
● p2p client integration › will penalize peers that send invalid proofs
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:18
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
16:36:18
16:36:18
● p2p client integration › will penalize peers that send the wrong transaction
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:18
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
16:36:18
16:36:18
● p2p client integration › will propagate messages to peers at the same version
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:18
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
16:36:18
16:36:18
● p2p client integration › should not disconnect clients when it returns correct status
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
16:36:18
16:36:18
● p2p client integration › should disconnect client when it returns status with wrong version
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
16:36:18
16:36:18
● p2p client integration › should disconnect client when it returns an invalid status
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
16:36:18
16:36:18
● p2p client integration › propagates messages using mocked gossip sub network
16:36:18
16:36:18 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:18
16:36:18
135 |
16:36:18
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:18
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:18
| ^
16:36:18
138 | if (peerIdPrivateKeyFilePath) {
16:36:18
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:18
140 | } else {
16:36:18
16:36:18
at getValue (util.ts:137:58)
16:36:18
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:18
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:18
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:18
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:18
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
16:36:18
16:36:18
Test Suites: 1 failed, 1 total
16:36:18
Tests: 9 failed, 9 total
16:36:18
Snapshots: 0 total
16:36:18
Time: 100.072 s
16:36:18
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
16:36:18
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?