Parent Log: http://ci.aztec-labs.com/a0356d24b864df03 Command: 47858aa9bf665f8a: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/1bb4f0588a9dc5b1df622753aab1d907b3f12c7a Env: REF_NAME=gh-readonly-queue/next/pr-15245-534f06e45f48274efd53a2204c90cb0b91a53efb CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 08:19:32 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15245_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next 08:19:32 +++ id -u 08:19:32 +++ id -g 08:19:32 ++ 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'\''' 08:19:32 + cid=05b120401aee831fc55dfbb5adcfd78071c73828af11924526e72aca94aeac7b 08:19:32 + set +x 08:19:33 {"level":25,"time":1750839573928,"pid":7,"hostname":"05b120401aee","module":"logger","msg":"Logger initialized with level debug"} 08:19:43 [08:19:43.015] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 08:19:43 [08:19:43.117] DEBUG: foundation:randomness_singleton Using true randomness 08:19:43 {"level":20,"time":1750839583198,"pid":7,"hostname":"05b120401aee","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 08:19:43 {"level":20,"time":1750839583438,"pid":7,"hostname":"05b120401aee","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 08:19:53 [08:19:53.252] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:19:53 [08:19:53.256] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-XNRANd with size: 10485760 KB (LMDB v2) 08:19:53 [08:19:53.257] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:19:53 [08:19:53.267] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Jc0PpC with size: 10485760 KB (LMDB v2) 08:19:53 [08:19:53.268] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:19:53 [08:19:53.270] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WEsIB4 with size: 10485760 KB (LMDB v2) 08:19:53 [08:19:53.271] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:19:53 [08:19:53.276] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:19:53 [08:19:53.278] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 08:19:53 [08:19:53.278] INFO: p2p:test:integration Shut down p2p clients 08:19:53 [08:19:53.309] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 08:19:53 {"level":20,"time":1750839583484,"pid":7,"hostname":"05b120401aee","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 08:19:53 {"level":20,"time":1750839583485,"pid":7,"hostname":"05b120401aee","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"} 08:20:02 [08:20:02.482] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:20:02 [08:20:02.501] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TGl54g with size: 10485760 KB (LMDB v2) 08:20:02 [08:20:02.501] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:20:02 [08:20:02.504] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-fk0uUK with size: 10485760 KB (LMDB v2) 08:20:02 [08:20:02.505] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:20:02 [08:20:02.509] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-sCM917 with size: 10485760 KB (LMDB v2) 08:20:02 [08:20:02.510] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:20:02 [08:20:02.512] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:20:02 [08:20:02.514] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 08:20:02 [08:20:02.514] INFO: p2p:test:integration Shut down p2p clients 08:20:02 [08:20:02.516] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 08:20:12 [08:20:12.042] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:20:12 [08:20:12.044] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-LEs8lV with size: 10485760 KB (LMDB v2) 08:20:12 [08:20:12.045] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:20:12 [08:20:12.048] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-G6dwud with size: 10485760 KB (LMDB v2) 08:20:12 [08:20:12.048] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:20:12 [08:20:12.050] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-igJHxP with size: 10485760 KB (LMDB v2) 08:20:12 [08:20:12.050] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:20:12 [08:20:12.052] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:20:12 [08:20:12.053] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 08:20:12 [08:20:12.053] INFO: p2p:test:integration Shut down p2p clients 08:20:12 [08:20:12.056] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 08:20:21 [08:20:21.935] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:20:21 [08:20:21.940] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0BJRER with size: 10485760 KB (LMDB v2) 08:20:21 [08:20:21.941] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:20:21 [08:20:21.946] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wUtmq1 with size: 10485760 KB (LMDB v2) 08:20:21 [08:20:21.946] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:20:21 [08:20:21.948] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1Ad3kK with size: 10485760 KB (LMDB v2) 08:20:21 [08:20:21.949] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:20:21 [08:20:21.951] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:20:21 [08:20:21.952] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 08:20:21 [08:20:21.953] INFO: p2p:test:integration Shut down p2p clients 08:20:21 [08:20:21.955] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 08:20:32 [08:20:32.429] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:20:32 [08:20:32.431] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fFP1eC with size: 10485760 KB (LMDB v2) 08:20:32 [08:20:32.432] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:20:32 [08:20:32.445] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-mEvc03 with size: 10485760 KB (LMDB v2) 08:20:32 [08:20:32.446] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:20:32 [08:20:32.452] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NJMWSY with size: 10485760 KB (LMDB v2) 08:20:32 [08:20:32.453] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:20:32 [08:20:32.455] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:20:32 [08:20:32.456] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 08:20:32 [08:20:32.456] INFO: p2p:test:integration Shut down p2p clients 08:20:32 [08:20:32.458] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 08:20:42 [08:20:42.352] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:20:42 [08:20:42.355] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-09bDwm with size: 10485760 KB (LMDB v2) 08:20:42 [08:20:42.355] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:20:42 [08:20:42.357] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WEVDtV with size: 10485760 KB (LMDB v2) 08:20:42 [08:20:42.358] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:20:42 [08:20:42.360] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-omxpOA with size: 10485760 KB (LMDB v2) 08:20:42 [08:20:42.360] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:20:42 [08:20:42.362] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:20:42 [08:20:42.362] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 08:20:42 [08:20:42.363] INFO: p2p:test:integration Shut down p2p clients 08:20:42 [08:20:42.365] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 08:20:52 [08:20:52.739] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:20:52 [08:20:52.768] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-u6s73p with size: 10485760 KB (LMDB v2) 08:20:52 [08:20:52.772] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:20:52 [08:20:52.782] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gUQliK with size: 10485760 KB (LMDB v2) 08:20:52 [08:20:52.783] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:20:52 [08:20:52.787] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2E7F3C with size: 10485760 KB (LMDB v2) 08:20:52 [08:20:52.788] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:20:52 [08:20:52.793] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:20:52 [08:20:52.796] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 08:20:52 [08:20:52.797] INFO: p2p:test:integration Shut down p2p clients 08:20:52 [08:20:52.801] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 08:21:03 [08:21:03.019] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:21:03 [08:21:03.022] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zpZjIa with size: 10485760 KB (LMDB v2) 08:21:03 [08:21:03.023] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:21:03 [08:21:03.028] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3HjCwe with size: 10485760 KB (LMDB v2) 08:21:03 [08:21:03.029] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:21:03 [08:21:03.035] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-um0OX8 with size: 10485760 KB (LMDB v2) 08:21:03 [08:21:03.036] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:21:03 [08:21:03.041] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:21:03 [08:21:03.042] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 08:21:03 [08:21:03.042] INFO: p2p:test:integration Shut down p2p clients 08:21:03 [08:21:03.045] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 08:21:13 [08:21:13.997] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 08:21:13 [08:21:13.999] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mBY13j with size: 10485760 KB (LMDB v2) 08:21:13 [08:21:14.000] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 08:21:14 [08:21:14.002] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-N9FLDL with size: 10485760 KB (LMDB v2) 08:21:14 [08:21:14.003] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 08:21:14 [08:21:14.006] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nOsGKY with size: 10485760 KB (LMDB v2) 08:21:14 [08:21:14.006] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 08:21:14 [08:21:14.008] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 08:21:14 [08:21:14.009] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 08:21:14 [08:21:14.009] INFO: p2p:test:integration Shut down p2p clients 08:21:14 FAIL src/client/p2p_client.integration.test.ts (100.362 s) 08:21:14 p2p client integration 08:21:14 returns undefined if unable to find a transaction from another peer (10268 ms) 08:21:14 can request a transaction from another peer (9207 ms) 08:21:14 will penalize peers that send invalid proofs (9539 ms) 08:21:14 will penalize peers that send the wrong transaction (9898 ms) 08:21:14 will propagate messages to peers at the same version (10503 ms) 08:21:14 should not disconnect clients when it returns correct status (9905 ms) 08:21:14 should disconnect client when it returns status with wrong version (10433 ms) 08:21:14 should disconnect client when it returns an invalid status (10243 ms) 08:21:14 propagates messages using mocked gossip sub network (10965 ms) 08:21:14 08:21:14 p2p client integration › returns undefined if unable to find a transaction from another peer 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 08:21:14 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 08:21:14 08:21:14 p2p client integration › can request a transaction from another peer 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 08:21:14 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 08:21:14 08:21:14 p2p client integration › will penalize peers that send invalid proofs 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 08:21:14 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 08:21:14 08:21:14 p2p client integration › will penalize peers that send the wrong transaction 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 08:21:14 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 08:21:14 08:21:14 p2p client integration › will propagate messages to peers at the same version 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 08:21:14 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 08:21:14 08:21:14 p2p client integration › should not disconnect clients when it returns correct status 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 08:21:14 08:21:14 p2p client integration › should disconnect client when it returns status with wrong version 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 08:21:14 08:21:14 p2p client integration › should disconnect client when it returns an invalid status 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 08:21:14 08:21:14 p2p client integration › propagates messages using mocked gossip sub network 08:21:14 08:21:14 TypeError: config.peerIdPrivateKey.getValue is not a function 08:21:14 08:21:14 135 | 08:21:14 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 08:21:14 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 08:21:14 | ^ 08:21:14 138 | if (peerIdPrivateKeyFilePath) { 08:21:14 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 08:21:14 140 | } else { 08:21:14 08:21:14 at getValue (util.ts:137:58) 08:21:14 at getPeerIdPrivateKey (client/factory.ts:75:34) 08:21:14 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 08:21:14 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 08:21:14 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 08:21:14 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 08:21:14 08:21:14 Test Suites: 1 failed, 1 total 08:21:14 Tests: 9 failed, 9 total 08:21:14 Snapshots: 0 total 08:21:14 Time: 100.443 s 08:21:14 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 08:21:14 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?