Parent Log: http://ci.aztec-labs.com/56f7b3d822399778 Command: 1e8a20cfb3d4c3ff: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=0 Date: Tue Jun 24 19:27:44 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15223_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 19:27:44 +++ id -u 19:27:44 +++ id -g 19:27:44 ++ 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'\''' 19:27:44 + cid=bc8d5407dedd4d2a3f09ed7929286f2c52ffc75218dc99b6039b06a26a0fa14e 19:27:44 + set +x 19:27:45 {"level":25,"time":1750793265394,"pid":7,"hostname":"bc8d5407dedd","module":"logger","msg":"Logger initialized with level debug"} 19:27:51 [19:27:51.598] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 19:27:51 [19:27:51.667] DEBUG: foundation:randomness_singleton Using true randomness 19:27:52 {"level":20,"time":1750793271709,"pid":7,"hostname":"bc8d5407dedd","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 19:27:52 {"level":20,"time":1750793271883,"pid":7,"hostname":"bc8d5407dedd","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 19:27:59 [19:27:59.370] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:27:59 [19:27:59.372] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qBlLVO with size: 10485760 KB (LMDB v2) 19:27:59 [19:27:59.373] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:27:59 [19:27:59.378] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ulP8so with size: 10485760 KB (LMDB v2) 19:27:59 [19:27:59.378] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:27:59 [19:27:59.379] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Qhzn4U with size: 10485760 KB (LMDB v2) 19:27:59 [19:27:59.380] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:27:59 [19:27:59.382] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:27:59 [19:27:59.383] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 19:27:59 [19:27:59.383] INFO: p2p:test:integration Shut down p2p clients 19:27:59 [19:27:59.401] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 19:28:00 {"level":20,"time":1750793271907,"pid":7,"hostname":"bc8d5407dedd","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 19:28:00 {"level":20,"time":1750793271907,"pid":7,"hostname":"bc8d5407dedd","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:28:06 [19:28:06.783] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:06 [19:28:06.784] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gexpB3 with size: 10485760 KB (LMDB v2) 19:28:06 [19:28:06.785] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:06 [19:28:06.786] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-eDAzys with size: 10485760 KB (LMDB v2) 19:28:06 [19:28:06.786] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:06 [19:28:06.788] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-MwECiZ with size: 10485760 KB (LMDB v2) 19:28:06 [19:28:06.788] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:06 [19:28:06.789] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:06 [19:28:06.789] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 19:28:06 [19:28:06.790] INFO: p2p:test:integration Shut down p2p clients 19:28:06 [19:28:06.791] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 19:28:14 [19:28:14.199] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:14 [19:28:14.200] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-HdfM4Y with size: 10485760 KB (LMDB v2) 19:28:14 [19:28:14.201] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:14 [19:28:14.202] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IOI8AH with size: 10485760 KB (LMDB v2) 19:28:14 [19:28:14.203] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:14 [19:28:14.204] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PDQvbd with size: 10485760 KB (LMDB v2) 19:28:14 [19:28:14.204] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:14 [19:28:14.205] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:14 [19:28:14.205] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 19:28:14 [19:28:14.206] INFO: p2p:test:integration Shut down p2p clients 19:28:14 [19:28:14.207] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 19:28:22 [19:28:22.088] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:22 [19:28:22.099] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UuBeTW with size: 10485760 KB (LMDB v2) 19:28:22 [19:28:22.100] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:22 [19:28:22.101] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bzKhtZ with size: 10485760 KB (LMDB v2) 19:28:22 [19:28:22.101] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:22 [19:28:22.102] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-MGb1jx with size: 10485760 KB (LMDB v2) 19:28:22 [19:28:22.102] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:22 [19:28:22.103] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:22 [19:28:22.103] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 19:28:22 [19:28:22.104] INFO: p2p:test:integration Shut down p2p clients 19:28:22 [19:28:22.105] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 19:28:29 [19:28:29.914] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:29 [19:28:29.915] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-b5NCjR with size: 10485760 KB (LMDB v2) 19:28:29 [19:28:29.915] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:29 [19:28:29.916] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-rQf1wj with size: 10485760 KB (LMDB v2) 19:28:29 [19:28:29.916] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:29 [19:28:29.917] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-7XljDX with size: 10485760 KB (LMDB v2) 19:28:29 [19:28:29.918] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:29 [19:28:29.918] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:29 [19:28:29.919] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 19:28:29 [19:28:29.919] INFO: p2p:test:integration Shut down p2p clients 19:28:29 [19:28:29.920] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 19:28:37 [19:28:37.861] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:37 [19:28:37.862] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uU7QZ6 with size: 10485760 KB (LMDB v2) 19:28:37 [19:28:37.862] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:37 [19:28:37.863] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-A3I6vh with size: 10485760 KB (LMDB v2) 19:28:37 [19:28:37.864] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:37 [19:28:37.866] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nSucT2 with size: 10485760 KB (LMDB v2) 19:28:37 [19:28:37.866] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:37 [19:28:37.867] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:37 [19:28:37.868] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 19:28:37 [19:28:37.868] INFO: p2p:test:integration Shut down p2p clients 19:28:37 [19:28:37.869] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 19:28:45 [19:28:45.751] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:45 [19:28:45.752] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-vSggn1 with size: 10485760 KB (LMDB v2) 19:28:45 [19:28:45.752] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:45 [19:28:45.753] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-98oCzU with size: 10485760 KB (LMDB v2) 19:28:45 [19:28:45.753] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:45 [19:28:45.754] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Aj7Mwp with size: 10485760 KB (LMDB v2) 19:28:45 [19:28:45.754] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:45 [19:28:45.755] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:45 [19:28:45.756] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 19:28:45 [19:28:45.756] INFO: p2p:test:integration Shut down p2p clients 19:28:45 [19:28:45.757] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 19:28:53 [19:28:53.665] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:28:53 [19:28:53.666] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Silqqg with size: 10485760 KB (LMDB v2) 19:28:53 [19:28:53.666] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:28:53 [19:28:53.667] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DGdDuT with size: 10485760 KB (LMDB v2) 19:28:53 [19:28:53.667] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:28:53 [19:28:53.668] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Y4ql4m with size: 10485760 KB (LMDB v2) 19:28:53 [19:28:53.668] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:28:53 [19:28:53.669] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:28:53 [19:28:53.669] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 19:28:53 [19:28:53.669] INFO: p2p:test:integration Shut down p2p clients 19:28:53 [19:28:53.670] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 19:29:01 [19:29:01.695] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:29:01 [19:29:01.697] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1BW0sX with size: 10485760 KB (LMDB v2) 19:29:01 [19:29:01.697] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:29:01 [19:29:01.698] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-yZIOJZ with size: 10485760 KB (LMDB v2) 19:29:01 [19:29:01.698] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:29:01 [19:29:01.699] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-15VPcL with size: 10485760 KB (LMDB v2) 19:29:01 [19:29:01.699] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:29:01 [19:29:01.700] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:29:01 [19:29:01.701] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 19:29:01 [19:29:01.701] INFO: p2p:test:integration Shut down p2p clients 19:29:01 FAIL src/client/p2p_client.integration.test.ts (76.57 s) 19:29:01 p2p client integration 19:29:01 returns undefined if unable to find a transaction from another peer (7788 ms) 19:29:01 can request a transaction from another peer (7390 ms) 19:29:01 will penalize peers that send invalid proofs (7415 ms) 19:29:01 will penalize peers that send the wrong transaction (7897 ms) 19:29:01 will propagate messages to peers at the same version (7814 ms) 19:29:01 should not disconnect clients when it returns correct status (7948 ms) 19:29:01 should disconnect client when it returns status with wrong version (7887 ms) 19:29:01 should disconnect client when it returns an invalid status (7913 ms) 19:29:01 propagates messages using mocked gossip sub network (8031 ms) 19:29:01 19:29:01 p2p client integration › returns undefined if unable to find a transaction from another peer 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:29:01 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 19:29:01 19:29:01 p2p client integration › can request a transaction from another peer 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:29:01 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 19:29:01 19:29:01 p2p client integration › will penalize peers that send invalid proofs 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:29:01 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 19:29:01 19:29:01 p2p client integration › will penalize peers that send the wrong transaction 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:29:01 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 19:29:01 19:29:01 p2p client integration › will propagate messages to peers at the same version 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:29:01 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 19:29:01 19:29:01 p2p client integration › should not disconnect clients when it returns correct status 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 19:29:01 19:29:01 p2p client integration › should disconnect client when it returns status with wrong version 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 19:29:01 19:29:01 p2p client integration › should disconnect client when it returns an invalid status 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 19:29:01 19:29:01 p2p client integration › propagates messages using mocked gossip sub network 19:29:01 19:29:01 TypeError: config.peerIdPrivateKey.getValue is not a function 19:29:01 19:29:01 135 | 19:29:01 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:29:01 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:29:01 | ^ 19:29:01 138 | if (peerIdPrivateKeyFilePath) { 19:29:01 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:29:01 140 | } else { 19:29:01 19:29:01 at getValue (util.ts:137:58) 19:29:01 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:29:01 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:29:01 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:29:01 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:29:01 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 19:29:01 19:29:01 Test Suites: 1 failed, 1 total 19:29:01 Tests: 9 failed, 9 total 19:29:01 Snapshots: 0 total 19:29:01 Time: 76.649 s 19:29:01 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 19:29:01 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?