Parent Log: http://ci.aztec-labs.com/43c2b2cc17b844b3 Command: ca0909fea864dc4d: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/da143bc28e6e3f26ef97bf0e6e90153a915d2068 Env: REF_NAME=gh-readonly-queue/next/pr-15227-534f06e45f48274efd53a2204c90cb0b91a53efb CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Tue Jun 24 22:42:53 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15227_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 22:42:53 +++ id -u 22:42:53 +++ id -g 22:42:53 ++ 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'\''' 22:42:54 + cid=0f966f1225b97caa469e1686e987bb8f0aaae3bac4378b35bc5aab74c3f75970 22:42:54 + set +x 22:42:55 {"level":25,"time":1750804975526,"pid":7,"hostname":"0f966f1225b9","module":"logger","msg":"Logger initialized with level debug"} 22:43:01 [22:43:01.044] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 22:43:01 [22:43:01.133] DEBUG: foundation:randomness_singleton Using true randomness 22:43:01 {"level":20,"time":1750804981175,"pid":7,"hostname":"0f966f1225b9","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 22:43:01 {"level":20,"time":1750804981353,"pid":7,"hostname":"0f966f1225b9","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 22:43:08 [22:43:08.194] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:08 [22:43:08.197] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-IrDZ1c with size: 10485760 KB (LMDB v2) 22:43:08 [22:43:08.197] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:08 [22:43:08.202] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-qb1NLy with size: 10485760 KB (LMDB v2) 22:43:08 [22:43:08.203] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:08 [22:43:08.204] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gWVkg0 with size: 10485760 KB (LMDB v2) 22:43:08 [22:43:08.204] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:08 [22:43:08.206] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:08 [22:43:08.207] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 22:43:08 [22:43:08.207] INFO: p2p:test:integration Shut down p2p clients 22:43:08 [22:43:08.224] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 22:43:08 {"level":20,"time":1750804981375,"pid":7,"hostname":"0f966f1225b9","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 22:43:08 {"level":20,"time":1750804981375,"pid":7,"hostname":"0f966f1225b9","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"} 22:43:14 [22:43:14.955] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:14 [22:43:14.956] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3v4V2U with size: 10485760 KB (LMDB v2) 22:43:14 [22:43:14.956] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:14 [22:43:14.957] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QhbCIb with size: 10485760 KB (LMDB v2) 22:43:14 [22:43:14.957] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:14 [22:43:14.959] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hgjngf with size: 10485760 KB (LMDB v2) 22:43:14 [22:43:14.959] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:14 [22:43:14.960] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:14 [22:43:14.960] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 22:43:14 [22:43:14.960] INFO: p2p:test:integration Shut down p2p clients 22:43:14 [22:43:14.962] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 22:43:21 [22:43:21.722] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:21 [22:43:21.724] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ncXidf with size: 10485760 KB (LMDB v2) 22:43:21 [22:43:21.724] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:21 [22:43:21.725] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YB3vfy with size: 10485760 KB (LMDB v2) 22:43:21 [22:43:21.725] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:21 [22:43:21.726] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-YLPgr3 with size: 10485760 KB (LMDB v2) 22:43:21 [22:43:21.727] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:21 [22:43:21.727] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:21 [22:43:21.728] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 22:43:21 [22:43:21.728] INFO: p2p:test:integration Shut down p2p clients 22:43:21 [22:43:21.729] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 22:43:28 [22:43:28.555] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:28 [22:43:28.564] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Bk8wJ1 with size: 10485760 KB (LMDB v2) 22:43:28 [22:43:28.564] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:28 [22:43:28.565] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iFt7xC with size: 10485760 KB (LMDB v2) 22:43:28 [22:43:28.566] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:28 [22:43:28.566] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-8HE01h with size: 10485760 KB (LMDB v2) 22:43:28 [22:43:28.566] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:28 [22:43:28.567] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:28 [22:43:28.568] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 22:43:28 [22:43:28.568] INFO: p2p:test:integration Shut down p2p clients 22:43:28 [22:43:28.569] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 22:43:35 [22:43:35.304] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:35 [22:43:35.305] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-FJG2JL with size: 10485760 KB (LMDB v2) 22:43:35 [22:43:35.306] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:35 [22:43:35.306] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-axpl5E with size: 10485760 KB (LMDB v2) 22:43:35 [22:43:35.307] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:35 [22:43:35.308] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-40NRfl with size: 10485760 KB (LMDB v2) 22:43:35 [22:43:35.308] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:35 [22:43:35.308] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:35 [22:43:35.309] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 22:43:35 [22:43:35.309] INFO: p2p:test:integration Shut down p2p clients 22:43:35 [22:43:35.310] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 22:43:42 [22:43:42.090] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:42 [22:43:42.091] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QZc5WL with size: 10485760 KB (LMDB v2) 22:43:42 [22:43:42.092] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:42 [22:43:42.093] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-AlBQ4y with size: 10485760 KB (LMDB v2) 22:43:42 [22:43:42.093] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:42 [22:43:42.093] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-KjBQhY with size: 10485760 KB (LMDB v2) 22:43:42 [22:43:42.094] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:42 [22:43:42.094] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:42 [22:43:42.095] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 22:43:42 [22:43:42.095] INFO: p2p:test:integration Shut down p2p clients 22:43:42 [22:43:42.096] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 22:43:48 [22:43:48.942] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:48 [22:43:48.942] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oP6gSy with size: 10485760 KB (LMDB v2) 22:43:48 [22:43:48.943] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:48 [22:43:48.944] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-euDNZn with size: 10485760 KB (LMDB v2) 22:43:48 [22:43:48.944] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:48 [22:43:48.945] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-AGFXbW with size: 10485760 KB (LMDB v2) 22:43:48 [22:43:48.945] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:48 [22:43:48.945] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:48 [22:43:48.946] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 22:43:48 [22:43:48.946] INFO: p2p:test:integration Shut down p2p clients 22:43:48 [22:43:48.947] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 22:43:55 [22:43:55.834] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:43:55 [22:43:55.842] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zljYaL with size: 10485760 KB (LMDB v2) 22:43:55 [22:43:55.843] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:43:55 [22:43:55.844] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YxkpM0 with size: 10485760 KB (LMDB v2) 22:43:55 [22:43:55.844] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:43:55 [22:43:55.845] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IK5BwG with size: 10485760 KB (LMDB v2) 22:43:55 [22:43:55.845] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:43:55 [22:43:55.846] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:43:55 [22:43:55.846] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 22:43:55 [22:43:55.847] INFO: p2p:test:integration Shut down p2p clients 22:43:55 [22:43:55.848] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 22:44:02 [22:44:02.788] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 22:44:02 [22:44:02.789] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rGXNW9 with size: 10485760 KB (LMDB v2) 22:44:02 [22:44:02.789] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 22:44:02 [22:44:02.790] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-GCrsxJ with size: 10485760 KB (LMDB v2) 22:44:02 [22:44:02.790] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 22:44:02 [22:44:02.791] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-mKDooI with size: 10485760 KB (LMDB v2) 22:44:02 [22:44:02.791] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 22:44:02 [22:44:02.792] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 22:44:02 [22:44:02.793] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 22:44:02 [22:44:02.793] INFO: p2p:test:integration Shut down p2p clients 22:44:02 FAIL src/client/p2p_client.integration.test.ts (67.518 s) 22:44:02 p2p client integration 22:44:02 returns undefined if unable to find a transaction from another peer (7165 ms) 22:44:02 can request a transaction from another peer (6738 ms) 22:44:02 will penalize peers that send invalid proofs (6766 ms) 22:44:02 will penalize peers that send the wrong transaction (6839 ms) 22:44:02 will propagate messages to peers at the same version (6740 ms) 22:44:02 should not disconnect clients when it returns correct status (6785 ms) 22:44:02 should disconnect client when it returns status with wrong version (6850 ms) 22:44:02 should disconnect client when it returns an invalid status (6900 ms) 22:44:02 propagates messages using mocked gossip sub network (6946 ms) 22:44:02 22:44:02 p2p client integration › returns undefined if unable to find a transaction from another peer 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 22:44:02 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 22:44:02 22:44:02 p2p client integration › can request a transaction from another peer 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 22:44:02 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 22:44:02 22:44:02 p2p client integration › will penalize peers that send invalid proofs 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 22:44:02 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 22:44:02 22:44:02 p2p client integration › will penalize peers that send the wrong transaction 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 22:44:02 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 22:44:02 22:44:02 p2p client integration › will propagate messages to peers at the same version 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 22:44:02 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 22:44:02 22:44:02 p2p client integration › should not disconnect clients when it returns correct status 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 22:44:02 22:44:02 p2p client integration › should disconnect client when it returns status with wrong version 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 22:44:02 22:44:02 p2p client integration › should disconnect client when it returns an invalid status 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 22:44:02 22:44:02 p2p client integration › propagates messages using mocked gossip sub network 22:44:02 22:44:02 TypeError: config.peerIdPrivateKey.getValue is not a function 22:44:02 22:44:02 135 | 22:44:02 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 22:44:02 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 22:44:02 | ^ 22:44:02 138 | if (peerIdPrivateKeyFilePath) { 22:44:02 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 22:44:02 140 | } else { 22:44:02 22:44:02 at getValue (util.ts:137:58) 22:44:02 at getPeerIdPrivateKey (client/factory.ts:75:34) 22:44:02 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 22:44:02 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 22:44:02 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 22:44:02 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 22:44:02 22:44:02 Test Suites: 1 failed, 1 total 22:44:02 Tests: 9 failed, 9 total 22:44:02 Snapshots: 0 total 22:44:02 Time: 67.595 s 22:44:02 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 22:44:02 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?