Parent Log:
http://ci.aztec-labs.com/1513079745b70520
Command: 4f32fa69539b8ea0: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/ad85cda24c2f9b5b4b17d4921f8597b71949bb6c
Env: REF_NAME=gh-readonly-queue/next/pr-15223-87c4b689268afecc86ab007c3587e45110daa43d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 19:25:40 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15223_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
19:25:40 +++ id -u
19:25:40 +++ id -g
19:25:40 ++ 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'\'''
19:25:41 + cid=77c40ad0727c0bff284e37330598803cee0dcc24773a90257817d183530022f7
19:25:41 + set +x
19:25:42 {"level":25,"time":1750793142497,"pid":7,"hostname":"77c40ad0727c","module":"logger","msg":"Logger initialized with level debug"}
19:25:51 [19:25:51.710]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
19:25:51 [19:25:51.832]
DEBUG:
foundation:randomness_singleton Using true randomness
19:25:52 {"level":20,"time":1750793151898,"pid":7,"hostname":"77c40ad0727c","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
19:25:52 {"level":20,"time":1750793152139,"pid":7,"hostname":"77c40ad0727c","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
19:26:01 [19:26:01.865]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:01 [19:26:01.870]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jQYfyi with size: 10485760 KB (LMDB v2)
19:26:01 [19:26:01.871]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:01 [19:26:01.878]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Bw2QW2 with size: 10485760 KB (LMDB v2)
19:26:01 [19:26:01.878]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:01 [19:26:01.880]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-7fEFHP with size: 10485760 KB (LMDB v2)
19:26:01 [19:26:01.880]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:01 [19:26:01.882]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:01 [19:26:01.883]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
19:26:01 [19:26:01.884]
INFO:
p2p:test:integration Shut down p2p clients
19:26:01 [19:26:01.906]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
19:26:02 {"level":20,"time":1750793152208,"pid":7,"hostname":"77c40ad0727c","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
19:26:02 {"level":20,"time":1750793152209,"pid":7,"hostname":"77c40ad0727c","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"}
19:26:11 [19:26:11.315]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:11 [19:26:11.330]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3wCeW7 with size: 10485760 KB (LMDB v2)
19:26:11 [19:26:11.331]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:11 [19:26:11.333]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-alleHP with size: 10485760 KB (LMDB v2)
19:26:11 [19:26:11.334]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:11 [19:26:11.336]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Gt8wn2 with size: 10485760 KB (LMDB v2)
19:26:11 [19:26:11.336]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:11 [19:26:11.338]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:11 [19:26:11.339]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
19:26:11 [19:26:11.340]
INFO:
p2p:test:integration Shut down p2p clients
19:26:11 [19:26:11.342]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
19:26:20 [19:26:20.539]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:20 [19:26:20.545]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-djtfIj with size: 10485760 KB (LMDB v2)
19:26:20 [19:26:20.545]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:20 [19:26:20.554]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ytAAws with size: 10485760 KB (LMDB v2)
19:26:20 [19:26:20.554]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:20 [19:26:20.559]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Sm87W3 with size: 10485760 KB (LMDB v2)
19:26:20 [19:26:20.559]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:20 [19:26:20.562]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:20 [19:26:20.563]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
19:26:20 [19:26:20.563]
INFO:
p2p:test:integration Shut down p2p clients
19:26:20 [19:26:20.566]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
19:26:30 [19:26:30.509]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:30 [19:26:30.512]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-YSc1NS with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.512]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:30 [19:26:30.516]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wNzLQq with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.517]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:30 [19:26:30.518]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-naurkg with size: 10485760 KB (LMDB v2)
19:26:30 [19:26:30.519]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:30 [19:26:30.520]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:30 [19:26:30.521]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
19:26:30 [19:26:30.521]
INFO:
p2p:test:integration Shut down p2p clients
19:26:30 [19:26:30.524]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
19:26:41 [19:26:41.010]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:41 [19:26:41.013]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-GO7nJH with size: 10485760 KB (LMDB v2)
19:26:41 [19:26:41.013]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:41 [19:26:41.016]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QCGKa7 with size: 10485760 KB (LMDB v2)
19:26:41 [19:26:41.016]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:41 [19:26:41.019]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-G6nipe with size: 10485760 KB (LMDB v2)
19:26:41 [19:26:41.019]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:41 [19:26:41.021]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:41 [19:26:41.022]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
19:26:41 [19:26:41.022]
INFO:
p2p:test:integration Shut down p2p clients
19:26:41 [19:26:41.025]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
19:26:51 [19:26:51.120]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:26:51 [19:26:51.139]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2d74wf with size: 10485760 KB (LMDB v2)
19:26:51 [19:26:51.140]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:26:51 [19:26:51.153]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-91uket with size: 10485760 KB (LMDB v2)
19:26:51 [19:26:51.153]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:26:51 [19:26:51.159]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-m4iyfQ with size: 10485760 KB (LMDB v2)
19:26:51 [19:26:51.160]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:26:51 [19:26:51.168]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:26:51 [19:26:51.169]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
19:26:51 [19:26:51.169]
INFO:
p2p:test:integration Shut down p2p clients
19:26:51 [19:26:51.171]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
19:27:01 [19:27:01.291]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:01 [19:27:01.294]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kRhWn5 with size: 10485760 KB (LMDB v2)
19:27:01 [19:27:01.295]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:01 [19:27:01.298]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-o3gxTe with size: 10485760 KB (LMDB v2)
19:27:01 [19:27:01.298]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:01 [19:27:01.300]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JvbXXl with size: 10485760 KB (LMDB v2)
19:27:01 [19:27:01.300]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:01 [19:27:01.305]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:01 [19:27:01.306]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
19:27:01 [19:27:01.306]
INFO:
p2p:test:integration Shut down p2p clients
19:27:01 [19:27:01.309]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
19:27:11 [19:27:11.202]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:11 [19:27:11.203]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mJF6ni with size: 10485760 KB (LMDB v2)
19:27:11 [19:27:11.204]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:11 [19:27:11.206]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4VVeBt with size: 10485760 KB (LMDB v2)
19:27:11 [19:27:11.206]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:11 [19:27:11.208]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DY7Qhl with size: 10485760 KB (LMDB v2)
19:27:11 [19:27:11.208]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:11 [19:27:11.210]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:11 [19:27:11.210]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
19:27:11 [19:27:11.211]
INFO:
p2p:test:integration Shut down p2p clients
19:27:11 [19:27:11.212]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
19:27:21 [19:27:21.727]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
19:27:21 [19:27:21.746]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JJ7xfO with size: 10485760 KB (LMDB v2)
19:27:21 [19:27:21.747]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
19:27:21 [19:27:21.751]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-UKKucY with size: 10485760 KB (LMDB v2)
19:27:21 [19:27:21.752]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
19:27:21 [19:27:21.754]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-UrrGzx with size: 10485760 KB (LMDB v2)
19:27:21 [19:27:21.754]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
19:27:21 [19:27:21.756]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
19:27:21 [19:27:21.757]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
19:27:21 [19:27:21.757]
INFO:
p2p:test:integration Shut down p2p clients
19:27:21
FAIL src/client/p2p_client.integration.test.ts (
99.581 s)
19:27:21 p2p client integration
19:27:21
✕ returns undefined if unable to find a transaction from another peer (10178 ms)
19:27:21
✕ can request a transaction from another peer (9435 ms)
19:27:21
✕ will penalize peers that send invalid proofs (9222 ms)
19:27:21
✕ will penalize peers that send the wrong transaction (9957 ms)
19:27:21
✕ will propagate messages to peers at the same version (10500 ms)
19:27:21
✕ should not disconnect clients when it returns correct status (10145 ms)
19:27:21
✕ should disconnect client when it returns status with wrong version (10137 ms)
19:27:21
✕ should disconnect client when it returns an invalid status (9903 ms)
19:27:21
✕ propagates messages using mocked gossip sub network (10545 ms)
19:27:21
19:27:21
● p2p client integration › returns undefined if unable to find a transaction from another peer
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:21
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
19:27:21
19:27:21
● p2p client integration › can request a transaction from another peer
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:21
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
19:27:21
19:27:21
● p2p client integration › will penalize peers that send invalid proofs
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:21
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
19:27:21
19:27:21
● p2p client integration › will penalize peers that send the wrong transaction
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:21
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
19:27:21
19:27:21
● p2p client integration › will propagate messages to peers at the same version
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:21
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
19:27:21
19:27:21
● p2p client integration › should not disconnect clients when it returns correct status
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
19:27:21
19:27:21
● p2p client integration › should disconnect client when it returns status with wrong version
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
19:27:21
19:27:21
● p2p client integration › should disconnect client when it returns an invalid status
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
19:27:21
19:27:21
● p2p client integration › propagates messages using mocked gossip sub network
19:27:21
19:27:21 TypeError: config.peerIdPrivateKey.getValue is not a function
19:27:21
19:27:21
135 |
19:27:21
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
19:27:21
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
19:27:21
| ^
19:27:21
138 | if (peerIdPrivateKeyFilePath) {
19:27:21
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
19:27:21
140 | } else {
19:27:21
19:27:21
at getValue (util.ts:137:58)
19:27:21
at getPeerIdPrivateKey (client/factory.ts:75:34)
19:27:21
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
19:27:21
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
19:27:21
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
19:27:21
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
19:27:21
19:27:21
Test Suites: 1 failed, 1 total
19:27:21
Tests: 9 failed, 9 total
19:27:21
Snapshots: 0 total
19:27:21
Time: 99.677 s
19:27:21
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
19:27:21
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?