Parent Log:
http://ci.aztec-labs.com/3d1c6191e03ebf01
Command: 270716767bef7882:ISOLATE=1:NAME=p2p/src/client/p2p_client.integration.test.ts LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/aedcee89a2544b0e6baf93c4e71d88991f09111e
Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 13:35:13 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
13:35:13 +++ id -u
13:35:13 +++ id -g
13:35:13 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-127 --cpus=2 --memory=8g --user 1000:1000 -v/home/aztec-dev:/home/aztec-dev --mount type=tmpfs,target=/tmp,tmpfs-size=1g --workdir /home/aztec-dev/aztec-packages -e HOME -e VERBOSE -e GIT_CONFIG_GLOBAL=/home/aztec-dev/aztec-packages/build-images/src/home/.gitconfig -e FORCE_COLOR=true -e CPUS -e MEM aztecprotocol/build:3.0 /bin/bash -c 'timeout -v 600s bash -c '\''LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.test.ts'\'''
13:35:14 + cid=3bf054d1c7904ee497abfe0fa40ea705a33997580284cec304c18c0f18bafb28
13:35:14 + set +x
13:35:15 {"level":25,"time":1750772115632,"pid":7,"hostname":"3bf054d1c790","module":"logger","msg":"Logger initialized with level debug"}
13:35:25 [13:35:25.572]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
13:35:25 [13:35:25.671]
DEBUG:
foundation:randomness_singleton Using true randomness
13:35:26 {"level":20,"time":1750772125734,"pid":7,"hostname":"3bf054d1c790","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
13:35:26 {"level":20,"time":1750772125954,"pid":7,"hostname":"3bf054d1c790","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
13:35:36 [13:35:36.175]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:36 [13:35:36.179]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-yKPPTA with size: 10485760 KB (LMDB v2)
13:35:36 [13:35:36.180]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:36 [13:35:36.188]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-F08N2f with size: 10485760 KB (LMDB v2)
13:35:36 [13:35:36.189]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:36 [13:35:36.191]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-KarE5P with size: 10485760 KB (LMDB v2)
13:35:36 [13:35:36.192]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:36 [13:35:36.194]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:36 [13:35:36.195]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
13:35:36 [13:35:36.196]
INFO:
p2p:test:integration Shut down p2p clients
13:35:36 [13:35:36.221]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
13:35:36 {"level":20,"time":1750772126008,"pid":7,"hostname":"3bf054d1c790","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
13:35:36 {"level":20,"time":1750772126009,"pid":7,"hostname":"3bf054d1c790","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"}
13:35:45 [13:35:45.373]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:45 [13:35:45.376]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-IBGPJe with size: 10485760 KB (LMDB v2)
13:35:45 [13:35:45.376]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:45 [13:35:45.379]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2EsdVe with size: 10485760 KB (LMDB v2)
13:35:45 [13:35:45.379]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:45 [13:35:45.381]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-M4TQx2 with size: 10485760 KB (LMDB v2)
13:35:45 [13:35:45.382]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:45 [13:35:45.383]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:45 [13:35:45.384]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
13:35:45 [13:35:45.385]
INFO:
p2p:test:integration Shut down p2p clients
13:35:45 [13:35:45.388]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
13:35:54 [13:35:54.233]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:35:54 [13:35:54.236]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-AfQvHR with size: 10485760 KB (LMDB v2)
13:35:54 [13:35:54.236]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:35:54 [13:35:54.239]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-qlCgL1 with size: 10485760 KB (LMDB v2)
13:35:54 [13:35:54.239]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:35:54 [13:35:54.241]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hkBT42 with size: 10485760 KB (LMDB v2)
13:35:54 [13:35:54.241]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:35:54 [13:35:54.244]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:35:54 [13:35:54.245]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
13:35:54 [13:35:54.245]
INFO:
p2p:test:integration Shut down p2p clients
13:35:54 [13:35:54.248]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
13:36:04 [13:36:04.406]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:04 [13:36:04.409]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-24jLee with size: 10485760 KB (LMDB v2)
13:36:04 [13:36:04.409]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:04 [13:36:04.416]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HifaXF with size: 10485760 KB (LMDB v2)
13:36:04 [13:36:04.416]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:04 [13:36:04.423]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-OKxZmm with size: 10485760 KB (LMDB v2)
13:36:04 [13:36:04.423]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:04 [13:36:04.426]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:04 [13:36:04.427]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
13:36:04 [13:36:04.427]
INFO:
p2p:test:integration Shut down p2p clients
13:36:04 [13:36:04.431]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
13:36:14 [13:36:14.602]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:14 [13:36:14.624]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Op7S1z with size: 10485760 KB (LMDB v2)
13:36:14 [13:36:14.626]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:14 [13:36:14.629]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LuW6WZ with size: 10485760 KB (LMDB v2)
13:36:14 [13:36:14.629]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:14 [13:36:14.632]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IADJku with size: 10485760 KB (LMDB v2)
13:36:14 [13:36:14.632]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:14 [13:36:14.635]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:14 [13:36:14.636]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
13:36:14 [13:36:14.636]
INFO:
p2p:test:integration Shut down p2p clients
13:36:14 [13:36:14.639]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
13:36:25 [13:36:25.138]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:25 [13:36:25.141]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8ThZDZ with size: 10485760 KB (LMDB v2)
13:36:25 [13:36:25.141]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:25 [13:36:25.145]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-fF159e with size: 10485760 KB (LMDB v2)
13:36:25 [13:36:25.146]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:25 [13:36:25.152]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-dzHN0c with size: 10485760 KB (LMDB v2)
13:36:25 [13:36:25.152]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:25 [13:36:25.155]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:25 [13:36:25.157]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
13:36:25 [13:36:25.157]
INFO:
p2p:test:integration Shut down p2p clients
13:36:25 [13:36:25.160]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
13:36:35 [13:36:35.388]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:35 [13:36:35.391]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-KAr6sg with size: 10485760 KB (LMDB v2)
13:36:35 [13:36:35.391]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:35 [13:36:35.393]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cecJFZ with size: 10485760 KB (LMDB v2)
13:36:35 [13:36:35.394]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:35 [13:36:35.397]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DBEXAF with size: 10485760 KB (LMDB v2)
13:36:35 [13:36:35.397]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:35 [13:36:35.399]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:35 [13:36:35.400]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
13:36:35 [13:36:35.400]
INFO:
p2p:test:integration Shut down p2p clients
13:36:35 [13:36:35.402]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
13:36:45 [13:36:45.716]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:45 [13:36:45.719]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-7WhNbr with size: 10485760 KB (LMDB v2)
13:36:45 [13:36:45.719]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:45 [13:36:45.726]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-a1LTm1 with size: 10485760 KB (LMDB v2)
13:36:45 [13:36:45.727]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:45 [13:36:45.729]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Q6L1p9 with size: 10485760 KB (LMDB v2)
13:36:45 [13:36:45.730]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:45 [13:36:45.731]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:45 [13:36:45.732]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
13:36:45 [13:36:45.733]
INFO:
p2p:test:integration Shut down p2p clients
13:36:45 [13:36:45.735]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
13:36:56 [13:36:56.278]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
13:36:56 [13:36:56.281]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9yUAMM with size: 10485760 KB (LMDB v2)
13:36:56 [13:36:56.282]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
13:36:56 [13:36:56.289]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pJdM3V with size: 10485760 KB (LMDB v2)
13:36:56 [13:36:56.289]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
13:36:56 [13:36:56.291]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ox7OGf with size: 10485760 KB (LMDB v2)
13:36:56 [13:36:56.291]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
13:36:56 [13:36:56.293]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
13:36:56 [13:36:56.295]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
13:36:56 [13:36:56.295]
INFO:
p2p:test:integration Shut down p2p clients
13:36:56
FAIL src/client/p2p_client.integration.test.ts (
101.019 s)
13:36:56 p2p client integration
13:36:56
✕ returns undefined if unable to find a transaction from another peer (10628 ms)
13:36:56
✕ can request a transaction from another peer (9165 ms)
13:36:56
✕ will penalize peers that send invalid proofs (8859 ms)
13:36:56
✕ will penalize peers that send the wrong transaction (10181 ms)
13:36:56
✕ will propagate messages to peers at the same version (10206 ms)
13:36:56
✕ should not disconnect clients when it returns correct status (10519 ms)
13:36:56
✕ should disconnect client when it returns status with wrong version (10242 ms)
13:36:56
✕ should disconnect client when it returns an invalid status (10331 ms)
13:36:56
✕ propagates messages using mocked gossip sub network (10561 ms)
13:36:56
13:36:56
● p2p client integration › returns undefined if unable to find a transaction from another peer
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
13:36:56
13:36:56
● p2p client integration › can request a transaction from another peer
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
13:36:56
13:36:56
● p2p client integration › will penalize peers that send invalid proofs
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
13:36:56
13:36:56
● p2p client integration › will penalize peers that send the wrong transaction
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
13:36:56
13:36:56
● p2p client integration › will propagate messages to peers at the same version
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
13:36:56
13:36:56
● p2p client integration › should not disconnect clients when it returns correct status
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
13:36:56
13:36:56
● p2p client integration › should disconnect client when it returns status with wrong version
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
13:36:56
13:36:56
● p2p client integration › should disconnect client when it returns an invalid status
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
13:36:56
13:36:56
● p2p client integration › propagates messages using mocked gossip sub network
13:36:56
13:36:56 TypeError: config.peerIdPrivateKey.getValue is not a function
13:36:56
13:36:56
135 |
13:36: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
13:36:56
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
13:36:56
| ^
13:36:56
138 | if (peerIdPrivateKeyFilePath) {
13:36:56
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
13:36:56
140 | } else {
13:36:56
13:36:56
at getValue (util.ts:137:58)
13:36:56
at getPeerIdPrivateKey (client/factory.ts:75:34)
13:36:56
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
13:36:56
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
13:36:56
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
13:36:56
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
13:36:56
13:36:56
Test Suites: 1 failed, 1 total
13:36:56
Tests: 9 failed, 9 total
13:36:56
Snapshots: 0 total
13:36:56
Time: 101.128 s
13:36:56
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
13:36:56
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?