Parent Log:
http://ci.aztec-labs.com/51fad2508877a18c
Command: 2f76ae4bba915073: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/87c4b689268afecc86ab007c3587e45110daa43d
Env: REF_NAME=gh-readonly-queue/next/pr-15220-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 16:34:46 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15220_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
16:34:46 +++ id -u
16:34:46 +++ id -g
16:34:46 ++ 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'\'''
16:34:47 + cid=a1a3dba77fd25007db8dd897919add9673e3870c82ca4b338a71193c79602a77
16:34:47 + set +x
16:34:48 {"level":25,"time":1750782888497,"pid":7,"hostname":"a1a3dba77fd2","module":"logger","msg":"Logger initialized with level debug"}
16:34:58 [16:34:58.537]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
16:34:58 [16:34:58.641]
DEBUG:
foundation:randomness_singleton Using true randomness
16:34:59 {"level":20,"time":1750782898715,"pid":7,"hostname":"a1a3dba77fd2","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
16:34:59 {"level":20,"time":1750782898970,"pid":7,"hostname":"a1a3dba77fd2","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
16:35:08 [16:35:08.530]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:08 [16:35:08.536]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8RZAcb with size: 10485760 KB (LMDB v2)
16:35:08 [16:35:08.537]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:08 [16:35:08.547]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2NFywt with size: 10485760 KB (LMDB v2)
16:35:08 [16:35:08.548]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:08 [16:35:08.557]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Ho6Bew with size: 10485760 KB (LMDB v2)
16:35:08 [16:35:08.558]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:08 [16:35:08.560]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:08 [16:35:08.562]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
16:35:08 [16:35:08.562]
INFO:
p2p:test:integration Shut down p2p clients
16:35:08 {"level":20,"time":1750782899057,"pid":7,"hostname":"a1a3dba77fd2","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
16:35:08 {"level":20,"time":1750782899058,"pid":7,"hostname":"a1a3dba77fd2","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"}
16:35:08 [16:35:08.584]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
16:35:17 [16:35:17.586]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:17 [16:35:17.588]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-dApfFn with size: 10485760 KB (LMDB v2)
16:35:17 [16:35:17.589]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:17 [16:35:17.591]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cTJ7pp with size: 10485760 KB (LMDB v2)
16:35:17 [16:35:17.591]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:17 [16:35:17.594]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-78OsNb with size: 10485760 KB (LMDB v2)
16:35:17 [16:35:17.594]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:17 [16:35:17.596]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:17 [16:35:17.597]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
16:35:17 [16:35:17.597]
INFO:
p2p:test:integration Shut down p2p clients
16:35:17 [16:35:17.600]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
16:35:26 [16:35:26.890]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:26 [16:35:26.892]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jzdaHB with size: 10485760 KB (LMDB v2)
16:35:26 [16:35:26.893]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:26 [16:35:26.895]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-q8rJRN with size: 10485760 KB (LMDB v2)
16:35:26 [16:35:26.895]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:26 [16:35:26.897]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-lar8Cp with size: 10485760 KB (LMDB v2)
16:35:26 [16:35:26.897]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:26 [16:35:26.898]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:26 [16:35:26.899]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
16:35:26 [16:35:26.899]
INFO:
p2p:test:integration Shut down p2p clients
16:35:26 [16:35:26.901]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
16:35:36 [16:35:36.762]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:36 [16:35:36.783]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-eKl5Fs with size: 10485760 KB (LMDB v2)
16:35:36 [16:35:36.783]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:36 [16:35:36.786]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tba2rT with size: 10485760 KB (LMDB v2)
16:35:36 [16:35:36.787]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:36 [16:35:36.789]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-SaLCwS with size: 10485760 KB (LMDB v2)
16:35:36 [16:35:36.789]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:36 [16:35:36.791]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:36 [16:35:36.792]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
16:35:36 [16:35:36.792]
INFO:
p2p:test:integration Shut down p2p clients
16:35:36 [16:35:36.796]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
16:35:46 [16:35:46.924]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:46 [16:35:46.927]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-NCVC9a with size: 10485760 KB (LMDB v2)
16:35:46 [16:35:46.928]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:46 [16:35:46.930]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Iq8qi3 with size: 10485760 KB (LMDB v2)
16:35:46 [16:35:46.930]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:46 [16:35:46.933]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-kPmBLJ with size: 10485760 KB (LMDB v2)
16:35:46 [16:35:46.933]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:46 [16:35:46.941]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:46 [16:35:46.942]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
16:35:46 [16:35:46.942]
INFO:
p2p:test:integration Shut down p2p clients
16:35:46 [16:35:46.945]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
16:35:57 [16:35:57.177]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:57 [16:35:57.180]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UfZyG1 with size: 10485760 KB (LMDB v2)
16:35:57 [16:35:57.180]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:57 [16:35:57.182]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gtz9Ei with size: 10485760 KB (LMDB v2)
16:35:57 [16:35:57.182]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:57 [16:35:57.184]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ERL6xS with size: 10485760 KB (LMDB v2)
16:35:57 [16:35:57.184]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:57 [16:35:57.186]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:57 [16:35:57.187]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
16:35:57 [16:35:57.187]
INFO:
p2p:test:integration Shut down p2p clients
16:35:57 [16:35:57.189]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
16:36:07 [16:36:07.113]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:07 [16:36:07.115]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Y2KHFH with size: 10485760 KB (LMDB v2)
16:36:07 [16:36:07.116]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:07 [16:36:07.118]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Bvca67 with size: 10485760 KB (LMDB v2)
16:36:07 [16:36:07.118]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:07 [16:36:07.119]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-HEYWpg with size: 10485760 KB (LMDB v2)
16:36:07 [16:36:07.120]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:07 [16:36:07.121]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:07 [16:36:07.122]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
16:36:07 [16:36:07.122]
INFO:
p2p:test:integration Shut down p2p clients
16:36:07 [16:36:07.124]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
16:36:17 [16:36:17.109]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:17 [16:36:17.112]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-aQmpe3 with size: 10485760 KB (LMDB v2)
16:36:17 [16:36:17.112]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:17 [16:36:17.115]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jTAKYy with size: 10485760 KB (LMDB v2)
16:36:17 [16:36:17.115]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:17 [16:36:17.117]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9uPRtZ with size: 10485760 KB (LMDB v2)
16:36:17 [16:36:17.117]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:17 [16:36:17.119]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:17 [16:36:17.120]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
16:36:17 [16:36:17.120]
INFO:
p2p:test:integration Shut down p2p clients
16:36:17 [16:36:17.122]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
16:36:27 [16:36:27.052]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:27 [16:36:27.056]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-z9K0wf with size: 10485760 KB (LMDB v2)
16:36:27 [16:36:27.056]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:27 [16:36:27.059]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WzIEQs with size: 10485760 KB (LMDB v2)
16:36:27 [16:36:27.060]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:27 [16:36:27.062]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Y8qWSA with size: 10485760 KB (LMDB v2)
16:36:27 [16:36:27.063]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:27 [16:36:27.065]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:27 [16:36:27.066]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
16:36:27 [16:36:27.067]
INFO:
p2p:test:integration Shut down p2p clients
16:36:27
FAIL src/client/p2p_client.integration.test.ts (
98.909 s)
16:36:27 p2p client integration
16:36:27
✕ returns undefined if unable to find a transaction from another peer (10030 ms)
16:36:27
✕ can request a transaction from another peer (9015 ms)
16:36:27
✕ will penalize peers that send invalid proofs (9301 ms)
16:36:27
✕ will penalize peers that send the wrong transaction (9893 ms)
16:36:27
✕ will propagate messages to peers at the same version (10148 ms)
16:36:27
✕ should not disconnect clients when it returns correct status (10243 ms)
16:36:27
✕ should disconnect client when it returns status with wrong version (9934 ms)
16:36:27
✕ should disconnect client when it returns an invalid status (9997 ms)
16:36:27
✕ propagates messages using mocked gossip sub network (9946 ms)
16:36:27
16:36:27
● p2p client integration › returns undefined if unable to find a transaction from another peer
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
16:36:27
16:36:27
● p2p client integration › can request a transaction from another peer
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
16:36:27
16:36:27
● p2p client integration › will penalize peers that send invalid proofs
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
16:36:27
16:36:27
● p2p client integration › will penalize peers that send the wrong transaction
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
16:36:27
16:36:27
● p2p client integration › will propagate messages to peers at the same version
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
16:36:27
16:36:27
● p2p client integration › should not disconnect clients when it returns correct status
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
16:36:27
16:36:27
● p2p client integration › should disconnect client when it returns status with wrong version
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
16:36:27
16:36:27
● p2p client integration › should disconnect client when it returns an invalid status
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
16:36:27
16:36:27
● p2p client integration › propagates messages using mocked gossip sub network
16:36:27
16:36:27 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:27
16:36:27
135 |
16:36:27
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:27
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:27
| ^
16:36:27
138 | if (peerIdPrivateKeyFilePath) {
16:36:27
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:27
140 | } else {
16:36:27
16:36:27
at getValue (util.ts:137:58)
16:36:27
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:27
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:27
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:27
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:27
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
16:36:27
16:36:27
Test Suites: 1 failed, 1 total
16:36:27
Tests: 9 failed, 9 total
16:36:27
Snapshots: 0 total
16:36:27
Time: 99.02 s
16:36:27
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
16:36:27
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?