Parent Log: http://ci.aztec-labs.com/7a6c1868e3054401 Command: a745dc7b2c2b8ab9: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/13c9f60af5c2ea64e96c521ff1b514d2662d819e Env: REF_NAME=gh-readonly-queue/next/pr-15254-1bb4f0588a9dc5b1df622753aab1d907b3f12c7a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 09:09:07 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15254_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 09:09:07 +++ id -u 09:09:08 +++ id -g 09:09:08 ++ 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'\''' 09:09:08 + cid=189a4f8b328b9f3c46cd568245206c360fb39dc9fb8285d772bdb35937b44b60 09:09:08 + set +x 09:09:09 {"level":25,"time":1750842549955,"pid":7,"hostname":"189a4f8b328b","module":"logger","msg":"Logger initialized with level debug"} 09:09:19 [09:09:19.373] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 09:09:19 [09:09:19.504] DEBUG: foundation:randomness_singleton Using true randomness 09:09:20 {"level":20,"time":1750842559570,"pid":7,"hostname":"189a4f8b328b","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 09:09:20 {"level":20,"time":1750842559822,"pid":7,"hostname":"189a4f8b328b","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 09:09:30 [09:09:30.004] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:09:30 [09:09:30.010] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fIkQ9J with size: 10485760 KB (LMDB v2) 09:09:30 [09:09:30.012] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:09:30 [09:09:30.021] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-eOcYBn with size: 10485760 KB (LMDB v2) 09:09:30 [09:09:30.022] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:09:30 [09:09:30.024] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GlHIHb with size: 10485760 KB (LMDB v2) 09:09:30 [09:09:30.025] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:09:30 [09:09:30.028] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:09:30 [09:09:30.030] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 09:09:30 [09:09:30.030] INFO: p2p:test:integration Shut down p2p clients 09:09:30 [09:09:30.062] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 09:09:30 {"level":20,"time":1750842559875,"pid":7,"hostname":"189a4f8b328b","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 09:09:30 {"level":20,"time":1750842559876,"pid":7,"hostname":"189a4f8b328b","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"} 09:09:39 [09:09:39.274] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:09:39 [09:09:39.293] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-naXp7z with size: 10485760 KB (LMDB v2) 09:09:39 [09:09:39.293] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:09:39 [09:09:39.301] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-AsvwDP with size: 10485760 KB (LMDB v2) 09:09:39 [09:09:39.304] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:09:39 [09:09:39.308] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GHMZCD with size: 10485760 KB (LMDB v2) 09:09:39 [09:09:39.309] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:09:39 [09:09:39.313] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:09:39 [09:09:39.315] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 09:09:39 [09:09:39.315] INFO: p2p:test:integration Shut down p2p clients 09:09:39 [09:09:39.320] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 09:09:48 [09:09:48.300] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:09:48 [09:09:48.303] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mDRFI4 with size: 10485760 KB (LMDB v2) 09:09:48 [09:09:48.304] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:09:48 [09:09:48.307] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pROcwt with size: 10485760 KB (LMDB v2) 09:09:48 [09:09:48.307] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:09:48 [09:09:48.311] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Cp0or8 with size: 10485760 KB (LMDB v2) 09:09:48 [09:09:48.311] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:09:48 [09:09:48.315] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:09:48 [09:09:48.316] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 09:09:48 [09:09:48.316] INFO: p2p:test:integration Shut down p2p clients 09:09:48 [09:09:48.319] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 09:09:58 [09:09:58.777] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:09:58 [09:09:58.781] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-89TJZk with size: 10485760 KB (LMDB v2) 09:09:58 [09:09:58.781] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:09:58 [09:09:58.784] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1q5en2 with size: 10485760 KB (LMDB v2) 09:09:58 [09:09:58.784] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:09:58 [09:09:58.786] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tnVbvM with size: 10485760 KB (LMDB v2) 09:09:58 [09:09:58.787] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:09:58 [09:09:58.789] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:09:58 [09:09:58.790] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 09:09:58 [09:09:58.790] INFO: p2p:test:integration Shut down p2p clients 09:09:58 [09:09:58.793] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 09:10:08 [09:10:08.722] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:10:08 [09:10:08.738] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nqbvOQ with size: 10485760 KB (LMDB v2) 09:10:08 [09:10:08.741] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:10:08 [09:10:08.744] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kQnxCx with size: 10485760 KB (LMDB v2) 09:10:08 [09:10:08.744] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:10:08 [09:10:08.746] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-UKO3zb with size: 10485760 KB (LMDB v2) 09:10:08 [09:10:08.746] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:10:08 [09:10:08.748] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:10:08 [09:10:08.749] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 09:10:08 [09:10:08.750] INFO: p2p:test:integration Shut down p2p clients 09:10:08 [09:10:08.751] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 09:10:18 [09:10:18.608] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:10:18 [09:10:18.611] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ROGWAK with size: 10485760 KB (LMDB v2) 09:10:18 [09:10:18.612] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:10:18 [09:10:18.615] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YGjIfN with size: 10485760 KB (LMDB v2) 09:10:18 [09:10:18.616] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:10:18 [09:10:18.618] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1vkHb6 with size: 10485760 KB (LMDB v2) 09:10:18 [09:10:18.618] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:10:18 [09:10:18.620] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:10:18 [09:10:18.621] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 09:10:18 [09:10:18.621] INFO: p2p:test:integration Shut down p2p clients 09:10:18 [09:10:18.623] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 09:10:28 [09:10:28.983] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:10:28 [09:10:28.986] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-89oZRH with size: 10485760 KB (LMDB v2) 09:10:28 [09:10:28.987] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:10:28 [09:10:28.989] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-luVmxK with size: 10485760 KB (LMDB v2) 09:10:28 [09:10:28.989] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:10:28 [09:10:28.991] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-pS6dUI with size: 10485760 KB (LMDB v2) 09:10:28 [09:10:28.991] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:10:28 [09:10:28.993] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:10:28 [09:10:28.994] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 09:10:28 [09:10:28.994] INFO: p2p:test:integration Shut down p2p clients 09:10:28 [09:10:28.997] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 09:10:38 [09:10:38.926] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:10:38 [09:10:38.928] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cUdl3N with size: 10485760 KB (LMDB v2) 09:10:38 [09:10:38.929] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:10:38 [09:10:38.931] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JcZo1t with size: 10485760 KB (LMDB v2) 09:10:38 [09:10:38.931] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:10:38 [09:10:38.933] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GtfJRz with size: 10485760 KB (LMDB v2) 09:10:38 [09:10:38.933] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:10:38 [09:10:38.934] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:10:38 [09:10:38.935] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 09:10:38 [09:10:38.936] INFO: p2p:test:integration Shut down p2p clients 09:10:38 [09:10:38.938] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 09:10:49 [09:10:49.675] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 09:10:49 [09:10:49.691] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-i4kcNy with size: 10485760 KB (LMDB v2) 09:10:49 [09:10:49.694] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 09:10:49 [09:10:49.697] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-i4H7hJ with size: 10485760 KB (LMDB v2) 09:10:49 [09:10:49.697] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 09:10:49 [09:10:49.699] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-OYxwte with size: 10485760 KB (LMDB v2) 09:10:49 [09:10:49.700] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 09:10:49 [09:10:49.701] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 09:10:49 [09:10:49.703] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 09:10:49 [09:10:49.703] INFO: p2p:test:integration Shut down p2p clients 09:10:49 FAIL src/client/p2p_client.integration.test.ts (100.064 s) 09:10:49 p2p client integration 09:10:49 returns undefined if unable to find a transaction from another peer (10663 ms) 09:10:49 can request a transaction from another peer (9254 ms) 09:10:49 will penalize peers that send invalid proofs (8999 ms) 09:10:49 will penalize peers that send the wrong transaction (10472 ms) 09:10:49 will propagate messages to peers at the same version (9958 ms) 09:10:49 should not disconnect clients when it returns correct status (9870 ms) 09:10:49 should disconnect client when it returns status with wrong version (10373 ms) 09:10:49 should disconnect client when it returns an invalid status (9940 ms) 09:10:49 propagates messages using mocked gossip sub network (10766 ms) 09:10:49 09:10:49 p2p client integration › returns undefined if unable to find a transaction from another peer 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 09:10:49 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 09:10:49 09:10:49 p2p client integration › can request a transaction from another peer 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 09:10:49 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 09:10:49 09:10:49 p2p client integration › will penalize peers that send invalid proofs 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 09:10:49 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 09:10:49 09:10:49 p2p client integration › will penalize peers that send the wrong transaction 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 09:10:49 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 09:10:49 09:10:49 p2p client integration › will propagate messages to peers at the same version 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 09:10:49 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 09:10:49 09:10:49 p2p client integration › should not disconnect clients when it returns correct status 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 09:10:49 09:10:49 p2p client integration › should disconnect client when it returns status with wrong version 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 09:10:49 09:10:49 p2p client integration › should disconnect client when it returns an invalid status 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 09:10:49 09:10:49 p2p client integration › propagates messages using mocked gossip sub network 09:10:49 09:10:49 TypeError: config.peerIdPrivateKey.getValue is not a function 09:10:49 09:10:49 135 | 09:10:49 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 09:10:49 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 09:10:49 | ^ 09:10:49 138 | if (peerIdPrivateKeyFilePath) { 09:10:49 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 09:10:49 140 | } else { 09:10:49 09:10:49 at getValue (util.ts:137:58) 09:10:49 at getPeerIdPrivateKey (client/factory.ts:75:34) 09:10:49 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 09:10:49 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 09:10:49 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 09:10:49 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 09:10:49 09:10:49 Test Suites: 1 failed, 1 total 09:10:49 Tests: 9 failed, 9 total 09:10:49 Snapshots: 0 total 09:10:49 Time: 100.167 s 09:10:49 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 09:10:49 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?