Parent Log:
http://ci.aztec-labs.com/57db2b9a617285be
Command: 4f32fa69539b8ea0: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/ad85cda24c2f9b5b4b17d4921f8597b71949bb6c
Env: REF_NAME=gh-readonly-queue/next/pr-15223-87c4b689268afecc86ab007c3587e45110daa43d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 19:26:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15223_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
19:26:09 +++ id -u
19:26:09 +++ id -g
19:26:09 ++ 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'\'''
19:26:09 + cid=7ffc2991fb91645fac9af7b74743231960df9c34b62e5d85899369c986efae59
19:26:09 + set +x
19:26:11 {"level":25,"time":1750793171240,"pid":7,"hostname":"7ffc2991fb91","module":"logger","msg":"Logger initialized with level debug"}
19:26:21 [19:26:21.179]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
19:26:21 [19:26:21.281]
DEBUG:
foundation:randomness_singleton Using true randomness
19:26:22 {"level":20,"time":1750793181350,"pid":7,"hostname":"7ffc2991fb91","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
19:26:22 {"level":20,"time":1750793181576,"pid":7,"hostname":"7ffc2991fb91","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
19:26:30 [19:26:30.924]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:30 [19:26:30.928]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jlEaFW with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.929]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:30 [19:26:30.936]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3KGygS with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.937]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:30 [19:26:30.939]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-OEnWFi with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.939]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:30 [19:26:30.941]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:30 [19:26:30.943]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
19:26:30 [19:26:30.943]
INFO:
p2p:test:integration Shut down p2p clients
19:26:30 [19:26:30.964]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
19:26:31 {"level":20,"time":1750793181643,"pid":7,"hostname":"7ffc2991fb91","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
19:26:31 {"level":20,"time":1750793181644,"pid":7,"hostname":"7ffc2991fb91","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"}
19:26:39 [19:26:39.823]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:39 [19:26:39.826]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-i7h1UO with size: 10485760 KB (LMDB v2)
19:26:39 [19:26:39.827]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:39 [19:26:39.829]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-F05neu with size: 10485760 KB (LMDB v2)
19:26:39 [19:26:39.830]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:39 [19:26:39.836]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-p6Y4Ow with size: 10485760 KB (LMDB v2)
19:26:39 [19:26:39.837]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:39 [19:26:39.839]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:39 [19:26:39.840]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
19:26:39 [19:26:39.840]
INFO:
p2p:test:integration Shut down p2p clients
19:26:39 [19:26:39.844]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
19:26:49 [19:26:49.361]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:49 [19:26:49.364]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zrjDxi with size: 10485760 KB (LMDB v2)
19:26:49 [19:26:49.364]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:49 [19:26:49.366]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TZclaj with size: 10485760 KB (LMDB v2)
19:26:49 [19:26:49.366]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:49 [19:26:49.368]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-axLwBd with size: 10485760 KB (LMDB v2)
19:26:49 [19:26:49.368]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:49 [19:26:49.370]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:49 [19:26:49.370]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
19:26:49 [19:26:49.371]
INFO:
p2p:test:integration Shut down p2p clients
19:26:49 [19:26:49.373]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
19:26:59 [19:26:59.478]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:59 [19:26:59.482]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-NGWyG0 with size: 10485760 KB (LMDB v2)
19:26:59 [19:26:59.483]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:59 [19:26:59.486]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CcbYi4 with size: 10485760 KB (LMDB v2)
19:26:59 [19:26:59.490]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:59 [19:26:59.494]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XtNRQ0 with size: 10485760 KB (LMDB v2)
19:26:59 [19:26:59.495]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:59 [19:26:59.502]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:59 [19:26:59.503]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
19:26:59 [19:26:59.503]
INFO:
p2p:test:integration Shut down p2p clients
19:26:59 [19:26:59.507]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
19:27:10 [19:27:10.223]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:10 [19:27:10.226]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-XBKJKR with size: 10485760 KB (LMDB v2)
19:27:10 [19:27:10.226]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:10 [19:27:10.228]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LJk5Ot with size: 10485760 KB (LMDB v2)
19:27:10 [19:27:10.229]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:10 [19:27:10.231]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gHfRiY with size: 10485760 KB (LMDB v2)
19:27:10 [19:27:10.231]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:10 [19:27:10.233]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:10 [19:27:10.234]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
19:27:10 [19:27:10.234]
INFO:
p2p:test:integration Shut down p2p clients
19:27:10 [19:27:10.236]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
19:27:19 [19:27:19.706]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:19 [19:27:19.712]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ZMTaKi with size: 10485760 KB (LMDB v2)
19:27:19 [19:27:19.713]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:19 [19:27:19.721]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Jb134u with size: 10485760 KB (LMDB v2)
19:27:19 [19:27:19.721]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:19 [19:27:19.725]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1yUhY4 with size: 10485760 KB (LMDB v2)
19:27:19 [19:27:19.726]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:19 [19:27:19.727]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:19 [19:27:19.728]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
19:27:19 [19:27:19.728]
INFO:
p2p:test:integration Shut down p2p clients
19:27:19 [19:27:19.730]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
19:27:29 [19:27:29.425]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:29 [19:27:29.427]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-q0X4py with size: 10485760 KB (LMDB v2)
19:27:29 [19:27:29.428]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:29 [19:27:29.430]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wXdTia with size: 10485760 KB (LMDB v2)
19:27:29 [19:27:29.430]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:29 [19:27:29.432]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gM1kq4 with size: 10485760 KB (LMDB v2)
19:27:29 [19:27:29.432]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:29 [19:27:29.435]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:29 [19:27:29.437]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
19:27:29 [19:27:29.437]
INFO:
p2p:test:integration Shut down p2p clients
19:27:29 [19:27:29.440]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
19:27:39 [19:27:39.027]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:39 [19:27:39.041]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-S9MWIX with size: 10485760 KB (LMDB v2)
19:27:39 [19:27:39.042]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:39 [19:27:39.045]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-mLWKSL with size: 10485760 KB (LMDB v2)
19:27:39 [19:27:39.045]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:39 [19:27:39.047]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6KrRts with size: 10485760 KB (LMDB v2)
19:27:39 [19:27:39.047]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:39 [19:27:39.048]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:39 [19:27:39.049]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
19:27:39 [19:27:39.050]
INFO:
p2p:test:integration Shut down p2p clients
19:27:39 [19:27:39.051]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
19:27:48 [19:27:48.896]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:48 [19:27:48.900]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-60axoe with size: 10485760 KB (LMDB v2)
19:27:48 [19:27:48.901]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:48 [19:27:48.904]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YIiJGU with size: 10485760 KB (LMDB v2)
19:27:48 [19:27:48.905]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:48 [19:27:48.907]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Q9Y4bR with size: 10485760 KB (LMDB v2)
19:27:48 [19:27:48.907]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:48 [19:27:48.909]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:48 [19:27:48.911]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
19:27:48 [19:27:48.911]
INFO:
p2p:test:integration Shut down p2p clients
19:27:49
FAIL src/client/p2p_client.integration.test.ts (
98.001 s)
19:27:49 p2p client integration
19:27:49
✕ returns undefined if unable to find a transaction from another peer (9768 ms)
19:27:49
✕ can request a transaction from another peer (8878 ms)
19:27:49
✕ will penalize peers that send invalid proofs (9528 ms)
19:27:49
✕ will penalize peers that send the wrong transaction (10132 ms)
19:27:49
✕ will propagate messages to peers at the same version (10729 ms)
19:27:49
✕ should not disconnect clients when it returns correct status (9492 ms)
19:27:49
✕ should disconnect client when it returns status with wrong version (9707 ms)
19:27:49
✕ should disconnect client when it returns an invalid status (9611 ms)
19:27:49
✕ propagates messages using mocked gossip sub network (9861 ms)
19:27:49
19:27:49
● p2p client integration › returns undefined if unable to find a transaction from another peer
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
19:27:49
19:27:49
● p2p client integration › can request a transaction from another peer
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
19:27:49
19:27:49
● p2p client integration › will penalize peers that send invalid proofs
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
19:27:49
19:27:49
● p2p client integration › will penalize peers that send the wrong transaction
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
19:27:49
19:27:49
● p2p client integration › will propagate messages to peers at the same version
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
19:27:49
19:27:49
● p2p client integration › should not disconnect clients when it returns correct status
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
19:27:49
19:27:49
● p2p client integration › should disconnect client when it returns status with wrong version
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
19:27:49
19:27:49
● p2p client integration › should disconnect client when it returns an invalid status
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
19:27:49
19:27:49
● p2p client integration › propagates messages using mocked gossip sub network
19:27:49
19:27:49 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:49
19:27:49
135 |
19:27:49
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:49
| ^
19:27:49
138 | if (peerIdPrivateKeyFilePath) {
19:27:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:49
140 | } else {
19:27:49
19:27:49
at getValue (util.ts:137:58)
19:27:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
19:27:49
19:27:49
Test Suites: 1 failed, 1 total
19:27:49
Tests: 9 failed, 9 total
19:27:49
Snapshots: 0 total
19:27:49
Time: 98.099 s
19:27:49
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
19:27:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?