Parent Log:
http://ci.aztec-labs.com/4fe6e45c33ed5dad
Command: 4ef547fa5e299294: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/016def8adbfe93f34b41a41f439b146b5318c895
Env: REF_NAME=gh-readonly-queue/next/pr-15237-d4893155ff105399557b55c16450c39921c70d11 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 11:55:35 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15237_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
11:55:35 +++ id -u
11:55:35 +++ id -g
11:55:35 ++ 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'\'''
11:55:36 + cid=85d0762e53bc66e311109842aaba9abccbc32912862b8ffbb2aeb9cc88cab28e
11:55:36 + set +x
11:55:37 {"level":25,"time":1750766137610,"pid":7,"hostname":"85d0762e53bc","module":"logger","msg":"Logger initialized with level debug"}
11:55:47 [11:55:47.493]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
11:55:47 [11:55:47.662]
DEBUG:
foundation:randomness_singleton Using true randomness
11:55:48 {"level":20,"time":1750766147710,"pid":7,"hostname":"85d0762e53bc","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
11:55:48 {"level":20,"time":1750766147917,"pid":7,"hostname":"85d0762e53bc","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
11:55:57 [11:55:57.268]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:57 [11:55:57.272]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JWKbS3 with size: 10485760 KB (LMDB v2)
11:55:57 [11:55:57.273]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:57 [11:55:57.286]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-S9LBXQ with size: 10485760 KB (LMDB v2)
11:55:57 [11:55:57.287]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:57 [11:55:57.289]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uaCvI4 with size: 10485760 KB (LMDB v2)
11:55:57 [11:55:57.290]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:57 [11:55:57.292]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:57 [11:55:57.293]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
11:55:57 [11:55:57.294]
INFO:
p2p:test:integration Shut down p2p clients
11:55:57 [11:55:57.317]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
11:55:57 {"level":20,"time":1750766147965,"pid":7,"hostname":"85d0762e53bc","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
11:55:57 {"level":20,"time":1750766147965,"pid":7,"hostname":"85d0762e53bc","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"}
11:56:06 [11:56:06.335]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:06 [11:56:06.338]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jO5RmW with size: 10485760 KB (LMDB v2)
11:56:06 [11:56:06.339]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:06 [11:56:06.341]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-PIPHoz with size: 10485760 KB (LMDB v2)
11:56:06 [11:56:06.341]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:06 [11:56:06.343]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FvFKRz with size: 10485760 KB (LMDB v2)
11:56:06 [11:56:06.343]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:06 [11:56:06.345]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:06 [11:56:06.345]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
11:56:06 [11:56:06.346]
INFO:
p2p:test:integration Shut down p2p clients
11:56:06 [11:56:06.348]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
11:56:15 [11:56:15.378]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:15 [11:56:15.380]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mUrAX7 with size: 10485760 KB (LMDB v2)
11:56:15 [11:56:15.381]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:15 [11:56:15.383]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Vf7o5s with size: 10485760 KB (LMDB v2)
11:56:15 [11:56:15.383]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:15 [11:56:15.385]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Yz4see with size: 10485760 KB (LMDB v2)
11:56:15 [11:56:15.385]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:15 [11:56:15.387]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:15 [11:56:15.388]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
11:56:15 [11:56:15.388]
INFO:
p2p:test:integration Shut down p2p clients
11:56:15 [11:56:15.390]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
11:56:24 [11:56:24.825]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:24 [11:56:24.826]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zcMsc1 with size: 10485760 KB (LMDB v2)
11:56:24 [11:56:24.827]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:24 [11:56:24.829]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-qKkc0n with size: 10485760 KB (LMDB v2)
11:56:24 [11:56:24.829]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:24 [11:56:24.831]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-n5yEzn with size: 10485760 KB (LMDB v2)
11:56:24 [11:56:24.832]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:24 [11:56:24.833]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:24 [11:56:24.834]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
11:56:24 [11:56:24.834]
INFO:
p2p:test:integration Shut down p2p clients
11:56:24 [11:56:24.836]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
11:56:34 [11:56:34.908]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:34 [11:56:34.909]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Ao4tH3 with size: 10485760 KB (LMDB v2)
11:56:34 [11:56:34.910]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:34 [11:56:34.914]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-PQ9ybd with size: 10485760 KB (LMDB v2)
11:56:34 [11:56:34.915]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:34 [11:56:34.916]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-neHMec with size: 10485760 KB (LMDB v2)
11:56:34 [11:56:34.917]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:34 [11:56:34.918]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:34 [11:56:34.918]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
11:56:34 [11:56:34.919]
INFO:
p2p:test:integration Shut down p2p clients
11:56:34 [11:56:34.920]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
11:56:45 [11:56:45.392]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:45 [11:56:45.395]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-V2XcXI with size: 10485760 KB (LMDB v2)
11:56:45 [11:56:45.395]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:45 [11:56:45.397]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-YR6Rgg with size: 10485760 KB (LMDB v2)
11:56:45 [11:56:45.397]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:45 [11:56:45.398]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ufCVmD with size: 10485760 KB (LMDB v2)
11:56:45 [11:56:45.399]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:45 [11:56:45.400]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:45 [11:56:45.401]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
11:56:45 [11:56:45.401]
INFO:
p2p:test:integration Shut down p2p clients
11:56:45 [11:56:45.403]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
11:56:56 [11:56:56.194]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:56 [11:56:56.196]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kLFik0 with size: 10485760 KB (LMDB v2)
11:56:56 [11:56:56.196]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:56 [11:56:56.198]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-llDmXt with size: 10485760 KB (LMDB v2)
11:56:56 [11:56:56.198]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:56 [11:56:56.199]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JwzEVf with size: 10485760 KB (LMDB v2)
11:56:56 [11:56:56.200]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:56 [11:56:56.201]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:56 [11:56:56.202]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
11:56:56 [11:56:56.202]
INFO:
p2p:test:integration Shut down p2p clients
11:56:56 [11:56:56.203]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
11:57:06 [11:57:06.453]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:57:06 [11:57:06.454]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TVoA16 with size: 10485760 KB (LMDB v2)
11:57:06 [11:57:06.455]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:57:06 [11:57:06.457]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WwBhwm with size: 10485760 KB (LMDB v2)
11:57:06 [11:57:06.458]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:57:06 [11:57:06.460]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gqDzoX with size: 10485760 KB (LMDB v2)
11:57:06 [11:57:06.460]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:57:06 [11:57:06.462]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:57:06 [11:57:06.463]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
11:57:06 [11:57:06.463]
INFO:
p2p:test:integration Shut down p2p clients
11:57:06 [11:57:06.465]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
11:57:16 [11:57:16.090]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:57:16 [11:57:16.092]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-GMrjx2 with size: 10485760 KB (LMDB v2)
11:57:16 [11:57:16.093]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:57:16 [11:57:16.095]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-C7RSp2 with size: 10485760 KB (LMDB v2)
11:57:16 [11:57:16.096]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:57:16 [11:57:16.104]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5Fc2TP with size: 10485760 KB (LMDB v2)
11:57:16 [11:57:16.105]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:57:16 [11:57:16.107]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:57:16 [11:57:16.108]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
11:57:16 [11:57:16.109]
INFO:
p2p:test:integration Shut down p2p clients
11:57:16
FAIL src/client/p2p_client.integration.test.ts (
98.855 s)
11:57:16 p2p client integration
11:57:16
✕ returns undefined if unable to find a transaction from another peer (9806 ms)
11:57:16
✕ can request a transaction from another peer (9030 ms)
11:57:16
✕ will penalize peers that send invalid proofs (9041 ms)
11:57:16
✕ will penalize peers that send the wrong transaction (9445 ms)
11:57:16
✕ will propagate messages to peers at the same version (10083 ms)
11:57:16
✕ should not disconnect clients when it returns correct status (10482 ms)
11:57:16
✕ should disconnect client when it returns status with wrong version (10800 ms)
11:57:16
✕ should disconnect client when it returns an invalid status (10260 ms)
11:57:16
✕ propagates messages using mocked gossip sub network (9645 ms)
11:57:16
11:57:16
● p2p client integration › returns undefined if unable to find a transaction from another peer
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:16
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
11:57:16
11:57:16
● p2p client integration › can request a transaction from another peer
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:16
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
11:57:16
11:57:16
● p2p client integration › will penalize peers that send invalid proofs
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:16
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
11:57:16
11:57:16
● p2p client integration › will penalize peers that send the wrong transaction
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:16
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
11:57:16
11:57:16
● p2p client integration › will propagate messages to peers at the same version
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:16
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
11:57:16
11:57:16
● p2p client integration › should not disconnect clients when it returns correct status
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
11:57:16
11:57:16
● p2p client integration › should disconnect client when it returns status with wrong version
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
11:57:16
11:57:16
● p2p client integration › should disconnect client when it returns an invalid status
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
11:57:16
11:57:16
● p2p client integration › propagates messages using mocked gossip sub network
11:57:16
11:57:16 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:16
11:57:16
135 |
11:57:16
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:57:16
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:16
| ^
11:57:16
138 | if (peerIdPrivateKeyFilePath) {
11:57:16
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:16
140 | } else {
11:57:16
11:57:16
at getValue (util.ts:137:58)
11:57:16
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:16
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:16
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:16
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:16
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
11:57:16
11:57:16
Test Suites: 1 failed, 1 total
11:57:16
Tests: 9 failed, 9 total
11:57:16
Snapshots: 0 total
11:57:16
Time: 98.956 s
11:57:16
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
11:57:16
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?