Parent Log:
http://ci.aztec-labs.com/c8343c83be8844f5
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/aedcee89a2544b0e6baf93c4e71d88991f09111e
Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 13:34:37 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15183_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:34:37 +++ id -u
13:34:37 +++ id -g
13:34:37 ++ 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:34:38 + cid=92be6b4caabb7dedba7152d7a05c972ec0de4288a5daec7df485daeb6e22f4df
13:34:38 + set +x
13:34:39 {"level":25,"time":1750772079066,"pid":7,"hostname":"92be6b4caabb","module":"logger","msg":"Logger initialized with level debug"}
13:34:45 [13:34:45.363]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
13:34:45 [13:34:45.431]
DEBUG:
foundation:randomness_singleton Using true randomness
13:34:45 {"level":20,"time":1750772085485,"pid":7,"hostname":"92be6b4caabb","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
13:34:45 {"level":20,"time":1750772085645,"pid":7,"hostname":"92be6b4caabb","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
13:34:54 [13:34:54.999]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:34:55 [13:34:55.001]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0CqEcQ with size: 10485760 KB (LMDB v2)
13:34:55 [13:34:55.002]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:34:55 [13:34:55.007]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3aAScs with size: 10485760 KB (LMDB v2)
13:34:55 {"level":20,"time":1750772085668,"pid":7,"hostname":"92be6b4caabb","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
13:34:55 {"level":20,"time":1750772085669,"pid":7,"hostname":"92be6b4caabb","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:34:55 [13:34:55.008]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:34:55 [13:34:55.009]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Ue7dkg with size: 10485760 KB (LMDB v2)
13:34:55 [13:34:55.010]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:34:55 [13:34:55.011]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:34:55 [13:34:55.012]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
13:34:55 [13:34:55.012]
INFO:
p2p:test:integration Shut down p2p clients
13:34:55 [13:34:55.030]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
13:35:04 [13:35:04.231]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:04 [13:35:04.233]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-EpCpiS with size: 10485760 KB (LMDB v2)
13:35:04 [13:35:04.233]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:04 [13:35:04.234]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VNTbDl with size: 10485760 KB (LMDB v2)
13:35:04 [13:35:04.235]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:04 [13:35:04.236]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FX4uCr with size: 10485760 KB (LMDB v2)
13:35:04 [13:35:04.236]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:04 [13:35:04.237]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:04 [13:35:04.238]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
13:35:04 [13:35:04.238]
INFO:
p2p:test:integration Shut down p2p clients
13:35:04 [13:35:04.240]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
13:35:13 [13:35:13.472]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:13 [13:35:13.473]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7MSvl0 with size: 10485760 KB (LMDB v2)
13:35:13 [13:35:13.473]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:13 [13:35:13.475]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bXUoqL with size: 10485760 KB (LMDB v2)
13:35:13 [13:35:13.475]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:13 [13:35:13.476]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WGDLYP with size: 10485760 KB (LMDB v2)
13:35:13 [13:35:13.476]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:13 [13:35:13.477]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:13 [13:35:13.478]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
13:35:13 [13:35:13.478]
INFO:
p2p:test:integration Shut down p2p clients
13:35:13 [13:35:13.479]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
13:35:22 [13:35:22.907]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:22 [13:35:22.919]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-dblymN with size: 10485760 KB (LMDB v2)
13:35:22 [13:35:22.919]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:22 [13:35:22.922]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-F7dSgt with size: 10485760 KB (LMDB v2)
13:35:22 [13:35:22.922]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:22 [13:35:22.924]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-kS62F9 with size: 10485760 KB (LMDB v2)
13:35:22 [13:35:22.924]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:22 [13:35:22.926]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:22 [13:35:22.926]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
13:35:22 [13:35:22.926]
INFO:
p2p:test:integration Shut down p2p clients
13:35:22 [13:35:22.928]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
13:35:32 [13:35:32.455]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:32 [13:35:32.456]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wnvTcx with size: 10485760 KB (LMDB v2)
13:35:32 [13:35:32.457]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:32 [13:35:32.458]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-AVjmhz with size: 10485760 KB (LMDB v2)
13:35:32 [13:35:32.458]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:32 [13:35:32.459]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dJ6A23 with size: 10485760 KB (LMDB v2)
13:35:32 [13:35:32.459]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:32 [13:35:32.460]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:32 [13:35:32.461]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
13:35:32 [13:35:32.461]
INFO:
p2p:test:integration Shut down p2p clients
13:35:32 [13:35:32.462]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
13:35:41 [13:35:41.936]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:41 [13:35:41.937]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ayPE8W with size: 10485760 KB (LMDB v2)
13:35:41 [13:35:41.938]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:41 [13:35:41.939]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xyKrYI with size: 10485760 KB (LMDB v2)
13:35:41 [13:35:41.939]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:41 [13:35:41.940]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-cuIEaw with size: 10485760 KB (LMDB v2)
13:35:41 [13:35:41.940]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:41 [13:35:41.941]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:41 [13:35:41.941]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
13:35:41 [13:35:41.942]
INFO:
p2p:test:integration Shut down p2p clients
13:35:41 [13:35:41.943]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
13:35:51 [13:35:51.782]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:51 [13:35:51.783]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-dFZnO3 with size: 10485760 KB (LMDB v2)
13:35:51 [13:35:51.783]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:51 [13:35:51.784]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5GBm2w with size: 10485760 KB (LMDB v2)
13:35:51 [13:35:51.785]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:51 [13:35:51.786]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-QEcZDt with size: 10485760 KB (LMDB v2)
13:35:51 [13:35:51.787]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:51 [13:35:51.788]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:51 [13:35:51.788]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
13:35:51 [13:35:51.788]
INFO:
p2p:test:integration Shut down p2p clients
13:35:51 [13:35:51.789]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
13:36:01 [13:36:01.417]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:01 [13:36:01.418]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-I8BwKW with size: 10485760 KB (LMDB v2)
13:36:01 [13:36:01.418]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:01 [13:36:01.420]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-77so2L with size: 10485760 KB (LMDB v2)
13:36:01 [13:36:01.420]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:01 [13:36:01.421]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-n4c8s0 with size: 10485760 KB (LMDB v2)
13:36:01 [13:36:01.421]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:01 [13:36:01.422]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:01 [13:36:01.422]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
13:36:01 [13:36:01.422]
INFO:
p2p:test:integration Shut down p2p clients
13:36:01 [13:36:01.424]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
13:36:11 [13:36:11.267]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:11 [13:36:11.278]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7cXDXu with size: 10485760 KB (LMDB v2)
13:36:11 [13:36:11.280]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:11 [13:36:11.282]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-RkvNq4 with size: 10485760 KB (LMDB v2)
13:36:11 [13:36:11.282]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:11 [13:36:11.283]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-C769Py with size: 10485760 KB (LMDB v2)
13:36:11 [13:36:11.283]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:11 [13:36:11.284]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:11 [13:36:11.285]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
13:36:11 [13:36:11.285]
INFO:
p2p:test:integration Shut down p2p clients
13:36:11
FAIL src/client/p2p_client.integration.test.ts (
92.493 s)
13:36:11 p2p client integration
13:36:11
✕ returns undefined if unable to find a transaction from another peer (9653 ms)
13:36:11
✕ can request a transaction from another peer (9209 ms)
13:36:11
✕ will penalize peers that send invalid proofs (9239 ms)
13:36:11
✕ will penalize peers that send the wrong transaction (9448 ms)
13:36:11
✕ will propagate messages to peers at the same version (9534 ms)
13:36:11
✕ should not disconnect clients when it returns correct status (9480 ms)
13:36:11
✕ should disconnect client when it returns status with wrong version (9845 ms)
13:36:11
✕ should disconnect client when it returns an invalid status (9634 ms)
13:36:11
✕ propagates messages using mocked gossip sub network (9862 ms)
13:36:11
13:36:11
● p2p client integration › returns undefined if unable to find a transaction from another peer
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:11
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
13:36:11
13:36:11
● p2p client integration › can request a transaction from another peer
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:11
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
13:36:11
13:36:11
● p2p client integration › will penalize peers that send invalid proofs
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:11
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
13:36:11
13:36:11
● p2p client integration › will penalize peers that send the wrong transaction
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:11
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
13:36:11
13:36:11
● p2p client integration › will propagate messages to peers at the same version
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:11
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
13:36:11
13:36:11
● p2p client integration › should not disconnect clients when it returns correct status
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
13:36:11
13:36:11
● p2p client integration › should disconnect client when it returns status with wrong version
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
13:36:11
13:36:11
● p2p client integration › should disconnect client when it returns an invalid status
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
13:36:11
13:36:11
● p2p client integration › propagates messages using mocked gossip sub network
13:36:11
13:36:11 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:11
13:36:11
135 |
13:36:11
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:11
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:11
| ^
13:36:11
138 | if (peerIdPrivateKeyFilePath) {
13:36:11
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:11
140 | } else {
13:36:11
13:36:11
at getValue (util.ts:137:58)
13:36:11
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:11
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:11
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:11
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:11
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
13:36:11
13:36:11
Test Suites: 1 failed, 1 total
13:36:11
Tests: 9 failed, 9 total
13:36:11
Snapshots: 0 total
13:36:11
Time: 92.568 s
13:36:11
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
13:36:11
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?