Parent Log: http://ci.aztec-labs.com/cf66edc1d29a8480 Command: 2d72990a54a9c534: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/7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc Env: REF_NAME=gh-readonly-queue/next/pr-15215-1b10c7d500621ca2e4c0db764df67f3085beb282 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 10:16:54 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:16:54 +++ id -u 10:16:54 +++ id -g 10:16:54 ++ 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:16:54 + cid=e526f3b640e4fba2034cdafcbc688fe79e18d1200e266659eabce035077955b1 10:16:54 + set +x 10:16:56 {"level":25,"time":1750760216137,"pid":6,"hostname":"e526f3b640e4","module":"logger","msg":"Logger initialized with level debug"} 10:17:05 [10:17:05.615] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:17:05 [10:17:05.716] DEBUG: foundation:randomness_singleton Using true randomness 10:17:06 {"level":20,"time":1750760225783,"pid":6,"hostname":"e526f3b640e4","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:17:06 {"level":20,"time":1750760225994,"pid":6,"hostname":"e526f3b640e4","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:17:16 [10:17:16.184] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:16 [10:17:16.189] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-5KK2Xf with size: 10485760 KB (LMDB v2) 10:17:16 [10:17:16.190] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:16 [10:17:16.198] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-UoAg3w with size: 10485760 KB (LMDB v2) 10:17:16 [10:17:16.198] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:16 [10:17:16.200] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Gm60Mb with size: 10485760 KB (LMDB v2) 10:17:16 [10:17:16.201] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:16 [10:17:16.203] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:16 [10:17:16.205] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:17:16 [10:17:16.205] INFO: p2p:test:integration Shut down p2p clients 10:17:16 [10:17:16.231] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:17:16 {"level":20,"time":1750760226025,"pid":6,"hostname":"e526f3b640e4","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:17:16 {"level":20,"time":1750760226025,"pid":6,"hostname":"e526f3b640e4","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:17:26 [10:17:26.102] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:26 [10:17:26.115] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-4MTQZH with size: 10485760 KB (LMDB v2) 10:17:26 [10:17:26.116] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:26 [10:17:26.118] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CTZeKp with size: 10485760 KB (LMDB v2) 10:17:26 [10:17:26.118] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:26 [10:17:26.120] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nAn5OL with size: 10485760 KB (LMDB v2) 10:17:26 [10:17:26.121] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:26 [10:17:26.122] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:26 [10:17:26.123] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:17:26 [10:17:26.124] INFO: p2p:test:integration Shut down p2p clients 10:17:26 [10:17:26.126] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:17:35 [10:17:35.474] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:35 [10:17:35.476] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7Kk9jC with size: 10485760 KB (LMDB v2) 10:17:35 [10:17:35.476] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:35 [10:17:35.478] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uioXx6 with size: 10485760 KB (LMDB v2) 10:17:35 [10:17:35.479] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:35 [10:17:35.482] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-4H88nK with size: 10485760 KB (LMDB v2) 10:17:35 [10:17:35.482] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:35 [10:17:35.484] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:35 [10:17:35.485] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:17:35 [10:17:35.485] INFO: p2p:test:integration Shut down p2p clients 10:17:35 [10:17:35.488] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:17:45 [10:17:45.663] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:45 [10:17:45.667] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ZxfMKL with size: 10485760 KB (LMDB v2) 10:17:45 [10:17:45.667] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:45 [10:17:45.670] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QMIXUL with size: 10485760 KB (LMDB v2) 10:17:45 [10:17:45.670] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:45 [10:17:45.673] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-pwqK59 with size: 10485760 KB (LMDB v2) 10:17:45 [10:17:45.673] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:45 [10:17:45.675] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:45 [10:17:45.677] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:17:45 [10:17:45.677] INFO: p2p:test:integration Shut down p2p clients 10:17:45 [10:17:45.680] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:17:55 [10:17:55.524] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:55 [10:17:55.527] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cfRshl with size: 10485760 KB (LMDB v2) 10:17:55 [10:17:55.527] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:55 [10:17:55.530] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-sb8hUY with size: 10485760 KB (LMDB v2) 10:17:55 [10:17:55.531] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:55 [10:17:55.534] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vrjSNZ with size: 10485760 KB (LMDB v2) 10:17:55 [10:17:55.535] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:55 [10:17:55.538] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:55 [10:17:55.541] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:17:55 [10:17:55.542] INFO: p2p:test:integration Shut down p2p clients 10:17:55 [10:17:55.547] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:18:05 [10:18:05.600] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:05 [10:18:05.615] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7VzQ6Z with size: 10485760 KB (LMDB v2) 10:18:05 [10:18:05.616] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:05 [10:18:05.618] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-KVHdGV with size: 10485760 KB (LMDB v2) 10:18:05 [10:18:05.619] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:05 [10:18:05.621] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nOKy7U with size: 10485760 KB (LMDB v2) 10:18:05 [10:18:05.621] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:05 [10:18:05.623] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:05 [10:18:05.625] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:18:05 [10:18:05.625] INFO: p2p:test:integration Shut down p2p clients 10:18:05 [10:18:05.628] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:18:15 [10:18:15.850] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:15 [10:18:15.854] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qsdJb4 with size: 10485760 KB (LMDB v2) 10:18:15 [10:18:15.854] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:15 [10:18:15.856] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-v60LJD with size: 10485760 KB (LMDB v2) 10:18:15 [10:18:15.856] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:15 [10:18:15.858] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gij9DV with size: 10485760 KB (LMDB v2) 10:18:15 [10:18:15.858] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:15 [10:18:15.859] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:15 [10:18:15.861] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:18:15 [10:18:15.861] INFO: p2p:test:integration Shut down p2p clients 10:18:15 [10:18:15.864] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:18:25 [10:18:25.910] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:25 [10:18:25.912] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gDolt4 with size: 10485760 KB (LMDB v2) 10:18:25 [10:18:25.913] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:25 [10:18:25.918] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-d5Qutn with size: 10485760 KB (LMDB v2) 10:18:25 [10:18:25.918] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:25 [10:18:25.920] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-QtolyQ with size: 10485760 KB (LMDB v2) 10:18:25 [10:18:25.921] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:25 [10:18:25.922] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:25 [10:18:25.923] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:18:25 [10:18:25.924] INFO: p2p:test:integration Shut down p2p clients 10:18:25 [10:18:25.926] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:18:37 [10:18:37.093] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:37 [10:18:37.095] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lqt3C0 with size: 10485760 KB (LMDB v2) 10:18:37 [10:18:37.096] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:37 [10:18:37.100] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Z3Tifh with size: 10485760 KB (LMDB v2) 10:18:37 [10:18:37.101] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:37 [10:18:37.103] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ufWJ7R with size: 10485760 KB (LMDB v2) 10:18:37 [10:18:37.104] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:37 [10:18:37.106] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:37 [10:18:37.107] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:18:37 [10:18:37.107] INFO: p2p:test:integration Shut down p2p clients 10:18:37 FAIL src/client/p2p_client.integration.test.ts (101.35 s) 10:18:37 p2p client integration 10:18:37 returns undefined if unable to find a transaction from another peer (10593 ms) 10:18:37 can request a transaction from another peer (9894 ms) 10:18:37 will penalize peers that send invalid proofs (9361 ms) 10:18:37 will penalize peers that send the wrong transaction (10190 ms) 10:18:37 will propagate messages to peers at the same version (9863 ms) 10:18:37 should not disconnect clients when it returns correct status (10079 ms) 10:18:37 should disconnect client when it returns status with wrong version (10235 ms) 10:18:37 should disconnect client when it returns an invalid status (10061 ms) 10:18:37 propagates messages using mocked gossip sub network (11183 ms) 10:18:37 10:18:37 p2p client integration › returns undefined if unable to find a transaction from another peer 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:37 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:18:37 10:18:37 p2p client integration › can request a transaction from another peer 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:37 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:18:37 10:18:37 p2p client integration › will penalize peers that send invalid proofs 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:37 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:18:37 10:18:37 p2p client integration › will penalize peers that send the wrong transaction 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:37 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:18:37 10:18:37 p2p client integration › will propagate messages to peers at the same version 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:37 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:18:37 10:18:37 p2p client integration › should not disconnect clients when it returns correct status 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:18:37 10:18:37 p2p client integration › should disconnect client when it returns status with wrong version 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:18:37 10:18:37 p2p client integration › should disconnect client when it returns an invalid status 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:18:37 10:18:37 p2p client integration › propagates messages using mocked gossip sub network 10:18:37 10:18:37 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:37 10:18:37 135 | 10:18:37 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:18:37 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:37 | ^ 10:18:37 138 | if (peerIdPrivateKeyFilePath) { 10:18:37 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:37 140 | } else { 10:18:37 10:18:37 at getValue (util.ts:137:58) 10:18:37 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:37 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:37 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:37 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:37 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:18:37 10:18:37 Test Suites: 1 failed, 1 total 10:18:37 Tests: 9 failed, 9 total 10:18:37 Snapshots: 0 total 10:18:37 Time: 101.448 s 10:18:37 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:18:37 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?