Parent Log: http://ci.aztec-labs.com/d05c8a11bc1fb346 Command: 715772c6bcfd0ed3: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/3863bc02d671057d0cffd4ced17ca317788ff190 Env: REF_NAME=gh-readonly-queue/staging/pr-15238-db396f13b7ef374a230174bdc4078d9fbb3c788a CURRENT_VERSION=1.0.0 CI_FULL=0 Date: Tue Jun 24 12:18:14 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15238_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging 12:18:14 +++ id -u 12:18:14 +++ id -g 12:18:14 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-63 --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'\''' 12:18:14 + cid=c6771f0f6838e727d113b2579530791c611bcece41899b2b275f753275efaedf 12:18:14 + set +x 12:18:15 {"level":25,"time":1750767495681,"pid":7,"hostname":"c6771f0f6838","module":"logger","msg":"Logger initialized with level debug"} 12:18:21 [12:18:21.942] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 12:18:22 [12:18:22.009] DEBUG: foundation:randomness_singleton Using true randomness 12:18:22 {"level":20,"time":1750767502063,"pid":7,"hostname":"c6771f0f6838","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 12:18:22 {"level":20,"time":1750767502224,"pid":7,"hostname":"c6771f0f6838","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 12:18:29 [12:18:29.910] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:18:29 [12:18:29.913] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ewdZU9 with size: 10485760 KB (LMDB v2) 12:18:29 [12:18:29.913] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:18:29 [12:18:29.918] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Zu3KOb with size: 10485760 KB (LMDB v2) 12:18:29 [12:18:29.919] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:18:29 [12:18:29.920] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fNjW3S with size: 10485760 KB (LMDB v2) 12:18:29 [12:18:29.921] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:18:29 [12:18:29.922] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:18:29 [12:18:29.923] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 12:18:29 [12:18:29.924] INFO: p2p:test:integration Shut down p2p clients 12:18:29 [12:18:29.941] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 12:18:30 {"level":20,"time":1750767502246,"pid":7,"hostname":"c6771f0f6838","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 12:18:30 {"level":20,"time":1750767502246,"pid":7,"hostname":"c6771f0f6838","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"} 12:18:37 [12:18:37.545] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:18:37 [12:18:37.556] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6AC3Cq with size: 10485760 KB (LMDB v2) 12:18:37 [12:18:37.557] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:18:37 [12:18:37.558] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8PldQm with size: 10485760 KB (LMDB v2) 12:18:37 [12:18:37.558] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:18:37 [12:18:37.559] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NVzZjh with size: 10485760 KB (LMDB v2) 12:18:37 [12:18:37.560] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:18:37 [12:18:37.560] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:18:37 [12:18:37.561] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 12:18:37 [12:18:37.561] INFO: p2p:test:integration Shut down p2p clients 12:18:37 [12:18:37.563] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 12:18:45 [12:18:45.428] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:18:45 [12:18:45.430] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-tCT7BI with size: 10485760 KB (LMDB v2) 12:18:45 [12:18:45.430] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:18:45 [12:18:45.431] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XXc1G4 with size: 10485760 KB (LMDB v2) 12:18:45 [12:18:45.431] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:18:45 [12:18:45.432] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3llooF with size: 10485760 KB (LMDB v2) 12:18:45 [12:18:45.433] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:18:45 [12:18:45.434] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:18:45 [12:18:45.434] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 12:18:45 [12:18:45.434] INFO: p2p:test:integration Shut down p2p clients 12:18:45 [12:18:45.436] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 12:18:53 [12:18:53.253] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:18:53 [12:18:53.263] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Qdy8mf with size: 10485760 KB (LMDB v2) 12:18:53 [12:18:53.263] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:18:53 [12:18:53.264] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dx7QCu with size: 10485760 KB (LMDB v2) 12:18:53 [12:18:53.265] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:18:53 [12:18:53.266] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PosVer with size: 10485760 KB (LMDB v2) 12:18:53 [12:18:53.266] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:18:53 [12:18:53.266] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:18:53 [12:18:53.267] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 12:18:53 [12:18:53.267] INFO: p2p:test:integration Shut down p2p clients 12:18:53 [12:18:53.269] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 12:19:01 [12:19:01.125] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:19:01 [12:19:01.126] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-iYaBdN with size: 10485760 KB (LMDB v2) 12:19:01 [12:19:01.127] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:19:01 [12:19:01.127] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-MkQCca with size: 10485760 KB (LMDB v2) 12:19:01 [12:19:01.128] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:19:01 [12:19:01.129] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NwjMab with size: 10485760 KB (LMDB v2) 12:19:01 [12:19:01.129] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:19:01 [12:19:01.130] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:19:01 [12:19:01.130] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 12:19:01 [12:19:01.131] INFO: p2p:test:integration Shut down p2p clients 12:19:01 [12:19:01.132] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 12:19:09 [12:19:09.121] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:19:09 [12:19:09.122] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zEAhYZ with size: 10485760 KB (LMDB v2) 12:19:09 [12:19:09.123] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:19:09 [12:19:09.124] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-o9QFBR with size: 10485760 KB (LMDB v2) 12:19:09 [12:19:09.124] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:19:09 [12:19:09.125] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JkVmXk with size: 10485760 KB (LMDB v2) 12:19:09 [12:19:09.125] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:19:09 [12:19:09.126] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:19:09 [12:19:09.126] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 12:19:09 [12:19:09.127] INFO: p2p:test:integration Shut down p2p clients 12:19:09 [12:19:09.128] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 12:19:17 [12:19:17.222] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:19:17 [12:19:17.223] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xE2Vt5 with size: 10485760 KB (LMDB v2) 12:19:17 [12:19:17.223] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:19:17 [12:19:17.224] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-MK9RR8 with size: 10485760 KB (LMDB v2) 12:19:17 [12:19:17.225] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:19:17 [12:19:17.226] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FiGqt6 with size: 10485760 KB (LMDB v2) 12:19:17 [12:19:17.226] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:19:17 [12:19:17.226] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:19:17 [12:19:17.227] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 12:19:17 [12:19:17.227] INFO: p2p:test:integration Shut down p2p clients 12:19:17 [12:19:17.228] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 12:19:25 [12:19:25.256] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:19:25 [12:19:25.257] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3RuTAQ with size: 10485760 KB (LMDB v2) 12:19:25 [12:19:25.257] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:19:25 [12:19:25.268] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9lf7Wx with size: 10485760 KB (LMDB v2) 12:19:25 [12:19:25.268] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:19:25 [12:19:25.270] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IffDEq with size: 10485760 KB (LMDB v2) 12:19:25 [12:19:25.270] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:19:25 [12:19:25.271] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:19:25 [12:19:25.271] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 12:19:25 [12:19:25.271] INFO: p2p:test:integration Shut down p2p clients 12:19:25 [12:19:25.273] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 12:19:33 [12:19:33.335] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:19:33 [12:19:33.336] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Ols3R7 with size: 10485760 KB (LMDB v2) 12:19:33 [12:19:33.336] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:19:33 [12:19:33.338] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-23yMpf with size: 10485760 KB (LMDB v2) 12:19:33 [12:19:33.338] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:19:33 [12:19:33.339] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Ahy4Vv with size: 10485760 KB (LMDB v2) 12:19:33 [12:19:33.339] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:19:33 [12:19:33.340] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:19:33 [12:19:33.341] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 12:19:33 [12:19:33.341] INFO: p2p:test:integration Shut down p2p clients 12:19:33 FAIL src/client/p2p_client.integration.test.ts (77.937 s) 12:19:33 p2p client integration 12:19:33 returns undefined if unable to find a transaction from another peer (7984 ms) 12:19:33 can request a transaction from another peer (7622 ms) 12:19:33 will penalize peers that send invalid proofs (7872 ms) 12:19:33 will penalize peers that send the wrong transaction (7832 ms) 12:19:33 will propagate messages to peers at the same version (7863 ms) 12:19:33 should not disconnect clients when it returns correct status (7996 ms) 12:19:33 should disconnect client when it returns status with wrong version (8099 ms) 12:19:33 should disconnect client when it returns an invalid status (8044 ms) 12:19:33 propagates messages using mocked gossip sub network (8069 ms) 12:19:33 12:19:33 p2p client integration › returns undefined if unable to find a transaction from another peer 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:19:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 12:19:33 12:19:33 p2p client integration › can request a transaction from another peer 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:19:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 12:19:33 12:19:33 p2p client integration › will penalize peers that send invalid proofs 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:19:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 12:19:33 12:19:33 p2p client integration › will penalize peers that send the wrong transaction 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:19:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 12:19:33 12:19:33 p2p client integration › will propagate messages to peers at the same version 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:19:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 12:19:33 12:19:33 p2p client integration › should not disconnect clients when it returns correct status 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 12:19:33 12:19:33 p2p client integration › should disconnect client when it returns status with wrong version 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 12:19:33 12:19:33 p2p client integration › should disconnect client when it returns an invalid status 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 12:19:33 12:19:33 p2p client integration › propagates messages using mocked gossip sub network 12:19:33 12:19:33 TypeError: config.peerIdPrivateKey.getValue is not a function 12:19:33 12:19:33 135 | 12:19:33 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:19:33 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:19:33 | ^ 12:19:33 138 | if (peerIdPrivateKeyFilePath) { 12:19:33 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:19:33 140 | } else { 12:19:33 12:19:33 at getValue (util.ts:137:58) 12:19:33 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:19:33 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:19:33 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:19:33 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:19:33 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 12:19:33 12:19:33 Test Suites: 1 failed, 1 total 12:19:33 Tests: 9 failed, 9 total 12:19:33 Snapshots: 0 total 12:19:33 Time: 78.01 s 12:19:33 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 12:19:33 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?