Parent Log: http://ci.aztec-labs.com/a3e1b340a8612ade Command: 2d72990a54a9c534: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=1 Date: Tue Jun 24 10:16:46 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:16:46 +++ id -u 10:16:46 +++ id -g 10:16:46 ++ 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:16:47 + cid=5e7bb9c654f0ff2706df86ff607405cc4024566a161245e1ce04dc25930de168 10:16:47 + set +x 10:16:48 {"level":25,"time":1750760208798,"pid":7,"hostname":"5e7bb9c654f0","module":"logger","msg":"Logger initialized with level debug"} 10:16:59 [10:16:59.103] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:16:59 [10:16:59.190] DEBUG: foundation:randomness_singleton Using true randomness 10:16:59 {"level":20,"time":1750760219247,"pid":7,"hostname":"5e7bb9c654f0","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:16:59 {"level":20,"time":1750760219456,"pid":7,"hostname":"5e7bb9c654f0","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:17:08 [10:17:08.874] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:08 [10:17:08.878] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RNqWOa with size: 10485760 KB (LMDB v2) 10:17:08 [10:17:08.879] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:08 [10:17:08.888] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9LjuE3 with size: 10485760 KB (LMDB v2) 10:17:08 [10:17:08.889] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:08 [10:17:08.892] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-audyBk with size: 10485760 KB (LMDB v2) 10:17:08 [10:17:08.893] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:08 [10:17:08.895] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:08 [10:17:08.897] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:17:08 [10:17:08.898] INFO: p2p:test:integration Shut down p2p clients 10:17:08 [10:17:08.928] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:17:08 {"level":20,"time":1750760219497,"pid":7,"hostname":"5e7bb9c654f0","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:17:08 {"level":20,"time":1750760219497,"pid":7,"hostname":"5e7bb9c654f0","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:17:18 [10:17:18.235] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:18 [10:17:18.237] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2j8oEx with size: 10485760 KB (LMDB v2) 10:17:18 [10:17:18.238] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:18 [10:17:18.240] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1B1zE5 with size: 10485760 KB (LMDB v2) 10:17:18 [10:17:18.240] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:18 [10:17:18.242] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-P9yJD8 with size: 10485760 KB (LMDB v2) 10:17:18 [10:17:18.243] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:18 [10:17:18.244] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:18 [10:17:18.246] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:17:18 [10:17:18.246] INFO: p2p:test:integration Shut down p2p clients 10:17:18 [10:17:18.248] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:17:27 [10:17:27.600] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:27 [10:17:27.603] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Aeo02D with size: 10485760 KB (LMDB v2) 10:17:27 [10:17:27.604] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:27 [10:17:27.607] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xQwNtB with size: 10485760 KB (LMDB v2) 10:17:27 [10:17:27.607] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:27 [10:17:27.609] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-0oJUP7 with size: 10485760 KB (LMDB v2) 10:17:27 [10:17:27.610] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:27 [10:17:27.612] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:27 [10:17:27.613] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:17:27 [10:17:27.613] INFO: p2p:test:integration Shut down p2p clients 10:17:27 [10:17:27.616] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:17:37 [10:17:37.107] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:37 [10:17:37.111] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oVmTKf with size: 10485760 KB (LMDB v2) 10:17:37 [10:17:37.111] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:37 [10:17:37.125] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jtPm74 with size: 10485760 KB (LMDB v2) 10:17:37 [10:17:37.127] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:37 [10:17:37.131] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hbLFWg with size: 10485760 KB (LMDB v2) 10:17:37 [10:17:37.132] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:37 [10:17:37.134] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:37 [10:17:37.136] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:17:37 [10:17:37.136] INFO: p2p:test:integration Shut down p2p clients 10:17:37 [10:17:37.139] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:17:47 [10:17:47.108] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:47 [10:17:47.112] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lEOdm6 with size: 10485760 KB (LMDB v2) 10:17:47 [10:17:47.112] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:47 [10:17:47.115] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CCgypQ with size: 10485760 KB (LMDB v2) 10:17:47 [10:17:47.116] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:47 [10:17:47.126] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-eRGeCl with size: 10485760 KB (LMDB v2) 10:17:47 [10:17:47.130] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:47 [10:17:47.137] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:47 [10:17:47.138] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:17:47 [10:17:47.139] INFO: p2p:test:integration Shut down p2p clients 10:17:47 [10:17:47.142] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:17:57 [10:17:57.377] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:57 [10:17:57.381] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2Y6x0H with size: 10485760 KB (LMDB v2) 10:17:57 [10:17:57.382] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:57 [10:17:57.385] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-MQ36wZ with size: 10485760 KB (LMDB v2) 10:17:57 [10:17:57.386] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:57 [10:17:57.388] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hGlYJ3 with size: 10485760 KB (LMDB v2) 10:17:57 [10:17:57.388] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:57 [10:17:57.391] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:57 [10:17:57.392] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:17:57 [10:17:57.393] INFO: p2p:test:integration Shut down p2p clients 10:17:57 [10:17:57.396] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:18:07 [10:18:07.720] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:07 [10:18:07.736] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xe2N2F with size: 10485760 KB (LMDB v2) 10:18:07 [10:18:07.738] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:07 [10:18:07.742] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-7gxuNV with size: 10485760 KB (LMDB v2) 10:18:07 [10:18:07.742] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:07 [10:18:07.744] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bgpd1v with size: 10485760 KB (LMDB v2) 10:18:07 [10:18:07.744] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:07 [10:18:07.746] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:07 [10:18:07.747] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:18:07 [10:18:07.747] INFO: p2p:test:integration Shut down p2p clients 10:18:07 [10:18:07.750] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:18:18 [10:18:18.031] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:18 [10:18:18.035] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9V9zc2 with size: 10485760 KB (LMDB v2) 10:18:18 [10:18:18.035] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:18 [10:18:18.038] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gI3hDv with size: 10485760 KB (LMDB v2) 10:18:18 [10:18:18.038] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:18 [10:18:18.040] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-HWjqgE with size: 10485760 KB (LMDB v2) 10:18:18 [10:18:18.040] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:18 [10:18:18.042] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:18 [10:18:18.043] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 10:18:18 [10:18:18.044] INFO: p2p:test:integration Shut down p2p clients 10:18:18 [10:18:18.047] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:18:28 [10:18:28.661] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:28 [10:18:28.665] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8mZ8JW with size: 10485760 KB (LMDB v2) 10:18:28 [10:18:28.665] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:28 [10:18:28.668] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ryK00V with size: 10485760 KB (LMDB v2) 10:18:28 [10:18:28.668] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:28 [10:18:28.670] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SOCEBq with size: 10485760 KB (LMDB v2) 10:18:28 [10:18:28.670] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:28 [10:18:28.675] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:28 [10:18:28.676] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:18:28 [10:18:28.676] INFO: p2p:test:integration Shut down p2p clients 10:18:28 FAIL src/client/p2p_client.integration.test.ts (100.286 s) 10:18:28 p2p client integration 10:18:28 returns undefined if unable to find a transaction from another peer (9799 ms) 10:18:28 can request a transaction from another peer (9319 ms) 10:18:28 will penalize peers that send invalid proofs (9366 ms) 10:18:28 will penalize peers that send the wrong transaction (9521 ms) 10:18:28 will propagate messages to peers at the same version (10001 ms) 10:18:28 should not disconnect clients when it returns correct status (10252 ms) 10:18:28 should disconnect client when it returns status with wrong version (10353 ms) 10:18:28 should disconnect client when it returns an invalid status (10295 ms) 10:18:28 propagates messages using mocked gossip sub network (10631 ms) 10:18:28 10:18:28 p2p client integration › returns undefined if unable to find a transaction from another peer 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:28 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:18:28 10:18:28 p2p client integration › can request a transaction from another peer 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:28 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:18:28 10:18:28 p2p client integration › will penalize peers that send invalid proofs 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:28 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:18:28 10:18:28 p2p client integration › will penalize peers that send the wrong transaction 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:28 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:18:28 10:18:28 p2p client integration › will propagate messages to peers at the same version 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:28 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:18:28 10:18:28 p2p client integration › should not disconnect clients when it returns correct status 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:18:28 10:18:28 p2p client integration › should disconnect client when it returns status with wrong version 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:18:28 10:18:28 p2p client integration › should disconnect client when it returns an invalid status 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:18:28 10:18:28 p2p client integration › propagates messages using mocked gossip sub network 10:18:28 10:18:28 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:28 10:18:28 135 | 10:18:28 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:18:28 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:28 | ^ 10:18:28 138 | if (peerIdPrivateKeyFilePath) { 10:18:28 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:28 140 | } else { 10:18:28 10:18:28 at getValue (util.ts:137:58) 10:18:28 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:28 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:28 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:28 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:28 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:18:28 10:18:28 Test Suites: 1 failed, 1 total 10:18:28 Tests: 9 failed, 9 total 10:18:28 Snapshots: 0 total 10:18:28 Time: 100.407 s 10:18:28 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:18:28 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?