Parent Log: http://ci.aztec-labs.com/46c25c669e1eea13 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/aedcee89a2544b0e6baf93c4e71d88991f09111e Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 13:35:10 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 13:35:10 +++ id -u 13:35:10 +++ id -g 13:35:10 ++ 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:35:11 + cid=b9ad0fa8b9959ecff1c0e1f7cf4d165a1e4afc6989f5663dc10b6e71d12eaa21 13:35:11 + set +x 13:35:12 {"level":25,"time":1750772112669,"pid":7,"hostname":"b9ad0fa8b995","module":"logger","msg":"Logger initialized with level debug"} 13:35:22 [13:35:22.677] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 13:35:22 [13:35:22.778] DEBUG: foundation:randomness_singleton Using true randomness 13:35:23 {"level":20,"time":1750772122854,"pid":7,"hostname":"b9ad0fa8b995","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 13:35:23 {"level":20,"time":1750772123069,"pid":7,"hostname":"b9ad0fa8b995","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 13:35:33 [13:35:33.073] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:35:33 [13:35:33.078] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Yv4Lh8 with size: 10485760 KB (LMDB v2) 13:35:33 [13:35:33.079] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:35:33 [13:35:33.088] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kbTIhm with size: 10485760 KB (LMDB v2) 13:35:33 [13:35:33.088] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:35:33 [13:35:33.090] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fvmZiV with size: 10485760 KB (LMDB v2) 13:35:33 [13:35:33.091] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:35:33 [13:35:33.095] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:35:33 [13:35:33.096] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 13:35:33 [13:35:33.096] INFO: p2p:test:integration Shut down p2p clients 13:35:33 [13:35:33.120] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 13:35:33 {"level":20,"time":1750772123100,"pid":7,"hostname":"b9ad0fa8b995","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 13:35:33 {"level":20,"time":1750772123100,"pid":7,"hostname":"b9ad0fa8b995","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:35:42 [13:35:42.523] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:35:42 [13:35:42.541] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Xhd0Oi with size: 10485760 KB (LMDB v2) 13:35:42 [13:35:42.541] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:35:42 [13:35:42.544] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HRwGNB with size: 10485760 KB (LMDB v2) 13:35:42 [13:35:42.545] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:35:42 [13:35:42.548] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-BKvRlD with size: 10485760 KB (LMDB v2) 13:35:42 [13:35:42.548] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:35:42 [13:35:42.551] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:35:42 [13:35:42.553] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 13:35:42 [13:35:42.554] INFO: p2p:test:integration Shut down p2p clients 13:35:42 [13:35:42.557] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 13:35:52 [13:35:52.065] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:35:52 [13:35:52.067] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oisDU7 with size: 10485760 KB (LMDB v2) 13:35:52 [13:35:52.068] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:35:52 [13:35:52.070] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-UdX6aY with size: 10485760 KB (LMDB v2) 13:35:52 [13:35:52.070] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:35:52 [13:35:52.072] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EKAoOx with size: 10485760 KB (LMDB v2) 13:35:52 [13:35:52.072] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:35:52 [13:35:52.074] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:35:52 [13:35:52.075] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 13:35:52 [13:35:52.075] INFO: p2p:test:integration Shut down p2p clients 13:35:52 [13:35:52.077] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 13:36:01 [13:36:01.890] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:36:01 [13:36:01.894] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xngMz8 with size: 10485760 KB (LMDB v2) 13:36:01 [13:36:01.894] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:36:01 [13:36:01.897] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ViqCN2 with size: 10485760 KB (LMDB v2) 13:36:01 [13:36:01.898] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:36:01 [13:36:01.900] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hLJj83 with size: 10485760 KB (LMDB v2) 13:36:01 [13:36:01.901] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:36:01 [13:36:01.903] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:36:01 [13:36:01.904] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 13:36:01 [13:36:01.904] INFO: p2p:test:integration Shut down p2p clients 13:36:01 [13:36:01.907] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 13:36:12 [13:36:12.016] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:36:12 [13:36:12.030] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-XRh5EG with size: 10485760 KB (LMDB v2) 13:36:12 [13:36:12.032] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:36:12 [13:36:12.035] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-eQ4cpy with size: 10485760 KB (LMDB v2) 13:36:12 [13:36:12.035] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:36:12 [13:36:12.037] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EgrK94 with size: 10485760 KB (LMDB v2) 13:36:12 [13:36:12.038] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:36:12 [13:36:12.039] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:36:12 [13:36:12.040] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 13:36:12 [13:36:12.041] INFO: p2p:test:integration Shut down p2p clients 13:36:12 [13:36:12.043] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 13:36:22 [13:36:22.544] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:36:22 [13:36:22.547] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pNjZ2O with size: 10485760 KB (LMDB v2) 13:36:22 [13:36:22.547] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:36:22 [13:36:22.552] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2zLpMn with size: 10485760 KB (LMDB v2) 13:36:22 [13:36:22.553] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:36:22 [13:36:22.556] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TFbxyR with size: 10485760 KB (LMDB v2) 13:36:22 [13:36:22.557] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:36:22 [13:36:22.560] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:36:22 [13:36:22.561] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 13:36:22 [13:36:22.561] INFO: p2p:test:integration Shut down p2p clients 13:36:22 [13:36:22.564] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 13:36:33 [13:36:33.094] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:36:33 [13:36:33.096] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bV9oAp with size: 10485760 KB (LMDB v2) 13:36:33 [13:36:33.096] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:36:33 [13:36:33.099] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-EhNtco with size: 10485760 KB (LMDB v2) 13:36:33 [13:36:33.099] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:36:33 [13:36:33.101] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DrkoKr with size: 10485760 KB (LMDB v2) 13:36:33 [13:36:33.101] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:36:33 [13:36:33.103] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:36:33 [13:36:33.104] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 13:36:33 [13:36:33.104] INFO: p2p:test:integration Shut down p2p clients 13:36:33 [13:36:33.106] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 13:36:43 [13:36:43.826] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:36:43 [13:36:43.829] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-L1pPod with size: 10485760 KB (LMDB v2) 13:36:43 [13:36:43.829] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:36:43 [13:36:43.843] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gu2ngq with size: 10485760 KB (LMDB v2) 13:36:43 [13:36:43.844] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:36:43 [13:36:43.846] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Hqlrpx with size: 10485760 KB (LMDB v2) 13:36:43 [13:36:43.846] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:36:43 [13:36:43.847] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:36:43 [13:36:43.848] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 13:36:43 [13:36:43.849] INFO: p2p:test:integration Shut down p2p clients 13:36:43 [13:36:43.851] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 13:36:54 [13:36:54.649] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:36:54 [13:36:54.664] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QRnXMP with size: 10485760 KB (LMDB v2) 13:36:54 [13:36:54.666] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:36:54 [13:36:54.670] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-40Eemy with size: 10485760 KB (LMDB v2) 13:36:54 [13:36:54.670] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:36:54 [13:36:54.672] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-0Yn8lX with size: 10485760 KB (LMDB v2) 13:36:54 [13:36:54.672] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:36:54 [13:36:54.674] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:36:54 [13:36:54.675] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 13:36:54 [13:36:54.675] INFO: p2p:test:integration Shut down p2p clients 13:36:54 FAIL src/client/p2p_client.integration.test.ts (102.314 s) 13:36:54 p2p client integration 13:36:54 returns undefined if unable to find a transaction from another peer (10423 ms) 13:36:54 can request a transaction from another peer (9436 ms) 13:36:54 will penalize peers that send invalid proofs (9519 ms) 13:36:54 will penalize peers that send the wrong transaction (9828 ms) 13:36:54 will propagate messages to peers at the same version (10135 ms) 13:36:54 should not disconnect clients when it returns correct status (10520 ms) 13:36:54 should disconnect client when it returns status with wrong version (10541 ms) 13:36:54 should disconnect client when it returns an invalid status (10744 ms) 13:36:54 propagates messages using mocked gossip sub network (10825 ms) 13:36:54 13:36:54 p2p client integration › returns undefined if unable to find a transaction from another peer 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:36:54 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 13:36:54 13:36:54 p2p client integration › can request a transaction from another peer 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:36:54 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 13:36:54 13:36:54 p2p client integration › will penalize peers that send invalid proofs 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:36:54 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 13:36:54 13:36:54 p2p client integration › will penalize peers that send the wrong transaction 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:36:54 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 13:36:54 13:36:54 p2p client integration › will propagate messages to peers at the same version 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:36:54 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 13:36:54 13:36:54 p2p client integration › should not disconnect clients when it returns correct status 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 13:36:54 13:36:54 p2p client integration › should disconnect client when it returns status with wrong version 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 13:36:54 13:36:54 p2p client integration › should disconnect client when it returns an invalid status 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 13:36:54 13:36:54 p2p client integration › propagates messages using mocked gossip sub network 13:36:54 13:36:54 TypeError: config.peerIdPrivateKey.getValue is not a function 13:36:54 13:36:54 135 | 13:36:54 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:36:54 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:36:54 | ^ 13:36:54 138 | if (peerIdPrivateKeyFilePath) { 13:36:54 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:36:54 140 | } else { 13:36:54 13:36:54 at getValue (util.ts:137:58) 13:36:54 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:36:54 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:36:54 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:36:54 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:36:54 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 13:36:54 13:36:54 Test Suites: 1 failed, 1 total 13:36:54 Tests: 9 failed, 9 total 13:36:54 Snapshots: 0 total 13:36:54 Time: 102.414 s 13:36:54 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 13:36:54 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?