Parent Log: http://ci.aztec-labs.com/435706e38308157a 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:34 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15232_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 13:51:34 +++ id -u 13:51:34 +++ id -g 13:51: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'\''' 13:51:34 + cid=3592996eb9ea3c008b5088e1a71661e40f085578f2815f53e5e77a5b9d8e1653 13:51:34 + set +x 13:51:35 {"level":25,"time":1750773095933,"pid":7,"hostname":"3592996eb9ea","module":"logger","msg":"Logger initialized with level debug"} 13:51:45 [13:51:45.383] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 13:51:45 [13:51:45.466] DEBUG: foundation:randomness_singleton Using true randomness 13:51:46 {"level":20,"time":1750773105534,"pid":7,"hostname":"3592996eb9ea","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 13:51:46 {"level":20,"time":1750773105759,"pid":7,"hostname":"3592996eb9ea","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 13:51:55 [13:51:55.993] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:51:55 [13:51:55.999] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kj2jNK with size: 10485760 KB (LMDB v2) 13:51:56 [13:51:56.000] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:51:56 [13:51:56.013] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tiUo8k with size: 10485760 KB (LMDB v2) 13:51:56 [13:51:56.014] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:51:56 [13:51:56.017] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EtSA4r with size: 10485760 KB (LMDB v2) 13:51:56 [13:51:56.017] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:51:56 [13:51:56.019] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:51:56 [13:51:56.021] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 13:51:56 [13:51:56.021] INFO: p2p:test:integration Shut down p2p clients 13:51:56 [13:51:56.039] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 13:51:56 {"level":20,"time":1750773105788,"pid":7,"hostname":"3592996eb9ea","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 13:51:56 {"level":20,"time":1750773105789,"pid":7,"hostname":"3592996eb9ea","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:52:05 [13:52:05.319] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:05 [13:52:05.335] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jIpRXR with size: 10485760 KB (LMDB v2) 13:52:05 [13:52:05.335] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:05 [13:52:05.338] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Nehtw7 with size: 10485760 KB (LMDB v2) 13:52:05 [13:52:05.338] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:05 [13:52:05.340] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Fknyui with size: 10485760 KB (LMDB v2) 13:52:05 [13:52:05.340] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:05 [13:52:05.342] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:05 [13:52:05.344] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 13:52:05 [13:52:05.344] INFO: p2p:test:integration Shut down p2p clients 13:52:05 [13:52:05.347] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 13:52:14 [13:52:14.700] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:14 [13:52:14.702] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-BSC0X4 with size: 10485760 KB (LMDB v2) 13:52:14 [13:52:14.703] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:14 [13:52:14.705] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lZrjot with size: 10485760 KB (LMDB v2) 13:52:14 [13:52:14.705] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:14 [13:52:14.707] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bqeDj3 with size: 10485760 KB (LMDB v2) 13:52:14 [13:52:14.707] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:14 [13:52:14.708] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:14 [13:52:14.709] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 13:52:14 [13:52:14.710] INFO: p2p:test:integration Shut down p2p clients 13:52:14 [13:52:14.711] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 13:52:24 [13:52:24.057] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:24 [13:52:24.058] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lSWpdF with size: 10485760 KB (LMDB v2) 13:52:24 [13:52:24.059] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:24 [13:52:24.061] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NcW175 with size: 10485760 KB (LMDB v2) 13:52:24 [13:52:24.061] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:24 [13:52:24.063] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qDtb9i with size: 10485760 KB (LMDB v2) 13:52:24 [13:52:24.063] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:24 [13:52:24.065] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:24 [13:52:24.066] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 13:52:24 [13:52:24.066] INFO: p2p:test:integration Shut down p2p clients 13:52:24 [13:52:24.068] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 13:52:33 [13:52:33.863] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:33 [13:52:33.866] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qxhjeR with size: 10485760 KB (LMDB v2) 13:52:33 [13:52:33.866] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:33 [13:52:33.868] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-qD2ACk with size: 10485760 KB (LMDB v2) 13:52:33 [13:52:33.869] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:33 [13:52:33.871] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LiJ1bs with size: 10485760 KB (LMDB v2) 13:52:33 [13:52:33.871] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:33 [13:52:33.873] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:33 [13:52:33.874] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 13:52:33 [13:52:33.874] INFO: p2p:test:integration Shut down p2p clients 13:52:33 [13:52:33.876] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 13:52:43 [13:52:43.699] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:43 [13:52:43.701] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-K0aybr with size: 10485760 KB (LMDB v2) 13:52:43 [13:52:43.701] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:43 [13:52:43.707] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pEGYID with size: 10485760 KB (LMDB v2) 13:52:43 [13:52:43.708] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:43 [13:52:43.729] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-U9pGg5 with size: 10485760 KB (LMDB v2) 13:52:43 [13:52:43.729] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:43 [13:52:43.734] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:43 [13:52:43.735] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 13:52:43 [13:52:43.736] INFO: p2p:test:integration Shut down p2p clients 13:52:43 [13:52:43.737] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 13:52:54 [13:52:54.208] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:54 [13:52:54.210] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-i1uvLX with size: 10485760 KB (LMDB v2) 13:52:54 [13:52:54.211] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:54 [13:52:54.214] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8XO6QX with size: 10485760 KB (LMDB v2) 13:52:54 [13:52:54.214] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:54 [13:52:54.217] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fQ1edJ with size: 10485760 KB (LMDB v2) 13:52:54 [13:52:54.217] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:54 [13:52:54.218] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:54 [13:52:54.219] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 13:52:54 [13:52:54.219] INFO: p2p:test:integration Shut down p2p clients 13:52:54 [13:52:54.221] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 13:53:04 [13:53:04.637] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:53:04 [13:53:04.639] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0ai32B with size: 10485760 KB (LMDB v2) 13:53:04 [13:53:04.640] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:53:04 [13:53:04.642] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ruC4eO with size: 10485760 KB (LMDB v2) 13:53:04 [13:53:04.642] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:53:04 [13:53:04.644] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bX0Ryj with size: 10485760 KB (LMDB v2) 13:53:04 [13:53:04.645] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:53:04 [13:53:04.646] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:53:04 [13:53:04.647] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 13:53:04 [13:53:04.647] INFO: p2p:test:integration Shut down p2p clients 13:53:04 [13:53:04.649] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 13:53:15 [13:53:15.559] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:53:15 [13:53:15.560] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nTSuNP with size: 10485760 KB (LMDB v2) 13:53:15 [13:53:15.561] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:53:15 [13:53:15.563] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XwaDen with size: 10485760 KB (LMDB v2) 13:53:15 [13:53:15.563] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:53:15 [13:53:15.564] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-0m3pGr with size: 10485760 KB (LMDB v2) 13:53:15 [13:53:15.565] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:53:15 [13:53:15.567] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:53:15 [13:53:15.568] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 13:53:15 [13:53:15.568] INFO: p2p:test:integration Shut down p2p clients 13:53:15 FAIL src/client/p2p_client.integration.test.ts (99.983 s) 13:53:15 p2p client integration 13:53:15 returns undefined if unable to find a transaction from another peer (10641 ms) 13:53:15 can request a transaction from another peer (9306 ms) 13:53:15 will penalize peers that send invalid proofs (9364 ms) 13:53:15 will penalize peers that send the wrong transaction (9355 ms) 13:53:15 will propagate messages to peers at the same version (9807 ms) 13:53:15 should not disconnect clients when it returns correct status (9861 ms) 13:53:15 should disconnect client when it returns status with wrong version (10483 ms) 13:53:15 should disconnect client when it returns an invalid status (10428 ms) 13:53:15 propagates messages using mocked gossip sub network (10919 ms) 13:53:15 13:53:15 p2p client integration › returns undefined if unable to find a transaction from another peer 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 13:53:15 13:53:15 p2p client integration › can request a transaction from another peer 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 13:53:15 13:53:15 p2p client integration › will penalize peers that send invalid proofs 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 13:53:15 13:53:15 p2p client integration › will penalize peers that send the wrong transaction 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 13:53:15 13:53:15 p2p client integration › will propagate messages to peers at the same version 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 13:53:15 13:53:15 p2p client integration › should not disconnect clients when it returns correct status 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 13:53:15 13:53:15 p2p client integration › should disconnect client when it returns status with wrong version 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 13:53:15 13:53:15 p2p client integration › should disconnect client when it returns an invalid status 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 13:53:15 13:53:15 p2p client integration › propagates messages using mocked gossip sub network 13:53:15 13:53:15 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:15 13:53:15 135 | 13:53: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 13:53:15 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:15 | ^ 13:53:15 138 | if (peerIdPrivateKeyFilePath) { 13:53:15 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:15 140 | } else { 13:53:15 13:53:15 at getValue (util.ts:137:58) 13:53:15 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:15 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:15 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:15 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:15 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 13:53:15 13:53:15 Test Suites: 1 failed, 1 total 13:53:15 Tests: 9 failed, 9 total 13:53:15 Snapshots: 0 total 13:53:15 Time: 100.074 s 13:53:15 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 13:53:15 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?