Parent Log:
http://ci.aztec-labs.com/33a1b119926f6359
Command: 5b4d9f16dc72b5a7: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/1b10c7d500621ca2e4c0db764df67f3085beb282
Env: REF_NAME=gh-readonly-queue/next/pr-15229-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:04:39 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
10:04:40 +++ id -u
10:04:40 +++ id -g
10:04:40 ++ 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:04:40 + cid=eabe6d880308b9947a27199eeca373ed81964cf697e5148ad2d1da2ba72251a9
10:04:40 + set +x
10:04:41 {"level":25,"time":1750759481927,"pid":7,"hostname":"eabe6d880308","module":"logger","msg":"Logger initialized with level debug"}
10:04:51 [10:04:51.562]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
10:04:51 [10:04:51.697]
DEBUG:
foundation:randomness_singleton Using true randomness
10:04:52 {"level":20,"time":1750759491777,"pid":7,"hostname":"eabe6d880308","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
10:04:52 {"level":20,"time":1750759491957,"pid":7,"hostname":"eabe6d880308","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
10:05:01 [10:05:01.558]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:01 [10:05:01.563]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jt1ohj with size: 10485760 KB (LMDB v2)
10:05:01 [10:05:01.564]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:01 [10:05:01.570]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-huq0WQ with size: 10485760 KB (LMDB v2)
10:05:01 [10:05:01.570]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:01 [10:05:01.572]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-oQwD0X with size: 10485760 KB (LMDB v2)
10:05:01 [10:05:01.573]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:01 [10:05:01.575]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:01 [10:05:01.576]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
10:05:01 [10:05:01.576]
INFO:
p2p:test:integration Shut down p2p clients
10:05:01 [10:05:01.597]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
10:05:02 {"level":20,"time":1750759492003,"pid":7,"hostname":"eabe6d880308","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
10:05:02 {"level":20,"time":1750759492004,"pid":7,"hostname":"eabe6d880308","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:05:10 [10:05:10.759]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:10 [10:05:10.762]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-WnAksi with size: 10485760 KB (LMDB v2)
10:05:10 [10:05:10.762]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:10 [10:05:10.765]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-MVkBlA with size: 10485760 KB (LMDB v2)
10:05:10 [10:05:10.765]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:10 [10:05:10.767]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-s8rdgV with size: 10485760 KB (LMDB v2)
10:05:10 [10:05:10.768]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:10 [10:05:10.770]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:10 [10:05:10.771]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
10:05:10 [10:05:10.771]
INFO:
p2p:test:integration Shut down p2p clients
10:05:10 [10:05:10.774]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
10:05:20 [10:05:20.068]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:20 [10:05:20.070]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Nug80W with size: 10485760 KB (LMDB v2)
10:05:20 [10:05:20.070]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:20 [10:05:20.073]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-0wMWaW with size: 10485760 KB (LMDB v2)
10:05:20 [10:05:20.073]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:20 [10:05:20.075]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-MIIpFm with size: 10485760 KB (LMDB v2)
10:05:20 [10:05:20.075]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:20 [10:05:20.077]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:20 [10:05:20.078]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
10:05:20 [10:05:20.078]
INFO:
p2p:test:integration Shut down p2p clients
10:05:20 [10:05:20.080]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
10:05:30 [10:05:30.181]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:30 [10:05:30.183]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UwlgWE with size: 10485760 KB (LMDB v2)
10:05:30 [10:05:30.184]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:30 [10:05:30.186]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wHoSJs with size: 10485760 KB (LMDB v2)
10:05:30 [10:05:30.186]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:30 [10:05:30.188]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NYvsY1 with size: 10485760 KB (LMDB v2)
10:05:30 [10:05:30.188]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:30 [10:05:30.190]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:30 [10:05:30.191]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
10:05:30 [10:05:30.191]
INFO:
p2p:test:integration Shut down p2p clients
10:05:30 [10:05:30.194]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
10:05:40 [10:05:40.113]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:40 [10:05:40.116]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zJW4UA with size: 10485760 KB (LMDB v2)
10:05:40 [10:05:40.116]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:40 [10:05:40.125]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-g84yv7 with size: 10485760 KB (LMDB v2)
10:05:40 [10:05:40.126]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:40 [10:05:40.131]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-A3oyMe with size: 10485760 KB (LMDB v2)
10:05:40 [10:05:40.132]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:40 [10:05:40.135]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:40 [10:05:40.137]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
10:05:40 [10:05:40.137]
INFO:
p2p:test:integration Shut down p2p clients
10:05:40 [10:05:40.139]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
10:05:50 [10:05:50.408]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:50 [10:05:50.438]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-98jNIO with size: 10485760 KB (LMDB v2)
10:05:50 [10:05:50.440]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:50 [10:05:50.443]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tbQ4Yq with size: 10485760 KB (LMDB v2)
10:05:50 [10:05:50.443]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:50 [10:05:50.448]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qQw8Ak with size: 10485760 KB (LMDB v2)
10:05:50 [10:05:50.448]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:50 [10:05:50.450]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:50 [10:05:50.452]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
10:05:50 [10:05:50.452]
INFO:
p2p:test:integration Shut down p2p clients
10:05:50 [10:05:50.455]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
10:06:00 [10:06:00.392]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:00 [10:06:00.394]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RJVXYd with size: 10485760 KB (LMDB v2)
10:06:00 [10:06:00.395]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:00 [10:06:00.397]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-AW0ZKC with size: 10485760 KB (LMDB v2)
10:06:00 [10:06:00.397]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:00 [10:06:00.399]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-T40dZ3 with size: 10485760 KB (LMDB v2)
10:06:00 [10:06:00.399]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:00 [10:06:00.401]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:00 [10:06:00.402]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
10:06:00 [10:06:00.402]
INFO:
p2p:test:integration Shut down p2p clients
10:06:00 [10:06:00.404]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
10:06:09 [10:06:09.706]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:09 [10:06:09.708]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-c17Md0 with size: 10485760 KB (LMDB v2)
10:06:09 [10:06:09.709]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:09 [10:06:09.711]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-7izeNg with size: 10485760 KB (LMDB v2)
10:06:09 [10:06:09.711]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:09 [10:06:09.712]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yGXTE4 with size: 10485760 KB (LMDB v2)
10:06:09 [10:06:09.713]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:09 [10:06:09.718]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:09 [10:06:09.719]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
10:06:09 [10:06:09.719]
INFO:
p2p:test:integration Shut down p2p clients
10:06:09 [10:06:09.722]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
10:06:20 [10:06:20.399]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:20 [10:06:20.401]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gP5jbj with size: 10485760 KB (LMDB v2)
10:06:20 [10:06:20.402]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:20 [10:06:20.404]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LvYIe7 with size: 10485760 KB (LMDB v2)
10:06:20 [10:06:20.405]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:20 [10:06:20.406]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-RY6G1x with size: 10485760 KB (LMDB v2)
10:06:20 [10:06:20.407]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:20 [10:06:20.408]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:20 [10:06:20.410]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
10:06:20 [10:06:20.410]
INFO:
p2p:test:integration Shut down p2p clients
10:06:20
FAIL src/client/p2p_client.integration.test.ts (
98.798 s)
10:06:20 p2p client integration
10:06:20
✕ returns undefined if unable to find a transaction from another peer (10018 ms)
10:06:20
✕ can request a transaction from another peer (9175 ms)
10:06:20
✕ will penalize peers that send invalid proofs (9306 ms)
10:06:20
✕ will penalize peers that send the wrong transaction (10111 ms)
10:06:20
✕ will propagate messages to peers at the same version (9944 ms)
10:06:20
✕ should not disconnect clients when it returns correct status (10313 ms)
10:06:20
✕ should disconnect client when it returns status with wrong version (9948 ms)
10:06:20
✕ should disconnect client when it returns an invalid status (9316 ms)
10:06:20
✕ propagates messages using mocked gossip sub network (10689 ms)
10:06:20
10:06:20
● p2p client integration › returns undefined if unable to find a transaction from another peer
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:20
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
10:06:20
10:06:20
● p2p client integration › can request a transaction from another peer
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:20
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
10:06:20
10:06:20
● p2p client integration › will penalize peers that send invalid proofs
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:20
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
10:06:20
10:06:20
● p2p client integration › will penalize peers that send the wrong transaction
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:20
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
10:06:20
10:06:20
● p2p client integration › will propagate messages to peers at the same version
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:20
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
10:06:20
10:06:20
● p2p client integration › should not disconnect clients when it returns correct status
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
10:06:20
10:06:20
● p2p client integration › should disconnect client when it returns status with wrong version
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
10:06:20
10:06:20
● p2p client integration › should disconnect client when it returns an invalid status
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
10:06:20
10:06:20
● p2p client integration › propagates messages using mocked gossip sub network
10:06:20
10:06:20 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:20
10:06:20
135 |
10:06:20
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:06:20
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:20
| ^
10:06:20
138 | if (peerIdPrivateKeyFilePath) {
10:06:20
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:20
140 | } else {
10:06:20
10:06:20
at getValue (util.ts:137:58)
10:06:20
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:20
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:20
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:20
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:20
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
10:06:20
10:06:20
Test Suites: 1 failed, 1 total
10:06:20
Tests: 9 failed, 9 total
10:06:20
Snapshots: 0 total
10:06:20
Time: 98.904 s
10:06:20
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
10:06:20
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?