Parent Log:
http://ci.aztec-labs.com/3b68d8ef46724aee
Command: 84c999e211bb73e4: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/3863bc02d671057d0cffd4ced17ca317788ff190
Env: REF_NAME=gh-readonly-queue/staging/pr-15238-db396f13b7ef374a230174bdc4078d9fbb3c788a CURRENT_VERSION=1.0.0 CI_FULL=1
Date: Tue Jun 24 12:13:16 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15238_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging
12:13:16 +++ id -u
12:13:16 +++ id -g
12:13:16 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-127 --cpus=2 --memory=8g --user 1000:1000 -v/home/aztec-dev:/home/aztec-dev --mount type=tmpfs,target=/tmp,tmpfs-size=1g --workdir /home/aztec-dev/aztec-packages -e HOME -e VERBOSE -e GIT_CONFIG_GLOBAL=/home/aztec-dev/aztec-packages/build-images/src/home/.gitconfig -e FORCE_COLOR=true -e CPUS -e MEM aztecprotocol/build:3.0 /bin/bash -c 'timeout -v 600s bash -c '\''LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.test.ts'\'''
12:13:17 + cid=5e12988782af35f31f691abe16635872970645c554d2505a3ff9d1f69f0875eb
12:13:17 + set +x
12:13:18 {"level":25,"time":1750767198563,"pid":6,"hostname":"5e12988782af","module":"logger","msg":"Logger initialized with level debug"}
12:13:27 [12:13:27.755]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
12:13:27 [12:13:27.930]
DEBUG:
foundation:randomness_singleton Using true randomness
12:13:28 {"level":20,"time":1750767207989,"pid":6,"hostname":"5e12988782af","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
12:13:28 {"level":20,"time":1750767208195,"pid":6,"hostname":"5e12988782af","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
12:13:38 [12:13:38.625]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:38 [12:13:38.630]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DyIRDp with size: 10485760 KB (LMDB v2)
12:13:38 [12:13:38.630]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:38 [12:13:38.638]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5UErFB with size: 10485760 KB (LMDB v2)
12:13:38 [12:13:38.638]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:38 [12:13:38.641]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-M9fafe with size: 10485760 KB (LMDB v2)
12:13:38 [12:13:38.641]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:38 [12:13:38.644]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:38 [12:13:38.645]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
12:13:38 [12:13:38.646]
INFO:
p2p:test:integration Shut down p2p clients
12:13:38 [12:13:38.678]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
12:13:38 {"level":20,"time":1750767208261,"pid":6,"hostname":"5e12988782af","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
12:13:38 {"level":20,"time":1750767208262,"pid":6,"hostname":"5e12988782af","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"}
12:13:48 [12:13:48.644]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:48 [12:13:48.647]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-sfZFZq with size: 10485760 KB (LMDB v2)
12:13:48 [12:13:48.647]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:48 [12:13:48.649]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gOvLx6 with size: 10485760 KB (LMDB v2)
12:13:48 [12:13:48.650]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:48 [12:13:48.652]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-P6hyuI with size: 10485760 KB (LMDB v2)
12:13:48 [12:13:48.653]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:48 [12:13:48.661]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:48 [12:13:48.662]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
12:13:48 [12:13:48.662]
INFO:
p2p:test:integration Shut down p2p clients
12:13:48 [12:13:48.666]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
12:13:58 [12:13:58.318]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:58 [12:13:58.338]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rRDn3H with size: 10485760 KB (LMDB v2)
12:13:58 [12:13:58.340]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:58 [12:13:58.344]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZBuda8 with size: 10485760 KB (LMDB v2)
12:13:58 [12:13:58.344]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:58 [12:13:58.346]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-H34WZB with size: 10485760 KB (LMDB v2)
12:13:58 [12:13:58.346]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:58 [12:13:58.349]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:58 [12:13:58.350]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
12:13:58 [12:13:58.350]
INFO:
p2p:test:integration Shut down p2p clients
12:13:58 [12:13:58.353]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
12:14:08 [12:14:08.681]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:08 [12:14:08.686]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mKJqvN with size: 10485760 KB (LMDB v2)
12:14:08 [12:14:08.686]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:08 [12:14:08.690]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-EdYOb0 with size: 10485760 KB (LMDB v2)
12:14:08 [12:14:08.690]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:08 [12:14:08.693]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9rcJHu with size: 10485760 KB (LMDB v2)
12:14:08 [12:14:08.693]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:08 [12:14:08.696]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:08 [12:14:08.697]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
12:14:08 [12:14:08.697]
INFO:
p2p:test:integration Shut down p2p clients
12:14:08 [12:14:08.700]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
12:14:19 [12:14:19.646]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:19 [12:14:19.649]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wi3utv with size: 10485760 KB (LMDB v2)
12:14:19 [12:14:19.650]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:19 [12:14:19.653]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-U0lBOG with size: 10485760 KB (LMDB v2)
12:14:19 [12:14:19.654]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:19 [12:14:19.658]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-iNDrPF with size: 10485760 KB (LMDB v2)
12:14:19 [12:14:19.659]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:19 [12:14:19.661]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:19 [12:14:19.663]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
12:14:19 [12:14:19.663]
INFO:
p2p:test:integration Shut down p2p clients
12:14:19 [12:14:19.666]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
12:14:30 [12:14:30.006]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:30 [12:14:30.009]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-EhufeO with size: 10485760 KB (LMDB v2)
12:14:30 [12:14:30.010]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:30 [12:14:30.012]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ji53Zv with size: 10485760 KB (LMDB v2)
12:14:30 [12:14:30.013]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:30 [12:14:30.018]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NZv7cZ with size: 10485760 KB (LMDB v2)
12:14:30 [12:14:30.019]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:30 [12:14:30.023]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:30 [12:14:30.024]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
12:14:30 [12:14:30.025]
INFO:
p2p:test:integration Shut down p2p clients
12:14:30 [12:14:30.027]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
12:14:40 [12:14:40.243]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:40 [12:14:40.246]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RLY9Dt with size: 10485760 KB (LMDB v2)
12:14:40 [12:14:40.247]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:40 [12:14:40.249]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-nGct1V with size: 10485760 KB (LMDB v2)
12:14:40 [12:14:40.249]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:40 [12:14:40.257]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Vj8PDm with size: 10485760 KB (LMDB v2)
12:14:40 [12:14:40.258]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:40 [12:14:40.265]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:40 [12:14:40.266]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
12:14:40 [12:14:40.267]
INFO:
p2p:test:integration Shut down p2p clients
12:14:40 [12:14:40.269]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
12:14:50 [12:14:50.309]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:50 [12:14:50.330]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-H3BAuF with size: 10485760 KB (LMDB v2)
12:14:50 [12:14:50.333]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:50 [12:14:50.337]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NEM1Fr with size: 10485760 KB (LMDB v2)
12:14:50 [12:14:50.337]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:50 [12:14:50.339]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-lNcg6U with size: 10485760 KB (LMDB v2)
12:14:50 [12:14:50.339]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:50 [12:14:50.342]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:50 [12:14:50.343]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
12:14:50 [12:14:50.343]
INFO:
p2p:test:integration Shut down p2p clients
12:14:50 [12:14:50.345]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
12:15:01 [12:15:01.451]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:15:01 [12:15:01.458]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RmQNYU with size: 10485760 KB (LMDB v2)
12:15:01 [12:15:01.458]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:15:01 [12:15:01.470]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xZYvkJ with size: 10485760 KB (LMDB v2)
12:15:01 [12:15:01.470]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:15:01 [12:15:01.473]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qwqTyr with size: 10485760 KB (LMDB v2)
12:15:01 [12:15:01.473]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:15:01 [12:15:01.475]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:15:01 [12:15:01.477]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
12:15:01 [12:15:01.477]
INFO:
p2p:test:integration Shut down p2p clients
12:15:01
FAIL src/client/p2p_client.integration.test.ts (
103.35 s)
12:15:01 p2p client integration
12:15:01
✕ returns undefined if unable to find a transaction from another peer (10895 ms)
12:15:01
✕ can request a transaction from another peer (9987 ms)
12:15:01
✕ will penalize peers that send invalid proofs (9686 ms)
12:15:01
✕ will penalize peers that send the wrong transaction (10345 ms)
12:15:01
✕ will propagate messages to peers at the same version (10964 ms)
12:15:01
✕ should not disconnect clients when it returns correct status (10359 ms)
12:15:01
✕ should disconnect client when it returns status with wrong version (10241 ms)
12:15:01
✕ should disconnect client when it returns an invalid status (10075 ms)
12:15:01
✕ propagates messages using mocked gossip sub network (11132 ms)
12:15:01
12:15:01
● p2p client integration › returns undefined if unable to find a transaction from another peer
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:15:01
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
12:15:01
12:15:01
● p2p client integration › can request a transaction from another peer
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:15:01
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
12:15:01
12:15:01
● p2p client integration › will penalize peers that send invalid proofs
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:15:01
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
12:15:01
12:15:01
● p2p client integration › will penalize peers that send the wrong transaction
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:15:01
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
12:15:01
12:15:01
● p2p client integration › will propagate messages to peers at the same version
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:15:01
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
12:15:01
12:15:01
● p2p client integration › should not disconnect clients when it returns correct status
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
12:15:01
12:15:01
● p2p client integration › should disconnect client when it returns status with wrong version
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
12:15:01
12:15:01
● p2p client integration › should disconnect client when it returns an invalid status
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
12:15:01
12:15:01
● p2p client integration › propagates messages using mocked gossip sub network
12:15:01
12:15:01 TypeError: config.peerIdPrivateKey.getValue is not a function
12:15:01
12:15:01
135 |
12:15:01
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:15:01
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:15:01
| ^
12:15:01
138 | if (peerIdPrivateKeyFilePath) {
12:15:01
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:15:01
140 | } else {
12:15:01
12:15:01
at getValue (util.ts:137:58)
12:15:01
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:15:01
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:15:01
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:15:01
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:15:01
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
12:15:01
12:15:01
Test Suites: 1 failed, 1 total
12:15:01
Tests: 9 failed, 9 total
12:15:01
Snapshots: 0 total
12:15:01
Time: 103.461 s
12:15:01
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
12:15:01
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?