Parent Log: http://ci.aztec-labs.com/963630247fdd03f4 Command: 69b6d6ef87c6fae3: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/d4893155ff105399557b55c16450c39921c70d11 Env: REF_NAME=gh-readonly-queue/next/pr-15218-7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Tue Jun 24 10:29:57 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15218_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:29:57 +++ id -u 10:29:57 +++ id -g 10:29:57 ++ 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'\''' 10:29:57 + cid=24a5b2fc565cc297a537c8ab0b3d54fb7320976ea452f9b564a8d308283269b6 10:29:57 + set +x 10:29:58 {"level":25,"time":1750760998634,"pid":7,"hostname":"24a5b2fc565c","module":"logger","msg":"Logger initialized with level debug"} 10:30:04 [10:30:04.912] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:30:04 [10:30:04.982] DEBUG: foundation:randomness_singleton Using true randomness 10:30:05 {"level":20,"time":1750761005033,"pid":7,"hostname":"24a5b2fc565c","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:30:05 {"level":20,"time":1750761005183,"pid":7,"hostname":"24a5b2fc565c","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:30:14 [10:30:14.411] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:30:14 [10:30:14.414] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2nJzqF with size: 10485760 KB (LMDB v2) 10:30:14 [10:30:14.415] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:30:14 [10:30:14.419] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TNUHuL with size: 10485760 KB (LMDB v2) 10:30:14 [10:30:14.420] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:30:14 [10:30:14.421] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rPUh4n with size: 10485760 KB (LMDB v2) 10:30:14 [10:30:14.422] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:30:14 [10:30:14.423] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:30:14 [10:30:14.424] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:30:14 [10:30:14.425] INFO: p2p:test:integration Shut down p2p clients 10:30:14 [10:30:14.443] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:30:14 {"level":20,"time":1750761005206,"pid":7,"hostname":"24a5b2fc565c","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:30:14 {"level":20,"time":1750761005206,"pid":7,"hostname":"24a5b2fc565c","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"} 10:30:23 [10:30:23.662] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:30:23 [10:30:23.663] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UyCaLD with size: 10485760 KB (LMDB v2) 10:30:23 [10:30:23.663] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:30:23 [10:30:23.665] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-H3TEh1 with size: 10485760 KB (LMDB v2) 10:30:23 [10:30:23.665] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:30:23 [10:30:23.666] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-n93nF2 with size: 10485760 KB (LMDB v2) 10:30:23 [10:30:23.667] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:30:23 [10:30:23.667] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:30:23 [10:30:23.668] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:30:23 [10:30:23.668] INFO: p2p:test:integration Shut down p2p clients 10:30:23 [10:30:23.670] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:30:32 [10:30:32.919] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:30:32 [10:30:32.920] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xs9wdZ with size: 10485760 KB (LMDB v2) 10:30:32 [10:30:32.921] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:30:32 [10:30:32.922] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Xa1P2U with size: 10485760 KB (LMDB v2) 10:30:32 [10:30:32.922] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:30:32 [10:30:32.923] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-58aXIV with size: 10485760 KB (LMDB v2) 10:30:32 [10:30:32.924] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:30:32 [10:30:32.925] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:30:32 [10:30:32.925] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:30:32 [10:30:32.925] INFO: p2p:test:integration Shut down p2p clients 10:30:32 [10:30:32.927] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:30:42 [10:30:42.297] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:30:42 [10:30:42.298] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-t0t5tz with size: 10485760 KB (LMDB v2) 10:30:42 [10:30:42.299] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:30:42 [10:30:42.301] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZhVORH with size: 10485760 KB (LMDB v2) 10:30:42 [10:30:42.301] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:30:42 [10:30:42.302] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1Kie7S with size: 10485760 KB (LMDB v2) 10:30:42 [10:30:42.303] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:30:42 [10:30:42.304] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:30:42 [10:30:42.304] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:30:42 [10:30:42.304] INFO: p2p:test:integration Shut down p2p clients 10:30:42 [10:30:42.306] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:30:51 [10:30:51.746] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:30:51 [10:30:51.747] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ekNgDR with size: 10485760 KB (LMDB v2) 10:30:51 [10:30:51.747] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:30:51 [10:30:51.748] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-KW452u with size: 10485760 KB (LMDB v2) 10:30:51 [10:30:51.748] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:30:51 [10:30:51.749] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JmaD50 with size: 10485760 KB (LMDB v2) 10:30:51 [10:30:51.750] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:30:51 [10:30:51.751] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:30:51 [10:30:51.751] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:30:51 [10:30:51.751] INFO: p2p:test:integration Shut down p2p clients 10:30:51 [10:30:51.753] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:31:01 [10:31:01.214] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:31:01 [10:31:01.215] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-feUeDl with size: 10485760 KB (LMDB v2) 10:31:01 [10:31:01.215] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:31:01 [10:31:01.216] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-A2IQSM with size: 10485760 KB (LMDB v2) 10:31:01 [10:31:01.217] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:31:01 [10:31:01.217] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-jsweQO with size: 10485760 KB (LMDB v2) 10:31:01 [10:31:01.218] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:31:01 [10:31:01.218] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:31:01 [10:31:01.219] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:31:01 [10:31:01.219] INFO: p2p:test:integration Shut down p2p clients 10:31:01 [10:31:01.220] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:31:10 [10:31:10.688] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:31:10 [10:31:10.689] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6k1t2P with size: 10485760 KB (LMDB v2) 10:31:10 [10:31:10.689] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:31:10 [10:31:10.690] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-MBlQGc with size: 10485760 KB (LMDB v2) 10:31:10 [10:31:10.690] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:31:10 [10:31:10.691] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zf9Gxg with size: 10485760 KB (LMDB v2) 10:31:10 [10:31:10.691] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:31:10 [10:31:10.692] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:31:10 [10:31:10.693] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:31:10 [10:31:10.693] INFO: p2p:test:integration Shut down p2p clients 10:31:10 [10:31:10.694] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:31:20 [10:31:20.280] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:31:20 [10:31:20.292] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Kb7Nqr with size: 10485760 KB (LMDB v2) 10:31:20 [10:31:20.293] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:31:20 [10:31:20.294] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YF5X0r with size: 10485760 KB (LMDB v2) 10:31:20 [10:31:20.295] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:31:20 [10:31:20.296] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NQ8zQG with size: 10485760 KB (LMDB v2) 10:31:20 [10:31:20.296] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:31:20 [10:31:20.297] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:31:20 [10:31:20.298] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:31:20 [10:31:20.298] INFO: p2p:test:integration Shut down p2p clients 10:31:20 [10:31:20.299] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:31:30 [10:31:30.005] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:31:30 [10:31:30.006] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TQgvkP with size: 10485760 KB (LMDB v2) 10:31:30 [10:31:30.007] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:31:30 [10:31:30.008] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dstSAT with size: 10485760 KB (LMDB v2) 10:31:30 [10:31:30.008] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:31:30 [10:31:30.009] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uC5Kjx with size: 10485760 KB (LMDB v2) 10:31:30 [10:31:30.009] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:31:30 [10:31:30.010] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:31:30 [10:31:30.011] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:31:30 [10:31:30.011] INFO: p2p:test:integration Shut down p2p clients 10:31:30 FAIL src/client/p2p_client.integration.test.ts (91.664 s) 10:31:30 p2p client integration 10:31:30 returns undefined if unable to find a transaction from another peer (9515 ms) 10:31:30 can request a transaction from another peer (9228 ms) 10:31:30 will penalize peers that send invalid proofs (9256 ms) 10:31:30 will penalize peers that send the wrong transaction (9379 ms) 10:31:30 will propagate messages to peers at the same version (9447 ms) 10:31:30 should not disconnect clients when it returns correct status (9467 ms) 10:31:30 should disconnect client when it returns status with wrong version (9473 ms) 10:31:30 should disconnect client when it returns an invalid status (9604 ms) 10:31:30 propagates messages using mocked gossip sub network (9712 ms) 10:31:30 10:31:30 p2p client integration › returns undefined if unable to find a transaction from another peer 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:31:30 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:31:30 10:31:30 p2p client integration › can request a transaction from another peer 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:31:30 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:31:30 10:31:30 p2p client integration › will penalize peers that send invalid proofs 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:31:30 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:31:30 10:31:30 p2p client integration › will penalize peers that send the wrong transaction 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:31:30 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:31:30 10:31:30 p2p client integration › will propagate messages to peers at the same version 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:31:30 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:31:30 10:31:30 p2p client integration › should not disconnect clients when it returns correct status 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:31:30 10:31:30 p2p client integration › should disconnect client when it returns status with wrong version 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:31:30 10:31:30 p2p client integration › should disconnect client when it returns an invalid status 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:31:30 10:31:30 p2p client integration › propagates messages using mocked gossip sub network 10:31:30 10:31:30 TypeError: config.peerIdPrivateKey.getValue is not a function 10:31:30 10:31:30 135 | 10:31:30 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:31:30 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:31:30 | ^ 10:31:30 138 | if (peerIdPrivateKeyFilePath) { 10:31:30 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:31:30 140 | } else { 10:31:30 10:31:30 at getValue (util.ts:137:58) 10:31:30 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:31:30 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:31:30 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:31:30 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:31:30 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:31:30 10:31:30 Test Suites: 1 failed, 1 total 10:31:30 Tests: 9 failed, 9 total 10:31:30 Snapshots: 0 total 10:31:30 Time: 91.74 s 10:31:30 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:31:30 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?