Parent Log: http://ci.aztec-labs.com/d6e2870b40e3c4b2 Command: 4bbe74ae418a22a0: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/87c4b689268afecc86ab007c3587e45110daa43d Env: REF_NAME=gh-readonly-queue/next/pr-15220-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Tue Jun 24 16:35:57 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15220_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 16:35:57 +++ id -u 16:35:57 +++ id -g 16:35:57 ++ 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'\''' 16:35:57 + cid=a7386d9115b628173c1751c968875524347e116a3ef9e803a289b2c823ccc2e3 16:35:57 + set +x 16:35:58 {"level":25,"time":1750782958561,"pid":7,"hostname":"a7386d9115b6","module":"logger","msg":"Logger initialized with level debug"} 16:36:05 [16:36:05.703] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 16:36:05 [16:36:05.778] DEBUG: foundation:randomness_singleton Using true randomness 16:36:06 {"level":20,"time":1750782965829,"pid":7,"hostname":"a7386d9115b6","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 16:36:06 {"level":20,"time":1750782966012,"pid":7,"hostname":"a7386d9115b6","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 16:36:14 [16:36:14.008] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:36:14 [16:36:14.010] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TX27CN with size: 10485760 KB (LMDB v2) 16:36:14 [16:36:14.011] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:36:14 [16:36:14.016] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-g1koWn with size: 10485760 KB (LMDB v2) 16:36:14 [16:36:14.016] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:36:14 [16:36:14.017] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-mc4CMa with size: 10485760 KB (LMDB v2) 16:36:14 [16:36:14.018] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:36:14 [16:36:14.020] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:36:14 [16:36:14.021] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 16:36:14 [16:36:14.021] INFO: p2p:test:integration Shut down p2p clients 16:36:14 [16:36:14.038] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 16:36:14 {"level":20,"time":1750782966034,"pid":7,"hostname":"a7386d9115b6","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 16:36:14 {"level":20,"time":1750782966034,"pid":7,"hostname":"a7386d9115b6","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"} 16:36:21 [16:36:21.418] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:36:21 [16:36:21.419] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xN4Wg4 with size: 10485760 KB (LMDB v2) 16:36:21 [16:36:21.419] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:36:21 [16:36:21.420] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-D7eACT with size: 10485760 KB (LMDB v2) 16:36:21 [16:36:21.421] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:36:21 [16:36:21.422] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Gf9lyQ with size: 10485760 KB (LMDB v2) 16:36:21 [16:36:21.422] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:36:21 [16:36:21.423] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:36:21 [16:36:21.424] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 16:36:21 [16:36:21.424] INFO: p2p:test:integration Shut down p2p clients 16:36:21 [16:36:21.426] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 16:36:28 [16:36:28.909] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:36:28 [16:36:28.910] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1CaF5K with size: 10485760 KB (LMDB v2) 16:36:28 [16:36:28.910] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:36:28 [16:36:28.912] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pE7Aat with size: 10485760 KB (LMDB v2) 16:36:28 [16:36:28.912] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:36:28 [16:36:28.913] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2kJswI with size: 10485760 KB (LMDB v2) 16:36:28 [16:36:28.913] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:36:28 [16:36:28.914] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:36:28 [16:36:28.915] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 16:36:28 [16:36:28.915] INFO: p2p:test:integration Shut down p2p clients 16:36:28 [16:36:28.916] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 16:36:36 [16:36:36.618] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:36:36 [16:36:36.629] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qqIc26 with size: 10485760 KB (LMDB v2) 16:36:36 [16:36:36.629] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:36:36 [16:36:36.631] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VssvM5 with size: 10485760 KB (LMDB v2) 16:36:36 [16:36:36.631] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:36:36 [16:36:36.632] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yFX3DH with size: 10485760 KB (LMDB v2) 16:36:36 [16:36:36.632] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:36:36 [16:36:36.633] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:36:36 [16:36:36.634] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 16:36:36 [16:36:36.634] INFO: p2p:test:integration Shut down p2p clients 16:36:36 [16:36:36.635] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 16:36:44 [16:36:44.487] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:36:44 [16:36:44.489] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-vcDJp7 with size: 10485760 KB (LMDB v2) 16:36:44 [16:36:44.489] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:36:44 [16:36:44.490] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JHIUmP with size: 10485760 KB (LMDB v2) 16:36:44 [16:36:44.490] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:36:44 [16:36:44.491] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gZuNWK with size: 10485760 KB (LMDB v2) 16:36:44 [16:36:44.492] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:36:44 [16:36:44.493] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:36:44 [16:36:44.493] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 16:36:44 [16:36:44.494] INFO: p2p:test:integration Shut down p2p clients 16:36:44 [16:36:44.495] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 16:36:52 [16:36:52.447] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:36:52 [16:36:52.448] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kOykzZ with size: 10485760 KB (LMDB v2) 16:36:52 [16:36:52.448] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:36:52 [16:36:52.449] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dTV05m with size: 10485760 KB (LMDB v2) 16:36:52 [16:36:52.449] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:36:52 [16:36:52.450] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yWgBxQ with size: 10485760 KB (LMDB v2) 16:36:52 [16:36:52.450] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:36:52 [16:36:52.451] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:36:52 [16:36:52.451] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 16:36:52 [16:36:52.451] INFO: p2p:test:integration Shut down p2p clients 16:36:52 [16:36:52.453] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 16:37:00 [16:37:00.340] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:37:00 [16:37:00.341] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-YHyQ0k with size: 10485760 KB (LMDB v2) 16:37:00 [16:37:00.341] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:37:00 [16:37:00.342] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Xcmi4J with size: 10485760 KB (LMDB v2) 16:37:00 [16:37:00.342] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:37:00 [16:37:00.343] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zk51TW with size: 10485760 KB (LMDB v2) 16:37:00 [16:37:00.343] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:37:00 [16:37:00.344] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:37:00 [16:37:00.344] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 16:37:00 [16:37:00.345] INFO: p2p:test:integration Shut down p2p clients 16:37:00 [16:37:00.346] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 16:37:08 [16:37:08.387] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:37:08 [16:37:08.399] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MVbsDk with size: 10485760 KB (LMDB v2) 16:37:08 [16:37:08.400] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:37:08 [16:37:08.401] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZV061x with size: 10485760 KB (LMDB v2) 16:37:08 [16:37:08.401] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:37:08 [16:37:08.402] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dMHFf3 with size: 10485760 KB (LMDB v2) 16:37:08 [16:37:08.403] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:37:08 [16:37:08.403] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:37:08 [16:37:08.404] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 16:37:08 [16:37:08.404] INFO: p2p:test:integration Shut down p2p clients 16:37:08 [16:37:08.405] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 16:37:16 [16:37:16.969] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 16:37:16 [16:37:16.971] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-NQHo8U with size: 10485760 KB (LMDB v2) 16:37:16 [16:37:16.971] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 16:37:16 [16:37:16.973] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XHMNKs with size: 10485760 KB (LMDB v2) 16:37:16 [16:37:16.973] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 16:37:16 [16:37:16.974] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JyXKEI with size: 10485760 KB (LMDB v2) 16:37:16 [16:37:16.975] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 16:37:16 [16:37:16.977] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 16:37:16 [16:37:16.978] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 16:37:16 [16:37:16.978] INFO: p2p:test:integration Shut down p2p clients 16:37:17 FAIL src/client/p2p_client.integration.test.ts (78.704 s) 16:37:17 p2p client integration 16:37:17 returns undefined if unable to find a transaction from another peer (8321 ms) 16:37:17 can request a transaction from another peer (7387 ms) 16:37:17 will penalize peers that send invalid proofs (7490 ms) 16:37:17 will penalize peers that send the wrong transaction (7718 ms) 16:37:17 will propagate messages to peers at the same version (7859 ms) 16:37:17 should not disconnect clients when it returns correct status (7958 ms) 16:37:17 should disconnect client when it returns status with wrong version (7893 ms) 16:37:17 should disconnect client when it returns an invalid status (8059 ms) 16:37:17 propagates messages using mocked gossip sub network (8573 ms) 16:37:17 16:37:17 p2p client integration › returns undefined if unable to find a transaction from another peer 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 16:37:17 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 16:37:17 16:37:17 p2p client integration › can request a transaction from another peer 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 16:37:17 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 16:37:17 16:37:17 p2p client integration › will penalize peers that send invalid proofs 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 16:37:17 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 16:37:17 16:37:17 p2p client integration › will penalize peers that send the wrong transaction 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 16:37:17 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 16:37:17 16:37:17 p2p client integration › will propagate messages to peers at the same version 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 16:37:17 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 16:37:17 16:37:17 p2p client integration › should not disconnect clients when it returns correct status 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 16:37:17 16:37:17 p2p client integration › should disconnect client when it returns status with wrong version 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 16:37:17 16:37:17 p2p client integration › should disconnect client when it returns an invalid status 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 16:37:17 16:37:17 p2p client integration › propagates messages using mocked gossip sub network 16:37:17 16:37:17 TypeError: config.peerIdPrivateKey.getValue is not a function 16:37:17 16:37:17 135 | 16:37:17 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 16:37:17 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 16:37:17 | ^ 16:37:17 138 | if (peerIdPrivateKeyFilePath) { 16:37:17 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 16:37:17 140 | } else { 16:37:17 16:37:17 at getValue (util.ts:137:58) 16:37:17 at getPeerIdPrivateKey (client/factory.ts:75:34) 16:37:17 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 16:37:17 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 16:37:17 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 16:37:17 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 16:37:17 16:37:17 Test Suites: 1 failed, 1 total 16:37:17 Tests: 9 failed, 9 total 16:37:17 Snapshots: 0 total 16:37:17 Time: 78.78 s 16:37:17 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 16:37:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?