Parent Log: http://ci.aztec-labs.com/7bcd1e743e29abf2 Command: b71f9d6a9e3f68ca: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/ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 Env: REF_NAME=gh-readonly-queue/next/pr-15242-1c2c2ee2949dbe31742cc9501a31bf3bce8083cf CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 14:07:45 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 14:07:46 +++ id -u 14:07:46 +++ id -g 14:07:46 ++ 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:07:46 + cid=20164bdf1e3c981aa7aad76d1755400b968cfc723d5f3beb96ca07e3d49ae90b 14:07:46 + set +x 14:07:48 {"level":25,"time":1750774068083,"pid":7,"hostname":"20164bdf1e3c","module":"logger","msg":"Logger initialized with level debug"} 14:07:57 [14:07:57.456] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 14:07:57 [14:07:57.525] DEBUG: foundation:randomness_singleton Using true randomness 14:07:58 {"level":20,"time":1750774077588,"pid":7,"hostname":"20164bdf1e3c","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 14:07:58 {"level":20,"time":1750774077806,"pid":7,"hostname":"20164bdf1e3c","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 14:08:07 [14:08:07.376] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:07 [14:08:07.380] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-F35Yvv with size: 10485760 KB (LMDB v2) 14:08:07 [14:08:07.380] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:07 [14:08:07.400] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-J9dFMm with size: 10485760 KB (LMDB v2) 14:08:07 [14:08:07.401] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:07 [14:08:07.404] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-aEcYL0 with size: 10485760 KB (LMDB v2) 14:08:07 [14:08:07.404] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:07 [14:08:07.407] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:07 [14:08:07.408] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 14:08:07 [14:08:07.409] INFO: p2p:test:integration Shut down p2p clients 14:08:07 [14:08:07.431] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 14:08:08 {"level":20,"time":1750774077861,"pid":7,"hostname":"20164bdf1e3c","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 14:08:08 {"level":20,"time":1750774077861,"pid":7,"hostname":"20164bdf1e3c","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:08:15 [14:08:15.760] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:15 [14:08:15.763] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-CcfetY with size: 10485760 KB (LMDB v2) 14:08:15 [14:08:15.763] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:15 [14:08:15.766] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-OvJVO3 with size: 10485760 KB (LMDB v2) 14:08:15 [14:08:15.766] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:15 [14:08:15.769] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tqnvQ3 with size: 10485760 KB (LMDB v2) 14:08:15 [14:08:15.769] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:15 [14:08:15.773] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:15 [14:08:15.774] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 14:08:15 [14:08:15.775] INFO: p2p:test:integration Shut down p2p clients 14:08:15 [14:08:15.778] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 14:08:24 [14:08:24.906] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:24 [14:08:24.909] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-82RVWT with size: 10485760 KB (LMDB v2) 14:08:24 [14:08:24.909] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:24 [14:08:24.912] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TXdQsX with size: 10485760 KB (LMDB v2) 14:08:24 [14:08:24.912] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:24 [14:08:24.914] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-O6jVo9 with size: 10485760 KB (LMDB v2) 14:08:24 [14:08:24.914] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:24 [14:08:24.918] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:24 [14:08:24.920] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 14:08:24 [14:08:24.920] INFO: p2p:test:integration Shut down p2p clients 14:08:24 [14:08:24.922] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 14:08:34 [14:08:34.402] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:34 [14:08:34.417] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-26SNj8 with size: 10485760 KB (LMDB v2) 14:08:34 [14:08:34.417] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:34 [14:08:34.420] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cHXVNJ with size: 10485760 KB (LMDB v2) 14:08:34 [14:08:34.420] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:34 [14:08:34.421] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uuByXR with size: 10485760 KB (LMDB v2) 14:08:34 [14:08:34.422] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:34 [14:08:34.423] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:34 [14:08:34.424] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 14:08:34 [14:08:34.424] INFO: p2p:test:integration Shut down p2p clients 14:08:34 [14:08:34.427] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 14:08:44 [14:08:44.144] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:44 [14:08:44.146] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uaHuzq with size: 10485760 KB (LMDB v2) 14:08:44 [14:08:44.147] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:44 [14:08:44.152] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8h83bY with size: 10485760 KB (LMDB v2) 14:08:44 [14:08:44.152] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:44 [14:08:44.157] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FJbB9a with size: 10485760 KB (LMDB v2) 14:08:44 [14:08:44.157] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:44 [14:08:44.160] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:44 [14:08:44.161] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 14:08:44 [14:08:44.161] INFO: p2p:test:integration Shut down p2p clients 14:08:44 [14:08:44.163] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 14:08:53 [14:08:53.499] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:53 [14:08:53.501] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-LRAxuR with size: 10485760 KB (LMDB v2) 14:08:53 [14:08:53.501] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:53 [14:08:53.503] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-38fCw3 with size: 10485760 KB (LMDB v2) 14:08:53 [14:08:53.503] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:53 [14:08:53.505] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CmeZ4l with size: 10485760 KB (LMDB v2) 14:08:53 [14:08:53.505] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:53 [14:08:53.506] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:53 [14:08:53.507] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 14:08:53 [14:08:53.507] INFO: p2p:test:integration Shut down p2p clients 14:08:53 [14:08:53.509] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 14:09:03 [14:09:03.568] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:03 [14:09:03.571] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-k1OyCS with size: 10485760 KB (LMDB v2) 14:09:03 [14:09:03.571] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:03 [14:09:03.574] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VNUtVT with size: 10485760 KB (LMDB v2) 14:09:03 [14:09:03.575] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:03 [14:09:03.577] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-lpKaQn with size: 10485760 KB (LMDB v2) 14:09:03 [14:09:03.578] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:03 [14:09:03.579] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:03 [14:09:03.580] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 14:09:03 [14:09:03.581] INFO: p2p:test:integration Shut down p2p clients 14:09:03 [14:09:03.582] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 14:09:13 [14:09:13.672] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:13 [14:09:13.674] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nLeWod with size: 10485760 KB (LMDB v2) 14:09:13 [14:09:13.674] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:13 [14:09:13.678] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Hai2Qf with size: 10485760 KB (LMDB v2) 14:09:13 [14:09:13.678] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:13 [14:09:13.680] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vtcQkm with size: 10485760 KB (LMDB v2) 14:09:13 [14:09:13.681] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:13 [14:09:13.683] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:13 [14:09:13.684] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 14:09:13 [14:09:13.684] INFO: p2p:test:integration Shut down p2p clients 14:09:13 [14:09:13.686] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 14:09:23 [14:09:23.511] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:23 [14:09:23.530] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-FHXzU8 with size: 10485760 KB (LMDB v2) 14:09:23 [14:09:23.535] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:23 [14:09:23.542] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NHagSx with size: 10485760 KB (LMDB v2) 14:09:23 [14:09:23.542] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:23 [14:09:23.547] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-xHEHM7 with size: 10485760 KB (LMDB v2) 14:09:23 [14:09:23.547] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:23 [14:09:23.551] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:23 [14:09:23.552] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 14:09:23 [14:09:23.552] INFO: p2p:test:integration Shut down p2p clients 14:09:23 FAIL src/client/p2p_client.integration.test.ts (95.802 s) 14:09:23 p2p client integration 14:09:23 returns undefined if unable to find a transaction from another peer (9956 ms) 14:09:23 can request a transaction from another peer (8346 ms) 14:09:23 will penalize peers that send invalid proofs (9143 ms) 14:09:23 will penalize peers that send the wrong transaction (9502 ms) 14:09:23 will propagate messages to peers at the same version (9735 ms) 14:09:23 should not disconnect clients when it returns correct status (9346 ms) 14:09:23 should disconnect client when it returns status with wrong version (10072 ms) 14:09:23 should disconnect client when it returns an invalid status (10103 ms) 14:09:23 propagates messages using mocked gossip sub network (9867 ms) 14:09:23 14:09:23 p2p client integration › returns undefined if unable to find a transaction from another peer 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:23 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 14:09:23 14:09:23 p2p client integration › can request a transaction from another peer 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:23 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 14:09:23 14:09:23 p2p client integration › will penalize peers that send invalid proofs 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:23 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 14:09:23 14:09:23 p2p client integration › will penalize peers that send the wrong transaction 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:23 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 14:09:23 14:09:23 p2p client integration › will propagate messages to peers at the same version 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:23 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 14:09:23 14:09:23 p2p client integration › should not disconnect clients when it returns correct status 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 14:09:23 14:09:23 p2p client integration › should disconnect client when it returns status with wrong version 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 14:09:23 14:09:23 p2p client integration › should disconnect client when it returns an invalid status 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 14:09:23 14:09:23 p2p client integration › propagates messages using mocked gossip sub network 14:09:23 14:09:23 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:23 14:09:23 135 | 14:09:23 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:09:23 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:23 | ^ 14:09:23 138 | if (peerIdPrivateKeyFilePath) { 14:09:23 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:23 140 | } else { 14:09:23 14:09:23 at getValue (util.ts:137:58) 14:09:23 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:23 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:23 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:23 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:23 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 14:09:23 14:09:23 Test Suites: 1 failed, 1 total 14:09:23 Tests: 9 failed, 9 total 14:09:23 Snapshots: 0 total 14:09:23 Time: 95.907 s 14:09:23 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 14:09:23 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?