Parent Log:
http://ci.aztec-labs.com/1566bd89da2c1869
Command: ef85c2b8680d9e9c: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/9ba478709ce5c48099f79f9531da8292811cb18a
Env: REF_NAME=gh-readonly-queue/staging/pr-15247-3863bc02d671057d0cffd4ced17ca317788ff190 CURRENT_VERSION=1.0.0 CI_FULL=1
Date: Tue Jun 24 14:59:14 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15247_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging
14:59:14 +++ id -u
14:59:14 +++ id -g
14:59:14 ++ 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'\'''
14:59:14 + cid=7b00f256c5e18276c1edecd09bfea6ed1eef76dc85acbaf99123436bd70a360f
14:59:14 + set +x
14:59:16 {"level":25,"time":1750777156034,"pid":7,"hostname":"7b00f256c5e1","module":"logger","msg":"Logger initialized with level debug"}
14:59:25 [14:59:25.290]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:59:25 [14:59:25.381]
DEBUG:
foundation:randomness_singleton Using true randomness
14:59:26 {"level":20,"time":1750777165469,"pid":7,"hostname":"7b00f256c5e1","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:59:26 {"level":20,"time":1750777165693,"pid":7,"hostname":"7b00f256c5e1","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
14:59:35 [14:59:35.571]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:59:35 [14:59:35.577]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DSmS4q with size: 10485760 KB (LMDB v2)
14:59:35 [14:59:35.578]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:59:35 [14:59:35.589]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jdy2rX with size: 10485760 KB (LMDB v2)
14:59:35 [14:59:35.589]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:59:35 [14:59:35.592]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-iozuGb with size: 10485760 KB (LMDB v2)
14:59:35 [14:59:35.592]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:59:35 [14:59:35.594]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:59:35 [14:59:35.595]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:59:35 [14:59:35.595]
INFO:
p2p:test:integration Shut down p2p clients
14:59:35 [14:59:35.616]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:59:36 {"level":20,"time":1750777165721,"pid":7,"hostname":"7b00f256c5e1","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:59:36 {"level":20,"time":1750777165722,"pid":7,"hostname":"7b00f256c5e1","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"}
14:59:44 [14:59:44.713]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:59:44 [14:59:44.715]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9yyiRa with size: 10485760 KB (LMDB v2)
14:59:44 [14:59:44.716]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:59:44 [14:59:44.730]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-RP7djJ with size: 10485760 KB (LMDB v2)
14:59:44 [14:59:44.732]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:59:44 [14:59:44.734]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-boGYtN with size: 10485760 KB (LMDB v2)
14:59:44 [14:59:44.734]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:59:44 [14:59:44.736]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:59:44 [14:59:44.737]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:59:44 [14:59:44.737]
INFO:
p2p:test:integration Shut down p2p clients
14:59:44 [14:59:44.739]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:59:54 [14:59:54.450]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:59:54 [14:59:54.452]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QxP3Vs with size: 10485760 KB (LMDB v2)
14:59:54 [14:59:54.453]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:59:54 [14:59:54.455]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-nDWJjw with size: 10485760 KB (LMDB v2)
14:59:54 [14:59:54.456]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:59:54 [14:59:54.464]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1q7ROc with size: 10485760 KB (LMDB v2)
14:59:54 [14:59:54.464]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:59:54 [14:59:54.468]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:59:54 [14:59:54.470]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:59:54 [14:59:54.470]
INFO:
p2p:test:integration Shut down p2p clients
14:59:54 [14:59:54.473]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
15:00:04 [15:00:04.517]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:04 [15:00:04.521]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qCrLTf with size: 10485760 KB (LMDB v2)
15:00:04 [15:00:04.522]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:04 [15:00:04.525]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-S09ykT with size: 10485760 KB (LMDB v2)
15:00:04 [15:00:04.526]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:04 [15:00:04.528]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ivOAJl with size: 10485760 KB (LMDB v2)
15:00:04 [15:00:04.528]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:04 [15:00:04.530]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:04 [15:00:04.531]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
15:00:04 [15:00:04.532]
INFO:
p2p:test:integration Shut down p2p clients
15:00:04 [15:00:04.535]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
15:00:14 [15:00:14.670]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:14 [15:00:14.677]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-K1GGv6 with size: 10485760 KB (LMDB v2)
15:00:14 [15:00:14.678]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:14 [15:00:14.681]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uAs6lh with size: 10485760 KB (LMDB v2)
15:00:14 [15:00:14.681]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:14 [15:00:14.684]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gOLnz0 with size: 10485760 KB (LMDB v2)
15:00:14 [15:00:14.685]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:14 [15:00:14.687]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:14 [15:00:14.688]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
15:00:14 [15:00:14.689]
INFO:
p2p:test:integration Shut down p2p clients
15:00:14 [15:00:14.691]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
15:00:24 [15:00:24.943]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:24 [15:00:24.947]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-iU8r12 with size: 10485760 KB (LMDB v2)
15:00:24 [15:00:24.947]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:24 [15:00:24.950]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Eq20ax with size: 10485760 KB (LMDB v2)
15:00:24 [15:00:24.951]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:24 [15:00:24.953]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1B5Y8K with size: 10485760 KB (LMDB v2)
15:00:24 [15:00:24.953]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:24 [15:00:24.955]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:24 [15:00:24.956]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
15:00:24 [15:00:24.957]
INFO:
p2p:test:integration Shut down p2p clients
15:00:24 [15:00:24.960]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
15:00:34 [15:00:34.950]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:34 [15:00:34.953]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-cjEFnS with size: 10485760 KB (LMDB v2)
15:00:34 [15:00:34.953]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:34 [15:00:34.955]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-V6Texk with size: 10485760 KB (LMDB v2)
15:00:34 [15:00:34.956]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:34 [15:00:34.965]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CoMpsY with size: 10485760 KB (LMDB v2)
15:00:34 [15:00:34.966]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:34 [15:00:34.973]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:34 [15:00:34.975]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
15:00:34 [15:00:34.975]
INFO:
p2p:test:integration Shut down p2p clients
15:00:34 [15:00:34.977]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
15:00:45 [15:00:45.082]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:45 [15:00:45.102]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7ZqIme with size: 10485760 KB (LMDB v2)
15:00:45 [15:00:45.106]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:45 [15:00:45.109]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-sABQoe with size: 10485760 KB (LMDB v2)
15:00:45 [15:00:45.110]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:45 [15:00:45.111]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Yif5jZ with size: 10485760 KB (LMDB v2)
15:00:45 [15:00:45.112]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:45 [15:00:45.113]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:45 [15:00:45.114]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
15:00:45 [15:00:45.115]
INFO:
p2p:test:integration Shut down p2p clients
15:00:45 [15:00:45.116]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
15:00:56 [15:00:56.181]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:56 [15:00:56.183]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pGR4El with size: 10485760 KB (LMDB v2)
15:00:56 [15:00:56.183]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:56 [15:00:56.186]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZBl8ff with size: 10485760 KB (LMDB v2)
15:00:56 [15:00:56.186]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:56 [15:00:56.188]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vVaTV1 with size: 10485760 KB (LMDB v2)
15:00:56 [15:00:56.188]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:56 [15:00:56.190]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:56 [15:00:56.191]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
15:00:56 [15:00:56.191]
INFO:
p2p:test:integration Shut down p2p clients
15:00:56
FAIL src/client/p2p_client.integration.test.ts (
100.521 s)
15:00:56 p2p client integration
15:00:56
✕ returns undefined if unable to find a transaction from another peer (10310 ms)
15:00:56
✕ can request a transaction from another peer (9122 ms)
15:00:56
✕ will penalize peers that send invalid proofs (9732 ms)
15:00:56
✕ will penalize peers that send the wrong transaction (10060 ms)
15:00:56
✕ will propagate messages to peers at the same version (10155 ms)
15:00:56
✕ should not disconnect clients when it returns correct status (10266 ms)
15:00:56
✕ should disconnect client when it returns status with wrong version (10017 ms)
15:00:56
✕ should disconnect client when it returns an invalid status (10138 ms)
15:00:56
✕ propagates messages using mocked gossip sub network (11076 ms)
15:00:56
15:00:56
● p2p client integration › returns undefined if unable to find a transaction from another peer
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:00:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
15:00:56
15:00:56
● p2p client integration › can request a transaction from another peer
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:00:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
15:00:56
15:00:56
● p2p client integration › will penalize peers that send invalid proofs
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:00:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
15:00:56
15:00:56
● p2p client integration › will penalize peers that send the wrong transaction
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:00:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
15:00:56
15:00:56
● p2p client integration › will propagate messages to peers at the same version
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:00:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
15:00:56
15:00:56
● p2p client integration › should not disconnect clients when it returns correct status
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
15:00:56
15:00:56
● p2p client integration › should disconnect client when it returns status with wrong version
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
15:00:56
15:00:56
● p2p client integration › should disconnect client when it returns an invalid status
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
15:00:56
15:00:56
● p2p client integration › propagates messages using mocked gossip sub network
15:00:56
15:00:56 TypeError: config.peerIdPrivateKey.getValue is not a function
15:00:56
15:00:56
135 |
15:00:56
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:00:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:00:56
| ^
15:00:56
138 | if (peerIdPrivateKeyFilePath) {
15:00:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:00:56
140 | } else {
15:00:56
15:00:56
at getValue (util.ts:137:58)
15:00:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:00:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:00:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:00:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:00:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
15:00:56
15:00:56
Test Suites: 1 failed, 1 total
15:00:56
Tests: 9 failed, 9 total
15:00:56
Snapshots: 0 total
15:00:56
Time: 100.63 s
15:00:56
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
15:00:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?