Parent Log: http://ci.aztec-labs.com/21de0fcccf3c1198 Command: 5b4d9f16dc72b5a7: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/1b10c7d500621ca2e4c0db764df67f3085beb282 Env: REF_NAME=gh-readonly-queue/next/pr-15229-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 10:04:26 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:04:26 +++ id -u 10:04:26 +++ id -g 10:04:26 ++ 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'\''' 10:04:26 + cid=9224ee40284ed033b62b08af583c48b7c8f5e5ed38d5d9074ebc0ddc13990081 10:04:26 + set +x 10:04:27 {"level":25,"time":1750759467961,"pid":7,"hostname":"9224ee40284e","module":"logger","msg":"Logger initialized with level debug"} 10:04:37 [10:04:37.559] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:04:37 [10:04:37.657] DEBUG: foundation:randomness_singleton Using true randomness 10:04:38 {"level":20,"time":1750759477712,"pid":7,"hostname":"9224ee40284e","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:04:38 {"level":20,"time":1750759477900,"pid":7,"hostname":"9224ee40284e","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:04:47 [10:04:47.749] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:04:47 [10:04:47.753] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-An28U2 with size: 10485760 KB (LMDB v2) 10:04:47 [10:04:47.754] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:04:47 [10:04:47.760] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-mDjVGa with size: 10485760 KB (LMDB v2) 10:04:47 [10:04:47.761] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:04:47 [10:04:47.763] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uwOR2C with size: 10485760 KB (LMDB v2) 10:04:47 [10:04:47.763] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:04:47 [10:04:47.765] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:04:47 [10:04:47.767] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:04:47 [10:04:47.767] INFO: p2p:test:integration Shut down p2p clients 10:04:47 [10:04:47.794] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:04:48 {"level":20,"time":1750759477955,"pid":7,"hostname":"9224ee40284e","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:04:48 {"level":20,"time":1750759477955,"pid":7,"hostname":"9224ee40284e","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"} 10:04:56 [10:04:56.648] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:04:56 [10:04:56.651] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-AMAAi5 with size: 10485760 KB (LMDB v2) 10:04:56 [10:04:56.651] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:04:56 [10:04:56.653] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3vcGI9 with size: 10485760 KB (LMDB v2) 10:04:56 [10:04:56.654] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:04:56 [10:04:56.657] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Xy7lfC with size: 10485760 KB (LMDB v2) 10:04:56 [10:04:56.657] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:04:56 [10:04:56.660] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:04:56 [10:04:56.661] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:04:56 [10:04:56.661] INFO: p2p:test:integration Shut down p2p clients 10:04:56 [10:04:56.665] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:05:06 [10:05:06.221] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:05:06 [10:05:06.224] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mb3o30 with size: 10485760 KB (LMDB v2) 10:05:06 [10:05:06.225] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:05:06 [10:05:06.227] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-hnGN46 with size: 10485760 KB (LMDB v2) 10:05:06 [10:05:06.228] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:05:06 [10:05:06.230] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1EOXpj with size: 10485760 KB (LMDB v2) 10:05:06 [10:05:06.230] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:05:06 [10:05:06.231] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:05:06 [10:05:06.233] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:05:06 [10:05:06.233] INFO: p2p:test:integration Shut down p2p clients 10:05:06 [10:05:06.235] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:05:15 [10:05:15.797] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:05:15 [10:05:15.800] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kkCEeg with size: 10485760 KB (LMDB v2) 10:05:15 [10:05:15.800] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:05:15 [10:05:15.803] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-fio7ZS with size: 10485760 KB (LMDB v2) 10:05:15 [10:05:15.804] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:05:15 [10:05:15.805] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ZtXnrf with size: 10485760 KB (LMDB v2) 10:05:15 [10:05:15.806] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:05:15 [10:05:15.807] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:05:15 [10:05:15.809] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:05:15 [10:05:15.809] INFO: p2p:test:integration Shut down p2p clients 10:05:15 [10:05:15.812] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:05:26 [10:05:26.114] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:05:26 [10:05:26.133] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-YEhwBb with size: 10485760 KB (LMDB v2) 10:05:26 [10:05:26.136] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:05:26 [10:05:26.140] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-yKuTau with size: 10485760 KB (LMDB v2) 10:05:26 [10:05:26.140] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:05:26 [10:05:26.142] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rRYRTc with size: 10485760 KB (LMDB v2) 10:05:26 [10:05:26.143] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:05:26 [10:05:26.144] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:05:26 [10:05:26.145] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:05:26 [10:05:26.145] INFO: p2p:test:integration Shut down p2p clients 10:05:26 [10:05:26.147] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:05:36 [10:05:36.517] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:05:36 [10:05:36.520] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3Je4rM with size: 10485760 KB (LMDB v2) 10:05:36 [10:05:36.520] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:05:36 [10:05:36.522] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Zz5lMi with size: 10485760 KB (LMDB v2) 10:05:36 [10:05:36.523] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:05:36 [10:05:36.524] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-QvJbRh with size: 10485760 KB (LMDB v2) 10:05:36 [10:05:36.525] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:05:36 [10:05:36.526] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:05:36 [10:05:36.527] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:05:36 [10:05:36.527] INFO: p2p:test:integration Shut down p2p clients 10:05:36 [10:05:36.529] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:05:46 [10:05:46.656] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:05:46 [10:05:46.658] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-CbPXCt with size: 10485760 KB (LMDB v2) 10:05:46 [10:05:46.659] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:05:46 [10:05:46.661] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IR9QIv with size: 10485760 KB (LMDB v2) 10:05:46 [10:05:46.662] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:05:46 [10:05:46.669] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9kDivt with size: 10485760 KB (LMDB v2) 10:05:46 [10:05:46.670] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:05:46 [10:05:46.677] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:05:46 [10:05:46.678] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:05:46 [10:05:46.679] INFO: p2p:test:integration Shut down p2p clients 10:05:46 [10:05:46.681] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:05:56 [10:05:56.701] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:05:56 [10:05:56.704] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UZQDdT with size: 10485760 KB (LMDB v2) 10:05:56 [10:05:56.704] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:05:56 [10:05:56.710] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-OxID1O with size: 10485760 KB (LMDB v2) 10:05:56 [10:05:56.710] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:05:56 [10:05:56.714] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-T5FkG8 with size: 10485760 KB (LMDB v2) 10:05:56 [10:05:56.715] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:05:56 [10:05:56.717] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:05:56 [10:05:56.718] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:05:56 [10:05:56.718] INFO: p2p:test:integration Shut down p2p clients 10:05:56 [10:05:56.721] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:06:07 [10:06:07.650] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:06:07 [10:06:07.652] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RAGFf4 with size: 10485760 KB (LMDB v2) 10:06:07 [10:06:07.653] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:06:07 [10:06:07.656] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-BdcHpQ with size: 10485760 KB (LMDB v2) 10:06:07 [10:06:07.656] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:06:07 [10:06:07.658] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Tzkw1d with size: 10485760 KB (LMDB v2) 10:06:07 [10:06:07.658] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:06:07 [10:06:07.660] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:06:07 [10:06:07.662] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:06:07 [10:06:07.662] INFO: p2p:test:integration Shut down p2p clients 10:06:07 FAIL src/client/p2p_client.integration.test.ts (100.111 s) 10:06:07 p2p client integration 10:06:07 returns undefined if unable to find a transaction from another peer (10213 ms) 10:06:07 can request a transaction from another peer (8869 ms) 10:06:07 will penalize peers that send invalid proofs (9569 ms) 10:06:07 will penalize peers that send the wrong transaction (9575 ms) 10:06:07 will propagate messages to peers at the same version (10335 ms) 10:06:07 should not disconnect clients when it returns correct status (10380 ms) 10:06:07 should disconnect client when it returns status with wrong version (10150 ms) 10:06:07 should disconnect client when it returns an invalid status (10038 ms) 10:06:07 propagates messages using mocked gossip sub network (10942 ms) 10:06:07 10:06:07 p2p client integration › returns undefined if unable to find a transaction from another peer 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:06:07 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:06:07 10:06:07 p2p client integration › can request a transaction from another peer 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:06:07 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:06:07 10:06:07 p2p client integration › will penalize peers that send invalid proofs 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:06:07 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:06:07 10:06:07 p2p client integration › will penalize peers that send the wrong transaction 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:06:07 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:06:07 10:06:07 p2p client integration › will propagate messages to peers at the same version 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:06:07 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:06:07 10:06:07 p2p client integration › should not disconnect clients when it returns correct status 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:06:07 10:06:07 p2p client integration › should disconnect client when it returns status with wrong version 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:06:07 10:06:07 p2p client integration › should disconnect client when it returns an invalid status 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:06:07 10:06:07 p2p client integration › propagates messages using mocked gossip sub network 10:06:07 10:06:07 TypeError: config.peerIdPrivateKey.getValue is not a function 10:06:07 10:06:07 135 | 10:06:07 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:06:07 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:06:07 | ^ 10:06:07 138 | if (peerIdPrivateKeyFilePath) { 10:06:07 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:06:07 140 | } else { 10:06:07 10:06:07 at getValue (util.ts:137:58) 10:06:07 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:06:07 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:06:07 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:06:07 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:06:07 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:06:07 10:06:07 Test Suites: 1 failed, 1 total 10:06:07 Tests: 9 failed, 9 total 10:06:07 Snapshots: 0 total 10:06:07 Time: 100.207 s 10:06:07 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:06:07 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?