Parent Log: http://ci.aztec-labs.com/6cc9fa695c7cfc03 Command: 4ef547fa5e299294: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/d4893155ff105399557b55c16450c39921c70d11 Env: REF_NAME=gh-readonly-queue/next/pr-15218-7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 10:27:51 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15218_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:27:52 +++ id -u 10:27:52 +++ id -g 10:27:52 ++ 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:27:52 + cid=9857e6b37150d27e7823fa5a8869cae1e16443af7ad1c632d1f440b626e55715 10:27:52 + set +x 10:27:53 {"level":25,"time":1750760873909,"pid":7,"hostname":"9857e6b37150","module":"logger","msg":"Logger initialized with level debug"} 10:28:03 [10:28:03.854] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:28:03 [10:28:03.930] DEBUG: foundation:randomness_singleton Using true randomness 10:28:04 {"level":20,"time":1750760883984,"pid":7,"hostname":"9857e6b37150","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:28:04 {"level":20,"time":1750760884190,"pid":7,"hostname":"9857e6b37150","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:28:13 [10:28:13.577] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:28:13 [10:28:13.586] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-89idEy with size: 10485760 KB (LMDB v2) 10:28:13 [10:28:13.587] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:28:13 [10:28:13.597] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lV3TCX with size: 10485760 KB (LMDB v2) 10:28:13 [10:28:13.598] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:28:13 [10:28:13.602] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-G8xuZu with size: 10485760 KB (LMDB v2) 10:28:13 [10:28:13.602] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:28:13 [10:28:13.605] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:28:13 [10:28:13.606] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:28:13 [10:28:13.606] INFO: p2p:test:integration Shut down p2p clients 10:28:13 [10:28:13.628] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:28:13 {"level":20,"time":1750760884246,"pid":7,"hostname":"9857e6b37150","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:28:13 {"level":20,"time":1750760884246,"pid":7,"hostname":"9857e6b37150","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:28:22 [10:28:22.614] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:28:22 [10:28:22.616] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-WkChuC with size: 10485760 KB (LMDB v2) 10:28:22 [10:28:22.617] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:28:22 [10:28:22.618] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tsuhCE with size: 10485760 KB (LMDB v2) 10:28:22 [10:28:22.619] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:28:22 [10:28:22.620] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-RtmPgf with size: 10485760 KB (LMDB v2) 10:28:22 [10:28:22.621] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:28:22 [10:28:22.622] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:28:22 [10:28:22.623] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:28:22 [10:28:22.623] INFO: p2p:test:integration Shut down p2p clients 10:28:22 [10:28:22.626] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:28:31 [10:28:31.712] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:28:31 [10:28:31.715] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ur5OeQ with size: 10485760 KB (LMDB v2) 10:28:31 [10:28:31.715] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:28:31 [10:28:31.717] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4hNLYq with size: 10485760 KB (LMDB v2) 10:28:31 [10:28:31.717] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:28:31 [10:28:31.719] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-jCSio7 with size: 10485760 KB (LMDB v2) 10:28:31 [10:28:31.719] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:28:31 [10:28:31.721] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:28:31 [10:28:31.722] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:28:31 [10:28:31.722] INFO: p2p:test:integration Shut down p2p clients 10:28:31 [10:28:31.724] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:28:41 [10:28:41.892] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:28:41 [10:28:41.899] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2qYsYT with size: 10485760 KB (LMDB v2) 10:28:41 [10:28:41.899] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:28:41 [10:28:41.906] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aV3if1 with size: 10485760 KB (LMDB v2) 10:28:41 [10:28:41.906] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:28:41 [10:28:41.909] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WE3vdJ with size: 10485760 KB (LMDB v2) 10:28:41 [10:28:41.909] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:28:41 [10:28:41.911] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:28:41 [10:28:41.913] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:28:41 [10:28:41.913] INFO: p2p:test:integration Shut down p2p clients 10:28:41 [10:28:41.917] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:28:51 [10:28:51.510] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:28:51 [10:28:51.513] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-NRDgno with size: 10485760 KB (LMDB v2) 10:28:51 [10:28:51.514] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:28:51 [10:28:51.516] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-I6nEqB with size: 10485760 KB (LMDB v2) 10:28:51 [10:28:51.516] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:28:51 [10:28:51.520] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-d6PaDe with size: 10485760 KB (LMDB v2) 10:28:51 [10:28:51.520] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:28:51 [10:28:51.522] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:28:51 [10:28:51.523] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:28:51 [10:28:51.523] INFO: p2p:test:integration Shut down p2p clients 10:28:51 [10:28:51.526] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:29:02 [10:29:02.321] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:29:02 [10:29:02.340] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kqcziX with size: 10485760 KB (LMDB v2) 10:29:02 [10:29:02.342] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:29:02 [10:29:02.344] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XBPyFf with size: 10485760 KB (LMDB v2) 10:29:02 [10:29:02.344] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:29:02 [10:29:02.346] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-xsciON with size: 10485760 KB (LMDB v2) 10:29:02 [10:29:02.346] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:29:02 [10:29:02.348] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:29:02 [10:29:02.350] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:29:02 [10:29:02.350] INFO: p2p:test:integration Shut down p2p clients 10:29:02 [10:29:02.353] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:29:12 [10:29:12.671] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:29:12 [10:29:12.674] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-EMYBpg with size: 10485760 KB (LMDB v2) 10:29:12 [10:29:12.674] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:29:12 [10:29:12.676] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-V2EMqJ with size: 10485760 KB (LMDB v2) 10:29:12 [10:29:12.677] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:29:12 [10:29:12.679] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-beezD7 with size: 10485760 KB (LMDB v2) 10:29:12 [10:29:12.679] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:29:12 [10:29:12.681] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:29:12 [10:29:12.682] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:29:12 [10:29:12.683] INFO: p2p:test:integration Shut down p2p clients 10:29:12 [10:29:12.685] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:29:22 [10:29:22.889] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:29:22 [10:29:22.892] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oZ1cY8 with size: 10485760 KB (LMDB v2) 10:29:22 [10:29:22.892] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:29:22 [10:29:22.899] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VGoyp8 with size: 10485760 KB (LMDB v2) 10:29:22 [10:29:22.900] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:29:22 [10:29:22.903] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-BWIypG with size: 10485760 KB (LMDB v2) 10:29:22 [10:29:22.903] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:29:22 [10:29:22.905] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:29:22 [10:29:22.906] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:29:22 [10:29:22.906] INFO: p2p:test:integration Shut down p2p clients 10:29:22 [10:29:22.909] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:29:33 [10:29:33.352] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:29:33 [10:29:33.365] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wvr235 with size: 10485760 KB (LMDB v2) 10:29:33 [10:29:33.366] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:29:33 [10:29:33.369] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-13tvGn with size: 10485760 KB (LMDB v2) 10:29:33 [10:29:33.369] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:29:33 [10:29:33.372] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6RZFzU with size: 10485760 KB (LMDB v2) 10:29:33 [10:29:33.372] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:29:33 [10:29:33.374] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:29:33 [10:29:33.375] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:29:33 [10:29:33.376] INFO: p2p:test:integration Shut down p2p clients 10:29:33 FAIL src/client/p2p_client.integration.test.ts (99.783 s) 10:29:33 p2p client integration 10:29:33 returns undefined if unable to find a transaction from another peer (9757 ms) 10:29:33 can request a transaction from another peer (8997 ms) 10:29:33 will penalize peers that send invalid proofs (9098 ms) 10:29:33 will penalize peers that send the wrong transaction (10189 ms) 10:29:33 will propagate messages to peers at the same version (9609 ms) 10:29:33 should not disconnect clients when it returns correct status (10826 ms) 10:29:33 should disconnect client when it returns status with wrong version (10330 ms) 10:29:33 should disconnect client when it returns an invalid status (10222 ms) 10:29:33 propagates messages using mocked gossip sub network (10468 ms) 10:29:33 10:29:33 p2p client integration › returns undefined if unable to find a transaction from another peer 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:29:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:29:33 10:29:33 p2p client integration › can request a transaction from another peer 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:29:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:29:33 10:29:33 p2p client integration › will penalize peers that send invalid proofs 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:29:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:29:33 10:29:33 p2p client integration › will penalize peers that send the wrong transaction 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:29:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:29:33 10:29:33 p2p client integration › will propagate messages to peers at the same version 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:29:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:29:33 10:29:33 p2p client integration › should not disconnect clients when it returns correct status 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:29:33 10:29:33 p2p client integration › should disconnect client when it returns status with wrong version 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:29:33 10:29:33 p2p client integration › should disconnect client when it returns an invalid status 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:29:33 10:29:33 p2p client integration › propagates messages using mocked gossip sub network 10:29:33 10:29:33 TypeError: config.peerIdPrivateKey.getValue is not a function 10:29:33 10:29:33 135 | 10:29:33 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:29:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:29:33 | ^ 10:29:33 138 | if (peerIdPrivateKeyFilePath) { 10:29:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:29:33 140 | } else { 10:29:33 10:29:33 at getValue (util.ts:137:58) 10:29:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:29:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:29:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:29:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:29:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:29:33 10:29:33 Test Suites: 1 failed, 1 total 10:29:33 Tests: 9 failed, 9 total 10:29:33 Snapshots: 0 total 10:29:33 Time: 99.898 s 10:29:33 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:29:33 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?