Parent Log:
http://ci.aztec-labs.com/ac35d2fca3044326
Command: ca0909fea864dc4d: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/534f06e45f48274efd53a2204c90cb0b91a53efb
Env: REF_NAME=gh-readonly-queue/next/pr-15230-ad85cda24c2f9b5b4b17d4921f8597b71949bb6c CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 20:52:06 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15230_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
20:52:06 +++ id -u
20:52:06 +++ id -g
20:52:06 ++ 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'\'''
20:52:06 + cid=2b82c7748a9b566a2ee9f29bc69969238f746c8dda8b5d08ae343ac6e5fb2af8
20:52:06 + set +x
20:52:07 {"level":25,"time":1750798327978,"pid":7,"hostname":"2b82c7748a9b","module":"logger","msg":"Logger initialized with level debug"}
20:52:14 [20:52:14.253]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
20:52:14 [20:52:14.320]
DEBUG:
foundation:randomness_singleton Using true randomness
20:52:14 {"level":20,"time":1750798334371,"pid":7,"hostname":"2b82c7748a9b","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
20:52:14 {"level":20,"time":1750798334536,"pid":7,"hostname":"2b82c7748a9b","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
20:52:23 [20:52:23.883]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:52:23 [20:52:23.886]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pbsQ2z with size: 10485760 KB (LMDB v2)
20:52:23 [20:52:23.887]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:52:23 [20:52:23.892]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-5NnFEx with size: 10485760 KB (LMDB v2)
20:52:23 [20:52:23.893]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:52:23 [20:52:23.894]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gIS0Ya with size: 10485760 KB (LMDB v2)
20:52:23 [20:52:23.895]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:52:23 [20:52:23.896]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:52:23 [20:52:23.897]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
20:52:23 [20:52:23.898]
INFO:
p2p:test:integration Shut down p2p clients
20:52:23 [20:52:23.916]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
20:52:24 {"level":20,"time":1750798334559,"pid":7,"hostname":"2b82c7748a9b","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
20:52:24 {"level":20,"time":1750798334560,"pid":7,"hostname":"2b82c7748a9b","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"}
20:52:33 [20:52:33.261]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:52:33 [20:52:33.262]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-b2sDCJ with size: 10485760 KB (LMDB v2)
20:52:33 [20:52:33.263]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:52:33 [20:52:33.264]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lBg4ij with size: 10485760 KB (LMDB v2)
20:52:33 [20:52:33.264]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:52:33 [20:52:33.265]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JFeCFm with size: 10485760 KB (LMDB v2)
20:52:33 [20:52:33.266]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:52:33 [20:52:33.266]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:52:33 [20:52:33.267]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
20:52:33 [20:52:33.267]
INFO:
p2p:test:integration Shut down p2p clients
20:52:33 [20:52:33.269]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
20:52:42 [20:52:42.667]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:52:42 [20:52:42.668]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uNiU9b with size: 10485760 KB (LMDB v2)
20:52:42 [20:52:42.669]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:52:42 [20:52:42.670]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-kGi1Di with size: 10485760 KB (LMDB v2)
20:52:42 [20:52:42.670]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:52:42 [20:52:42.671]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-8C2DuN with size: 10485760 KB (LMDB v2)
20:52:42 [20:52:42.672]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:52:42 [20:52:42.673]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:52:42 [20:52:42.673]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
20:52:42 [20:52:42.673]
INFO:
p2p:test:integration Shut down p2p clients
20:52:42 [20:52:42.674]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
20:52:52 [20:52:52.336]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:52:52 [20:52:52.338]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-NCoIRb with size: 10485760 KB (LMDB v2)
20:52:52 [20:52:52.338]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:52:52 [20:52:52.339]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iWFAE6 with size: 10485760 KB (LMDB v2)
20:52:52 [20:52:52.340]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:52:52 [20:52:52.351]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-YJmtXF with size: 10485760 KB (LMDB v2)
20:52:52 [20:52:52.351]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:52:52 [20:52:52.353]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:52:52 [20:52:52.354]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
20:52:52 [20:52:52.354]
INFO:
p2p:test:integration Shut down p2p clients
20:52:52 [20:52:52.356]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
20:53:02 [20:53:02.120]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:53:02 [20:53:02.121]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1NK0RY with size: 10485760 KB (LMDB v2)
20:53:02 [20:53:02.121]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:53:02 [20:53:02.124]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TJblsF with size: 10485760 KB (LMDB v2)
20:53:02 [20:53:02.125]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:53:02 [20:53:02.126]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zm3FgS with size: 10485760 KB (LMDB v2)
20:53:02 [20:53:02.126]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:53:02 [20:53:02.128]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:53:02 [20:53:02.128]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
20:53:02 [20:53:02.129]
INFO:
p2p:test:integration Shut down p2p clients
20:53:02 [20:53:02.130]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
20:53:11 [20:53:11.906]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:53:11 [20:53:11.907]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bVTDV6 with size: 10485760 KB (LMDB v2)
20:53:11 [20:53:11.907]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:53:11 [20:53:11.909]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-E1J3JY with size: 10485760 KB (LMDB v2)
20:53:11 [20:53:11.909]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:53:11 [20:53:11.910]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6j46aO with size: 10485760 KB (LMDB v2)
20:53:11 [20:53:11.911]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:53:11 [20:53:11.911]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:53:11 [20:53:11.912]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
20:53:11 [20:53:11.912]
INFO:
p2p:test:integration Shut down p2p clients
20:53:11 [20:53:11.913]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
20:53:22 [20:53:22.031]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:53:22 [20:53:22.032]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2F6o1q with size: 10485760 KB (LMDB v2)
20:53:22 [20:53:22.032]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:53:22 [20:53:22.035]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2Wmcdt with size: 10485760 KB (LMDB v2)
20:53:22 [20:53:22.035]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:53:22 [20:53:22.036]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-0Roxak with size: 10485760 KB (LMDB v2)
20:53:22 [20:53:22.036]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:53:22 [20:53:22.037]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:53:22 [20:53:22.038]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
20:53:22 [20:53:22.038]
INFO:
p2p:test:integration Shut down p2p clients
20:53:22 [20:53:22.039]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
20:53:31 [20:53:31.708]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:53:31 [20:53:31.709]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-wiFQiz with size: 10485760 KB (LMDB v2)
20:53:31 [20:53:31.710]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:53:31 [20:53:31.711]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bwS7dK with size: 10485760 KB (LMDB v2)
20:53:31 [20:53:31.711]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:53:31 [20:53:31.712]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TflnNY with size: 10485760 KB (LMDB v2)
20:53:31 [20:53:31.712]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:53:31 [20:53:31.713]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:53:31 [20:53:31.713]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
20:53:31 [20:53:31.714]
INFO:
p2p:test:integration Shut down p2p clients
20:53:31 [20:53:31.715]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
20:53:41 [20:53:41.390]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:53:41 [20:53:41.391]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-267SJD with size: 10485760 KB (LMDB v2)
20:53:41 [20:53:41.391]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:53:41 [20:53:41.392]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-PIJUBS with size: 10485760 KB (LMDB v2)
20:53:41 [20:53:41.393]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:53:41 [20:53:41.393]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DyVcDI with size: 10485760 KB (LMDB v2)
20:53:41 [20:53:41.394]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:53:41 [20:53:41.394]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:53:41 [20:53:41.395]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
20:53:41 [20:53:41.395]
INFO:
p2p:test:integration Shut down p2p clients
20:53:41
FAIL src/client/p2p_client.integration.test.ts (
93.685 s)
20:53:41 p2p client integration
20:53:41
✕ returns undefined if unable to find a transaction from another peer (9648 ms)
20:53:41
✕ can request a transaction from another peer (9352 ms)
20:53:41
✕ will penalize peers that send invalid proofs (9405 ms)
20:53:41
✕ will penalize peers that send the wrong transaction (9680 ms)
20:53:41
✕ will propagate messages to peers at the same version (9774 ms)
20:53:41
✕ should not disconnect clients when it returns correct status (9783 ms)
20:53:41
✕ should disconnect client when it returns status with wrong version (10125 ms)
20:53:41
✕ should disconnect client when it returns an invalid status (9675 ms)
20:53:41
✕ propagates messages using mocked gossip sub network (9682 ms)
20:53:41
20:53:41
● p2p client integration › returns undefined if unable to find a transaction from another peer
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:53:41
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
20:53:41
20:53:41
● p2p client integration › can request a transaction from another peer
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:53:41
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
20:53:41
20:53:41
● p2p client integration › will penalize peers that send invalid proofs
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:53:41
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
20:53:41
20:53:41
● p2p client integration › will penalize peers that send the wrong transaction
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:53:41
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
20:53:41
20:53:41
● p2p client integration › will propagate messages to peers at the same version
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:53:41
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
20:53:41
20:53:41
● p2p client integration › should not disconnect clients when it returns correct status
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
20:53:41
20:53:41
● p2p client integration › should disconnect client when it returns status with wrong version
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
20:53:41
20:53:41
● p2p client integration › should disconnect client when it returns an invalid status
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
20:53:41
20:53:41
● p2p client integration › propagates messages using mocked gossip sub network
20:53:41
20:53:41 TypeError: config.peerIdPrivateKey.getValue is not a function
20:53:41
20:53:41
135 |
20:53:41
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:53:41
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:53:41
| ^
20:53:41
138 | if (peerIdPrivateKeyFilePath) {
20:53:41
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:53:41
140 | } else {
20:53:41
20:53:41
at getValue (util.ts:137:58)
20:53:41
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:53:41
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:53:41
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:53:41
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:53:41
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
20:53:41
20:53:41
Test Suites: 1 failed, 1 total
20:53:41
Tests: 9 failed, 9 total
20:53:41
Snapshots: 0 total
20:53:41
Time: 93.762 s
20:53:41
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
20:53:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?