Parent Log:
http://ci.aztec-labs.com/61d18f8cc5e02e5e
Command: eadd2d8c3615a197: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/08155d6637b809206692717f27c5b1985b02ab88
Env: REF_NAME=gh-readonly-queue/next/pr-15269-66f4503091e9c8b77815b90888bd66a59696da9b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 25 09:25:46 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15269_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
09:25:46 +++ id -u
09:25:46 +++ id -g
09:25:46 ++ 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'\'''
09:25:46 + cid=4af0e5541e5ff932d48b53cfb85e98463d2c0c8850c778a4dcca5e44b718e27d
09:25:46 + set +x
09:25:48 {"level":25,"time":1750843548271,"pid":7,"hostname":"4af0e5541e5f","module":"logger","msg":"Logger initialized with level debug"}
09:25:58 [09:25:58.592]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
09:25:58 [09:25:58.680]
DEBUG:
foundation:randomness_singleton Using true randomness
09:25:59 {"level":20,"time":1750843558740,"pid":7,"hostname":"4af0e5541e5f","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
09:25:59 {"level":20,"time":1750843558974,"pid":7,"hostname":"4af0e5541e5f","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
09:26:08 [09:26:08.699]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:26:08 [09:26:08.705]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wFrGuk with size: 10485760 KB (LMDB v2)
09:26:08 [09:26:08.706]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:26:08 [09:26:08.720]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Kk9SSx with size: 10485760 KB (LMDB v2)
09:26:08 [09:26:08.721]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:26:08 [09:26:08.729]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fX4d4B with size: 10485760 KB (LMDB v2)
09:26:08 [09:26:08.730]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:26:08 [09:26:08.733]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:26:08 [09:26:08.735]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
09:26:08 [09:26:08.736]
INFO:
p2p:test:integration Shut down p2p clients
09:26:08 [09:26:08.766]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
09:26:09 {"level":20,"time":1750843559012,"pid":7,"hostname":"4af0e5541e5f","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
09:26:09 {"level":20,"time":1750843559013,"pid":7,"hostname":"4af0e5541e5f","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"}
09:26:17 [09:26:17.800]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:26:17 [09:26:17.803]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-eefiC7 with size: 10485760 KB (LMDB v2)
09:26:17 [09:26:17.804]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:26:17 [09:26:17.807]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-77uriV with size: 10485760 KB (LMDB v2)
09:26:17 [09:26:17.807]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:26:17 [09:26:17.810]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-G2M3ln with size: 10485760 KB (LMDB v2)
09:26:17 [09:26:17.810]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:26:17 [09:26:17.812]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:26:17 [09:26:17.813]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
09:26:17 [09:26:17.813]
INFO:
p2p:test:integration Shut down p2p clients
09:26:17 [09:26:17.816]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
09:26:27 [09:26:27.413]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:26:27 [09:26:27.417]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7MwxP2 with size: 10485760 KB (LMDB v2)
09:26:27 [09:26:27.418]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:26:27 [09:26:27.422]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9nxvPX with size: 10485760 KB (LMDB v2)
09:26:27 [09:26:27.423]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:26:27 [09:26:27.426]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Zdmc6U with size: 10485760 KB (LMDB v2)
09:26:27 [09:26:27.426]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:26:27 [09:26:27.429]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:26:27 [09:26:27.431]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
09:26:27 [09:26:27.431]
INFO:
p2p:test:integration Shut down p2p clients
09:26:27 [09:26:27.434]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
09:26:37 [09:26:37.572]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:26:37 [09:26:37.588]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-N6EAir with size: 10485760 KB (LMDB v2)
09:26:37 [09:26:37.589]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:26:37 [09:26:37.592]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-czaqXF with size: 10485760 KB (LMDB v2)
09:26:37 [09:26:37.592]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:26:37 [09:26:37.594]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CuY9sw with size: 10485760 KB (LMDB v2)
09:26:37 [09:26:37.594]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:26:37 [09:26:37.596]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:26:37 [09:26:37.598]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
09:26:37 [09:26:37.598]
INFO:
p2p:test:integration Shut down p2p clients
09:26:37 [09:26:37.601]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
09:26:47 [09:26:47.211]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:26:47 [09:26:47.213]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-WfCv01 with size: 10485760 KB (LMDB v2)
09:26:47 [09:26:47.214]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:26:47 [09:26:47.216]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-RayuLA with size: 10485760 KB (LMDB v2)
09:26:47 [09:26:47.217]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:26:47 [09:26:47.219]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-owMTp2 with size: 10485760 KB (LMDB v2)
09:26:47 [09:26:47.219]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:26:47 [09:26:47.221]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:26:47 [09:26:47.223]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
09:26:47 [09:26:47.223]
INFO:
p2p:test:integration Shut down p2p clients
09:26:47 [09:26:47.225]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
09:26:57 [09:26:57.627]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:26:57 [09:26:57.629]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3ruHgn with size: 10485760 KB (LMDB v2)
09:26:57 [09:26:57.630]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:26:57 [09:26:57.634]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-7dwt1S with size: 10485760 KB (LMDB v2)
09:26:57 [09:26:57.634]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:26:57 [09:26:57.637]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-pG913P with size: 10485760 KB (LMDB v2)
09:26:57 [09:26:57.637]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:26:57 [09:26:57.639]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:26:57 [09:26:57.640]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
09:26:57 [09:26:57.640]
INFO:
p2p:test:integration Shut down p2p clients
09:26:57 [09:26:57.642]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
09:27:07 [09:27:07.436]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:27:07 [09:27:07.438]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Vl4QRB with size: 10485760 KB (LMDB v2)
09:27:07 [09:27:07.439]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:27:07 [09:27:07.444]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-KXvlxi with size: 10485760 KB (LMDB v2)
09:27:07 [09:27:07.445]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:27:07 [09:27:07.447]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gFhkgP with size: 10485760 KB (LMDB v2)
09:27:07 [09:27:07.447]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:27:07 [09:27:07.449]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:27:07 [09:27:07.450]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
09:27:07 [09:27:07.450]
INFO:
p2p:test:integration Shut down p2p clients
09:27:07 [09:27:07.452]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
09:27:17 [09:27:17.545]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:27:17 [09:27:17.548]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-sxXfxa with size: 10485760 KB (LMDB v2)
09:27:17 [09:27:17.548]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:27:17 [09:27:17.551]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5VqfPQ with size: 10485760 KB (LMDB v2)
09:27:17 [09:27:17.551]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:27:17 [09:27:17.553]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NjutP0 with size: 10485760 KB (LMDB v2)
09:27:17 [09:27:17.554]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:27:17 [09:27:17.555]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:27:17 [09:27:17.556]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
09:27:17 [09:27:17.557]
INFO:
p2p:test:integration Shut down p2p clients
09:27:17 [09:27:17.559]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
09:27:27 [09:27:27.466]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
09:27:27 [09:27:27.467]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-PJQtRC with size: 10485760 KB (LMDB v2)
09:27:27 [09:27:27.468]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
09:27:27 [09:27:27.470]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lnGSew with size: 10485760 KB (LMDB v2)
09:27:27 [09:27:27.470]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
09:27:27 [09:27:27.472]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hVifzb with size: 10485760 KB (LMDB v2)
09:27:27 [09:27:27.473]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
09:27:27 [09:27:27.474]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
09:27:27 [09:27:27.475]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
09:27:27 [09:27:27.475]
INFO:
p2p:test:integration Shut down p2p clients
09:27:27
FAIL src/client/p2p_client.integration.test.ts (
99.557 s)
09:27:27 p2p client integration
09:27:27
✕ returns undefined if unable to find a transaction from another peer (10148 ms)
09:27:27
✕ can request a transaction from another peer (9049 ms)
09:27:27
✕ will penalize peers that send invalid proofs (9617 ms)
09:27:27
✕ will penalize peers that send the wrong transaction (10165 ms)
09:27:27
✕ will propagate messages to peers at the same version (9623 ms)
09:27:27
✕ should not disconnect clients when it returns correct status (10417 ms)
09:27:27
✕ should disconnect client when it returns status with wrong version (9808 ms)
09:27:27
✕ should disconnect client when it returns an invalid status (10106 ms)
09:27:27
✕ propagates messages using mocked gossip sub network (9918 ms)
09:27:27
09:27:27
● p2p client integration › returns undefined if unable to find a transaction from another peer
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
09:27:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
09:27:27
09:27:27
● p2p client integration › can request a transaction from another peer
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
09:27:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
09:27:27
09:27:27
● p2p client integration › will penalize peers that send invalid proofs
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
09:27:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
09:27:27
09:27:27
● p2p client integration › will penalize peers that send the wrong transaction
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
09:27:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
09:27:27
09:27:27
● p2p client integration › will propagate messages to peers at the same version
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
09:27:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
09:27:27
09:27:27
● p2p client integration › should not disconnect clients when it returns correct status
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
09:27:27
09:27:27
● p2p client integration › should disconnect client when it returns status with wrong version
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
09:27:27
09:27:27
● p2p client integration › should disconnect client when it returns an invalid status
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
09:27:27
09:27:27
● p2p client integration › propagates messages using mocked gossip sub network
09:27:27
09:27:27 TypeError: config.peerIdPrivateKey.getValue is not a function
09:27:27
09:27:27
135 |
09:27:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
09:27:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
09:27:27
| ^
09:27:27
138 | if (peerIdPrivateKeyFilePath) {
09:27:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
09:27:27
140 | } else {
09:27:27
09:27:27
at getValue (util.ts:137:58)
09:27:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
09:27:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
09:27:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
09:27:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
09:27:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
09:27:27
09:27:27
Test Suites: 1 failed, 1 total
09:27:27
Tests: 9 failed, 9 total
09:27:27
Snapshots: 0 total
09:27:27
Time: 99.682 s
09:27:27
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
09:27:27
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?