Parent Log:
http://ci.aztec-labs.com/7349f6e86eb3217f
Command: 270716767bef7882: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/aedcee89a2544b0e6baf93c4e71d88991f09111e
Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 13:35:11 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
13:35:11 +++ id -u
13:35:11 +++ id -g
13:35:11 ++ 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'\'''
13:35:12 + cid=66d4e0c4c10976c5625909b0365841f1fdceb247f821fbf9cd3c6150cdb466cd
13:35:12 + set +x
13:35:13 {"level":25,"time":1750772113848,"pid":7,"hostname":"66d4e0c4c109","module":"logger","msg":"Logger initialized with level debug"}
13:35:23 [13:35:23.708]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
13:35:23 [13:35:23.815]
DEBUG:
foundation:randomness_singleton Using true randomness
13:35:24 {"level":20,"time":1750772123903,"pid":7,"hostname":"66d4e0c4c109","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
13:35:24 {"level":20,"time":1750772124126,"pid":7,"hostname":"66d4e0c4c109","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
13:35:34 [13:35:34.374]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:34 [13:35:34.380]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ztDjZB with size: 10485760 KB (LMDB v2)
13:35:34 [13:35:34.381]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:34 [13:35:34.389]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cS2cD5 with size: 10485760 KB (LMDB v2)
13:35:34 [13:35:34.390]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:34 [13:35:34.394]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DKYD5n with size: 10485760 KB (LMDB v2)
13:35:34 [13:35:34.395]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:34 [13:35:34.399]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:34 [13:35:34.401]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
13:35:34 [13:35:34.401]
INFO:
p2p:test:integration Shut down p2p clients
13:35:34 [13:35:34.431]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
13:35:34 {"level":20,"time":1750772124174,"pid":7,"hostname":"66d4e0c4c109","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
13:35:34 {"level":20,"time":1750772124175,"pid":7,"hostname":"66d4e0c4c109","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"}
13:35:43 [13:35:43.831]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:43 [13:35:43.835]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-OxLY1r with size: 10485760 KB (LMDB v2)
13:35:43 [13:35:43.836]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:43 [13:35:43.838]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gRhzA8 with size: 10485760 KB (LMDB v2)
13:35:43 [13:35:43.839]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:43 [13:35:43.844]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LVpZtQ with size: 10485760 KB (LMDB v2)
13:35:43 [13:35:43.844]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:43 [13:35:43.848]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:43 [13:35:43.850]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
13:35:43 [13:35:43.850]
INFO:
p2p:test:integration Shut down p2p clients
13:35:43 [13:35:43.854]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
13:35:53 [13:35:53.495]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:53 [13:35:53.498]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UCMEcz with size: 10485760 KB (LMDB v2)
13:35:53 [13:35:53.498]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:53 [13:35:53.501]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IPJ5w5 with size: 10485760 KB (LMDB v2)
13:35:53 [13:35:53.501]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:53 [13:35:53.503]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-y9QOeO with size: 10485760 KB (LMDB v2)
13:35:53 [13:35:53.503]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:53 [13:35:53.505]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:53 [13:35:53.506]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
13:35:53 [13:35:53.506]
INFO:
p2p:test:integration Shut down p2p clients
13:35:53 [13:35:53.508]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
13:36:03 [13:36:03.534]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:03 [13:36:03.537]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-72kMqF with size: 10485760 KB (LMDB v2)
13:36:03 [13:36:03.538]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:03 [13:36:03.541]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-sngKyn with size: 10485760 KB (LMDB v2)
13:36:03 [13:36:03.542]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:03 [13:36:03.544]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3h2ora with size: 10485760 KB (LMDB v2)
13:36:03 [13:36:03.544]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:03 [13:36:03.549]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:03 [13:36:03.551]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
13:36:03 [13:36:03.551]
INFO:
p2p:test:integration Shut down p2p clients
13:36:03 [13:36:03.555]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
13:36:14 [13:36:14.322]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:14 [13:36:14.325]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-q63khf with size: 10485760 KB (LMDB v2)
13:36:14 [13:36:14.325]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:14 [13:36:14.328]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-KwGgzy with size: 10485760 KB (LMDB v2)
13:36:14 [13:36:14.328]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:14 [13:36:14.331]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-J7dlNl with size: 10485760 KB (LMDB v2)
13:36:14 [13:36:14.331]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:14 [13:36:14.333]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:14 [13:36:14.334]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
13:36:14 [13:36:14.335]
INFO:
p2p:test:integration Shut down p2p clients
13:36:14 [13:36:14.337]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
13:36:24 [13:36:24.932]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:24 [13:36:24.937]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cUwdeF with size: 10485760 KB (LMDB v2)
13:36:24 [13:36:24.938]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:24 [13:36:24.944]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-zTMq8h with size: 10485760 KB (LMDB v2)
13:36:24 [13:36:24.944]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:24 [13:36:24.954]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3y41Rw with size: 10485760 KB (LMDB v2)
13:36:24 [13:36:24.955]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:24 [13:36:24.960]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:24 [13:36:24.961]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
13:36:24 [13:36:24.962]
INFO:
p2p:test:integration Shut down p2p clients
13:36:24 [13:36:24.964]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
13:36:35 [13:36:35.789]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:35 [13:36:35.806]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-VMQ9o0 with size: 10485760 KB (LMDB v2)
13:36:35 [13:36:35.808]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:35 [13:36:35.812]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-N8fetU with size: 10485760 KB (LMDB v2)
13:36:35 [13:36:35.812]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:35 [13:36:35.814]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-E1hSdm with size: 10485760 KB (LMDB v2)
13:36:35 [13:36:35.815]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:35 [13:36:35.816]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:35 [13:36:35.817]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
13:36:35 [13:36:35.818]
INFO:
p2p:test:integration Shut down p2p clients
13:36:35 [13:36:35.819]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
13:36:46 [13:36:46.239]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:46 [13:36:46.243]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-AR1sA0 with size: 10485760 KB (LMDB v2)
13:36:46 [13:36:46.243]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:46 [13:36:46.251]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wXD6lz with size: 10485760 KB (LMDB v2)
13:36:46 [13:36:46.252]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:46 [13:36:46.260]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rI0MYg with size: 10485760 KB (LMDB v2)
13:36:46 [13:36:46.261]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:46 [13:36:46.265]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:46 [13:36:46.266]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
13:36:46 [13:36:46.266]
INFO:
p2p:test:integration Shut down p2p clients
13:36:46 [13:36:46.269]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
13:36:57 [13:36:57.196]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:57 [13:36:57.208]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-B7Qxsp with size: 10485760 KB (LMDB v2)
13:36:57 [13:36:57.209]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:57 [13:36:57.212]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TSlIKp with size: 10485760 KB (LMDB v2)
13:36:57 [13:36:57.212]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:57 [13:36:57.214]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-h0yMRX with size: 10485760 KB (LMDB v2)
13:36:57 [13:36:57.214]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:57 [13:36:57.215]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:57 [13:36:57.217]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
13:36:57 [13:36:57.217]
INFO:
p2p:test:integration Shut down p2p clients
13:36:57
FAIL src/client/p2p_client.integration.test.ts (
103.739 s)
13:36:57 p2p client integration
13:36:57
✕ returns undefined if unable to find a transaction from another peer (10698 ms)
13:36:57
✕ can request a transaction from another peer (9420 ms)
13:36:57
✕ will penalize peers that send invalid proofs (9653 ms)
13:36:57
✕ will penalize peers that send the wrong transaction (10045 ms)
13:36:57
✕ will propagate messages to peers at the same version (10782 ms)
13:36:57
✕ should not disconnect clients when it returns correct status (10626 ms)
13:36:57
✕ should disconnect client when it returns status with wrong version (10854 ms)
13:36:57
✕ should disconnect client when it returns an invalid status (10448 ms)
13:36:57
✕ propagates messages using mocked gossip sub network (10949 ms)
13:36:57
13:36:57
● p2p client integration › returns undefined if unable to find a transaction from another peer
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
13:36:57
13:36:57
● p2p client integration › can request a transaction from another peer
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
13:36:57
13:36:57
● p2p client integration › will penalize peers that send invalid proofs
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
13:36:57
13:36:57
● p2p client integration › will penalize peers that send the wrong transaction
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
13:36:57
13:36:57
● p2p client integration › will propagate messages to peers at the same version
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
13:36:57
13:36:57
● p2p client integration › should not disconnect clients when it returns correct status
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
13:36:57
13:36:57
● p2p client integration › should disconnect client when it returns status with wrong version
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
13:36:57
13:36:57
● p2p client integration › should disconnect client when it returns an invalid status
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
13:36:57
13:36:57
● p2p client integration › propagates messages using mocked gossip sub network
13:36:57
13:36:57 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:57
13:36:57
135 |
13:36:57
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
13:36:57
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:57
| ^
13:36:57
138 | if (peerIdPrivateKeyFilePath) {
13:36:57
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:57
140 | } else {
13:36:57
13:36:57
at getValue (util.ts:137:58)
13:36:57
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:57
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:57
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:57
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:57
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
13:36:57
13:36:57
Test Suites: 1 failed, 1 total
13:36:57
Tests: 9 failed, 9 total
13:36:57
Snapshots: 0 total
13:36:57
Time: 103.886 s
13:36:57
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
13:36:57
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?