Parent Log: http://ci.aztec-labs.com/a83250cda7d74c19 Command: ef85c2b8680d9e9c: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/9ba478709ce5c48099f79f9531da8292811cb18a Env: REF_NAME=gh-readonly-queue/staging/pr-15247-3863bc02d671057d0cffd4ced17ca317788ff190 CURRENT_VERSION=1.0.0 CI_FULL=1 Date: Tue Jun 24 14:59:01 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15247_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging 14:59:01 +++ id -u 14:59:01 +++ id -g 14:59:01 ++ 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'\''' 14:59:01 + cid=7ea6cb2ddbf6fe9f80c1c89b5f18388c1281cfcb0a43509cab82970bc613c037 14:59:01 + set +x 14:59:02 {"level":25,"time":1750777142934,"pid":7,"hostname":"7ea6cb2ddbf6","module":"logger","msg":"Logger initialized with level debug"} 14:59:12 [14:59:12.460] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 14:59:12 [14:59:12.553] DEBUG: foundation:randomness_singleton Using true randomness 14:59:13 {"level":20,"time":1750777152648,"pid":7,"hostname":"7ea6cb2ddbf6","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 14:59:13 {"level":20,"time":1750777152856,"pid":7,"hostname":"7ea6cb2ddbf6","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 14:59:23 [14:59:23.188] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:59:23 [14:59:23.197] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zOstBd with size: 10485760 KB (LMDB v2) 14:59:23 [14:59:23.198] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:59:23 [14:59:23.208] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kuESo2 with size: 10485760 KB (LMDB v2) 14:59:23 [14:59:23.209] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:59:23 [14:59:23.212] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9wZUNc with size: 10485760 KB (LMDB v2) 14:59:23 [14:59:23.212] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:59:23 [14:59:23.215] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:59:23 [14:59:23.217] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 14:59:23 [14:59:23.218] INFO: p2p:test:integration Shut down p2p clients 14:59:23 [14:59:23.250] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 14:59:23 {"level":20,"time":1750777152886,"pid":7,"hostname":"7ea6cb2ddbf6","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 14:59:23 {"level":20,"time":1750777152887,"pid":7,"hostname":"7ea6cb2ddbf6","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"} 14:59:33 [14:59:33.018] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:59:33 [14:59:33.021] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jqOe2d with size: 10485760 KB (LMDB v2) 14:59:33 [14:59:33.022] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:59:33 [14:59:33.024] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5807ER with size: 10485760 KB (LMDB v2) 14:59:33 [14:59:33.024] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:59:33 [14:59:33.026] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DkmWyo with size: 10485760 KB (LMDB v2) 14:59:33 [14:59:33.026] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:59:33 [14:59:33.028] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:59:33 [14:59:33.029] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 14:59:33 [14:59:33.029] INFO: p2p:test:integration Shut down p2p clients 14:59:33 [14:59:33.032] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 14:59:43 [14:59:43.027] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:59:43 [14:59:43.045] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Ze2LS1 with size: 10485760 KB (LMDB v2) 14:59:43 [14:59:43.046] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:59:43 [14:59:43.048] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-khxGQ0 with size: 10485760 KB (LMDB v2) 14:59:43 [14:59:43.048] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:59:43 [14:59:43.050] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-E5WiEa with size: 10485760 KB (LMDB v2) 14:59:43 [14:59:43.051] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:59:43 [14:59:43.052] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:59:43 [14:59:43.053] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 14:59:43 [14:59:43.053] INFO: p2p:test:integration Shut down p2p clients 14:59:43 [14:59:43.055] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 14:59:53 [14:59:53.507] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:59:53 [14:59:53.510] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-c9CpxI with size: 10485760 KB (LMDB v2) 14:59:53 [14:59:53.511] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:59:53 [14:59:53.514] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-vLHi1O with size: 10485760 KB (LMDB v2) 14:59:53 [14:59:53.514] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:59:53 [14:59:53.521] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Eq4GFD with size: 10485760 KB (LMDB v2) 14:59:53 [14:59:53.522] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:59:53 [14:59:53.524] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:59:53 [14:59:53.525] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 14:59:53 [14:59:53.525] INFO: p2p:test:integration Shut down p2p clients 14:59:53 [14:59:53.528] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 15:00:03 [15:00:03.662] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 15:00:03 [15:00:03.665] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-4btjaT with size: 10485760 KB (LMDB v2) 15:00:03 [15:00:03.666] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 15:00:03 [15:00:03.668] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Q7mPN6 with size: 10485760 KB (LMDB v2) 15:00:03 [15:00:03.669] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 15:00:03 [15:00:03.671] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Vt95uv with size: 10485760 KB (LMDB v2) 15:00:03 [15:00:03.671] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 15:00:03 [15:00:03.673] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 15:00:03 [15:00:03.674] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 15:00:03 [15:00:03.674] INFO: p2p:test:integration Shut down p2p clients 15:00:03 [15:00:03.677] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 15:00:14 [15:00:14.158] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 15:00:14 [15:00:14.183] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-BQYVPZ with size: 10485760 KB (LMDB v2) 15:00:14 [15:00:14.183] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 15:00:14 [15:00:14.185] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iHa11w with size: 10485760 KB (LMDB v2) 15:00:14 [15:00:14.186] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 15:00:14 [15:00:14.187] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-V8Nnhi with size: 10485760 KB (LMDB v2) 15:00:14 [15:00:14.188] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 15:00:14 [15:00:14.190] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 15:00:14 [15:00:14.191] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 15:00:14 [15:00:14.191] INFO: p2p:test:integration Shut down p2p clients 15:00:14 [15:00:14.194] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 15:00:24 [15:00:24.801] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 15:00:24 [15:00:24.804] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zmoA7D with size: 10485760 KB (LMDB v2) 15:00:24 [15:00:24.805] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 15:00:24 [15:00:24.807] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tF0ozI with size: 10485760 KB (LMDB v2) 15:00:24 [15:00:24.808] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 15:00:24 [15:00:24.811] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ze8957 with size: 10485760 KB (LMDB v2) 15:00:24 [15:00:24.811] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 15:00:24 [15:00:24.813] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 15:00:24 [15:00:24.814] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 15:00:24 [15:00:24.814] INFO: p2p:test:integration Shut down p2p clients 15:00:24 [15:00:24.816] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 15:00:34 [15:00:34.834] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 15:00:34 [15:00:34.837] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0VlI2W with size: 10485760 KB (LMDB v2) 15:00:34 [15:00:34.837] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 15:00:34 [15:00:34.840] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3nsjDx with size: 10485760 KB (LMDB v2) 15:00:34 [15:00:34.840] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 15:00:34 [15:00:34.842] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vAGow2 with size: 10485760 KB (LMDB v2) 15:00:34 [15:00:34.842] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 15:00:34 [15:00:34.844] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 15:00:34 [15:00:34.845] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 15:00:34 [15:00:34.845] INFO: p2p:test:integration Shut down p2p clients 15:00:34 [15:00:34.848] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 15:00:45 [15:00:45.317] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 15:00:45 [15:00:45.320] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-LqBaxS with size: 10485760 KB (LMDB v2) 15:00:45 [15:00:45.320] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 15:00:45 [15:00:45.322] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JYW0yn with size: 10485760 KB (LMDB v2) 15:00:45 [15:00:45.322] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 15:00:45 [15:00:45.324] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GQkgfE with size: 10485760 KB (LMDB v2) 15:00:45 [15:00:45.324] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 15:00:45 [15:00:45.325] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 15:00:45 [15:00:45.326] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 15:00:45 [15:00:45.327] INFO: p2p:test:integration Shut down p2p clients 15:00:45 FAIL src/client/p2p_client.integration.test.ts (102.712 s) 15:00:45 p2p client integration 15:00:45 returns undefined if unable to find a transaction from another peer (10760 ms) 15:00:45 can request a transaction from another peer (9780 ms) 15:00:45 will penalize peers that send invalid proofs (10023 ms) 15:00:45 will penalize peers that send the wrong transaction (10470 ms) 15:00:45 will propagate messages to peers at the same version (10148 ms) 15:00:45 should not disconnect clients when it returns correct status (10516 ms) 15:00:45 should disconnect client when it returns status with wrong version (10621 ms) 15:00:45 should disconnect client when it returns an invalid status (10031 ms) 15:00:45 propagates messages using mocked gossip sub network (10480 ms) 15:00:45 15:00:45 p2p client integration › returns undefined if unable to find a transaction from another peer 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 15:00:45 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 15:00:45 15:00:45 p2p client integration › can request a transaction from another peer 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 15:00:45 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 15:00:45 15:00:45 p2p client integration › will penalize peers that send invalid proofs 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 15:00:45 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 15:00:45 15:00:45 p2p client integration › will penalize peers that send the wrong transaction 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 15:00:45 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 15:00:45 15:00:45 p2p client integration › will propagate messages to peers at the same version 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 15:00:45 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 15:00:45 15:00:45 p2p client integration › should not disconnect clients when it returns correct status 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 15:00:45 15:00:45 p2p client integration › should disconnect client when it returns status with wrong version 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 15:00:45 15:00:45 p2p client integration › should disconnect client when it returns an invalid status 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 15:00:45 15:00:45 p2p client integration › propagates messages using mocked gossip sub network 15:00:45 15:00:45 TypeError: config.peerIdPrivateKey.getValue is not a function 15:00:45 15:00:45 135 | 15:00:45 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 15:00:45 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 15:00:45 | ^ 15:00:45 138 | if (peerIdPrivateKeyFilePath) { 15:00:45 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 15:00:45 140 | } else { 15:00:45 15:00:45 at getValue (util.ts:137:58) 15:00:45 at getPeerIdPrivateKey (client/factory.ts:75:34) 15:00:45 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 15:00:45 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 15:00:45 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 15:00:45 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 15:00:45 15:00:45 Test Suites: 1 failed, 1 total 15:00:45 Tests: 9 failed, 9 total 15:00:45 Snapshots: 0 total 15:00:45 Time: 102.834 s 15:00:45 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 15:00:45 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?