Parent Log: http://ci.aztec-labs.com/e1c501cb022b2628 Command: 270716767bef7882: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/1c2c2ee2949dbe31742cc9501a31bf3bce8083cf Env: REF_NAME=gh-readonly-queue/next/pr-15232-aedcee89a2544b0e6baf93c4e71d88991f09111e CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 13:51:37 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15232_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 13:51:37 +++ id -u 13:51:37 +++ id -g 13:51:37 ++ 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'\''' 13:51:38 + cid=0fafd8c7d44ed8f9fd6256efd44135066e96bdfe10f0d806e24c1bfde2400999 13:51:38 + set +x 13:51:39 {"level":25,"time":1750773099699,"pid":7,"hostname":"0fafd8c7d44e","module":"logger","msg":"Logger initialized with level debug"} 13:51:48 [13:51:48.980] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 13:51:49 [13:51:49.052] DEBUG: foundation:randomness_singleton Using true randomness 13:51:49 {"level":20,"time":1750773109116,"pid":7,"hostname":"0fafd8c7d44e","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 13:51:49 {"level":20,"time":1750773109292,"pid":7,"hostname":"0fafd8c7d44e","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"} 13:51:58 [13:51:58.600] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:51:58 [13:51:58.606] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8R5EMR with size: 10485760 KB (LMDB v2) 13:51:58 [13:51:58.608] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:51:58 [13:51:58.619] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-V8NZ4n with size: 10485760 KB (LMDB v2) 13:51:58 [13:51:58.619] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:51:58 [13:51:58.622] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FddbjP with size: 10485760 KB (LMDB v2) 13:51:58 [13:51:58.622] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:51:58 [13:51:58.625] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:51:58 [13:51:58.627] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 13:51:58 [13:51:58.627] INFO: p2p:test:integration Shut down p2p clients 13:51:58 [13:51:58.652] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 13:51:58 {"level":20,"time":1750773109340,"pid":7,"hostname":"0fafd8c7d44e","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 13:51:58 {"level":20,"time":1750773109341,"pid":7,"hostname":"0fafd8c7d44e","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"} 13:52:07 [13:52:07.250] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:07 [13:52:07.268] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-j9sS0O with size: 10485760 KB (LMDB v2) 13:52:07 [13:52:07.269] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:07 [13:52:07.272] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-0OZYrL with size: 10485760 KB (LMDB v2) 13:52:07 [13:52:07.273] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:07 [13:52:07.279] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-48JeDc with size: 10485760 KB (LMDB v2) 13:52:07 [13:52:07.280] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:07 [13:52:07.286] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:07 [13:52:07.287] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 13:52:07 [13:52:07.288] INFO: p2p:test:integration Shut down p2p clients 13:52:07 [13:52:07.290] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 13:52:16 [13:52:16.365] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:16 [13:52:16.368] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-IUUCDU with size: 10485760 KB (LMDB v2) 13:52:16 [13:52:16.368] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:16 [13:52:16.371] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HQ4SIl with size: 10485760 KB (LMDB v2) 13:52:16 [13:52:16.371] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:16 [13:52:16.373] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Rxwpvc with size: 10485760 KB (LMDB v2) 13:52:16 [13:52:16.373] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:16 [13:52:16.378] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:16 [13:52:16.379] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 13:52:16 [13:52:16.379] INFO: p2p:test:integration Shut down p2p clients 13:52:16 [13:52:16.381] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 13:52:26 [13:52:26.151] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:26 [13:52:26.154] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MRcqpq with size: 10485760 KB (LMDB v2) 13:52:26 [13:52:26.154] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:26 [13:52:26.157] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4X5Xau with size: 10485760 KB (LMDB v2) 13:52:26 [13:52:26.157] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:26 [13:52:26.159] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yiTjNJ with size: 10485760 KB (LMDB v2) 13:52:26 [13:52:26.160] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:26 [13:52:26.163] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:26 [13:52:26.164] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 13:52:26 [13:52:26.164] INFO: p2p:test:integration Shut down p2p clients 13:52:26 [13:52:26.167] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 13:52:35 [13:52:35.922] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:35 [13:52:35.935] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-OolVXi with size: 10485760 KB (LMDB v2) 13:52:35 [13:52:35.938] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:35 [13:52:35.941] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-EAd7sG with size: 10485760 KB (LMDB v2) 13:52:35 [13:52:35.941] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:35 [13:52:35.944] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IXW4t5 with size: 10485760 KB (LMDB v2) 13:52:35 [13:52:35.944] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:35 [13:52:35.946] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:35 [13:52:35.947] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 13:52:35 [13:52:35.947] INFO: p2p:test:integration Shut down p2p clients 13:52:35 [13:52:35.949] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 13:52:45 [13:52:45.951] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:45 [13:52:45.955] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-aKTpdv with size: 10485760 KB (LMDB v2) 13:52:45 [13:52:45.955] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:45 [13:52:45.958] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wM368o with size: 10485760 KB (LMDB v2) 13:52:45 [13:52:45.958] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:45 [13:52:45.960] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EGSpcm with size: 10485760 KB (LMDB v2) 13:52:45 [13:52:45.960] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:45 [13:52:45.962] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:45 [13:52:45.963] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 13:52:45 [13:52:45.963] INFO: p2p:test:integration Shut down p2p clients 13:52:45 [13:52:45.965] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 13:52:55 [13:52:55.569] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:52:55 [13:52:55.572] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DUuPsX with size: 10485760 KB (LMDB v2) 13:52:55 [13:52:55.572] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:52:55 [13:52:55.579] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Ngpocs with size: 10485760 KB (LMDB v2) 13:52:55 [13:52:55.579] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:52:55 [13:52:55.585] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-r09es0 with size: 10485760 KB (LMDB v2) 13:52:55 [13:52:55.586] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:52:55 [13:52:55.588] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:52:55 [13:52:55.589] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 13:52:55 [13:52:55.589] INFO: p2p:test:integration Shut down p2p clients 13:52:55 [13:52:55.592] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 13:53:05 [13:53:05.671] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:53:05 [13:53:05.675] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mZAx2T with size: 10485760 KB (LMDB v2) 13:53:05 [13:53:05.676] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:53:05 [13:53:05.679] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-RxLqoB with size: 10485760 KB (LMDB v2) 13:53:05 [13:53:05.679] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:53:05 [13:53:05.682] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TzCXqj with size: 10485760 KB (LMDB v2) 13:53:05 [13:53:05.682] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:53:05 [13:53:05.685] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:53:05 [13:53:05.686] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 13:53:05 [13:53:05.686] INFO: p2p:test:integration Shut down p2p clients 13:53:05 [13:53:05.689] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 13:53:16 [13:53:16.209] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 13:53:16 [13:53:16.212] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Wf3nwK with size: 10485760 KB (LMDB v2) 13:53:16 [13:53:16.212] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 13:53:16 [13:53:16.214] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-RJpsD2 with size: 10485760 KB (LMDB v2) 13:53:16 [13:53:16.215] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 13:53:16 [13:53:16.216] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-mSJhBB with size: 10485760 KB (LMDB v2) 13:53:16 [13:53:16.216] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 13:53:16 [13:53:16.219] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 13:53:16 [13:53:16.221] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 13:53:16 [13:53:16.222] INFO: p2p:test:integration Shut down p2p clients 13:53:16 FAIL src/client/p2p_client.integration.test.ts (96.866 s) 13:53:16 p2p client integration 13:53:16 returns undefined if unable to find a transaction from another peer (9652 ms) 13:53:16 can request a transaction from another peer (8637 ms) 13:53:16 will penalize peers that send invalid proofs (9090 ms) 13:53:16 will penalize peers that send the wrong transaction (9783 ms) 13:53:16 will propagate messages to peers at the same version (9781 ms) 13:53:16 should not disconnect clients when it returns correct status (10014 ms) 13:53:16 should disconnect client when it returns status with wrong version (9626 ms) 13:53:16 should disconnect client when it returns an invalid status (10096 ms) 13:53:16 propagates messages using mocked gossip sub network (10534 ms) 13:53:16 13:53:16 p2p client integration › returns undefined if unable to find a transaction from another peer 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:16 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 13:53:16 13:53:16 p2p client integration › can request a transaction from another peer 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:16 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 13:53:16 13:53:16 p2p client integration › will penalize peers that send invalid proofs 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:16 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 13:53:16 13:53:16 p2p client integration › will penalize peers that send the wrong transaction 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:16 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 13:53:16 13:53:16 p2p client integration › will propagate messages to peers at the same version 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:16 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 13:53:16 13:53:16 p2p client integration › should not disconnect clients when it returns correct status 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 13:53:16 13:53:16 p2p client integration › should disconnect client when it returns status with wrong version 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 13:53:16 13:53:16 p2p client integration › should disconnect client when it returns an invalid status 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 13:53:16 13:53:16 p2p client integration › propagates messages using mocked gossip sub network 13:53:16 13:53:16 TypeError: config.peerIdPrivateKey.getValue is not a function 13:53:16 13:53:16 135 | 13:53:16 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 13:53:16 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 13:53:16 | ^ 13:53:16 138 | if (peerIdPrivateKeyFilePath) { 13:53:16 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 13:53:16 140 | } else { 13:53:16 13:53:16 at getValue (util.ts:137:58) 13:53:16 at getPeerIdPrivateKey (client/factory.ts:75:34) 13:53:16 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 13:53:16 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 13:53:16 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 13:53:16 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 13:53:16 13:53:16 Test Suites: 1 failed, 1 total 13:53:16 Tests: 9 failed, 9 total 13:53:16 Snapshots: 0 total 13:53:16 Time: 96.962 s 13:53:16 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 13:53:16 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?