Parent Log: http://ci.aztec-labs.com/3b5b4f897e996d22 Command: d4f09ddb861c41ed: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/d64582316e960acb89baf16d63e5ac1e59a00898 Env: REF_NAME=gh-readonly-queue/staging/pr-15274-9ba478709ce5c48099f79f9531da8292811cb18a CURRENT_VERSION=1.0.0 CI_FULL=1 Date: Wed Jun 25 10:35:37 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15274_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging 10:35:37 +++ id -u 10:35:37 +++ id -g 10:35:37 ++ 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'\''' 10:35:37 + cid=52de1499be5ef70a4acc59e9f432e0cf51a76f9e2d82cefe8badf5311e4934f0 10:35:37 + set +x 10:35:39 {"level":25,"time":1750847739066,"pid":7,"hostname":"52de1499be5e","module":"logger","msg":"Logger initialized with level debug"} 10:35:48 [10:35:48.612] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:35:48 [10:35:48.705] DEBUG: foundation:randomness_singleton Using true randomness 10:35:49 {"level":20,"time":1750847748779,"pid":7,"hostname":"52de1499be5e","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:35:49 {"level":20,"time":1750847748977,"pid":7,"hostname":"52de1499be5e","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:35:58 [10:35:58.554] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:35:58 [10:35:58.559] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-S6rAZv with size: 10485760 KB (LMDB v2) 10:35:58 [10:35:58.560] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:35:58 [10:35:58.568] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IH2sTA with size: 10485760 KB (LMDB v2) 10:35:58 [10:35:58.569] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:35:58 [10:35:58.574] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-sNJrWL with size: 10485760 KB (LMDB v2) 10:35:58 [10:35:58.575] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:35:58 [10:35:58.578] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:35:58 [10:35:58.580] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:35:58 [10:35:58.580] INFO: p2p:test:integration Shut down p2p clients 10:35:58 [10:35:58.608] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:35:59 {"level":20,"time":1750847749029,"pid":7,"hostname":"52de1499be5e","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:35:59 {"level":20,"time":1750847749030,"pid":7,"hostname":"52de1499be5e","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:36:07 [10:36:07.918] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:36:07 [10:36:07.922] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rj9qRH with size: 10485760 KB (LMDB v2) 10:36:07 [10:36:07.922] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:36:07 [10:36:07.926] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lEGidw with size: 10485760 KB (LMDB v2) 10:36:07 [10:36:07.927] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:36:07 [10:36:07.931] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hFFS1T with size: 10485760 KB (LMDB v2) 10:36:07 [10:36:07.932] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:36:07 [10:36:07.933] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:36:07 [10:36:07.935] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:36:07 [10:36:07.935] INFO: p2p:test:integration Shut down p2p clients 10:36:07 [10:36:07.938] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:36:17 [10:36:17.718] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:36:17 [10:36:17.721] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fasHU8 with size: 10485760 KB (LMDB v2) 10:36:17 [10:36:17.721] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:36:17 [10:36:17.724] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DjCSZ8 with size: 10485760 KB (LMDB v2) 10:36:17 [10:36:17.724] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:36:17 [10:36:17.726] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dgtKOl with size: 10485760 KB (LMDB v2) 10:36:17 [10:36:17.727] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:36:17 [10:36:17.728] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:36:17 [10:36:17.729] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:36:17 [10:36:17.729] INFO: p2p:test:integration Shut down p2p clients 10:36:17 [10:36:17.731] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:36:27 [10:36:27.947] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:36:27 [10:36:27.951] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-BDskhf with size: 10485760 KB (LMDB v2) 10:36:27 [10:36:27.952] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:36:27 [10:36:27.955] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-hFsmSq with size: 10485760 KB (LMDB v2) 10:36:27 [10:36:27.955] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:36:27 [10:36:27.958] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vxKd1Y with size: 10485760 KB (LMDB v2) 10:36:27 [10:36:27.958] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:36:27 [10:36:27.960] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:36:27 [10:36:27.961] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:36:27 [10:36:27.962] INFO: p2p:test:integration Shut down p2p clients 10:36:27 [10:36:27.965] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:36:38 [10:36:38.225] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:36:38 [10:36:38.228] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-M15kRQ with size: 10485760 KB (LMDB v2) 10:36:38 [10:36:38.228] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:36:38 [10:36:38.231] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QmQehn with size: 10485760 KB (LMDB v2) 10:36:38 [10:36:38.231] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:36:38 [10:36:38.233] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Yplbdr with size: 10485760 KB (LMDB v2) 10:36:38 [10:36:38.234] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:36:38 [10:36:38.235] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:36:38 [10:36:38.236] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:36:38 [10:36:38.237] INFO: p2p:test:integration Shut down p2p clients 10:36:38 [10:36:38.239] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:36:48 [10:36:48.609] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:36:48 [10:36:48.627] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-H5AVav with size: 10485760 KB (LMDB v2) 10:36:48 [10:36:48.628] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:36:48 [10:36:48.634] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Wq7yVB with size: 10485760 KB (LMDB v2) 10:36:48 [10:36:48.635] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:36:48 [10:36:48.638] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-klrZFC with size: 10485760 KB (LMDB v2) 10:36:48 [10:36:48.639] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:36:48 [10:36:48.646] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:36:48 [10:36:48.649] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:36:48 [10:36:48.649] INFO: p2p:test:integration Shut down p2p clients 10:36:48 [10:36:48.656] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:36:59 [10:36:59.391] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:36:59 [10:36:59.394] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lsBIKS with size: 10485760 KB (LMDB v2) 10:36:59 [10:36:59.395] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:36:59 [10:36:59.398] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ACGLx2 with size: 10485760 KB (LMDB v2) 10:36:59 [10:36:59.398] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:36:59 [10:36:59.400] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Z9os5w with size: 10485760 KB (LMDB v2) 10:36:59 [10:36:59.405] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:36:59 [10:36:59.410] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:36:59 [10:36:59.412] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:36:59 [10:36:59.412] INFO: p2p:test:integration Shut down p2p clients 10:36:59 [10:36:59.416] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:37:09 [10:37:09.529] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:37:09 [10:37:09.533] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JiiQyV with size: 10485760 KB (LMDB v2) 10:37:09 [10:37:09.533] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:37:09 [10:37:09.537] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-niEG8p with size: 10485760 KB (LMDB v2) 10:37:09 [10:37:09.537] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:37:09 [10:37:09.540] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WHaw1w with size: 10485760 KB (LMDB v2) 10:37:09 [10:37:09.540] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:37:09 [10:37:09.542] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:37:09 [10:37:09.544] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:37:09 [10:37:09.544] INFO: p2p:test:integration Shut down p2p clients 10:37:09 [10:37:09.548] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:37:20 [10:37:20.325] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:37:20 [10:37:20.328] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ilW6rD with size: 10485760 KB (LMDB v2) 10:37:20 [10:37:20.329] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:37:20 [10:37:20.332] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-eHz4b6 with size: 10485760 KB (LMDB v2) 10:37:20 [10:37:20.333] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:37:20 [10:37:20.334] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ZCIAtb with size: 10485760 KB (LMDB v2) 10:37:20 [10:37:20.335] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:37:20 [10:37:20.338] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:37:20 [10:37:20.339] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:37:20 [10:37:20.339] INFO: p2p:test:integration Shut down p2p clients 10:37:20 FAIL src/client/p2p_client.integration.test.ts (101.668 s) 10:37:20 p2p client integration 10:37:20 returns undefined if unable to find a transaction from another peer (9972 ms) 10:37:20 can request a transaction from another peer (9328 ms) 10:37:20 will penalize peers that send invalid proofs (9792 ms) 10:37:20 will penalize peers that send the wrong transaction (10231 ms) 10:37:20 will propagate messages to peers at the same version (10273 ms) 10:37:20 should not disconnect clients when it returns correct status (10412 ms) 10:37:20 should disconnect client when it returns status with wrong version (10759 ms) 10:37:20 should disconnect client when it returns an invalid status (10129 ms) 10:37:20 propagates messages using mocked gossip sub network (10793 ms) 10:37:20 10:37:20 p2p client integration › returns undefined if unable to find a transaction from another peer 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:37:20 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:37:20 10:37:20 p2p client integration › can request a transaction from another peer 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:37:20 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:37:20 10:37:20 p2p client integration › will penalize peers that send invalid proofs 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:37:20 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:37:20 10:37:20 p2p client integration › will penalize peers that send the wrong transaction 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:37:20 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:37:20 10:37:20 p2p client integration › will propagate messages to peers at the same version 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:37:20 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:37:20 10:37:20 p2p client integration › should not disconnect clients when it returns correct status 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:37:20 10:37:20 p2p client integration › should disconnect client when it returns status with wrong version 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:37:20 10:37:20 p2p client integration › should disconnect client when it returns an invalid status 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:37:20 10:37:20 p2p client integration › propagates messages using mocked gossip sub network 10:37:20 10:37:20 TypeError: config.peerIdPrivateKey.getValue is not a function 10:37:20 10:37:20 135 | 10:37:20 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:37:20 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:37:20 | ^ 10:37:20 138 | if (peerIdPrivateKeyFilePath) { 10:37:20 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:37:20 140 | } else { 10:37:20 10:37:20 at getValue (util.ts:137:58) 10:37:20 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:37:20 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:37:20 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:37:20 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:37:20 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:37:20 10:37:20 Test Suites: 1 failed, 1 total 10:37:20 Tests: 9 failed, 9 total 10:37:20 Snapshots: 0 total 10:37:20 Time: 101.79 s 10:37:20 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:37:20 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?