Parent Log:
http://ci.aztec-labs.com/413dbcd157b13aee
Command: 69b6d6ef87c6fae3: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=0
Date: Tue Jun 24 11:50:59 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15237_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
11:50:59 +++ id -u
11:50:59 +++ id -g
11:50:59 ++ 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'\'''
11:51:00 + cid=8fb206710cee25e0ffaea63a2ea23a9b16e983f9cbedf9c192424484d273fa52
11:51:00 + set +x
11:51:01 {"level":25,"time":1750765861529,"pid":7,"hostname":"8fb206710cee","module":"logger","msg":"Logger initialized with level debug"}
11:51:06 [11:51:06.988]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
11:51:07 [11:51:07.078]
DEBUG:
foundation:randomness_singleton Using true randomness
11:51:07 {"level":20,"time":1750765867133,"pid":7,"hostname":"8fb206710cee","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
11:51:07 {"level":20,"time":1750765867285,"pid":7,"hostname":"8fb206710cee","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
11:51:16 [11:51:16.840]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:51:16 [11:51:16.842]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-hVWxPP with size: 10485760 KB (LMDB v2)
11:51:16 [11:51:16.842]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:51:16 [11:51:16.848]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dgAqpx with size: 10485760 KB (LMDB v2)
11:51:16 [11:51:16.848]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:51:16 [11:51:16.849]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-l2Pvnb with size: 10485760 KB (LMDB v2)
11:51:16 [11:51:16.850]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:51:16 [11:51:16.851]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:51:16 [11:51:16.852]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
11:51:16 [11:51:16.852]
INFO:
p2p:test:integration Shut down p2p clients
11:51:16 [11:51:16.869]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
11:51:17 {"level":20,"time":1750765867306,"pid":7,"hostname":"8fb206710cee","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
11:51:17 {"level":20,"time":1750765867307,"pid":7,"hostname":"8fb206710cee","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:51:26 [11:51:26.341]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:51:26 [11:51:26.350]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pXnUJp with size: 10485760 KB (LMDB v2)
11:51:26 [11:51:26.350]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:51:26 [11:51:26.351]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZwlD27 with size: 10485760 KB (LMDB v2)
11:51:26 [11:51:26.352]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:51:26 [11:51:26.353]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2xTMhI with size: 10485760 KB (LMDB v2)
11:51:26 [11:51:26.353]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:51:26 [11:51:26.354]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:51:26 [11:51:26.354]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
11:51:26 [11:51:26.354]
INFO:
p2p:test:integration Shut down p2p clients
11:51:26 [11:51:26.356]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
11:51:35 [11:51:35.864]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:51:35 [11:51:35.865]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-CaQJ39 with size: 10485760 KB (LMDB v2)
11:51:35 [11:51:35.865]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:51:35 [11:51:35.866]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-umsdhp with size: 10485760 KB (LMDB v2)
11:51:35 [11:51:35.867]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:51:35 [11:51:35.868]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fu3uoR with size: 10485760 KB (LMDB v2)
11:51:35 [11:51:35.868]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:51:35 [11:51:35.869]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:51:35 [11:51:35.869]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
11:51:35 [11:51:35.869]
INFO:
p2p:test:integration Shut down p2p clients
11:51:35 [11:51:35.871]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
11:51:45 [11:51:45.324]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:51:45 [11:51:45.333]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qoXtu9 with size: 10485760 KB (LMDB v2)
11:51:45 [11:51:45.333]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:51:45 [11:51:45.334]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-W4AGuu with size: 10485760 KB (LMDB v2)
11:51:45 [11:51:45.334]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:51:45 [11:51:45.335]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-osxa0b with size: 10485760 KB (LMDB v2)
11:51:45 [11:51:45.335]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:51:45 [11:51:45.336]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:51:45 [11:51:45.336]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
11:51:45 [11:51:45.337]
INFO:
p2p:test:integration Shut down p2p clients
11:51:45 [11:51:45.338]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
11:51:54 [11:51:54.815]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:51:54 [11:51:54.815]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-qQ19G7 with size: 10485760 KB (LMDB v2)
11:51:54 [11:51:54.816]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:51:54 [11:51:54.817]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-csB1IV with size: 10485760 KB (LMDB v2)
11:51:54 [11:51:54.817]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:51:54 [11:51:54.818]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-efNkE8 with size: 10485760 KB (LMDB v2)
11:51:54 [11:51:54.818]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:51:54 [11:51:54.818]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:51:54 [11:51:54.819]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
11:51:54 [11:51:54.819]
INFO:
p2p:test:integration Shut down p2p clients
11:51:54 [11:51:54.820]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
11:52:04 [11:52:04.382]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:52:04 [11:52:04.383]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bfZwJs with size: 10485760 KB (LMDB v2)
11:52:04 [11:52:04.383]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:52:04 [11:52:04.384]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jljkNM with size: 10485760 KB (LMDB v2)
11:52:04 [11:52:04.384]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:52:04 [11:52:04.385]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-d8AgBV with size: 10485760 KB (LMDB v2)
11:52:04 [11:52:04.385]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:52:04 [11:52:04.386]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:52:04 [11:52:04.386]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
11:52:04 [11:52:04.386]
INFO:
p2p:test:integration Shut down p2p clients
11:52:04 [11:52:04.388]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
11:52:13 [11:52:13.983]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:52:13 [11:52:13.984]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ooVA0P with size: 10485760 KB (LMDB v2)
11:52:13 [11:52:13.984]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:52:13 [11:52:13.985]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tjAhbz with size: 10485760 KB (LMDB v2)
11:52:13 [11:52:13.986]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:52:13 [11:52:13.986]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TDP4zl with size: 10485760 KB (LMDB v2)
11:52:13 [11:52:13.987]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:52:13 [11:52:13.987]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:52:13 [11:52:13.988]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
11:52:13 [11:52:13.988]
INFO:
p2p:test:integration Shut down p2p clients
11:52:13 [11:52:13.989]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
11:52:23 [11:52:23.494]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:52:23 [11:52:23.495]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fm76xp with size: 10485760 KB (LMDB v2)
11:52:23 [11:52:23.496]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:52:23 [11:52:23.496]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4JIplN with size: 10485760 KB (LMDB v2)
11:52:23 [11:52:23.497]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:52:23 [11:52:23.497]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zYKrRg with size: 10485760 KB (LMDB v2)
11:52:23 [11:52:23.498]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:52:23 [11:52:23.498]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:52:23 [11:52:23.499]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
11:52:23 [11:52:23.499]
INFO:
p2p:test:integration Shut down p2p clients
11:52:23 [11:52:23.500]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
11:52:33 [11:52:33.042]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:52:33 [11:52:33.043]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rVxuGl with size: 10485760 KB (LMDB v2)
11:52:33 [11:52:33.043]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:52:33 [11:52:33.044]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-KBFQrS with size: 10485760 KB (LMDB v2)
11:52:33 [11:52:33.044]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:52:33 [11:52:33.045]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-e1U4jv with size: 10485760 KB (LMDB v2)
11:52:33 [11:52:33.045]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:52:33 [11:52:33.046]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:52:33 [11:52:33.046]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
11:52:33 [11:52:33.047]
INFO:
p2p:test:integration Shut down p2p clients
11:52:33
FAIL src/client/p2p_client.integration.test.ts (
91.767 s)
11:52:33 p2p client integration
11:52:33
✕ returns undefined if unable to find a transaction from another peer (9866 ms)
11:52:33
✕ can request a transaction from another peer (9487 ms)
11:52:33
✕ will penalize peers that send invalid proofs (9514 ms)
11:52:33
✕ will penalize peers that send the wrong transaction (9467 ms)
11:52:33
✕ will propagate messages to peers at the same version (9482 ms)
11:52:33
✕ should not disconnect clients when it returns correct status (9567 ms)
11:52:33
✕ should disconnect client when it returns status with wrong version (9601 ms)
11:52:33
✕ should disconnect client when it returns an invalid status (9510 ms)
11:52:33
✕ propagates messages using mocked gossip sub network (9548 ms)
11:52:33
11:52:33
● p2p client integration › returns undefined if unable to find a transaction from another peer
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:52:33
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
11:52:33
11:52:33
● p2p client integration › can request a transaction from another peer
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:52:33
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
11:52:33
11:52:33
● p2p client integration › will penalize peers that send invalid proofs
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:52:33
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
11:52:33
11:52:33
● p2p client integration › will penalize peers that send the wrong transaction
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:52:33
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
11:52:33
11:52:33
● p2p client integration › will propagate messages to peers at the same version
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:52:33
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
11:52:33
11:52:33
● p2p client integration › should not disconnect clients when it returns correct status
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
11:52:33
11:52:33
● p2p client integration › should disconnect client when it returns status with wrong version
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
11:52:33
11:52:33
● p2p client integration › should disconnect client when it returns an invalid status
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
11:52:33
11:52:33
● p2p client integration › propagates messages using mocked gossip sub network
11:52:33
11:52:33 TypeError: config.peerIdPrivateKey.getValue is not a function
11:52:33
11:52:33
135 |
11:52:33
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:52:33
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:52:33
| ^
11:52:33
138 | if (peerIdPrivateKeyFilePath) {
11:52:33
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:52:33
140 | } else {
11:52:33
11:52:33
at getValue (util.ts:137:58)
11:52:33
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:52:33
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:52:33
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:52:33
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:52:33
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
11:52:33
11:52:33
Test Suites: 1 failed, 1 total
11:52:33
Tests: 9 failed, 9 total
11:52:33
Snapshots: 0 total
11:52:33
Time: 91.842 s
11:52:33
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
11:52:33
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?