Parent Log:
http://ci.aztec-labs.com/24d9da29e964c9c1
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:05 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
13:35:05 +++ id -u
13:35:05 +++ id -g
13:35:05 ++ 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:06 + cid=1f392821c84cd99263cb5783f9e9629b0c9bc43a7655f8dfcabbdbdecc056e3e
13:35:06 + set +x
13:35:07 {"level":25,"time":1750772107640,"pid":7,"hostname":"1f392821c84c","module":"logger","msg":"Logger initialized with level debug"}
13:35:17 [13:35:17.910]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
13:35:18 [13:35:18.012]
DEBUG:
foundation:randomness_singleton Using true randomness
13:35:18 {"level":20,"time":1750772118128,"pid":7,"hostname":"1f392821c84c","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
13:35:18 {"level":20,"time":1750772118364,"pid":7,"hostname":"1f392821c84c","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
13:35:29 [13:35:29.022]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:29 [13:35:29.028]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-SpwZeF with size: 10485760 KB (LMDB v2)
13:35:29 [13:35:29.029]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:29 [13:35:29.039]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cg7lJm with size: 10485760 KB (LMDB v2)
13:35:29 [13:35:29.040]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:29 [13:35:29.044]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-INGMym with size: 10485760 KB (LMDB v2)
13:35:29 [13:35:29.045]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:29 [13:35:29.049]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:29 [13:35:29.050]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
13:35:29 [13:35:29.051]
INFO:
p2p:test:integration Shut down p2p clients
13:35:29 [13:35:29.076]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
13:35:29 {"level":20,"time":1750772118429,"pid":7,"hostname":"1f392821c84c","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
13:35:29 {"level":20,"time":1750772118430,"pid":7,"hostname":"1f392821c84c","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:38 [13:35:38.501]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:38 [13:35:38.523]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nUj04A with size: 10485760 KB (LMDB v2)
13:35:38 [13:35:38.524]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:38 [13:35:38.527]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2fdkEz with size: 10485760 KB (LMDB v2)
13:35:38 [13:35:38.527]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:38 [13:35:38.530]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qSkH78 with size: 10485760 KB (LMDB v2)
13:35:38 [13:35:38.530]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:38 [13:35:38.532]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:38 [13:35:38.533]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
13:35:38 [13:35:38.534]
INFO:
p2p:test:integration Shut down p2p clients
13:35:38 [13:35:38.537]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
13:35:47 [13:35:47.957]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:47 [13:35:47.961]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oDmeAb with size: 10485760 KB (LMDB v2)
13:35:47 [13:35:47.961]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:47 [13:35:47.965]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DGRD6Q with size: 10485760 KB (LMDB v2)
13:35:47 [13:35:47.966]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:47 [13:35:47.968]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-01QT1p with size: 10485760 KB (LMDB v2)
13:35:47 [13:35:47.969]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:47 [13:35:47.970]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:47 [13:35:47.972]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
13:35:47 [13:35:47.972]
INFO:
p2p:test:integration Shut down p2p clients
13:35:47 [13:35:47.974]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
13:35:58 [13:35:58.324]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:58 [13:35:58.327]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mlETZF with size: 10485760 KB (LMDB v2)
13:35:58 [13:35:58.328]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:58 [13:35:58.331]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-b4SLRM with size: 10485760 KB (LMDB v2)
13:35:58 [13:35:58.331]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:58 [13:35:58.333]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-sRnHZF with size: 10485760 KB (LMDB v2)
13:35:58 [13:35:58.333]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:58 [13:35:58.334]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:58 [13:35:58.335]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
13:35:58 [13:35:58.335]
INFO:
p2p:test:integration Shut down p2p clients
13:35:58 [13:35:58.337]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
13:36:08 [13:36:08.441]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:08 [13:36:08.455]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-dSBMzA with size: 10485760 KB (LMDB v2)
13:36:08 [13:36:08.457]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:08 [13:36:08.460]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-A8tycL with size: 10485760 KB (LMDB v2)
13:36:08 [13:36:08.460]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:08 [13:36:08.462]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LisUmB with size: 10485760 KB (LMDB v2)
13:36:08 [13:36:08.462]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:08 [13:36:08.463]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:08 [13:36:08.464]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
13:36:08 [13:36:08.465]
INFO:
p2p:test:integration Shut down p2p clients
13:36:08 [13:36:08.467]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
13:36:18 [13:36:18.739]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:18 [13:36:18.742]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-y0iFVY with size: 10485760 KB (LMDB v2)
13:36:18 [13:36:18.743]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:18 [13:36:18.745]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HHaxo4 with size: 10485760 KB (LMDB v2)
13:36:18 [13:36:18.745]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:18 [13:36:18.747]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Bgstzx with size: 10485760 KB (LMDB v2)
13:36:18 [13:36:18.748]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:18 [13:36:18.750]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:18 [13:36:18.751]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
13:36:18 [13:36:18.751]
INFO:
p2p:test:integration Shut down p2p clients
13:36:18 [13:36:18.754]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
13:36:29 [13:36:29.620]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:29 [13:36:29.624]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-WTqwG1 with size: 10485760 KB (LMDB v2)
13:36:29 [13:36:29.624]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:29 [13:36:29.627]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-g6ndu6 with size: 10485760 KB (LMDB v2)
13:36:29 [13:36:29.627]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:29 [13:36:29.629]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-s49ABH with size: 10485760 KB (LMDB v2)
13:36:29 [13:36:29.630]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:29 [13:36:29.632]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:29 [13:36:29.633]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
13:36:29 [13:36:29.633]
INFO:
p2p:test:integration Shut down p2p clients
13:36:29 [13:36:29.636]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
13:36:40 [13:36:40.301]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:40 [13:36:40.305]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qmElvb with size: 10485760 KB (LMDB v2)
13:36:40 [13:36:40.305]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:40 [13:36:40.310]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-GmAIMJ with size: 10485760 KB (LMDB v2)
13:36:40 [13:36:40.310]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:40 [13:36:40.312]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-8qBr5v with size: 10485760 KB (LMDB v2)
13:36:40 [13:36:40.312]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:40 [13:36:40.313]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:40 [13:36:40.314]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
13:36:40 [13:36:40.315]
INFO:
p2p:test:integration Shut down p2p clients
13:36:40 [13:36:40.316]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
13:36:50 [13:36:50.950]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:50 [13:36:50.953]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Ex4avj with size: 10485760 KB (LMDB v2)
13:36:50 [13:36:50.954]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:50 [13:36:50.957]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lsXQqQ with size: 10485760 KB (LMDB v2)
13:36:50 [13:36:50.958]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:50 [13:36:50.963]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1PsrNa with size: 10485760 KB (LMDB v2)
13:36:50 [13:36:50.963]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:50 [13:36:50.966]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:50 [13:36:50.967]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
13:36:50 [13:36:50.968]
INFO:
p2p:test:integration Shut down p2p clients
13:36:51
FAIL src/client/p2p_client.integration.test.ts (
103.709 s)
13:36:51 p2p client integration
13:36:51
✕ returns undefined if unable to find a transaction from another peer (11145 ms)
13:36:51
✕ can request a transaction from another peer (9459 ms)
13:36:51
✕ will penalize peers that send invalid proofs (9436 ms)
13:36:51
✕ will penalize peers that send the wrong transaction (10362 ms)
13:36:51
✕ will propagate messages to peers at the same version (10128 ms)
13:36:51
✕ should not disconnect clients when it returns correct status (10285 ms)
13:36:51
✕ should disconnect client when it returns status with wrong version (10881 ms)
13:36:51
✕ should disconnect client when it returns an invalid status (10680 ms)
13:36:51
✕ propagates messages using mocked gossip sub network (10652 ms)
13:36:51
13:36:51
● p2p client integration › returns undefined if unable to find a transaction from another peer
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:51
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
13:36:51
13:36:51
● p2p client integration › can request a transaction from another peer
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:51
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
13:36:51
13:36:51
● p2p client integration › will penalize peers that send invalid proofs
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:51
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
13:36:51
13:36:51
● p2p client integration › will penalize peers that send the wrong transaction
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:51
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
13:36:51
13:36:51
● p2p client integration › will propagate messages to peers at the same version
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:51
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
13:36:51
13:36:51
● p2p client integration › should not disconnect clients when it returns correct status
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
13:36:51
13:36:51
● p2p client integration › should disconnect client when it returns status with wrong version
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
13:36:51
13:36:51
● p2p client integration › should disconnect client when it returns an invalid status
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
13:36:51
13:36:51
● p2p client integration › propagates messages using mocked gossip sub network
13:36:51
13:36:51 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:51
13:36:51
135 |
13:36:51
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:51
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:51
| ^
13:36:51
138 | if (peerIdPrivateKeyFilePath) {
13:36:51
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:51
140 | } else {
13:36:51
13:36:51
at getValue (util.ts:137:58)
13:36:51
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:51
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:51
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:51
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:51
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
13:36:51
13:36:51
Test Suites: 1 failed, 1 total
13:36:51
Tests: 9 failed, 9 total
13:36:51
Snapshots: 0 total
13:36:51
Time: 103.824 s
13:36:51
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
13:36:51
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?