Parent Log: http://ci.aztec-labs.com/ffb0cedf91fb98de Command: 52bd9327d3603bc3: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=0 Date: Tue Jun 24 14:09:31 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15242_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 14:09:31 +++ id -u 14:09:31 +++ id -g 14:09:31 ++ 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'\''' 14:09:31 + cid=76eb4890ad6f20c8a94297db46eb306e9f8acfeb27c47c086d630203d8476ec9 14:09:31 + set +x 14:09:32 {"level":25,"time":1750774172474,"pid":7,"hostname":"76eb4890ad6f","module":"logger","msg":"Logger initialized with level debug"} 14:09:38 [14:09:38.769] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 14:09:38 [14:09:38.837] DEBUG: foundation:randomness_singleton Using true randomness 14:09:39 {"level":20,"time":1750774178896,"pid":7,"hostname":"76eb4890ad6f","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 14:09:39 {"level":20,"time":1750774179053,"pid":7,"hostname":"76eb4890ad6f","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 14:09:49 [14:09:49.456] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:49 [14:09:49.458] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fAVQtR with size: 10485760 KB (LMDB v2) 14:09:49 [14:09:49.459] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:49 [14:09:49.464] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NhU10k with size: 10485760 KB (LMDB v2) 14:09:49 [14:09:49.464] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:49 [14:09:49.465] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-84KkzS with size: 10485760 KB (LMDB v2) 14:09:49 [14:09:49.466] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:49 [14:09:49.468] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:49 [14:09:49.469] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 14:09:49 [14:09:49.469] INFO: p2p:test:integration Shut down p2p clients 14:09:49 [14:09:49.486] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 14:09:50 {"level":20,"time":1750774179093,"pid":7,"hostname":"76eb4890ad6f","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 14:09:50 {"level":20,"time":1750774179093,"pid":7,"hostname":"76eb4890ad6f","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:09:59 [14:09:59.711] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:59 [14:09:59.712] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Xcup9W with size: 10485760 KB (LMDB v2) 14:09:59 [14:09:59.713] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:59 [14:09:59.714] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1aUtv7 with size: 10485760 KB (LMDB v2) 14:09:59 [14:09:59.714] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:59 [14:09:59.716] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-voQRQP with size: 10485760 KB (LMDB v2) 14:09:59 [14:09:59.716] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:59 [14:09:59.717] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:59 [14:09:59.717] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 14:09:59 [14:09:59.718] INFO: p2p:test:integration Shut down p2p clients 14:09:59 [14:09:59.720] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 14:10:10 [14:10:10.024] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:10:10 [14:10:10.025] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-hAaP7E with size: 10485760 KB (LMDB v2) 14:10:10 [14:10:10.026] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:10:10 [14:10:10.027] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WhDkAm with size: 10485760 KB (LMDB v2) 14:10:10 [14:10:10.027] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:10:10 [14:10:10.028] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SQHYwa with size: 10485760 KB (LMDB v2) 14:10:10 [14:10:10.029] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:10:10 [14:10:10.030] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:10:10 [14:10:10.030] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 14:10:10 [14:10:10.030] INFO: p2p:test:integration Shut down p2p clients 14:10:10 [14:10:10.032] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 14:10:20 [14:10:20.606] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:10:20 [14:10:20.607] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-HXQmEL with size: 10485760 KB (LMDB v2) 14:10:20 [14:10:20.607] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:10:20 [14:10:20.609] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HXNtqL with size: 10485760 KB (LMDB v2) 14:10:20 [14:10:20.609] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:10:20 [14:10:20.610] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-exsoBV with size: 10485760 KB (LMDB v2) 14:10:20 [14:10:20.610] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:10:20 [14:10:20.611] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:10:20 [14:10:20.611] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 14:10:20 [14:10:20.612] INFO: p2p:test:integration Shut down p2p clients 14:10:20 [14:10:20.613] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 14:10:30 [14:10:30.964] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:10:30 [14:10:30.965] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-v8g87A with size: 10485760 KB (LMDB v2) 14:10:30 [14:10:30.965] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:10:30 [14:10:30.966] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-RVoLab with size: 10485760 KB (LMDB v2) 14:10:30 [14:10:30.966] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:10:30 [14:10:30.967] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5Y46W0 with size: 10485760 KB (LMDB v2) 14:10:30 [14:10:30.968] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:10:30 [14:10:30.969] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:10:30 [14:10:30.969] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 14:10:30 [14:10:30.969] INFO: p2p:test:integration Shut down p2p clients 14:10:30 [14:10:30.971] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 14:10:41 [14:10:41.466] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:10:41 [14:10:41.467] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-odq4wT with size: 10485760 KB (LMDB v2) 14:10:41 [14:10:41.467] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:10:41 [14:10:41.468] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-zHGJtA with size: 10485760 KB (LMDB v2) 14:10:41 [14:10:41.468] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:10:41 [14:10:41.469] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-8yQRhe with size: 10485760 KB (LMDB v2) 14:10:41 [14:10:41.470] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:10:41 [14:10:41.470] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:10:41 [14:10:41.471] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 14:10:41 [14:10:41.471] INFO: p2p:test:integration Shut down p2p clients 14:10:41 [14:10:41.472] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 14:10:51 [14:10:51.922] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:10:51 [14:10:51.923] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-w8baui with size: 10485760 KB (LMDB v2) 14:10:51 [14:10:51.924] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:10:51 [14:10:51.925] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gK7wry with size: 10485760 KB (LMDB v2) 14:10:51 [14:10:51.925] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:10:51 [14:10:51.926] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fD40GE with size: 10485760 KB (LMDB v2) 14:10:51 [14:10:51.926] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:10:51 [14:10:51.926] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:10:51 [14:10:51.927] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 14:10:51 [14:10:51.927] INFO: p2p:test:integration Shut down p2p clients 14:10:51 [14:10:51.928] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 14:11:02 [14:11:02.372] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:11:02 [14:11:02.373] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UDRYxM with size: 10485760 KB (LMDB v2) 14:11:02 [14:11:02.373] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:11:02 [14:11:02.374] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-OJb14l with size: 10485760 KB (LMDB v2) 14:11:02 [14:11:02.374] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:11:02 [14:11:02.375] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-UiZcCn with size: 10485760 KB (LMDB v2) 14:11:02 [14:11:02.375] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:11:02 [14:11:02.376] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:11:02 [14:11:02.376] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 14:11:02 [14:11:02.377] INFO: p2p:test:integration Shut down p2p clients 14:11:02 [14:11:02.378] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 14:11:13 [14:11:13.015] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:11:13 [14:11:13.016] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-LPhQ55 with size: 10485760 KB (LMDB v2) 14:11:13 [14:11:13.016] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:11:13 [14:11:13.018] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-yrPxdh with size: 10485760 KB (LMDB v2) 14:11:13 [14:11:13.018] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:11:13 [14:11:13.021] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tdV0ex with size: 10485760 KB (LMDB v2) 14:11:13 [14:11:13.022] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:11:13 [14:11:13.024] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:11:13 [14:11:13.025] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 14:11:13 [14:11:13.025] INFO: p2p:test:integration Shut down p2p clients 14:11:13 FAIL src/client/p2p_client.integration.test.ts (100.835 s) 14:11:13 p2p client integration 14:11:13 returns undefined if unable to find a transaction from another peer (10702 ms) 14:11:13 can request a transaction from another peer (10233 ms) 14:11:13 will penalize peers that send invalid proofs (10312 ms) 14:11:13 will penalize peers that send the wrong transaction (10581 ms) 14:11:13 will propagate messages to peers at the same version (10357 ms) 14:11:13 should not disconnect clients when it returns correct status (10501 ms) 14:11:13 should disconnect client when it returns status with wrong version (10455 ms) 14:11:13 should disconnect client when it returns an invalid status (10449 ms) 14:11:13 propagates messages using mocked gossip sub network (10649 ms) 14:11:13 14:11:13 p2p client integration › returns undefined if unable to find a transaction from another peer 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:11:13 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 14:11:13 14:11:13 p2p client integration › can request a transaction from another peer 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:11:13 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 14:11:13 14:11:13 p2p client integration › will penalize peers that send invalid proofs 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:11:13 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 14:11:13 14:11:13 p2p client integration › will penalize peers that send the wrong transaction 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:11:13 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 14:11:13 14:11:13 p2p client integration › will propagate messages to peers at the same version 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:11:13 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 14:11:13 14:11:13 p2p client integration › should not disconnect clients when it returns correct status 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 14:11:13 14:11:13 p2p client integration › should disconnect client when it returns status with wrong version 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 14:11:13 14:11:13 p2p client integration › should disconnect client when it returns an invalid status 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 14:11:13 14:11:13 p2p client integration › propagates messages using mocked gossip sub network 14:11:13 14:11:13 TypeError: config.peerIdPrivateKey.getValue is not a function 14:11:13 14:11:13 135 | 14:11:13 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:11:13 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:11:13 | ^ 14:11:13 138 | if (peerIdPrivateKeyFilePath) { 14:11:13 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:11:13 140 | } else { 14:11:13 14:11:13 at getValue (util.ts:137:58) 14:11:13 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:11:13 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:11:13 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:11:13 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:11:13 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 14:11:13 14:11:13 Test Suites: 1 failed, 1 total 14:11:13 Tests: 9 failed, 9 total 14:11:13 Snapshots: 0 total 14:11:13 Time: 100.912 s 14:11:13 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 14:11:13 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?