Parent Log:
http://ci.aztec-labs.com/f4aa667c18685c3d
Command: 07e0464d6c7ed50c: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/1c2c2ee2949dbe31742cc9501a31bf3bce8083cf
Env: REF_NAME=gh-readonly-queue/next/pr-15232-aedcee89a2544b0e6baf93c4e71d88991f09111e CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 13:47:38 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15232_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
13:47:38 +++ id -u
13:47:38 +++ id -g
13:47:38 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-63 --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:47:39 + cid=d770eba057de3a77a68c17e8272d1620ecdc4af75e6f34b87134a7b2e10449b0
13:47:39 + set +x
13:47:40 {"level":25,"time":1750772860537,"pid":7,"hostname":"d770eba057de","module":"logger","msg":"Logger initialized with level debug"}
13:47:46 [13:47:46.036]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
13:47:46 [13:47:46.126]
DEBUG:
foundation:randomness_singleton Using true randomness
13:47:46 {"level":20,"time":1750772866174,"pid":7,"hostname":"d770eba057de","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
13:47:46 {"level":20,"time":1750772866319,"pid":7,"hostname":"d770eba057de","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
13:47:53 [13:47:53.230]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:47:53 [13:47:53.233]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fJEme5 with size: 10485760 KB (LMDB v2)
13:47:53 [13:47:53.233]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:47:53 [13:47:53.238]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ax6lHY with size: 10485760 KB (LMDB v2)
13:47:53 [13:47:53.239]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:47:53 [13:47:53.240]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dNFDHx with size: 10485760 KB (LMDB v2)
13:47:53 [13:47:53.240]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:47:53 [13:47:53.242]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:47:53 [13:47:53.243]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
13:47:53 [13:47:53.243]
INFO:
p2p:test:integration Shut down p2p clients
13:47:53 [13:47:53.259]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
13:47:53 {"level":20,"time":1750772866340,"pid":7,"hostname":"d770eba057de","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
13:47:53 {"level":20,"time":1750772866341,"pid":7,"hostname":"d770eba057de","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:48:00 [13:48:00.075]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:00 [13:48:00.076]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-blnsiG with size: 10485760 KB (LMDB v2)
13:48:00 [13:48:00.076]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:00 [13:48:00.077]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5Tf32e with size: 10485760 KB (LMDB v2)
13:48:00 [13:48:00.077]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:00 [13:48:00.079]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-x4TQx4 with size: 10485760 KB (LMDB v2)
13:48:00 [13:48:00.079]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:00 [13:48:00.080]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:00 [13:48:00.080]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
13:48:00 [13:48:00.080]
INFO:
p2p:test:integration Shut down p2p clients
13:48:00 [13:48:00.082]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
13:48:06 [13:48:07.000]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:07 [13:48:07.001]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-X4QjNI with size: 10485760 KB (LMDB v2)
13:48:07 [13:48:07.002]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:07 [13:48:07.003]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IgbXbm with size: 10485760 KB (LMDB v2)
13:48:07 [13:48:07.003]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:07 [13:48:07.004]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ue30Ph with size: 10485760 KB (LMDB v2)
13:48:07 [13:48:07.004]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:07 [13:48:07.005]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:07 [13:48:07.005]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
13:48:07 [13:48:07.006]
INFO:
p2p:test:integration Shut down p2p clients
13:48:07 [13:48:07.007]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
13:48:13 [13:48:13.964]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:13 [13:48:13.972]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rrMLlO with size: 10485760 KB (LMDB v2)
13:48:13 [13:48:13.973]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:13 [13:48:13.973]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-R8TF1S with size: 10485760 KB (LMDB v2)
13:48:13 [13:48:13.974]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:13 [13:48:13.974]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gAVe9U with size: 10485760 KB (LMDB v2)
13:48:13 [13:48:13.975]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:13 [13:48:13.975]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:13 [13:48:13.976]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
13:48:13 [13:48:13.976]
INFO:
p2p:test:integration Shut down p2p clients
13:48:13 [13:48:13.977]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
13:48:20 [13:48:20.839]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:20 [13:48:20.840]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7UyYFu with size: 10485760 KB (LMDB v2)
13:48:20 [13:48:20.840]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:20 [13:48:20.841]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kp2U8t with size: 10485760 KB (LMDB v2)
13:48:20 [13:48:20.841]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:20 [13:48:20.842]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-T23vsc with size: 10485760 KB (LMDB v2)
13:48:20 [13:48:20.843]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:20 [13:48:20.843]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:20 [13:48:20.844]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
13:48:20 [13:48:20.844]
INFO:
p2p:test:integration Shut down p2p clients
13:48:20 [13:48:20.845]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
13:48:27 [13:48:27.784]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:27 [13:48:27.785]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-U2LN9I with size: 10485760 KB (LMDB v2)
13:48:27 [13:48:27.785]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:27 [13:48:27.786]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cCeBfi with size: 10485760 KB (LMDB v2)
13:48:27 [13:48:27.786]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:27 [13:48:27.787]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WikJtl with size: 10485760 KB (LMDB v2)
13:48:27 [13:48:27.787]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:27 [13:48:27.787]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:27 [13:48:27.788]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
13:48:27 [13:48:27.788]
INFO:
p2p:test:integration Shut down p2p clients
13:48:27 [13:48:27.789]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
13:48:34 [13:48:34.790]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:34 [13:48:34.791]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-82eIFz with size: 10485760 KB (LMDB v2)
13:48:34 [13:48:34.791]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:34 [13:48:34.792]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-r52ayJ with size: 10485760 KB (LMDB v2)
13:48:34 [13:48:34.792]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:34 [13:48:34.793]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SyOSKp with size: 10485760 KB (LMDB v2)
13:48:34 [13:48:34.793]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:34 [13:48:34.794]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:34 [13:48:34.794]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
13:48:34 [13:48:34.794]
INFO:
p2p:test:integration Shut down p2p clients
13:48:34 [13:48:34.795]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
13:48:41 [13:48:41.838]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:41 [13:48:41.846]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wEOvGD with size: 10485760 KB (LMDB v2)
13:48:41 [13:48:41.846]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:41 [13:48:41.847]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8AYkdV with size: 10485760 KB (LMDB v2)
13:48:41 [13:48:41.848]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:41 [13:48:41.848]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tj6Euw with size: 10485760 KB (LMDB v2)
13:48:41 [13:48:41.849]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:41 [13:48:41.849]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:41 [13:48:41.849]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
13:48:41 [13:48:41.850]
INFO:
p2p:test:integration Shut down p2p clients
13:48:41 [13:48:41.851]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
13:48:48 [13:48:48.928]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:48:48 [13:48:48.929]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-sLZGw2 with size: 10485760 KB (LMDB v2)
13:48:48 [13:48:48.929]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:48:48 [13:48:48.930]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-erezRa with size: 10485760 KB (LMDB v2)
13:48:48 [13:48:48.931]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:48:48 [13:48:48.931]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-4JbsmO with size: 10485760 KB (LMDB v2)
13:48:48 [13:48:48.932]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:48:48 [13:48:48.932]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:48:48 [13:48:48.933]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
13:48:48 [13:48:48.933]
INFO:
p2p:test:integration Shut down p2p clients
13:48:49
FAIL src/client/p2p_client.integration.test.ts (
68.647 s)
13:48:49 p2p client integration
13:48:49
✕ returns undefined if unable to find a transaction from another peer (7210 ms)
13:48:49
✕ can request a transaction from another peer (6823 ms)
13:48:49
✕ will penalize peers that send invalid proofs (6924 ms)
13:48:49
✕ will penalize peers that send the wrong transaction (6969 ms)
13:48:49
✕ will propagate messages to peers at the same version (6867 ms)
13:48:49
✕ should not disconnect clients when it returns correct status (6943 ms)
13:48:49
✕ should disconnect client when it returns status with wrong version (7006 ms)
13:48:49
✕ should disconnect client when it returns an invalid status (7055 ms)
13:48:49
✕ propagates messages using mocked gossip sub network (7083 ms)
13:48:49
13:48:49
● p2p client integration › returns undefined if unable to find a transaction from another peer
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:48:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
13:48:49
13:48:49
● p2p client integration › can request a transaction from another peer
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:48:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
13:48:49
13:48:49
● p2p client integration › will penalize peers that send invalid proofs
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:48:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
13:48:49
13:48:49
● p2p client integration › will penalize peers that send the wrong transaction
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:48:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
13:48:49
13:48:49
● p2p client integration › will propagate messages to peers at the same version
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:48:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
13:48:49
13:48:49
● p2p client integration › should not disconnect clients when it returns correct status
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
13:48:49
13:48:49
● p2p client integration › should disconnect client when it returns status with wrong version
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
13:48:49
13:48:49
● p2p client integration › should disconnect client when it returns an invalid status
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
13:48:49
13:48:49
● p2p client integration › propagates messages using mocked gossip sub network
13:48:49
13:48:49 TypeError: config.peerIdPrivateKey.getValue is not a function
13:48:49
13:48:49
135 |
13:48: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
13:48:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:48:49
| ^
13:48:49
138 | if (peerIdPrivateKeyFilePath) {
13:48:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:48:49
140 | } else {
13:48:49
13:48:49
at getValue (util.ts:137:58)
13:48:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:48:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:48:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:48:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:48:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
13:48:49
13:48:49
Test Suites: 1 failed, 1 total
13:48:49
Tests: 9 failed, 9 total
13:48:49
Snapshots: 0 total
13:48:49
Time: 68.724 s
13:48:49
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
13:48:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?