Parent Log:
http://ci.aztec-labs.com/9b6e09886228f6bb
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/1c2c2ee2949dbe31742cc9501a31bf3bce8083cf
Env: REF_NAME=gh-readonly-queue/next/pr-15232-aedcee89a2544b0e6baf93c4e71d88991f09111e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 13:51:01 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15232_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
13:51:01 +++ id -u
13:51:01 +++ id -g
13:51:01 ++ 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:51:01 + cid=177f7965c5b12d9fe863dd18c22d793142ffc3681315c1c9f8aa11563b787111
13:51:01 + set +x
13:51:03 {"level":25,"time":1750773063482,"pid":7,"hostname":"177f7965c5b1","module":"logger","msg":"Logger initialized with level debug"}
13:51:12 [13:51:12.781]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
13:51:12 [13:51:12.880]
DEBUG:
foundation:randomness_singleton Using true randomness
13:51:13 {"level":20,"time":1750773072941,"pid":7,"hostname":"177f7965c5b1","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
13:51:13 {"level":20,"time":1750773073149,"pid":7,"hostname":"177f7965c5b1","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
13:51:23 [13:51:23.130]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:51:23 [13:51:23.135]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xLcuC2 with size: 10485760 KB (LMDB v2)
13:51:23 [13:51:23.135]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:51:23 [13:51:23.143]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-okQAsL with size: 10485760 KB (LMDB v2)
13:51:23 [13:51:23.144]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:51:23 [13:51:23.146]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IN65Sv with size: 10485760 KB (LMDB v2)
13:51:23 [13:51:23.147]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:51:23 [13:51:23.149]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:51:23 [13:51:23.151]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
13:51:23 [13:51:23.151]
INFO:
p2p:test:integration Shut down p2p clients
13:51:23 [13:51:23.171]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
13:51:23 {"level":20,"time":1750773073208,"pid":7,"hostname":"177f7965c5b1","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
13:51:23 {"level":20,"time":1750773073209,"pid":7,"hostname":"177f7965c5b1","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:51:32 [13:51:32.356]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:51:32 [13:51:32.373]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-eBQVvc with size: 10485760 KB (LMDB v2)
13:51:32 [13:51:32.374]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:51:32 [13:51:32.377]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IVdLhl with size: 10485760 KB (LMDB v2)
13:51:32 [13:51:32.377]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:51:32 [13:51:32.379]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NB6Eh4 with size: 10485760 KB (LMDB v2)
13:51:32 [13:51:32.380]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:51:32 [13:51:32.381]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:51:32 [13:51:32.383]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
13:51:32 [13:51:32.383]
INFO:
p2p:test:integration Shut down p2p clients
13:51:32 [13:51:32.386]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
13:51:41 [13:51:41.945]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:51:41 [13:51:41.948]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-OjlGaM with size: 10485760 KB (LMDB v2)
13:51:41 [13:51:41.948]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:51:41 [13:51:41.951]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-BDizSr with size: 10485760 KB (LMDB v2)
13:51:41 [13:51:41.951]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:51:41 [13:51:41.954]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5K7e9S with size: 10485760 KB (LMDB v2)
13:51:41 [13:51:41.954]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:51:41 [13:51:41.956]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:51:41 [13:51:41.957]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
13:51:41 [13:51:41.957]
INFO:
p2p:test:integration Shut down p2p clients
13:51:41 [13:51:41.960]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
13:51:51 [13:51:51.983]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:51:51 [13:51:51.986]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-WW2ocB with size: 10485760 KB (LMDB v2)
13:51:51 [13:51:51.987]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:51:51 [13:51:51.989]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uL40qu with size: 10485760 KB (LMDB v2)
13:51:51 [13:51:51.990]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:51:51 [13:51:51.991]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dPtmZj with size: 10485760 KB (LMDB v2)
13:51:51 [13:51:51.991]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:51:51 [13:51:51.993]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:51:51 [13:51:51.994]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
13:51:51 [13:51:51.994]
INFO:
p2p:test:integration Shut down p2p clients
13:51:51 [13:51:51.997]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
13:52:01 [13:52:01.969]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:52:01 [13:52:01.972]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pnh7A1 with size: 10485760 KB (LMDB v2)
13:52:01 [13:52:01.973]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:52:01 [13:52:01.975]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5b3Fr4 with size: 10485760 KB (LMDB v2)
13:52:01 [13:52:01.975]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:52:01 [13:52:01.977]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-RmJRph with size: 10485760 KB (LMDB v2)
13:52:01 [13:52:01.978]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:52:01 [13:52:01.980]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:52:01 [13:52:01.981]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
13:52:01 [13:52:01.981]
INFO:
p2p:test:integration Shut down p2p clients
13:52:01 [13:52:01.983]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
13:52:12 [13:52:12.312]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:52:12 [13:52:12.315]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kdPSto with size: 10485760 KB (LMDB v2)
13:52:12 [13:52:12.316]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:52:12 [13:52:12.322]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TOOaEe with size: 10485760 KB (LMDB v2)
13:52:12 [13:52:12.322]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:52:12 [13:52:12.328]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ihwCLg with size: 10485760 KB (LMDB v2)
13:52:12 [13:52:12.329]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:52:12 [13:52:12.331]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:52:12 [13:52:12.332]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
13:52:12 [13:52:12.332]
INFO:
p2p:test:integration Shut down p2p clients
13:52:12 [13:52:12.335]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
13:52:22 [13:52:22.209]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:52:22 [13:52:22.235]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MxA5P5 with size: 10485760 KB (LMDB v2)
13:52:22 [13:52:22.237]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:52:22 [13:52:22.242]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-f5ORux with size: 10485760 KB (LMDB v2)
13:52:22 [13:52:22.242]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:52:22 [13:52:22.244]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-jtZF1K with size: 10485760 KB (LMDB v2)
13:52:22 [13:52:22.244]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:52:22 [13:52:22.247]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:52:22 [13:52:22.249]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
13:52:22 [13:52:22.249]
INFO:
p2p:test:integration Shut down p2p clients
13:52:22 [13:52:22.252]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
13:52:32 [13:52:32.476]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:52:32 [13:52:32.479]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-n85rah with size: 10485760 KB (LMDB v2)
13:52:32 [13:52:32.479]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:52:32 [13:52:32.481]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JovWnj with size: 10485760 KB (LMDB v2)
13:52:32 [13:52:32.482]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:52:32 [13:52:32.484]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-RrjJFH with size: 10485760 KB (LMDB v2)
13:52:32 [13:52:32.484]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:52:32 [13:52:32.486]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:52:32 [13:52:32.487]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
13:52:32 [13:52:32.487]
INFO:
p2p:test:integration Shut down p2p clients
13:52:32 [13:52:32.490]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
13:52:43 [13:52:43.440]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:52:43 [13:52:43.465]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nYsQ3y with size: 10485760 KB (LMDB v2)
13:52:43 [13:52:43.468]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:52:43 [13:52:43.471]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8aETg2 with size: 10485760 KB (LMDB v2)
13:52:43 [13:52:43.472]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:52:43 [13:52:43.474]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XeZ7QP with size: 10485760 KB (LMDB v2)
13:52:43 [13:52:43.474]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:52:43 [13:52:43.476]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:52:43 [13:52:43.477]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
13:52:43 [13:52:43.477]
INFO:
p2p:test:integration Shut down p2p clients
13:52:43
FAIL src/client/p2p_client.integration.test.ts (
100.34 s)
13:52:43 p2p client integration
13:52:43
✕ returns undefined if unable to find a transaction from another peer (10375 ms)
13:52:43
✕ can request a transaction from another peer (9213 ms)
13:52:43
✕ will penalize peers that send invalid proofs (9573 ms)
13:52:43
✕ will penalize peers that send the wrong transaction (10035 ms)
13:52:43
✕ will propagate messages to peers at the same version (9985 ms)
13:52:43
✕ should not disconnect clients when it returns correct status (10351 ms)
13:52:43
✕ should disconnect client when it returns status with wrong version (9916 ms)
13:52:43
✕ should disconnect client when it returns an invalid status (10237 ms)
13:52:43
✕ propagates messages using mocked gossip sub network (10989 ms)
13:52:43
13:52:43
● p2p client integration › returns undefined if unable to find a transaction from another peer
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:52:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
13:52:43
13:52:43
● p2p client integration › can request a transaction from another peer
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:52:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
13:52:43
13:52:43
● p2p client integration › will penalize peers that send invalid proofs
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:52:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
13:52:43
13:52:43
● p2p client integration › will penalize peers that send the wrong transaction
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:52:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
13:52:43
13:52:43
● p2p client integration › will propagate messages to peers at the same version
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:52:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
13:52:43
13:52:43
● p2p client integration › should not disconnect clients when it returns correct status
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
13:52:43
13:52:43
● p2p client integration › should disconnect client when it returns status with wrong version
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
13:52:43
13:52:43
● p2p client integration › should disconnect client when it returns an invalid status
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
13:52:43
13:52:43
● p2p client integration › propagates messages using mocked gossip sub network
13:52:43
13:52:43 TypeError: config.peerIdPrivateKey.getValue is not a function
13:52:43
13:52:43
135 |
13:52:43
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:52:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:52:43
| ^
13:52:43
138 | if (peerIdPrivateKeyFilePath) {
13:52:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:52:43
140 | } else {
13:52:43
13:52:43
at getValue (util.ts:137:58)
13:52:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:52:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:52:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:52:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:52:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
13:52:43
13:52:43
Test Suites: 1 failed, 1 total
13:52:43
Tests: 9 failed, 9 total
13:52:43
Snapshots: 0 total
13:52:43
Time: 100.453 s
13:52:43
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
13:52:43
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?