Parent Log:
http://ci.aztec-labs.com/bbd24c41c3ef4011
Command: 5e456509c4335308: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/1b10c7d500621ca2e4c0db764df67f3085beb282
Env: REF_NAME=gh-readonly-queue/next/pr-15229-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 10:06:43 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15229_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
10:06:43 +++ id -u
10:06:43 +++ id -g
10:06:43 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-63 --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:06:43 + cid=dc5f23cea4cf69196ae95111bc2bbe41ae3fbe36c1ca94e9361d9cecc733def9
10:06:43 + set +x
10:06:44 {"level":25,"time":1750759604460,"pid":7,"hostname":"dc5f23cea4cf","module":"logger","msg":"Logger initialized with level debug"}
10:06:50 [10:06:50.645]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
10:06:50 [10:06:50.714]
DEBUG:
foundation:randomness_singleton Using true randomness
10:06:51 {"level":20,"time":1750759610756,"pid":7,"hostname":"dc5f23cea4cf","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
10:06:51 {"level":20,"time":1750759610912,"pid":7,"hostname":"dc5f23cea4cf","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
10:06:58 [10:06:58.169]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:58 [10:06:58.171]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Ys3P02 with size: 10485760 KB (LMDB v2)
10:06:58 [10:06:58.172]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:58 [10:06:58.184]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Uz5kPI with size: 10485760 KB (LMDB v2)
10:06:58 [10:06:58.185]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:58 [10:06:58.186]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WI24T3 with size: 10485760 KB (LMDB v2)
10:06:58 [10:06:58.187]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:58 [10:06:58.188]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:58 [10:06:58.189]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
10:06:58 [10:06:58.190]
INFO:
p2p:test:integration Shut down p2p clients
10:06:58 [10:06:58.208]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
10:06:58 {"level":20,"time":1750759610951,"pid":7,"hostname":"dc5f23cea4cf","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
10:06:58 {"level":20,"time":1750759610952,"pid":7,"hostname":"dc5f23cea4cf","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:07:05 [10:07:05.348]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:05 [10:07:05.349]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-k3DFgZ with size: 10485760 KB (LMDB v2)
10:07:05 [10:07:05.349]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:05 [10:07:05.350]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2EubXY with size: 10485760 KB (LMDB v2)
10:07:05 [10:07:05.351]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:05 [10:07:05.352]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-4QyZ2M with size: 10485760 KB (LMDB v2)
10:07:05 [10:07:05.352]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:05 [10:07:05.353]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:05 [10:07:05.353]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
10:07:05 [10:07:05.354]
INFO:
p2p:test:integration Shut down p2p clients
10:07:05 [10:07:05.356]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
10:07:12 [10:07:12.541]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:12 [10:07:12.542]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MpCjvx with size: 10485760 KB (LMDB v2)
10:07:12 [10:07:12.542]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:12 [10:07:12.543]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uTSjBW with size: 10485760 KB (LMDB v2)
10:07:12 [10:07:12.543]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:12 [10:07:12.544]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Q9tC4g with size: 10485760 KB (LMDB v2)
10:07:12 [10:07:12.545]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:12 [10:07:12.546]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:12 [10:07:12.546]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
10:07:12 [10:07:12.546]
INFO:
p2p:test:integration Shut down p2p clients
10:07:12 [10:07:12.548]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
10:07:20 [10:07:20.007]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:20 [10:07:20.008]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-RjEot0 with size: 10485760 KB (LMDB v2)
10:07:20 [10:07:20.009]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:20 [10:07:20.010]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-eSicMZ with size: 10485760 KB (LMDB v2)
10:07:20 [10:07:20.010]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:20 [10:07:20.011]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ku3fF2 with size: 10485760 KB (LMDB v2)
10:07:20 [10:07:20.011]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:20 [10:07:20.012]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:20 [10:07:20.012]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
10:07:20 [10:07:20.012]
INFO:
p2p:test:integration Shut down p2p clients
10:07:20 [10:07:20.014]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
10:07:27 [10:07:27.537]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:27 [10:07:27.538]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fylehV with size: 10485760 KB (LMDB v2)
10:07:27 [10:07:27.538]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:27 [10:07:27.539]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-KRvrvp with size: 10485760 KB (LMDB v2)
10:07:27 [10:07:27.539]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:27 [10:07:27.540]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3inzsL with size: 10485760 KB (LMDB v2)
10:07:27 [10:07:27.541]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:27 [10:07:27.541]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:27 [10:07:27.542]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
10:07:27 [10:07:27.542]
INFO:
p2p:test:integration Shut down p2p clients
10:07:27 [10:07:27.543]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
10:07:35 [10:07:35.216]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:35 [10:07:35.217]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uFdSrI with size: 10485760 KB (LMDB v2)
10:07:35 [10:07:35.217]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:35 [10:07:35.218]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-m6Eogb with size: 10485760 KB (LMDB v2)
10:07:35 [10:07:35.219]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:35 [10:07:35.219]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-BidRF0 with size: 10485760 KB (LMDB v2)
10:07:35 [10:07:35.220]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:35 [10:07:35.220]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:35 [10:07:35.221]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
10:07:35 [10:07:35.221]
INFO:
p2p:test:integration Shut down p2p clients
10:07:35 [10:07:35.223]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
10:07:42 [10:07:42.980]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:42 [10:07:42.981]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-yr3qGU with size: 10485760 KB (LMDB v2)
10:07:42 [10:07:42.981]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:42 [10:07:42.982]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-72gGRj with size: 10485760 KB (LMDB v2)
10:07:42 [10:07:42.982]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:42 [10:07:42.983]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-U6dH4T with size: 10485760 KB (LMDB v2)
10:07:42 [10:07:42.983]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:42 [10:07:42.984]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:42 [10:07:42.985]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
10:07:42 [10:07:42.985]
INFO:
p2p:test:integration Shut down p2p clients
10:07:42 [10:07:42.986]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
10:07:50 [10:07:50.691]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:50 [10:07:50.701]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-y4UftS with size: 10485760 KB (LMDB v2)
10:07:50 [10:07:50.703]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:50 [10:07:50.704]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-U0yOOO with size: 10485760 KB (LMDB v2)
10:07:50 [10:07:50.705]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:50 [10:07:50.705]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ofzZxh with size: 10485760 KB (LMDB v2)
10:07:50 [10:07:50.706]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:50 [10:07:50.706]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:50 [10:07:50.707]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
10:07:50 [10:07:50.707]
INFO:
p2p:test:integration Shut down p2p clients
10:07:50 [10:07:50.708]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
10:07:58 [10:07:58.611]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:07:58 [10:07:58.612]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1oQAie with size: 10485760 KB (LMDB v2)
10:07:58 [10:07:58.613]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:07:58 [10:07:58.614]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WMH5dE with size: 10485760 KB (LMDB v2)
10:07:58 [10:07:58.614]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:07:58 [10:07:58.615]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tAq6w2 with size: 10485760 KB (LMDB v2)
10:07:58 [10:07:58.615]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:07:58 [10:07:58.616]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:07:58 [10:07:58.617]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
10:07:58 [10:07:58.618]
INFO:
p2p:test:integration Shut down p2p clients
10:07:58
FAIL src/client/p2p_client.integration.test.ts (
74.447 s)
10:07:58 p2p client integration
10:07:58
✕ returns undefined if unable to find a transaction from another peer (7548 ms)
10:07:58
✕ can request a transaction from another peer (7147 ms)
10:07:58
✕ will penalize peers that send invalid proofs (7192 ms)
10:07:58
✕ will penalize peers that send the wrong transaction (7466 ms)
10:07:58
✕ will propagate messages to peers at the same version (7529 ms)
10:07:58
✕ should not disconnect clients when it returns correct status (7678 ms)
10:07:58
✕ should disconnect client when it returns status with wrong version (7763 ms)
10:07:58
✕ should disconnect client when it returns an invalid status (7721 ms)
10:07:58
✕ propagates messages using mocked gossip sub network (7910 ms)
10:07:58
10:07:58
● p2p client integration › returns undefined if unable to find a transaction from another peer
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:07:58
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
10:07:58
10:07:58
● p2p client integration › can request a transaction from another peer
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:07:58
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
10:07:58
10:07:58
● p2p client integration › will penalize peers that send invalid proofs
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:07:58
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
10:07:58
10:07:58
● p2p client integration › will penalize peers that send the wrong transaction
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:07:58
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
10:07:58
10:07:58
● p2p client integration › will propagate messages to peers at the same version
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:07:58
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
10:07:58
10:07:58
● p2p client integration › should not disconnect clients when it returns correct status
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
10:07:58
10:07:58
● p2p client integration › should disconnect client when it returns status with wrong version
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
10:07:58
10:07:58
● p2p client integration › should disconnect client when it returns an invalid status
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
10:07:58
10:07:58
● p2p client integration › propagates messages using mocked gossip sub network
10:07:58
10:07:58 TypeError: config.peerIdPrivateKey.getValue is not a function
10:07:58
10:07:58
135 |
10:07:58
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:07:58
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:07:58
| ^
10:07:58
138 | if (peerIdPrivateKeyFilePath) {
10:07:58
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:07:58
140 | } else {
10:07:58
10:07:58
at getValue (util.ts:137:58)
10:07:58
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:07:58
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:07:58
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:07:58
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:07:58
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
10:07:58
10:07:58
Test Suites: 1 failed, 1 total
10:07:58
Tests: 9 failed, 9 total
10:07:58
Snapshots: 0 total
10:07:58
Time: 74.524 s
10:07:58
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
10:07:58
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?