Parent Log: http://ci.aztec-labs.com/8a3ee89ab285e396 Command: 270716767bef7882: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/1c2c2ee2949dbe31742cc9501a31bf3bce8083cf Env: REF_NAME=gh-readonly-queue/next/pr-15232-aedcee89a2544b0e6baf93c4e71d88991f09111e CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 13:51:06 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15232_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 13:51:06 +++ id -u 13:51:06 +++ id -g 13:51:06 ++ 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'\''' 13:51:06 + cid=ae06b0c7ea81552541e6667e29b1ce065a65b3fff43e2bbc2aa796157b23ef07 13:51:06 + set +x 13:51:08 {"level":25,"time":1750773068365,"pid":7,"hostname":"ae06b0c7ea81","module":"logger","msg":"Logger initialized with level debug"} 13:51:18 [13:51:18.663] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 13:51:18 [13:51:18.778] DEBUG: foundation:randomness_singleton Using true randomness 13:51:19 {"level":20,"time":1750773078854,"pid":7,"hostname":"ae06b0c7ea81","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 13:51:19 {"level":20,"time":1750773079075,"pid":7,"hostname":"ae06b0c7ea81","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 13:51:29 [13:51:29.421] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:51:29 [13:51:29.427] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-4wVDOH with size: 10485760 KB (LMDB v2) 13:51:29 [13:51:29.428] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:51:29 [13:51:29.435] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-M9IWP5 with size: 10485760 KB (LMDB v2) 13:51:29 [13:51:29.435] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:51:29 [13:51:29.437] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XYqYBG with size: 10485760 KB (LMDB v2) 13:51:29 [13:51:29.438] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:51:29 [13:51:29.440] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:51:29 [13:51:29.442] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 13:51:29 [13:51:29.442] INFO: p2p:test:integration Shut down p2p clients 13:51:29 [13:51:29.465] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 13:51:29 {"level":20,"time":1750773079142,"pid":7,"hostname":"ae06b0c7ea81","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 13:51:29 {"level":20,"time":1750773079142,"pid":7,"hostname":"ae06b0c7ea81","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"} 13:51:38 [13:51:38.781] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:51:38 [13:51:38.809] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-t9uJ8D with size: 10485760 KB (LMDB v2) 13:51:38 [13:51:38.810] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:51:38 [13:51:38.812] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QxVM8O with size: 10485760 KB (LMDB v2) 13:51:38 [13:51:38.813] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:51:38 [13:51:38.815] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-a2tFgy with size: 10485760 KB (LMDB v2) 13:51:38 [13:51:38.815] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:51:38 [13:51:38.817] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:51:38 [13:51:38.818] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 13:51:38 [13:51:38.818] INFO: p2p:test:integration Shut down p2p clients 13:51:38 [13:51:38.820] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 13:51:48 [13:51:48.796] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:51:48 [13:51:48.799] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qvzVCi with size: 10485760 KB (LMDB v2) 13:51:48 [13:51:48.800] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:51:48 [13:51:48.808] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-AcsoAH with size: 10485760 KB (LMDB v2) 13:51:48 [13:51:48.809] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:51:48 [13:51:48.811] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NBrw8t with size: 10485760 KB (LMDB v2) 13:51:48 [13:51:48.812] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:51:48 [13:51:48.814] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:51:48 [13:51:48.815] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 13:51:48 [13:51:48.815] INFO: p2p:test:integration Shut down p2p clients 13:51:48 [13:51:48.817] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 13:51:59 [13:51:59.018] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:51:59 [13:51:59.022] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jiNG5O with size: 10485760 KB (LMDB v2) 13:51:59 [13:51:59.023] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:51:59 [13:51:59.026] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JZ74ZH with size: 10485760 KB (LMDB v2) 13:51:59 [13:51:59.027] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:51:59 [13:51:59.029] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-O3fU7o with size: 10485760 KB (LMDB v2) 13:51:59 [13:51:59.029] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:51:59 [13:51:59.032] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:51:59 [13:51:59.033] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 13:51:59 [13:51:59.033] INFO: p2p:test:integration Shut down p2p clients 13:51:59 [13:51:59.037] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 13:52:08 [13:52:08.845] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:08 [13:52:08.848] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-PlDspM with size: 10485760 KB (LMDB v2) 13:52:08 [13:52:08.848] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:08 [13:52:08.850] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-voM5mW with size: 10485760 KB (LMDB v2) 13:52:08 [13:52:08.851] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:08 [13:52:08.853] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-610LbK with size: 10485760 KB (LMDB v2) 13:52:08 [13:52:08.853] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:08 [13:52:08.855] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:08 [13:52:08.856] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 13:52:08 [13:52:08.856] INFO: p2p:test:integration Shut down p2p clients 13:52:08 [13:52:08.858] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 13:52:19 [13:52:19.132] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:19 [13:52:19.147] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DXWXyv with size: 10485760 KB (LMDB v2) 13:52:19 [13:52:19.148] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:19 [13:52:19.151] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-udHadU with size: 10485760 KB (LMDB v2) 13:52:19 [13:52:19.151] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:19 [13:52:19.153] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tqYQvI with size: 10485760 KB (LMDB v2) 13:52:19 [13:52:19.154] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:19 [13:52:19.155] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:19 [13:52:19.156] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 13:52:19 [13:52:19.156] INFO: p2p:test:integration Shut down p2p clients 13:52:19 [13:52:19.158] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 13:52:29 [13:52:29.642] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:29 [13:52:29.645] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-utcHlD with size: 10485760 KB (LMDB v2) 13:52:29 [13:52:29.645] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:29 [13:52:29.648] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-edtrnS with size: 10485760 KB (LMDB v2) 13:52:29 [13:52:29.648] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:29 [13:52:29.650] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-jimy6P with size: 10485760 KB (LMDB v2) 13:52:29 [13:52:29.651] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:29 [13:52:29.652] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:29 [13:52:29.653] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 13:52:29 [13:52:29.654] INFO: p2p:test:integration Shut down p2p clients 13:52:29 [13:52:29.656] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 13:52:40 [13:52:40.297] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:40 [13:52:40.303] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wVQrwz with size: 10485760 KB (LMDB v2) 13:52:40 [13:52:40.304] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:40 [13:52:40.310] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-BzlLjv with size: 10485760 KB (LMDB v2) 13:52:40 [13:52:40.310] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:40 [13:52:40.315] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-d8Lu3X with size: 10485760 KB (LMDB v2) 13:52:40 [13:52:40.315] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:40 [13:52:40.320] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:40 [13:52:40.321] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 13:52:40 [13:52:40.322] INFO: p2p:test:integration Shut down p2p clients 13:52:40 [13:52:40.325] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 13:52:50 [13:52:50.700] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:50 [13:52:50.705] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fcK9HH with size: 10485760 KB (LMDB v2) 13:52:50 [13:52:50.706] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:50 [13:52:50.712] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1PDZYU with size: 10485760 KB (LMDB v2) 13:52:50 [13:52:50.712] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:50 [13:52:50.718] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wwz6QJ with size: 10485760 KB (LMDB v2) 13:52:50 [13:52:50.718] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:50 [13:52:50.721] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:50 [13:52:50.723] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 13:52:50 [13:52:50.723] INFO: p2p:test:integration Shut down p2p clients 13:52:50 FAIL src/client/p2p_client.integration.test.ts (102.715 s) 13:52:50 p2p client integration 13:52:50 returns undefined if unable to find a transaction from another peer (10783 ms) 13:52:50 can request a transaction from another peer (9354 ms) 13:52:50 will penalize peers that send invalid proofs (9995 ms) 13:52:50 will penalize peers that send the wrong transaction (10218 ms) 13:52:50 will propagate messages to peers at the same version (9820 ms) 13:52:50 should not disconnect clients when it returns correct status (10298 ms) 13:52:50 should disconnect client when it returns status with wrong version (10496 ms) 13:52:50 should disconnect client when it returns an invalid status (10667 ms) 13:52:50 propagates messages using mocked gossip sub network (10399 ms) 13:52:50 13:52:50 p2p client integration › returns undefined if unable to find a transaction from another peer 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:52:50 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 13:52:50 13:52:50 p2p client integration › can request a transaction from another peer 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:52:50 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 13:52:50 13:52:50 p2p client integration › will penalize peers that send invalid proofs 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:52:50 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 13:52:50 13:52:50 p2p client integration › will penalize peers that send the wrong transaction 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:52:50 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 13:52:50 13:52:50 p2p client integration › will propagate messages to peers at the same version 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:52:50 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 13:52:50 13:52:50 p2p client integration › should not disconnect clients when it returns correct status 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 13:52:50 13:52:50 p2p client integration › should disconnect client when it returns status with wrong version 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 13:52:50 13:52:50 p2p client integration › should disconnect client when it returns an invalid status 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 13:52:50 13:52:50 p2p client integration › propagates messages using mocked gossip sub network 13:52:50 13:52:50 TypeError: config.peerIdPrivateKey.getValue is not a function 13:52:50 13:52:50 135 | 13:52:50 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:52:50 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:52:50 | ^ 13:52:50 138 | if (peerIdPrivateKeyFilePath) { 13:52:50 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:52:50 140 | } else { 13:52:50 13:52:50 at getValue (util.ts:137:58) 13:52:50 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:52:50 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:52:50 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:52:50 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:52:50 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 13:52:50 13:52:50 Test Suites: 1 failed, 1 total 13:52:50 Tests: 9 failed, 9 total 13:52:50 Snapshots: 0 total 13:52:50 Time: 102.806 s 13:52:50 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 13:52:50 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?