Parent Log: http://ci.aztec-labs.com/63d6054517662e68 Command: e4e37220d2336322: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/282da3bd25d49b92970e6fc85f110092e8566299 Env: REF_NAME=gh-readonly-queue/next/pr-14610-ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 14:17:58 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 14:17:58 +++ id -u 14:17:58 +++ id -g 14:17:58 ++ 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'\''' 14:17:58 + cid=566ee57006060cb419e7952f32f8bb54226a778da55bb8dc45dae5fda2691c23 14:17:58 + set +x 14:18:00 {"level":25,"time":1750774680097,"pid":7,"hostname":"566ee5700606","module":"logger","msg":"Logger initialized with level debug"} 14:18:09 [14:18:09.487] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 14:18:09 [14:18:09.590] DEBUG: foundation:randomness_singleton Using true randomness 14:18:10 {"level":20,"time":1750774689661,"pid":7,"hostname":"566ee5700606","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 14:18:10 {"level":20,"time":1750774689898,"pid":7,"hostname":"566ee5700606","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 14:18:20 [14:18:20.168] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:20 [14:18:20.174] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JYuFNc with size: 10485760 KB (LMDB v2) 14:18:20 [14:18:20.175] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:20 [14:18:20.185] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-F48wmF with size: 10485760 KB (LMDB v2) 14:18:20 [14:18:20.186] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:20 [14:18:20.190] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bmFbLK with size: 10485760 KB (LMDB v2) 14:18:20 [14:18:20.192] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:20 [14:18:20.199] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:20 [14:18:20.203] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 14:18:20 [14:18:20.204] INFO: p2p:test:integration Shut down p2p clients 14:18:20 [14:18:20.244] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 14:18:20 {"level":20,"time":1750774689952,"pid":7,"hostname":"566ee5700606","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 14:18:20 {"level":20,"time":1750774689953,"pid":7,"hostname":"566ee5700606","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"} 14:18:29 [14:18:29.631] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:29 [14:18:29.645] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bZU9eL with size: 10485760 KB (LMDB v2) 14:18:29 [14:18:29.645] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:29 [14:18:29.648] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-96d1GN with size: 10485760 KB (LMDB v2) 14:18:29 [14:18:29.648] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:29 [14:18:29.650] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-mtgHyC with size: 10485760 KB (LMDB v2) 14:18:29 [14:18:29.650] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:29 [14:18:29.654] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:29 [14:18:29.655] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 14:18:29 [14:18:29.655] INFO: p2p:test:integration Shut down p2p clients 14:18:29 [14:18:29.658] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 14:18:39 [14:18:39.060] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:39 [14:18:39.063] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8eaWrZ with size: 10485760 KB (LMDB v2) 14:18:39 [14:18:39.063] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:39 [14:18:39.067] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HwOt5i with size: 10485760 KB (LMDB v2) 14:18:39 [14:18:39.067] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:39 [14:18:39.073] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-exEECD with size: 10485760 KB (LMDB v2) 14:18:39 [14:18:39.074] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:39 [14:18:39.077] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:39 [14:18:39.079] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 14:18:39 [14:18:39.079] INFO: p2p:test:integration Shut down p2p clients 14:18:39 [14:18:39.082] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 14:18:48 [14:18:48.842] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:48 [14:18:48.844] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ZcQ0Mt with size: 10485760 KB (LMDB v2) 14:18:48 [14:18:48.844] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:48 [14:18:48.847] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ickjjU with size: 10485760 KB (LMDB v2) 14:18:48 [14:18:48.847] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:48 [14:18:48.852] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yJ3mHq with size: 10485760 KB (LMDB v2) 14:18:48 [14:18:48.853] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:48 [14:18:48.858] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:48 [14:18:48.859] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 14:18:48 [14:18:48.860] INFO: p2p:test:integration Shut down p2p clients 14:18:48 [14:18:48.863] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 14:18:59 [14:18:59.073] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:59 [14:18:59.076] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-j2BHlW with size: 10485760 KB (LMDB v2) 14:18:59 [14:18:59.077] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:59 [14:18:59.081] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-i3NI5T with size: 10485760 KB (LMDB v2) 14:18:59 [14:18:59.081] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:59 [14:18:59.083] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-KJIygk with size: 10485760 KB (LMDB v2) 14:18:59 [14:18:59.084] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:59 [14:18:59.089] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:59 [14:18:59.090] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 14:18:59 [14:18:59.091] INFO: p2p:test:integration Shut down p2p clients 14:18:59 [14:18:59.093] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 14:19:09 [14:19:09.642] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:09 [14:19:09.645] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Xdg5VI with size: 10485760 KB (LMDB v2) 14:19:09 [14:19:09.645] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:09 [14:19:09.647] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-fMGfHO with size: 10485760 KB (LMDB v2) 14:19:09 [14:19:09.648] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:09 [14:19:09.649] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-T7w1jy with size: 10485760 KB (LMDB v2) 14:19:09 [14:19:09.649] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:09 [14:19:09.651] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:09 [14:19:09.652] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 14:19:09 [14:19:09.652] INFO: p2p:test:integration Shut down p2p clients 14:19:09 [14:19:09.653] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 14:19:20 [14:19:20.272] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:20 [14:19:20.292] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9QEsDM with size: 10485760 KB (LMDB v2) 14:19:20 [14:19:20.295] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:20 [14:19:20.298] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-FMOhQR with size: 10485760 KB (LMDB v2) 14:19:20 [14:19:20.298] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:20 [14:19:20.299] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WtNEuK with size: 10485760 KB (LMDB v2) 14:19:20 [14:19:20.299] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:20 [14:19:20.300] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:20 [14:19:20.301] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 14:19:20 [14:19:20.301] INFO: p2p:test:integration Shut down p2p clients 14:19:20 [14:19:20.303] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 14:19:30 [14:19:30.539] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:30 [14:19:30.541] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-OVpyOK with size: 10485760 KB (LMDB v2) 14:19:30 [14:19:30.541] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:30 [14:19:30.543] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kPSLuZ with size: 10485760 KB (LMDB v2) 14:19:30 [14:19:30.543] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:30 [14:19:30.545] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-A8w6PF with size: 10485760 KB (LMDB v2) 14:19:30 [14:19:30.545] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:30 [14:19:30.546] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:30 [14:19:30.547] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 14:19:30 [14:19:30.547] INFO: p2p:test:integration Shut down p2p clients 14:19:30 [14:19:30.549] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 14:19:41 [14:19:41.360] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:41 [14:19:41.375] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-KobFmQ with size: 10485760 KB (LMDB v2) 14:19:41 [14:19:41.377] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:41 [14:19:41.381] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tO6ums with size: 10485760 KB (LMDB v2) 14:19:41 [14:19:41.381] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:41 [14:19:41.383] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fFskR7 with size: 10485760 KB (LMDB v2) 14:19:41 [14:19:41.384] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:41 [14:19:41.386] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:41 [14:19:41.387] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 14:19:41 [14:19:41.387] INFO: p2p:test:integration Shut down p2p clients 14:19:41 FAIL src/client/p2p_client.integration.test.ts (101.637 s) 14:19:41 p2p client integration 14:19:41 returns undefined if unable to find a transaction from another peer (10721 ms) 14:19:41 can request a transaction from another peer (9413 ms) 14:19:41 will penalize peers that send invalid proofs (9423 ms) 14:19:41 will penalize peers that send the wrong transaction (9779 ms) 14:19:41 will propagate messages to peers at the same version (10229 ms) 14:19:41 should not disconnect clients when it returns correct status (10560 ms) 14:19:41 should disconnect client when it returns status with wrong version (10649 ms) 14:19:41 should disconnect client when it returns an invalid status (10246 ms) 14:19:41 propagates messages using mocked gossip sub network (10840 ms) 14:19:41 14:19:41 p2p client integration › returns undefined if unable to find a transaction from another peer 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:41 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 14:19:41 14:19:41 p2p client integration › can request a transaction from another peer 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:41 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 14:19:41 14:19:41 p2p client integration › will penalize peers that send invalid proofs 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:41 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 14:19:41 14:19:41 p2p client integration › will penalize peers that send the wrong transaction 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:41 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 14:19:41 14:19:41 p2p client integration › will propagate messages to peers at the same version 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:41 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 14:19:41 14:19:41 p2p client integration › should not disconnect clients when it returns correct status 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 14:19:41 14:19:41 p2p client integration › should disconnect client when it returns status with wrong version 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 14:19:41 14:19:41 p2p client integration › should disconnect client when it returns an invalid status 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 14:19:41 14:19:41 p2p client integration › propagates messages using mocked gossip sub network 14:19:41 14:19:41 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:41 14:19:41 135 | 14:19:41 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:41 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:41 | ^ 14:19:41 138 | if (peerIdPrivateKeyFilePath) { 14:19:41 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:41 140 | } else { 14:19:41 14:19:41 at getValue (util.ts:137:58) 14:19:41 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:41 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:41 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:41 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:41 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 14:19:41 14:19:41 Test Suites: 1 failed, 1 total 14:19:41 Tests: 9 failed, 9 total 14:19:41 Snapshots: 0 total 14:19:41 Time: 101.732 s 14:19:41 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 14:19:41 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?