Parent Log: http://ci.aztec-labs.com/e457b7f02c60e94f Command: 4f32fa69539b8ea0: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/ad85cda24c2f9b5b4b17d4921f8597b71949bb6c Env: REF_NAME=gh-readonly-queue/next/pr-15223-87c4b689268afecc86ab007c3587e45110daa43d CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 19:25:58 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15223_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 19:25:58 +++ id -u 19:25:58 +++ id -g 19:25:58 ++ 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'\''' 19:25:59 + cid=83ba8999e458b478442adab45a9b2371e2a5ca8744b284be24f51bb60e6bd39f 19:25:59 + set +x 19:26:00 {"level":25,"time":1750793160557,"pid":7,"hostname":"83ba8999e458","module":"logger","msg":"Logger initialized with level debug"} 19:26:10 [19:26:10.462] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 19:26:10 [19:26:10.540] DEBUG: foundation:randomness_singleton Using true randomness 19:26:11 {"level":20,"time":1750793170593,"pid":7,"hostname":"83ba8999e458","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 19:26:11 {"level":20,"time":1750793170832,"pid":7,"hostname":"83ba8999e458","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 19:26:20 [19:26:20.869] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:26:20 [19:26:20.876] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1sUq9e with size: 10485760 KB (LMDB v2) 19:26:20 [19:26:20.877] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:26:20 [19:26:20.887] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-y095qv with size: 10485760 KB (LMDB v2) 19:26:20 [19:26:20.887] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:26:20 [19:26:20.895] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IHb3Ye with size: 10485760 KB (LMDB v2) 19:26:20 [19:26:20.896] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:26:20 [19:26:20.900] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:26:20 [19:26:20.902] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 19:26:20 [19:26:20.902] INFO: p2p:test:integration Shut down p2p clients 19:26:20 [19:26:20.929] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 19:26:21 {"level":20,"time":1750793170880,"pid":7,"hostname":"83ba8999e458","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 19:26:21 {"level":20,"time":1750793170880,"pid":7,"hostname":"83ba8999e458","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"} 19:26:29 [19:26:29.890] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:26:29 [19:26:29.895] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-J1kZ7Y with size: 10485760 KB (LMDB v2) 19:26:29 [19:26:29.896] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:26:29 [19:26:29.904] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-sV7xgF with size: 10485760 KB (LMDB v2) 19:26:29 [19:26:29.905] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:26:29 [19:26:29.908] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-aifJuo with size: 10485760 KB (LMDB v2) 19:26:29 [19:26:29.908] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:26:29 [19:26:29.911] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:26:29 [19:26:29.913] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 19:26:29 [19:26:29.913] INFO: p2p:test:integration Shut down p2p clients 19:26:29 [19:26:29.916] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 19:26:39 [19:26:39.323] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:26:39 [19:26:39.325] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rCWEn9 with size: 10485760 KB (LMDB v2) 19:26:39 [19:26:39.326] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:26:39 [19:26:39.328] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pf8I4r with size: 10485760 KB (LMDB v2) 19:26:39 [19:26:39.329] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:26:39 [19:26:39.331] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-URtuZh with size: 10485760 KB (LMDB v2) 19:26:39 [19:26:39.331] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:26:39 [19:26:39.332] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:26:39 [19:26:39.333] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 19:26:39 [19:26:39.334] INFO: p2p:test:integration Shut down p2p clients 19:26:39 [19:26:39.336] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 19:26:49 [19:26:49.832] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:26:49 [19:26:49.854] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2bfwDw with size: 10485760 KB (LMDB v2) 19:26:49 [19:26:49.854] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:26:49 [19:26:49.858] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-oLDrRG with size: 10485760 KB (LMDB v2) 19:26:49 [19:26:49.859] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:26:49 [19:26:49.861] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-BkIQ0H with size: 10485760 KB (LMDB v2) 19:26:49 [19:26:49.861] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:26:49 [19:26:49.864] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:26:49 [19:26:49.866] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 19:26:49 [19:26:49.866] INFO: p2p:test:integration Shut down p2p clients 19:26:49 [19:26:49.870] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 19:27:00 [19:27:00.253] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:27:00 [19:27:00.255] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-e9iWai with size: 10485760 KB (LMDB v2) 19:27:00 [19:27:00.255] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:27:00 [19:27:00.258] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-sTff3j with size: 10485760 KB (LMDB v2) 19:27:00 [19:27:00.258] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:27:00 [19:27:00.259] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-VBwuHX with size: 10485760 KB (LMDB v2) 19:27:00 [19:27:00.260] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:27:00 [19:27:00.262] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:27:00 [19:27:00.263] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 19:27:00 [19:27:00.263] INFO: p2p:test:integration Shut down p2p clients 19:27:00 [19:27:00.265] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 19:27:10 [19:27:10.760] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:27:10 [19:27:10.763] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-SSaYk1 with size: 10485760 KB (LMDB v2) 19:27:10 [19:27:10.764] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:27:10 [19:27:10.767] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DTQ9f4 with size: 10485760 KB (LMDB v2) 19:27:10 [19:27:10.767] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:27:10 [19:27:10.769] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6soDdd with size: 10485760 KB (LMDB v2) 19:27:10 [19:27:10.769] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:27:10 [19:27:10.771] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:27:10 [19:27:10.772] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 19:27:10 [19:27:10.772] INFO: p2p:test:integration Shut down p2p clients 19:27:10 [19:27:10.774] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 19:27:21 [19:27:21.283] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:27:21 [19:27:21.286] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-HwL1nX with size: 10485760 KB (LMDB v2) 19:27:21 [19:27:21.286] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:27:21 [19:27:21.289] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CQ8J2i with size: 10485760 KB (LMDB v2) 19:27:21 [19:27:21.290] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:27:21 [19:27:21.292] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SieKD6 with size: 10485760 KB (LMDB v2) 19:27:21 [19:27:21.292] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:27:21 [19:27:21.294] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:27:21 [19:27:21.295] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 19:27:21 [19:27:21.296] INFO: p2p:test:integration Shut down p2p clients 19:27:21 [19:27:21.298] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 19:27:32 [19:27:32.229] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:27:32 [19:27:32.232] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-aTA9Ft with size: 10485760 KB (LMDB v2) 19:27:32 [19:27:32.232] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:27:32 [19:27:32.235] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-BTz5GY with size: 10485760 KB (LMDB v2) 19:27:32 [19:27:32.235] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:27:32 [19:27:32.237] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gd9ma2 with size: 10485760 KB (LMDB v2) 19:27:32 [19:27:32.237] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:27:32 [19:27:32.238] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:27:32 [19:27:32.239] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 19:27:32 [19:27:32.239] INFO: p2p:test:integration Shut down p2p clients 19:27:32 [19:27:32.242] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 19:27:43 [19:27:43.779] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 19:27:43 [19:27:43.782] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cOQfrM with size: 10485760 KB (LMDB v2) 19:27:43 [19:27:43.782] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 19:27:43 [19:27:43.786] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-s6uUTg with size: 10485760 KB (LMDB v2) 19:27:43 [19:27:43.786] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 19:27:43 [19:27:43.792] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-4jRoE1 with size: 10485760 KB (LMDB v2) 19:27:43 [19:27:43.792] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 19:27:43 [19:27:43.797] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 19:27:43 [19:27:43.799] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 19:27:43 [19:27:43.800] INFO: p2p:test:integration Shut down p2p clients 19:27:43 FAIL src/client/p2p_client.integration.test.ts (103.572 s) 19:27:43 p2p client integration 19:27:43 returns undefined if unable to find a transaction from another peer (10445 ms) 19:27:43 can request a transaction from another peer (8985 ms) 19:27:43 will penalize peers that send invalid proofs (9419 ms) 19:27:43 will penalize peers that send the wrong transaction (10532 ms) 19:27:43 will propagate messages to peers at the same version (10394 ms) 19:27:43 should not disconnect clients when it returns correct status (10508 ms) 19:27:43 should disconnect client when it returns status with wrong version (10523 ms) 19:27:43 should disconnect client when it returns an invalid status (10943 ms) 19:27:43 propagates messages using mocked gossip sub network (11559 ms) 19:27:43 19:27:43 p2p client integration › returns undefined if unable to find a transaction from another peer 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:27:43 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 19:27:43 19:27:43 p2p client integration › can request a transaction from another peer 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:27:43 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 19:27:43 19:27:43 p2p client integration › will penalize peers that send invalid proofs 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:27:43 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 19:27:43 19:27:43 p2p client integration › will penalize peers that send the wrong transaction 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:27:43 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 19:27:43 19:27:43 p2p client integration › will propagate messages to peers at the same version 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:27:43 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 19:27:43 19:27:43 p2p client integration › should not disconnect clients when it returns correct status 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 19:27:43 19:27:43 p2p client integration › should disconnect client when it returns status with wrong version 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 19:27:43 19:27:43 p2p client integration › should disconnect client when it returns an invalid status 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 19:27:43 19:27:43 p2p client integration › propagates messages using mocked gossip sub network 19:27:43 19:27:43 TypeError: config.peerIdPrivateKey.getValue is not a function 19:27:43 19:27:43 135 | 19:27:43 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 19:27:43 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 19:27:43 | ^ 19:27:43 138 | if (peerIdPrivateKeyFilePath) { 19:27:43 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 19:27:43 140 | } else { 19:27:43 19:27:43 at getValue (util.ts:137:58) 19:27:43 at getPeerIdPrivateKey (client/factory.ts:75:34) 19:27:43 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 19:27:43 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 19:27:43 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 19:27:43 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 19:27:43 19:27:43 Test Suites: 1 failed, 1 total 19:27:43 Tests: 9 failed, 9 total 19:27:43 Snapshots: 0 total 19:27:43 Time: 103.656 s 19:27:43 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 19:27:43 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?