Parent Log: http://ci.aztec-labs.com/51de6a47cd0be9db 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:48 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 10:16:48 +++ id -u 10:16:48 +++ id -g 10:16:48 ++ 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:49 + cid=24a60bc905d9e59d7bbdc5a7e9185d9bce1f6af2f0670e8e3fecbb6b3ea87a30 10:16:49 + set +x 10:16:50 {"level":25,"time":1750760210473,"pid":7,"hostname":"24a60bc905d9","module":"logger","msg":"Logger initialized with level debug"} 10:17:00 [10:17:00.458] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 10:17:00 [10:17:00.561] DEBUG: foundation:randomness_singleton Using true randomness 10:17:01 {"level":20,"time":1750760220633,"pid":7,"hostname":"24a60bc905d9","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 10:17:01 {"level":20,"time":1750760220866,"pid":7,"hostname":"24a60bc905d9","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 10:17:10 [10:17:10.607] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:10 [10:17:10.612] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zpXLeu with size: 10485760 KB (LMDB v2) 10:17:10 [10:17:10.613] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:10 [10:17:10.619] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cSdMVf with size: 10485760 KB (LMDB v2) 10:17:10 [10:17:10.620] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:10 [10:17:10.622] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ExM9RJ with size: 10485760 KB (LMDB v2) 10:17:10 [10:17:10.622] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:10 [10:17:10.624] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:10 [10:17:10.625] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 10:17:10 [10:17:10.626] INFO: p2p:test:integration Shut down p2p clients 10:17:10 [10:17:10.651] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 10:17:11 {"level":20,"time":1750760220941,"pid":7,"hostname":"24a60bc905d9","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 10:17:11 {"level":20,"time":1750760220941,"pid":7,"hostname":"24a60bc905d9","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:19 [10:17:19.813] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:19 [10:17:19.832] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cSyAoC with size: 10485760 KB (LMDB v2) 10:17:19 [10:17:19.833] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:19 [10:17:19.835] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iM8ptW with size: 10485760 KB (LMDB v2) 10:17:19 [10:17:19.835] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:19 [10:17:19.837] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yYik22 with size: 10485760 KB (LMDB v2) 10:17:19 [10:17:19.837] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:19 [10:17:19.839] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:19 [10:17:19.840] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 10:17:19 [10:17:19.840] INFO: p2p:test:integration Shut down p2p clients 10:17:19 [10:17:19.843] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 10:17:29 [10:17:29.089] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:29 [10:17:29.092] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0JKJau with size: 10485760 KB (LMDB v2) 10:17:29 [10:17:29.092] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:29 [10:17:29.095] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-N3uZKm with size: 10485760 KB (LMDB v2) 10:17:29 [10:17:29.095] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:29 [10:17:29.097] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JQTmOv with size: 10485760 KB (LMDB v2) 10:17:29 [10:17:29.097] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:29 [10:17:29.098] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:29 [10:17:29.099] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 10:17:29 [10:17:29.099] INFO: p2p:test:integration Shut down p2p clients 10:17:29 [10:17:29.101] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 10:17:39 [10:17:39.261] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:39 [10:17:39.264] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-D671Dn with size: 10485760 KB (LMDB v2) 10:17:39 [10:17:39.265] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:39 [10:17:39.268] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9fgrDe with size: 10485760 KB (LMDB v2) 10:17:39 [10:17:39.269] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:39 [10:17:39.271] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IJnwBW with size: 10485760 KB (LMDB v2) 10:17:39 [10:17:39.271] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:39 [10:17:39.273] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:39 [10:17:39.274] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 10:17:39 [10:17:39.275] INFO: p2p:test:integration Shut down p2p clients 10:17:39 [10:17:39.278] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 10:17:49 [10:17:49.376] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:49 [10:17:49.379] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wS1js4 with size: 10485760 KB (LMDB v2) 10:17:49 [10:17:49.379] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:49 [10:17:49.382] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dVkaUf with size: 10485760 KB (LMDB v2) 10:17:49 [10:17:49.382] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:49 [10:17:49.384] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CVefLl with size: 10485760 KB (LMDB v2) 10:17:49 [10:17:49.384] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:49 [10:17:49.386] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:49 [10:17:49.387] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 10:17:49 [10:17:49.388] INFO: p2p:test:integration Shut down p2p clients 10:17:49 [10:17:49.389] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 10:17:59 [10:17:59.473] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:17:59 [10:17:59.476] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qy7W7u with size: 10485760 KB (LMDB v2) 10:17:59 [10:17:59.477] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:17:59 [10:17:59.479] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-a5uimz with size: 10485760 KB (LMDB v2) 10:17:59 [10:17:59.479] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:17:59 [10:17:59.481] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SmFQRY with size: 10485760 KB (LMDB v2) 10:17:59 [10:17:59.481] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:17:59 [10:17:59.483] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:17:59 [10:17:59.484] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 10:17:59 [10:17:59.484] INFO: p2p:test:integration Shut down p2p clients 10:17:59 [10:17:59.486] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 10:18:09 [10:18:09.420] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:09 [10:18:09.433] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-BhiF12 with size: 10485760 KB (LMDB v2) 10:18:09 [10:18:09.435] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:09 [10:18:09.438] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-mjuoVH with size: 10485760 KB (LMDB v2) 10:18:09 [10:18:09.438] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:09 [10:18:09.441] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XMSRjO with size: 10485760 KB (LMDB v2) 10:18:09 [10:18:09.441] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:09 [10:18:09.443] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:09 [10:18:09.444] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 10:18:09 [10:18:09.444] INFO: p2p:test:integration Shut down p2p clients 10:18:09 [10:18:09.446] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 10:18:18 [10:18:18.951] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:18 [10:18:18.954] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Hf6Jf1 with size: 10485760 KB (LMDB v2) 10:18:18 [10:18:18.955] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:18 [10:18:18.960] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Hnh0ct with size: 10485760 KB (LMDB v2) 10:18:18 [10:18:18.961] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:18 [10:18:18.965] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bahFrt with size: 10485760 KB (LMDB v2) 10:18:18 [10:18:18.966] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:18 [10:18:18.971] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:18 [10:18:18.972] 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.972] INFO: p2p:test:integration Shut down p2p clients 10:18:18 [10:18:18.975] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 10:18:28 [10:18:28.981] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 10:18:28 [10:18:28.995] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-582xE3 with size: 10485760 KB (LMDB v2) 10:18:28 [10:18:28.995] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 10:18:29 [10:18:29.002] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-vxHSSR with size: 10485760 KB (LMDB v2) 10:18:29 [10:18:29.002] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 10:18:29 [10:18:29.004] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XDn6mJ with size: 10485760 KB (LMDB v2) 10:18:29 [10:18:29.005] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 10:18:29 [10:18:29.007] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 10:18:29 [10:18:29.008] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 10:18:29 [10:18:29.009] INFO: p2p:test:integration Shut down p2p clients 10:18:29 FAIL src/client/p2p_client.integration.test.ts (98.858 s) 10:18:29 p2p client integration 10:18:29 returns undefined if unable to find a transaction from another peer (10175 ms) 10:18:29 can request a transaction from another peer (9190 ms) 10:18:29 will penalize peers that send invalid proofs (9258 ms) 10:18:29 will penalize peers that send the wrong transaction (10174 ms) 10:18:29 will propagate messages to peers at the same version (10111 ms) 10:18:29 should not disconnect clients when it returns correct status (10095 ms) 10:18:29 should disconnect client when it returns status with wrong version (9959 ms) 10:18:29 should disconnect client when it returns an invalid status (9528 ms) 10:18:29 propagates messages using mocked gossip sub network (10035 ms) 10:18:29 10:18:29 p2p client integration › returns undefined if unable to find a transaction from another peer 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:29 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 10:18:29 10:18:29 p2p client integration › can request a transaction from another peer 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:29 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 10:18:29 10:18:29 p2p client integration › will penalize peers that send invalid proofs 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:29 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 10:18:29 10:18:29 p2p client integration › will penalize peers that send the wrong transaction 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:29 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 10:18:29 10:18:29 p2p client integration › will propagate messages to peers at the same version 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:29 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 10:18:29 10:18:29 p2p client integration › should not disconnect clients when it returns correct status 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 10:18:29 10:18:29 p2p client integration › should disconnect client when it returns status with wrong version 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 10:18:29 10:18:29 p2p client integration › should disconnect client when it returns an invalid status 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 10:18:29 10:18:29 p2p client integration › propagates messages using mocked gossip sub network 10:18:29 10:18:29 TypeError: config.peerIdPrivateKey.getValue is not a function 10:18:29 10:18:29 135 | 10:18:29 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:29 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 10:18:29 | ^ 10:18:29 138 | if (peerIdPrivateKeyFilePath) { 10:18:29 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 10:18:29 140 | } else { 10:18:29 10:18:29 at getValue (util.ts:137:58) 10:18:29 at getPeerIdPrivateKey (client/factory.ts:75:34) 10:18:29 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 10:18:29 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 10:18:29 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 10:18:29 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 10:18:29 10:18:29 Test Suites: 1 failed, 1 total 10:18:29 Tests: 9 failed, 9 total 10:18:29 Snapshots: 0 total 10:18:29 Time: 98.936 s 10:18:29 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 10:18:29 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?