Parent Log: http://ci.aztec-labs.com/59a7f67799d27b25 Command: 7a41fc0e1576329f: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/142e6cd5fbf7371f649078f9d6d08828585c664d Env: REF_NAME=gh-readonly-queue/next/pr-14610-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 12:57:18 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 12:57:18 +++ id -u 12:57:18 +++ id -g 12:57:18 ++ 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'\''' 12:57:19 + cid=3d48acbfb6d0df842d7d32f9c553a92566f505e693109bc3f7a3e78ae7dcae36 12:57:19 + set +x 12:57:20 {"level":25,"time":1750769840619,"pid":7,"hostname":"3d48acbfb6d0","module":"logger","msg":"Logger initialized with level debug"} 12:57:30 [12:57:30.633] INFO: p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer 12:57:30 [12:57:30.768] DEBUG: foundation:randomness_singleton Using true randomness 12:57:31 {"level":20,"time":1750769850829,"pid":7,"hostname":"3d48acbfb6d0","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"} 12:57:31 {"level":20,"time":1750769851028,"pid":7,"hostname":"3d48acbfb6d0","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"} 12:57:40 [12:57:40.809] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:57:40 [12:57:40.814] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-yIuQ4i with size: 10485760 KB (LMDB v2) 12:57:40 [12:57:40.814] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:57:40 [12:57:40.821] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TCb3jI with size: 10485760 KB (LMDB v2) 12:57:40 [12:57:40.821] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:57:40 [12:57:40.823] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5NrNZ2 with size: 10485760 KB (LMDB v2) 12:57:40 [12:57:40.824] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:57:40 [12:57:40.827] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:57:40 [12:57:40.828] INFO: p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer 12:57:40 [12:57:40.828] INFO: p2p:test:integration Shut down p2p clients 12:57:40 [12:57:40.854] INFO: p2p:test:integration Starting test p2p client integration can request a transaction from another peer 12:57:41 {"level":20,"time":1750769851090,"pid":7,"hostname":"3d48acbfb6d0","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"} 12:57:41 {"level":20,"time":1750769851091,"pid":7,"hostname":"3d48acbfb6d0","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"} 12:57:49 [12:57:49.630] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:57:49 [12:57:49.658] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-L7Isyy with size: 10485760 KB (LMDB v2) 12:57:49 [12:57:49.659] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:57:49 [12:57:49.665] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-E2Wxws with size: 10485760 KB (LMDB v2) 12:57:49 [12:57:49.666] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:57:49 [12:57:49.678] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fjlM46 with size: 10485760 KB (LMDB v2) 12:57:49 [12:57:49.679] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:57:49 [12:57:49.681] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:57:49 [12:57:49.683] INFO: p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer 12:57:49 [12:57:49.683] INFO: p2p:test:integration Shut down p2p clients 12:57:49 [12:57:49.687] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs 12:57:58 [12:57:58.706] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:57:58 [12:57:58.709] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-T85gsE with size: 10485760 KB (LMDB v2) 12:57:58 [12:57:58.710] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:57:58 [12:57:58.713] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iALmvp with size: 10485760 KB (LMDB v2) 12:57:58 [12:57:58.713] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:57:58 [12:57:58.717] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hRfhBi with size: 10485760 KB (LMDB v2) 12:57:58 [12:57:58.718] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:57:58 [12:57:58.720] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:57:58 [12:57:58.721] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs 12:57:58 [12:57:58.721] INFO: p2p:test:integration Shut down p2p clients 12:57:58 [12:57:58.723] INFO: p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction 12:58:08 [12:58:08.802] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:58:08 [12:58:08.805] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-md7m8Y with size: 10485760 KB (LMDB v2) 12:58:08 [12:58:08.806] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:58:08 [12:58:08.809] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YZF4nq with size: 10485760 KB (LMDB v2) 12:58:08 [12:58:08.810] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:58:08 [12:58:08.812] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XFOB1c with size: 10485760 KB (LMDB v2) 12:58:08 [12:58:08.812] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:58:08 [12:58:08.814] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:58:08 [12:58:08.815] INFO: p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction 12:58:08 [12:58:08.815] INFO: p2p:test:integration Shut down p2p clients 12:58:08 [12:58:08.818] INFO: p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version 12:58:18 [12:58:18.696] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:58:18 [12:58:18.698] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-tggKg3 with size: 10485760 KB (LMDB v2) 12:58:18 [12:58:18.699] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:58:18 [12:58:18.701] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-7oyurR with size: 10485760 KB (LMDB v2) 12:58:18 [12:58:18.701] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:58:18 [12:58:18.703] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qfKl9b with size: 10485760 KB (LMDB v2) 12:58:18 [12:58:18.703] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:58:18 [12:58:18.705] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:58:18 [12:58:18.706] INFO: p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version 12:58:18 [12:58:18.706] INFO: p2p:test:integration Shut down p2p clients 12:58:18 [12:58:18.708] INFO: p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status 12:58:28 [12:58:28.904] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:58:28 [12:58:28.933] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ZaU4dB with size: 10485760 KB (LMDB v2) 12:58:28 [12:58:28.934] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:58:28 [12:58:28.942] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2EuFIc with size: 10485760 KB (LMDB v2) 12:58:28 [12:58:28.943] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:58:28 [12:58:28.945] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tcFvYB with size: 10485760 KB (LMDB v2) 12:58:28 [12:58:28.945] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:58:28 [12:58:28.947] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:58:28 [12:58:28.948] INFO: p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status 12:58:28 [12:58:28.949] INFO: p2p:test:integration Shut down p2p clients 12:58:28 [12:58:28.951] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version 12:58:39 [12:58:39.164] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:58:39 [12:58:39.167] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-WCVJYU with size: 10485760 KB (LMDB v2) 12:58:39 [12:58:39.167] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:58:39 [12:58:39.172] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-hqMt0o with size: 10485760 KB (LMDB v2) 12:58:39 [12:58:39.173] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:58:39 [12:58:39.175] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-jZB4tY with size: 10485760 KB (LMDB v2) 12:58:39 [12:58:39.175] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:58:39 [12:58:39.176] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:58:39 [12:58:39.177] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version 12:58:39 [12:58:39.177] INFO: p2p:test:integration Shut down p2p clients 12:58:39 [12:58:39.179] INFO: p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status 12:58:49 [12:58:49.067] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:58:49 [12:58:49.070] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pnS1EO with size: 10485760 KB (LMDB v2) 12:58:49 [12:58:49.071] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:58:49 [12:58:49.073] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-etEO8t with size: 10485760 KB (LMDB v2) 12:58:49 [12:58:49.073] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:58:49 [12:58:49.075] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TlnvnP with size: 10485760 KB (LMDB v2) 12:58:49 [12:58:49.075] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:58:49 [12:58:49.076] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:58:49 [12:58:49.077] INFO: p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status 12:58:49 [12:58:49.077] INFO: p2p:test:integration Shut down p2p clients 12:58:49 [12:58:49.079] INFO: p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network 12:58:59 [12:58:59.447] VERBOSE: archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source 12:58:59 [12:58:59.449] DEBUG: kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-AVqfsY with size: 10485760 KB (LMDB v2) 12:58:59 [12:58:59.450] INFO: kv-store:lmdb-v2:test Starting data store with maxReaders 16 12:58:59 [12:58:59.453] DEBUG: p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-b9cxJG with size: 10485760 KB (LMDB v2) 12:58:59 [12:58:59.453] INFO: p2p-archive:lmdb-v2 Starting data store with maxReaders 16 12:58:59 [12:58:59.455] DEBUG: p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Y0VcBW with size: 10485760 KB (LMDB v2) 12:58:59 [12:58:59.455] INFO: p2p-peer:lmdb-v2 Starting data store with maxReaders 16 12:58:59 [12:58:59.456] VERBOSE: p2p:0 P2P is enabled. Using LibP2P service. 12:58:59 [12:58:59.458] INFO: p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network 12:58:59 [12:58:59.458] INFO: p2p:test:integration Shut down p2p clients 12:58:59 FAIL src/client/p2p_client.integration.test.ts (99.142 s) 12:58:59 p2p client integration 12:58:59 returns undefined if unable to find a transaction from another peer (10200 ms) 12:58:59 can request a transaction from another peer (8831 ms) 12:58:59 will penalize peers that send invalid proofs (9035 ms) 12:58:59 will penalize peers that send the wrong transaction (10093 ms) 12:58:59 will propagate messages to peers at the same version (9889 ms) 12:58:59 should not disconnect clients when it returns correct status (10242 ms) 12:58:59 should disconnect client when it returns status with wrong version (10227 ms) 12:58:59 should disconnect client when it returns an invalid status (9898 ms) 12:58:59 propagates messages using mocked gossip sub network (10380 ms) 12:58:59 12:58:59 p2p client integration › returns undefined if unable to find a transaction from another peer 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:58:59 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9) 12:58:59 12:58:59 p2p client integration › can request a transaction from another peer 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:58:59 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9) 12:58:59 12:58:59 p2p client integration › will penalize peers that send invalid proofs 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:58:59 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9) 12:58:59 12:58:59 p2p client integration › will penalize peers that send the wrong transaction 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:58:59 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9) 12:58:59 12:58:59 p2p client integration › will propagate messages to peers at the same version 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:58:59 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32) 12:58:59 12:58:59 p2p client integration › should not disconnect clients when it returns correct status 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9) 12:58:59 12:58:59 p2p client integration › should disconnect client when it returns status with wrong version 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9) 12:58:59 12:58:59 p2p client integration › should disconnect client when it returns an invalid status 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9) 12:58:59 12:58:59 p2p client integration › propagates messages using mocked gossip sub network 12:58:59 12:58:59 TypeError: config.peerIdPrivateKey.getValue is not a function 12:58:59 12:58:59 135 | 12:58:59 136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store 12:58:59 > 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) { 12:58:59 | ^ 12:58:59 138 | if (peerIdPrivateKeyFilePath) { 12:58:59 139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue()); 12:58:59 140 | } else { 12:58:59 12:58:59 at getValue (util.ts:137:58) 12:58:59 at getPeerIdPrivateKey (client/factory.ts:75:34) 12:58:59 at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18) 12:58:59 at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18) 12:58:59 at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20) 12:58:59 at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32) 12:58:59 12:58:59 Test Suites: 1 failed, 1 total 12:58:59 Tests: 9 failed, 9 total 12:58:59 Snapshots: 0 total 12:58:59 Time: 99.242 s 12:58:59 Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts. 12:58:59 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?