Parent Log: http://ci.aztec-labs.com/5b879b87b8d51b7d Command: b71f9d6a9e3f68ca: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/ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 Env: REF_NAME=gh-readonly-queue/next/pr-15242-1c2c2ee2949dbe31742cc9501a31bf3bce8083cf CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 14:07:34 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 14:07:34 +++ id -u 14:07:34 +++ id -g 14:07:34 ++ 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'\''' 14:07:34 + cid=ca365b6a4f5701dd7876e7cca8c32ad0d93fb63c25f9f7b2f05cbcb1b72567d5 14:07:34 + set +x 14:07:36 {"level":25,"time":1750774056006,"pid":7,"hostname":"ca365b6a4f57","module":"logger","msg":"Logger initialized with level debug"} 14:07:45 [14:07:45.634] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 14:07:45 [14:07:45.764] DEBUG: foundation:randomness_singleton Using true randomness 14:07:46 {"level":20,"time":1750774065848,"pid":7,"hostname":"ca365b6a4f57","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 14:07:46 {"level":20,"time":1750774066066,"pid":7,"hostname":"ca365b6a4f57","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 14:07:56 [14:07:56.048] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:07:56 [14:07:56.062] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-FL6zs5 with size: 10485760 KB (LMDB v2) 14:07:56 [14:07:56.064] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:07:56 [14:07:56.075] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iZTWRh with size: 10485760 KB (LMDB v2) 14:07:56 [14:07:56.075] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:07:56 [14:07:56.078] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3NcwOq with size: 10485760 KB (LMDB v2) 14:07:56 [14:07:56.078] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:07:56 [14:07:56.081] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:07:56 [14:07:56.083] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 14:07:56 [14:07:56.083] INFO: p2p:test:integration Shut down p2p clients 14:07:56 [14:07:56.113] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 14:07:56 {"level":20,"time":1750774066102,"pid":7,"hostname":"ca365b6a4f57","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 14:07:56 {"level":20,"time":1750774066103,"pid":7,"hostname":"ca365b6a4f57","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"} 14:08:04 [14:08:04.954] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:04 [14:08:04.958] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Uke1QJ with size: 10485760 KB (LMDB v2) 14:08:04 [14:08:04.958] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:04 [14:08:04.960] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-FE7gss with size: 10485760 KB (LMDB v2) 14:08:04 [14:08:04.961] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:04 [14:08:04.963] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rTaapc with size: 10485760 KB (LMDB v2) 14:08:04 [14:08:04.963] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:04 [14:08:04.965] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:04 [14:08:04.966] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 14:08:04 [14:08:04.966] INFO: p2p:test:integration Shut down p2p clients 14:08:04 [14:08:04.972] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 14:08:14 [14:08:14.811] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:14 [14:08:14.814] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mn3C1M with size: 10485760 KB (LMDB v2) 14:08:14 [14:08:14.815] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:14 [14:08:14.817] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-nIY3lj with size: 10485760 KB (LMDB v2) 14:08:14 [14:08:14.817] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:14 [14:08:14.819] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-cjCsfZ with size: 10485760 KB (LMDB v2) 14:08:14 [14:08:14.819] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:14 [14:08:14.821] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:14 [14:08:14.822] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 14:08:14 [14:08:14.822] INFO: p2p:test:integration Shut down p2p clients 14:08:14 [14:08:14.824] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 14:08:24 [14:08:24.866] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:24 [14:08:24.869] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-aP3pnV with size: 10485760 KB (LMDB v2) 14:08:24 [14:08:24.869] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:24 [14:08:24.872] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-SOhqav with size: 10485760 KB (LMDB v2) 14:08:24 [14:08:24.873] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:24 [14:08:24.874] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XRqjnt with size: 10485760 KB (LMDB v2) 14:08:24 [14:08:24.875] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:24 [14:08:24.876] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:24 [14:08:24.877] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 14:08:24 [14:08:24.878] INFO: p2p:test:integration Shut down p2p clients 14:08:24 [14:08:24.880] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 14:08:34 [14:08:34.548] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:34 [14:08:34.563] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-YlLBfa with size: 10485760 KB (LMDB v2) 14:08:34 [14:08:34.564] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:34 [14:08:34.566] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WLWSVY with size: 10485760 KB (LMDB v2) 14:08:34 [14:08:34.566] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:34 [14:08:34.568] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uaMiq6 with size: 10485760 KB (LMDB v2) 14:08:34 [14:08:34.568] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:34 [14:08:34.570] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:34 [14:08:34.571] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 14:08:34 [14:08:34.571] INFO: p2p:test:integration Shut down p2p clients 14:08:34 [14:08:34.573] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 14:08:44 [14:08:44.527] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:44 [14:08:44.531] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-U82bzW with size: 10485760 KB (LMDB v2) 14:08:44 [14:08:44.531] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:44 [14:08:44.534] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VForrG with size: 10485760 KB (LMDB v2) 14:08:44 [14:08:44.534] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:44 [14:08:44.536] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-y4fp7N with size: 10485760 KB (LMDB v2) 14:08:44 [14:08:44.537] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:44 [14:08:44.539] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:44 [14:08:44.540] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 14:08:44 [14:08:44.540] INFO: p2p:test:integration Shut down p2p clients 14:08:44 [14:08:44.543] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 14:08:54 [14:08:54.719] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:08:54 [14:08:54.721] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Sh6RUe with size: 10485760 KB (LMDB v2) 14:08:54 [14:08:54.722] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:08:54 [14:08:54.724] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aWWiMx with size: 10485760 KB (LMDB v2) 14:08:54 [14:08:54.725] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:08:54 [14:08:54.727] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Maiilp with size: 10485760 KB (LMDB v2) 14:08:54 [14:08:54.727] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:08:54 [14:08:54.729] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:08:54 [14:08:54.730] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 14:08:54 [14:08:54.731] INFO: p2p:test:integration Shut down p2p clients 14:08:54 [14:08:54.733] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 14:09:04 [14:09:04.822] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:04 [14:09:04.826] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Rmu4Fy with size: 10485760 KB (LMDB v2) 14:09:04 [14:09:04.826] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:04 [14:09:04.829] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CtRiJV with size: 10485760 KB (LMDB v2) 14:09:04 [14:09:04.829] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:04 [14:09:04.832] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LJJuEK with size: 10485760 KB (LMDB v2) 14:09:04 [14:09:04.832] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:04 [14:09:04.834] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:04 [14:09:04.835] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 14:09:04 [14:09:04.835] INFO: p2p:test:integration Shut down p2p clients 14:09:04 [14:09:04.837] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 14:09:15 [14:09:15.574] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:09:15 [14:09:15.592] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MqaKZk with size: 10485760 KB (LMDB v2) 14:09:15 [14:09:15.594] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:09:15 [14:09:15.602] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZKx6FU with size: 10485760 KB (LMDB v2) 14:09:15 [14:09:15.603] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:09:15 [14:09:15.608] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-YaR3ct with size: 10485760 KB (LMDB v2) 14:09:15 [14:09:15.608] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:09:15 [14:09:15.610] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:09:15 [14:09:15.614] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 14:09:15 [14:09:15.615] INFO: p2p:test:integration Shut down p2p clients 14:09:15 FAIL src/client/p2p_client.integration.test.ts (99.956 s) 14:09:15 p2p client integration 14:09:15 returns undefined if unable to find a transaction from another peer (10454 ms) 14:09:15 can request a transaction from another peer (8859 ms) 14:09:15 will penalize peers that send invalid proofs (9851 ms) 14:09:15 will penalize peers that send the wrong transaction (10054 ms) 14:09:15 will propagate messages to peers at the same version (9692 ms) 14:09:15 should not disconnect clients when it returns correct status (9969 ms) 14:09:15 should disconnect client when it returns status with wrong version (10189 ms) 14:09:15 should disconnect client when it returns an invalid status (10103 ms) 14:09:15 propagates messages using mocked gossip sub network (10778 ms) 14:09:15 14:09:15 p2p client integration › returns undefined if unable to find a transaction from another peer 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 14:09:15 14:09:15 p2p client integration › can request a transaction from another peer 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 14:09:15 14:09:15 p2p client integration › will penalize peers that send invalid proofs 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 14:09:15 14:09:15 p2p client integration › will penalize peers that send the wrong transaction 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 14:09:15 14:09:15 p2p client integration › will propagate messages to peers at the same version 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 14:09:15 14:09:15 p2p client integration › should not disconnect clients when it returns correct status 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 14:09:15 14:09:15 p2p client integration › should disconnect client when it returns status with wrong version 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 14:09:15 14:09:15 p2p client integration › should disconnect client when it returns an invalid status 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 14:09:15 14:09:15 p2p client integration › propagates messages using mocked gossip sub network 14:09:15 14:09:15 TypeError: config.peerIdPrivateKey.getValue is not a function 14:09:15 14:09:15 135 | 14:09:15 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:09:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:09:15 | ^ 14:09:15 138 | if (peerIdPrivateKeyFilePath) { 14:09:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:09:15 140 | } else { 14:09:15 14:09:15 at getValue (util.ts:137:58) 14:09:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:09:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:09:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:09:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:09:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 14:09:15 14:09:15 Test Suites: 1 failed, 1 total 14:09:15 Tests: 9 failed, 9 total 14:09:15 Snapshots: 0 total 14:09:15 Time: 100.053 s 14:09:15 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 14:09:15 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?