Parent Log:
http://ci.aztec-labs.com/9772f35bf3dda20b
Command: 2d72990a54a9c534: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/7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc
Env: REF_NAME=gh-readonly-queue/next/pr-15215-1b10c7d500621ca2e4c0db764df67f3085beb282 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:16:42 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15215_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
10:16:42 +++ id -u
10:16:42 +++ id -g
10:16:42 ++ 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'\'''
10:16:42 + cid=c8f8c9d5fb5d4e91313a785d790cee8c3d3447003033039595f35ea91c7a7d04
10:16:42 + set +x
10:16:44 {"level":25,"time":1750760204053,"pid":7,"hostname":"c8f8c9d5fb5d","module":"logger","msg":"Logger initialized with level debug"}
10:16:54 [10:16:54.355]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
10:16:54 [10:16:54.477]
DEBUG:
foundation:randomness_singleton Using true randomness
10:16:55 {"level":20,"time":1750760214523,"pid":7,"hostname":"c8f8c9d5fb5d","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
10:16:55 {"level":20,"time":1750760214759,"pid":7,"hostname":"c8f8c9d5fb5d","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
10:17:04 [10:17:04.807]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:17:04 [10:17:04.815]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0gVL8v with size: 10485760 KB (LMDB v2)
10:17:04 [10:17:04.816]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:17:04 [10:17:04.825]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IytOLD with size: 10485760 KB (LMDB v2)
10:17:04 [10:17:04.825]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:17:04 [10:17:04.829]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LDkK7A with size: 10485760 KB (LMDB v2)
10:17:04 [10:17:04.830]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:17:04 [10:17:04.834]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:17:04 [10:17:04.836]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
10:17:04 [10:17:04.836]
INFO:
p2p:test:integration Shut down p2p clients
10:17:04 [10:17:04.860]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
10:17:05 {"level":20,"time":1750760214830,"pid":7,"hostname":"c8f8c9d5fb5d","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
10:17:05 {"level":20,"time":1750760214830,"pid":7,"hostname":"c8f8c9d5fb5d","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"}
10:17:14 [10:17:14.006]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:17:14 [10:17:14.009]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-leNZhJ with size: 10485760 KB (LMDB v2)
10:17:14 [10:17:14.010]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:17:14 [10:17:14.013]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-vc0xUB with size: 10485760 KB (LMDB v2)
10:17:14 [10:17:14.013]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:17:14 [10:17:14.016]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-l9Ta2J with size: 10485760 KB (LMDB v2)
10:17:14 [10:17:14.016]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:17:14 [10:17:14.017]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:17:14 [10:17:14.018]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
10:17:14 [10:17:14.019]
INFO:
p2p:test:integration Shut down p2p clients
10:17:14 [10:17:14.021]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
10:17:23 [10:17:23.084]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:17:23 [10:17:23.087]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-GPf2bm with size: 10485760 KB (LMDB v2)
10:17:23 [10:17:23.087]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:17:23 [10:17:23.090]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WucABg with size: 10485760 KB (LMDB v2)
10:17:23 [10:17:23.090]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:17:23 [10:17:23.092]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-sZcwvq with size: 10485760 KB (LMDB v2)
10:17:23 [10:17:23.092]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:17:23 [10:17:23.094]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:17:23 [10:17:23.095]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
10:17:23 [10:17:23.096]
INFO:
p2p:test:integration Shut down p2p clients
10:17:23 [10:17:23.098]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
10:17:33 [10:17:33.143]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:17:33 [10:17:33.144]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-eiADzo with size: 10485760 KB (LMDB v2)
10:17:33 [10:17:33.145]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:17:33 [10:17:33.147]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-mndutR with size: 10485760 KB (LMDB v2)
10:17:33 [10:17:33.148]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:17:33 [10:17:33.151]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-pwMPdD with size: 10485760 KB (LMDB v2)
10:17:33 [10:17:33.151]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:17:33 [10:17:33.153]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:17:33 [10:17:33.154]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
10:17:33 [10:17:33.154]
INFO:
p2p:test:integration Shut down p2p clients
10:17:33 [10:17:33.156]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
10:17:43 [10:17:43.057]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:17:43 [10:17:43.060]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-glv8cy with size: 10485760 KB (LMDB v2)
10:17:43 [10:17:43.060]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:17:43 [10:17:43.065]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XFKM2D with size: 10485760 KB (LMDB v2)
10:17:43 [10:17:43.065]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:17:43 [10:17:43.071]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-18RFU2 with size: 10485760 KB (LMDB v2)
10:17:43 [10:17:43.071]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:17:43 [10:17:43.074]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:17:43 [10:17:43.075]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
10:17:43 [10:17:43.075]
INFO:
p2p:test:integration Shut down p2p clients
10:17:43 [10:17:43.077]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
10:17:53 [10:17:53.114]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:17:53 [10:17:53.132]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-FeL7HB with size: 10485760 KB (LMDB v2)
10:17:53 [10:17:53.133]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:17:53 [10:17:53.135]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-S6CGSH with size: 10485760 KB (LMDB v2)
10:17:53 [10:17:53.135]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:17:53 [10:17:53.136]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uBwGxM with size: 10485760 KB (LMDB v2)
10:17:53 [10:17:53.137]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:17:53 [10:17:53.137]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:17:53 [10:17:53.138]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
10:17:53 [10:17:53.138]
INFO:
p2p:test:integration Shut down p2p clients
10:17:53 [10:17:53.140]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
10:18:04 [10:18:04.071]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:18:04 [10:18:04.074]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rha7XE with size: 10485760 KB (LMDB v2)
10:18:04 [10:18:04.074]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:18:04 [10:18:04.078]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DaxHAn with size: 10485760 KB (LMDB v2)
10:18:04 [10:18:04.078]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:18:04 [10:18:04.080]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Y2nDTB with size: 10485760 KB (LMDB v2)
10:18:04 [10:18:04.081]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:18:04 [10:18:04.083]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:18:04 [10:18:04.084]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
10:18:04 [10:18:04.084]
INFO:
p2p:test:integration Shut down p2p clients
10:18:04 [10:18:04.087]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
10:18:13 [10:18:13.889]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:18:13 [10:18:13.891]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-IjhALo with size: 10485760 KB (LMDB v2)
10:18:13 [10:18:13.891]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:18:13 [10:18:13.892]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-GDXz00 with size: 10485760 KB (LMDB v2)
10:18:13 [10:18:13.893]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:18:13 [10:18:13.894]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qsapzA with size: 10485760 KB (LMDB v2)
10:18:13 [10:18:13.894]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:18:13 [10:18:13.895]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:18:13 [10:18:13.896]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
10:18:13 [10:18:13.896]
INFO:
p2p:test:integration Shut down p2p clients
10:18:13 [10:18:13.898]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
10:18:23 [10:18:23.930]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:18:23 [10:18:23.932]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-eXNsUu with size: 10485760 KB (LMDB v2)
10:18:23 [10:18:23.933]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:18:23 [10:18:23.936]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-zdcelH with size: 10485760 KB (LMDB v2)
10:18:23 [10:18:23.936]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:18:23 [10:18:23.939]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vErevJ with size: 10485760 KB (LMDB v2)
10:18:23 [10:18:23.939]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:18:23 [10:18:23.941]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:18:23 [10:18:23.943]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
10:18:23 [10:18:23.944]
INFO:
p2p:test:integration Shut down p2p clients
10:18:24
FAIL src/client/p2p_client.integration.test.ts (
100.234 s)
10:18:24 p2p client integration
10:18:24
✕ returns undefined if unable to find a transaction from another peer (10496 ms)
10:18:24
✕ can request a transaction from another peer (9160 ms)
10:18:24
✕ will penalize peers that send invalid proofs (9076 ms)
10:18:24
✕ will penalize peers that send the wrong transaction (10057 ms)
10:18:24
✕ will propagate messages to peers at the same version (9920 ms)
10:18:24
✕ should not disconnect clients when it returns correct status (10062 ms)
10:18:24
✕ should disconnect client when it returns status with wrong version (10945 ms)
10:18:24
✕ should disconnect client when it returns an invalid status (9810 ms)
10:18:24
✕ propagates messages using mocked gossip sub network (10047 ms)
10:18:24
10:18:24
● p2p client integration › returns undefined if unable to find a transaction from another peer
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:18:24
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
10:18:24
10:18:24
● p2p client integration › can request a transaction from another peer
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:18:24
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
10:18:24
10:18:24
● p2p client integration › will penalize peers that send invalid proofs
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:18:24
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
10:18:24
10:18:24
● p2p client integration › will penalize peers that send the wrong transaction
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:18:24
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
10:18:24
10:18:24
● p2p client integration › will propagate messages to peers at the same version
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:18:24
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
10:18:24
10:18:24
● p2p client integration › should not disconnect clients when it returns correct status
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
10:18:24
10:18:24
● p2p client integration › should disconnect client when it returns status with wrong version
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
10:18:24
10:18:24
● p2p client integration › should disconnect client when it returns an invalid status
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
10:18:24
10:18:24
● p2p client integration › propagates messages using mocked gossip sub network
10:18:24
10:18:24 TypeError: config.peerIdPrivateKey.getValue is not a function
10:18:24
10:18:24
135 |
10:18:24
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:18:24
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:18:24
| ^
10:18:24
138 | if (peerIdPrivateKeyFilePath) {
10:18:24
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:18:24
140 | } else {
10:18:24
10:18:24
at getValue (util.ts:137:58)
10:18:24
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:18:24
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:18:24
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:18:24
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:18:24
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
10:18:24
10:18:24
Test Suites: 1 failed, 1 total
10:18:24
Tests: 9 failed, 9 total
10:18:24
Snapshots: 0 total
10:18:24
Time: 100.321 s
10:18:24
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
10:18:24
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?