Parent Log: http://ci.aztec-labs.com/5b78f67da94557f7 Command: e4e37220d2336322: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/282da3bd25d49b92970e6fc85f110092e8566299 Env: REF_NAME=gh-readonly-queue/next/pr-14610-ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 14:17:55 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 14:17:55 +++ id -u 14:17:55 +++ id -g 14:17:55 ++ 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:17:55 + cid=baea93b814d9304546e15d4820b07352319196fb4e30d6cb7c644d3d197206b1 14:17:55 + set +x 14:17:57 {"level":25,"time":1750774677400,"pid":7,"hostname":"baea93b814d9","module":"logger","msg":"Logger initialized with level debug"} 14:18:07 [14:18:07.530] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 14:18:07 [14:18:07.609] DEBUG: foundation:randomness_singleton Using true randomness 14:18:08 {"level":20,"time":1750774687657,"pid":7,"hostname":"baea93b814d9","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 14:18:08 {"level":20,"time":1750774687882,"pid":7,"hostname":"baea93b814d9","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 14:18:17 [14:18:17.502] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:17 [14:18:17.508] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-GtWrW4 with size: 10485760 KB (LMDB v2) 14:18:17 [14:18:17.509] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:17 [14:18:17.517] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-D9uoLa with size: 10485760 KB (LMDB v2) 14:18:17 [14:18:17.517] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:17 [14:18:17.519] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Wxaldf with size: 10485760 KB (LMDB v2) 14:18:17 [14:18:17.520] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:17 [14:18:17.522] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:17 [14:18:17.523] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 14:18:17 [14:18:17.524] INFO: p2p:test:integration Shut down p2p clients 14:18:17 [14:18:17.544] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 14:18:18 {"level":20,"time":1750774687938,"pid":7,"hostname":"baea93b814d9","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 14:18:18 {"level":20,"time":1750774687939,"pid":7,"hostname":"baea93b814d9","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:18:26 [14:18:26.628] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:26 [14:18:26.633] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-SlRPD6 with size: 10485760 KB (LMDB v2) 14:18:26 [14:18:26.633] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:26 [14:18:26.637] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1OPJnm with size: 10485760 KB (LMDB v2) 14:18:26 [14:18:26.638] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:26 [14:18:26.641] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-kS7I4q with size: 10485760 KB (LMDB v2) 14:18:26 [14:18:26.642] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:26 [14:18:26.647] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:26 [14:18:26.649] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 14:18:26 [14:18:26.649] INFO: p2p:test:integration Shut down p2p clients 14:18:26 [14:18:26.653] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 14:18:36 [14:18:36.029] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:36 [14:18:36.033] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jgoQwL with size: 10485760 KB (LMDB v2) 14:18:36 [14:18:36.034] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:36 [14:18:36.042] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-w5OfEm with size: 10485760 KB (LMDB v2) 14:18:36 [14:18:36.043] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:36 [14:18:36.048] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-8kA1cG with size: 10485760 KB (LMDB v2) 14:18:36 [14:18:36.049] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:36 [14:18:36.055] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:36 [14:18:36.057] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 14:18:36 [14:18:36.057] INFO: p2p:test:integration Shut down p2p clients 14:18:36 [14:18:36.060] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 14:18:46 [14:18:46.196] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:46 [14:18:46.216] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-VlTFiq with size: 10485760 KB (LMDB v2) 14:18:46 [14:18:46.217] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:46 [14:18:46.220] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-qdbZZR with size: 10485760 KB (LMDB v2) 14:18:46 [14:18:46.221] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:46 [14:18:46.223] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TqI8fP with size: 10485760 KB (LMDB v2) 14:18:46 [14:18:46.223] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:46 [14:18:46.225] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:46 [14:18:46.227] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 14:18:46 [14:18:46.227] INFO: p2p:test:integration Shut down p2p clients 14:18:46 [14:18:46.230] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 14:18:55 [14:18:55.963] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:18:55 [14:18:55.976] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8AAIQz with size: 10485760 KB (LMDB v2) 14:18:55 [14:18:55.977] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:18:55 [14:18:55.980] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wlLObm with size: 10485760 KB (LMDB v2) 14:18:55 [14:18:55.980] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:18:55 [14:18:55.983] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-xq7IvG with size: 10485760 KB (LMDB v2) 14:18:55 [14:18:55.983] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:18:55 [14:18:55.985] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:18:55 [14:18:55.986] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 14:18:55 [14:18:55.986] INFO: p2p:test:integration Shut down p2p clients 14:18:55 [14:18:55.988] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 14:19:05 [14:19:05.673] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:05 [14:19:05.676] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RqeSQW with size: 10485760 KB (LMDB v2) 14:19:05 [14:19:05.676] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:05 [14:19:05.682] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xX2rqQ with size: 10485760 KB (LMDB v2) 14:19:05 [14:19:05.683] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:05 [14:19:05.685] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wCQfpF with size: 10485760 KB (LMDB v2) 14:19:05 [14:19:05.685] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:05 [14:19:05.687] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:05 [14:19:05.688] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 14:19:05 [14:19:05.688] INFO: p2p:test:integration Shut down p2p clients 14:19:05 [14:19:05.691] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 14:19:15 [14:19:15.537] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:15 [14:19:15.539] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QEzVCB with size: 10485760 KB (LMDB v2) 14:19:15 [14:19:15.540] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:15 [14:19:15.541] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-e5hUUl with size: 10485760 KB (LMDB v2) 14:19:15 [14:19:15.542] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:15 [14:19:15.543] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JNBp4Q with size: 10485760 KB (LMDB v2) 14:19:15 [14:19:15.543] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:15 [14:19:15.545] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:15 [14:19:15.545] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 14:19:15 [14:19:15.546] INFO: p2p:test:integration Shut down p2p clients 14:19:15 [14:19:15.547] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 14:19:25 [14:19:25.042] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:25 [14:19:25.045] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-IDW4T5 with size: 10485760 KB (LMDB v2) 14:19:25 [14:19:25.046] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:25 [14:19:25.048] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NwwBOi with size: 10485760 KB (LMDB v2) 14:19:25 [14:19:25.048] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:25 [14:19:25.050] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ZHH7R2 with size: 10485760 KB (LMDB v2) 14:19:25 [14:19:25.051] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:25 [14:19:25.052] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:25 [14:19:25.054] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 14:19:25 [14:19:25.054] INFO: p2p:test:integration Shut down p2p clients 14:19:25 [14:19:25.057] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 14:19:34 [14:19:34.555] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 14:19:34 [14:19:34.557] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Y8zi7n with size: 10485760 KB (LMDB v2) 14:19:34 [14:19:34.558] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 14:19:34 [14:19:34.560] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tQwgLQ with size: 10485760 KB (LMDB v2) 14:19:34 [14:19:34.560] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 14:19:34 [14:19:34.565] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-o7U3hS with size: 10485760 KB (LMDB v2) 14:19:34 [14:19:34.566] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 14:19:34 [14:19:34.571] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 14:19:34 [14:19:34.573] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 14:19:34 [14:19:34.573] INFO: p2p:test:integration Shut down p2p clients 14:19:34 FAIL src/client/p2p_client.integration.test.ts (97.468 s) 14:19:34 p2p client integration 14:19:34 returns undefined if unable to find a transaction from another peer (9997 ms) 14:19:34 can request a transaction from another peer (9107 ms) 14:19:34 will penalize peers that send invalid proofs (9406 ms) 14:19:34 will penalize peers that send the wrong transaction (10168 ms) 14:19:34 will propagate messages to peers at the same version (9757 ms) 14:19:34 should not disconnect clients when it returns correct status (9701 ms) 14:19:34 should disconnect client when it returns status with wrong version (9856 ms) 14:19:34 should disconnect client when it returns an invalid status (9507 ms) 14:19:34 propagates messages using mocked gossip sub network (9518 ms) 14:19:34 14:19:34 p2p client integration › returns undefined if unable to find a transaction from another peer 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:34 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 14:19:34 14:19:34 p2p client integration › can request a transaction from another peer 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:34 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 14:19:34 14:19:34 p2p client integration › will penalize peers that send invalid proofs 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:34 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 14:19:34 14:19:34 p2p client integration › will penalize peers that send the wrong transaction 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:34 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 14:19:34 14:19:34 p2p client integration › will propagate messages to peers at the same version 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:34 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 14:19:34 14:19:34 p2p client integration › should not disconnect clients when it returns correct status 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 14:19:34 14:19:34 p2p client integration › should disconnect client when it returns status with wrong version 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 14:19:34 14:19:34 p2p client integration › should disconnect client when it returns an invalid status 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 14:19:34 14:19:34 p2p client integration › propagates messages using mocked gossip sub network 14:19:34 14:19:34 TypeError: config.peerIdPrivateKey.getValue is not a function 14:19:34 14:19:34 135 | 14:19:34 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 14:19:34 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 14:19:34 | ^ 14:19:34 138 | if (peerIdPrivateKeyFilePath) { 14:19:34 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 14:19:34 140 | } else { 14:19:34 14:19:34 at getValue (util.ts:137:58) 14:19:34 at getPeerIdPrivateKey (client/factory.ts:75:34) 14:19:34 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 14:19:34 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 14:19:34 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 14:19:34 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 14:19:34 14:19:34 Test Suites: 1 failed, 1 total 14:19:34 Tests: 9 failed, 9 total 14:19:34 Snapshots: 0 total 14:19:34 Time: 97.568 s 14:19:34 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 14:19:34 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?