Parent Log:
http://ci.aztec-labs.com/9835e3d1ddb4ce05
Command: 4ef547fa5e299294: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/d4893155ff105399557b55c16450c39921c70d11
Env: REF_NAME=gh-readonly-queue/next/pr-15218-7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:27:10 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15218_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
10:27:10 +++ id -u
10:27:10 +++ id -g
10:27:10 ++ 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'\'''
10:27:10 + cid=fd008aa463e731be2c646d34d766033e838ab37a8f26dd4d623d7895107c8e63
10:27:10 + set +x
10:27:12 {"level":25,"time":1750760832478,"pid":7,"hostname":"fd008aa463e7","module":"logger","msg":"Logger initialized with level debug"}
10:27:22 [10:27:22.781]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
10:27:22 [10:27:22.910]
DEBUG:
foundation:randomness_singleton Using true randomness
10:27:23 {"level":20,"time":1750760842987,"pid":7,"hostname":"fd008aa463e7","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
10:27:23 {"level":20,"time":1750760843203,"pid":7,"hostname":"fd008aa463e7","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
10:27:33 [10:27:33.874]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:27:33 [10:27:33.880]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-91AZCm with size: 10485760 KB (LMDB v2)
10:27:33 [10:27:33.881]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:27:33 [10:27:33.889]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-phxwZf with size: 10485760 KB (LMDB v2)
10:27:33 [10:27:33.890]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:27:33 [10:27:33.892]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2QGaSC with size: 10485760 KB (LMDB v2)
10:27:33 [10:27:33.893]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:27:33 [10:27:33.895]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:27:33 [10:27:33.896]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
10:27:33 [10:27:33.896]
INFO:
p2p:test:integration Shut down p2p clients
10:27:33 [10:27:33.921]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
10:27:34 {"level":20,"time":1750760843257,"pid":7,"hostname":"fd008aa463e7","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
10:27:34 {"level":20,"time":1750760843262,"pid":7,"hostname":"fd008aa463e7","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"}
10:27:43 [10:27:43.257]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:27:43 [10:27:43.261]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-htCwTP with size: 10485760 KB (LMDB v2)
10:27:43 [10:27:43.261]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:27:43 [10:27:43.268]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lqmRbr with size: 10485760 KB (LMDB v2)
10:27:43 [10:27:43.268]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:27:43 [10:27:43.275]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hgf3kY with size: 10485760 KB (LMDB v2)
10:27:43 [10:27:43.276]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:27:43 [10:27:43.280]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:27:43 [10:27:43.282]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
10:27:43 [10:27:43.282]
INFO:
p2p:test:integration Shut down p2p clients
10:27:43 [10:27:43.286]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
10:27:53 [10:27:53.206]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:27:53 [10:27:53.209]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-m6hkuZ with size: 10485760 KB (LMDB v2)
10:27:53 [10:27:53.209]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:27:53 [10:27:53.212]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-FOsQwC with size: 10485760 KB (LMDB v2)
10:27:53 [10:27:53.213]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:27:53 [10:27:53.217]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PVRH2I with size: 10485760 KB (LMDB v2)
10:27:53 [10:27:53.217]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:27:53 [10:27:53.220]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:27:53 [10:27:53.221]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
10:27:53 [10:27:53.221]
INFO:
p2p:test:integration Shut down p2p clients
10:27:53 [10:27:53.223]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
10:28:03 [10:28:03.940]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:28:03 [10:28:03.943]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9Y6UmF with size: 10485760 KB (LMDB v2)
10:28:03 [10:28:03.944]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:28:03 [10:28:03.946]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YHrV7C with size: 10485760 KB (LMDB v2)
10:28:03 [10:28:03.947]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:28:03 [10:28:03.948]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Q4gM3O with size: 10485760 KB (LMDB v2)
10:28:03 [10:28:03.949]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:28:03 [10:28:03.950]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:28:03 [10:28:03.951]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
10:28:03 [10:28:03.951]
INFO:
p2p:test:integration Shut down p2p clients
10:28:03 [10:28:03.954]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
10:28:14 [10:28:14.445]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:28:14 [10:28:14.462]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ppUiC0 with size: 10485760 KB (LMDB v2)
10:28:14 [10:28:14.464]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:28:14 [10:28:14.477]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-m71xNU with size: 10485760 KB (LMDB v2)
10:28:14 [10:28:14.477]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:28:14 [10:28:14.481]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qm0Q0D with size: 10485760 KB (LMDB v2)
10:28:14 [10:28:14.481]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:28:14 [10:28:14.483]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:28:14 [10:28:14.484]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
10:28:14 [10:28:14.484]
INFO:
p2p:test:integration Shut down p2p clients
10:28:14 [10:28:14.487]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
10:28:24 [10:28:24.934]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:28:24 [10:28:24.937]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rtXduG with size: 10485760 KB (LMDB v2)
10:28:24 [10:28:24.937]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:28:24 [10:28:24.939]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-rzceov with size: 10485760 KB (LMDB v2)
10:28:24 [10:28:24.939]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:28:24 [10:28:24.941]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GkULbj with size: 10485760 KB (LMDB v2)
10:28:24 [10:28:24.941]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:28:24 [10:28:24.942]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:28:24 [10:28:24.943]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
10:28:24 [10:28:24.943]
INFO:
p2p:test:integration Shut down p2p clients
10:28:24 [10:28:24.945]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
10:28:35 [10:28:35.611]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:28:35 [10:28:35.614]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JYHvqs with size: 10485760 KB (LMDB v2)
10:28:35 [10:28:35.614]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:28:35 [10:28:35.617]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gGeo7g with size: 10485760 KB (LMDB v2)
10:28:35 [10:28:35.617]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:28:35 [10:28:35.623]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rl8fWD with size: 10485760 KB (LMDB v2)
10:28:35 [10:28:35.623]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:28:35 [10:28:35.628]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:28:35 [10:28:35.630]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
10:28:35 [10:28:35.631]
INFO:
p2p:test:integration Shut down p2p clients
10:28:35 [10:28:35.635]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
10:28:46 [10:28:46.273]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:28:46 [10:28:46.276]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pN4vQI with size: 10485760 KB (LMDB v2)
10:28:46 [10:28:46.276]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:28:46 [10:28:46.278]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-i3iN8v with size: 10485760 KB (LMDB v2)
10:28:46 [10:28:46.279]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:28:46 [10:28:46.282]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CCegNo with size: 10485760 KB (LMDB v2)
10:28:46 [10:28:46.283]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:28:46 [10:28:46.289]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:28:46 [10:28:46.290]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
10:28:46 [10:28:46.291]
INFO:
p2p:test:integration Shut down p2p clients
10:28:46 [10:28:46.294]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
10:28:57 [10:28:57.356]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:28:57 [10:28:57.363]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-5w4wJg with size: 10485760 KB (LMDB v2)
10:28:57 [10:28:57.363]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:28:57 [10:28:57.375]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aX8yaQ with size: 10485760 KB (LMDB v2)
10:28:57 [10:28:57.375]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:28:57 [10:28:57.381]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uz5J4g with size: 10485760 KB (LMDB v2)
10:28:57 [10:28:57.381]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:28:57 [10:28:57.385]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:28:57 [10:28:57.387]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
10:28:57 [10:28:57.387]
INFO:
p2p:test:integration Shut down p2p clients
10:28:57
FAIL src/client/p2p_client.integration.test.ts (
105.396 s)
10:28:57 p2p client integration
10:28:57
✕ returns undefined if unable to find a transaction from another peer (11121 ms)
10:28:57
✕ can request a transaction from another peer (9362 ms)
10:28:57
✕ will penalize peers that send invalid proofs (9936 ms)
10:28:57
✕ will penalize peers that send the wrong transaction (10729 ms)
10:28:57
✕ will propagate messages to peers at the same version (10531 ms)
10:28:57
✕ should not disconnect clients when it returns correct status (10458 ms)
10:28:57
✕ should disconnect client when it returns status with wrong version (10686 ms)
10:28:57
✕ should disconnect client when it returns an invalid status (10657 ms)
10:28:57
✕ propagates messages using mocked gossip sub network (11094 ms)
10:28:57
10:28:57
● p2p client integration › returns undefined if unable to find a transaction from another peer
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:28:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
10:28:57
10:28:57
● p2p client integration › can request a transaction from another peer
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:28:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
10:28:57
10:28:57
● p2p client integration › will penalize peers that send invalid proofs
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:28:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
10:28:57
10:28:57
● p2p client integration › will penalize peers that send the wrong transaction
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:28:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
10:28:57
10:28:57
● p2p client integration › will propagate messages to peers at the same version
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:28:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
10:28:57
10:28:57
● p2p client integration › should not disconnect clients when it returns correct status
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
10:28:57
10:28:57
● p2p client integration › should disconnect client when it returns status with wrong version
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
10:28:57
10:28:57
● p2p client integration › should disconnect client when it returns an invalid status
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
10:28:57
10:28:57
● p2p client integration › propagates messages using mocked gossip sub network
10:28:57
10:28:57 TypeError: config.peerIdPrivateKey.getValue is not a function
10:28:57
10:28:57
135 |
10:28:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:28:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:28:57
| ^
10:28:57
138 | if (peerIdPrivateKeyFilePath) {
10:28:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:28:57
140 | } else {
10:28:57
10:28:57
at getValue (util.ts:137:58)
10:28:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:28:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:28:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:28:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:28:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
10:28:57
10:28:57
Test Suites: 1 failed, 1 total
10:28:57
Tests: 9 failed, 9 total
10:28:57
Snapshots: 0 total
10:28:57
Time: 105.501 s
10:28:57
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
10:28:57
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?