Parent Log: http://ci.aztec-labs.com/1ad07270fdfb8297 Command: 2dbc0f6449ec2b2d:ISOLATE=1:NAME=p2p/src/client/p2p_client.integration.test.ts LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc Env: REF_NAME=gh-readonly-queue/next/pr-15215-1b10c7d500621ca2e4c0db764df67f3085beb282 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Tue Jun 24 10:20:15 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15215_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:20:15 +++ id -u 10:20:15 +++ id -g 10:20:15 ++ 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'\''' 10:20:15 + cid=a45596c50eb424cddc56f8e9ef07286cdc3ba632ba8e7d0452536cf2bcec07d3 10:20:15 + set +x 10:20:16 {"level":25,"time":1750760416403,"pid":7,"hostname":"a45596c50eb4","module":"logger","msg":"Logger initialized with level debug"} 10:20:22 [10:20:22.703] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:20:22 [10:20:22.771] DEBUG: foundation:randomness_singleton Using true randomness 10:20:23 {"level":20,"time":1750760422813,"pid":7,"hostname":"a45596c50eb4","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:20:23 {"level":20,"time":1750760422981,"pid":7,"hostname":"a45596c50eb4","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:20:30 [10:20:30.418] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:20:30 [10:20:30.421] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-hC5ANZ with size: 10485760 KB (LMDB v2) 10:20:30 [10:20:30.421] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:20:30 [10:20:30.426] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-BdSe1p with size: 10485760 KB (LMDB v2) 10:20:30 [10:20:30.427] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:20:30 [10:20:30.428] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hXwfKH with size: 10485760 KB (LMDB v2) 10:20:30 [10:20:30.429] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:20:30 [10:20:30.430] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:20:30 [10:20:30.431] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:20:30 [10:20:30.431] INFO: p2p:test:integration Shut down p2p clients 10:20:30 [10:20:30.448] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:20:31 {"level":20,"time":1750760423005,"pid":7,"hostname":"a45596c50eb4","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:20:31 {"level":20,"time":1750760423006,"pid":7,"hostname":"a45596c50eb4","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"} 10:20:37 [10:20:37.843] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:20:37 [10:20:37.845] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9kRjJL with size: 10485760 KB (LMDB v2) 10:20:37 [10:20:37.845] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:20:37 [10:20:37.846] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TYCtcT with size: 10485760 KB (LMDB v2) 10:20:37 [10:20:37.846] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:20:37 [10:20:37.848] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-g02L1S with size: 10485760 KB (LMDB v2) 10:20:37 [10:20:37.848] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:20:37 [10:20:37.849] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:20:37 [10:20:37.849] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:20:37 [10:20:37.849] INFO: p2p:test:integration Shut down p2p clients 10:20:37 [10:20:37.851] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:20:45 [10:20:45.204] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:20:45 [10:20:45.205] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qCMtcF with size: 10485760 KB (LMDB v2) 10:20:45 [10:20:45.205] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:20:45 [10:20:45.206] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1GZBIJ with size: 10485760 KB (LMDB v2) 10:20:45 [10:20:45.207] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:20:45 [10:20:45.208] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9sAvW9 with size: 10485760 KB (LMDB v2) 10:20:45 [10:20:45.208] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:20:45 [10:20:45.209] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:20:45 [10:20:45.209] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:20:45 [10:20:45.209] INFO: p2p:test:integration Shut down p2p clients 10:20:45 [10:20:45.211] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:20:52 [10:20:52.759] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:20:52 [10:20:52.771] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-CTUxB1 with size: 10485760 KB (LMDB v2) 10:20:52 [10:20:52.771] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:20:52 [10:20:52.772] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kViy6T with size: 10485760 KB (LMDB v2) 10:20:52 [10:20:52.772] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:20:52 [10:20:52.773] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Aq8kxU with size: 10485760 KB (LMDB v2) 10:20:52 [10:20:52.774] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:20:52 [10:20:52.774] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:20:52 [10:20:52.775] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:20:52 [10:20:52.775] INFO: p2p:test:integration Shut down p2p clients 10:20:52 [10:20:52.776] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:21:00 [10:21:00.480] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:21:00 [10:21:00.481] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-XZQ1hx with size: 10485760 KB (LMDB v2) 10:21:00 [10:21:00.481] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:21:00 [10:21:00.483] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Irdc2Z with size: 10485760 KB (LMDB v2) 10:21:00 [10:21:00.483] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:21:00 [10:21:00.484] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5cO0ds with size: 10485760 KB (LMDB v2) 10:21:00 [10:21:00.485] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:21:00 [10:21:00.485] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:21:00 [10:21:00.486] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:21:00 [10:21:00.486] INFO: p2p:test:integration Shut down p2p clients 10:21:00 [10:21:00.487] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:21:08 [10:21:08.293] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:21:08 [10:21:08.294] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-h0WIx4 with size: 10485760 KB (LMDB v2) 10:21:08 [10:21:08.294] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:21:08 [10:21:08.295] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QAhpJ2 with size: 10485760 KB (LMDB v2) 10:21:08 [10:21:08.295] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:21:08 [10:21:08.296] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ishQrj with size: 10485760 KB (LMDB v2) 10:21:08 [10:21:08.296] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:21:08 [10:21:08.297] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:21:08 [10:21:08.297] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:21:08 [10:21:08.298] INFO: p2p:test:integration Shut down p2p clients 10:21:08 [10:21:08.299] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:21:16 [10:21:16.142] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:21:16 [10:21:16.143] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bV5Vzg with size: 10485760 KB (LMDB v2) 10:21:16 [10:21:16.144] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:21:16 [10:21:16.145] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Nojt65 with size: 10485760 KB (LMDB v2) 10:21:16 [10:21:16.145] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:21:16 [10:21:16.146] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tKS2sD with size: 10485760 KB (LMDB v2) 10:21:16 [10:21:16.146] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:21:16 [10:21:16.147] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:21:16 [10:21:16.147] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:21:16 [10:21:16.147] INFO: p2p:test:integration Shut down p2p clients 10:21:16 [10:21:16.148] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:21:23 [10:21:23.985] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:21:23 [10:21:23.986] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-r3SrRz with size: 10485760 KB (LMDB v2) 10:21:23 [10:21:23.986] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:21:23 [10:21:23.987] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ykdKLD with size: 10485760 KB (LMDB v2) 10:21:23 [10:21:23.988] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:21:23 [10:21:23.988] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-I69JvU with size: 10485760 KB (LMDB v2) 10:21:23 [10:21:23.989] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:21:23 [10:21:23.989] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:21:23 [10:21:23.990] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:21:23 [10:21:23.990] INFO: p2p:test:integration Shut down p2p clients 10:21:23 [10:21:23.991] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:21:31 [10:21:31.926] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:21:31 [10:21:31.927] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-LMvoJ9 with size: 10485760 KB (LMDB v2) 10:21:31 [10:21:31.927] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:21:31 [10:21:31.928] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lcyf7F with size: 10485760 KB (LMDB v2) 10:21:31 [10:21:31.929] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:21:31 [10:21:31.930] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6x5tE9 with size: 10485760 KB (LMDB v2) 10:21:31 [10:21:31.930] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:21:31 [10:21:31.931] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:21:31 [10:21:31.932] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:21:31 [10:21:31.932] INFO: p2p:test:integration Shut down p2p clients 10:21:32 FAIL src/client/p2p_client.integration.test.ts (75.792 s) 10:21:32 p2p client integration 10:21:32 returns undefined if unable to find a transaction from another peer (7732 ms) 10:21:32 can request a transaction from another peer (7403 ms) 10:21:32 will penalize peers that send invalid proofs (7359 ms) 10:21:32 will penalize peers that send the wrong transaction (7565 ms) 10:21:32 will propagate messages to peers at the same version (7710 ms) 10:21:32 should not disconnect clients when it returns correct status (7811 ms) 10:21:32 should disconnect client when it returns status with wrong version (7848 ms) 10:21:32 should disconnect client when it returns an invalid status (7842 ms) 10:21:32 propagates messages using mocked gossip sub network (7941 ms) 10:21:32 10:21:32 p2p client integration › returns undefined if unable to find a transaction from another peer 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:21:32 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:21:32 10:21:32 p2p client integration › can request a transaction from another peer 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:21:32 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:21:32 10:21:32 p2p client integration › will penalize peers that send invalid proofs 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:21:32 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:21:32 10:21:32 p2p client integration › will penalize peers that send the wrong transaction 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:21:32 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:21:32 10:21:32 p2p client integration › will propagate messages to peers at the same version 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:21:32 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:21:32 10:21:32 p2p client integration › should not disconnect clients when it returns correct status 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:21:32 10:21:32 p2p client integration › should disconnect client when it returns status with wrong version 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:21:32 10:21:32 p2p client integration › should disconnect client when it returns an invalid status 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:21:32 10:21:32 p2p client integration › propagates messages using mocked gossip sub network 10:21:32 10:21:32 TypeError: config.peerIdPrivateKey.getValue is not a function 10:21:32 10:21:32 135 | 10:21:32 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 10:21:32 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:21:32 | ^ 10:21:32 138 | if (peerIdPrivateKeyFilePath) { 10:21:32 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:21:32 140 | } else { 10:21:32 10:21:32 at getValue (util.ts:137:58) 10:21:32 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:21:32 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:21:32 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:21:32 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:21:32 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:21:32 10:21:32 Test Suites: 1 failed, 1 total 10:21:32 Tests: 9 failed, 9 total 10:21:32 Snapshots: 0 total 10:21:32 Time: 75.869 s 10:21:32 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:21:32 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?