Parent Log:
http://ci.aztec-labs.com/b1bd5590958d7459
Command: 84c999e211bb73e4: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/3863bc02d671057d0cffd4ced17ca317788ff190
Env: REF_NAME=gh-readonly-queue/staging/pr-15238-db396f13b7ef374a230174bdc4078d9fbb3c788a CURRENT_VERSION=1.0.0 CI_FULL=1
Date: Tue Jun 24 12:12:58 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15238_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging
12:12:58 +++ id -u
12:12:58 +++ id -g
12:12:58 ++ 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'\'''
12:12:59 + cid=cb32a781708687a879bc1f036aa3f40ec3a06852a2bc58fb0ea9c9fb4e6ff355
12:12:59 + set +x
12:13:00 {"level":25,"time":1750767180986,"pid":7,"hostname":"cb32a7817086","module":"logger","msg":"Logger initialized with level debug"}
12:13:11 [12:13:11.259]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
12:13:11 [12:13:11.346]
DEBUG:
foundation:randomness_singleton Using true randomness
12:13:12 {"level":20,"time":1750767191414,"pid":7,"hostname":"cb32a7817086","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
12:13:12 {"level":20,"time":1750767191601,"pid":7,"hostname":"cb32a7817086","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
12:13:21 [12:13:21.786]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:21 [12:13:21.792]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-4EUsx1 with size: 10485760 KB (LMDB v2)
12:13:21 [12:13:21.793]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:21 [12:13:21.800]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZoYiEY with size: 10485760 KB (LMDB v2)
12:13:21 [12:13:21.800]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:21 [12:13:21.802]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gYH79c with size: 10485760 KB (LMDB v2)
12:13:21 [12:13:21.803]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:21 [12:13:21.805]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:21 [12:13:21.806]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
12:13:21 [12:13:21.806]
INFO:
p2p:test:integration Shut down p2p clients
12:13:21 [12:13:21.826]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
12:13:22 {"level":20,"time":1750767191647,"pid":7,"hostname":"cb32a7817086","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
12:13:22 {"level":20,"time":1750767191648,"pid":7,"hostname":"cb32a7817086","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"}
12:13:31 [12:13:31.100]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:31 [12:13:31.103]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0GXULp with size: 10485760 KB (LMDB v2)
12:13:31 [12:13:31.104]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:31 [12:13:31.107]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-hECsX3 with size: 10485760 KB (LMDB v2)
12:13:31 [12:13:31.108]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:31 [12:13:31.113]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-QbjqPJ with size: 10485760 KB (LMDB v2)
12:13:31 [12:13:31.114]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:31 [12:13:31.118]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:31 [12:13:31.120]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
12:13:31 [12:13:31.120]
INFO:
p2p:test:integration Shut down p2p clients
12:13:31 [12:13:31.124]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
12:13:40 [12:13:40.758]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:40 [12:13:40.776]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kjvblt with size: 10485760 KB (LMDB v2)
12:13:40 [12:13:40.778]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:40 [12:13:40.782]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-OSVMCd with size: 10485760 KB (LMDB v2)
12:13:40 [12:13:40.783]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:40 [12:13:40.787]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ASM0Oc with size: 10485760 KB (LMDB v2)
12:13:40 [12:13:40.787]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:40 [12:13:40.791]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:40 [12:13:40.793]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
12:13:40 [12:13:40.793]
INFO:
p2p:test:integration Shut down p2p clients
12:13:40 [12:13:40.796]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
12:13:51 [12:13:51.476]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:51 [12:13:51.479]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9TJZTm with size: 10485760 KB (LMDB v2)
12:13:51 [12:13:51.480]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:51 [12:13:51.482]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-i4MrUI with size: 10485760 KB (LMDB v2)
12:13:51 [12:13:51.482]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:51 [12:13:51.484]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-58cCJM with size: 10485760 KB (LMDB v2)
12:13:51 [12:13:51.484]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:51 [12:13:51.486]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:51 [12:13:51.487]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
12:13:51 [12:13:51.488]
INFO:
p2p:test:integration Shut down p2p clients
12:13:51 [12:13:51.490]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
12:14:01 [12:14:01.384]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:01 [12:14:01.387]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-faLboq with size: 10485760 KB (LMDB v2)
12:14:01 [12:14:01.388]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:01 [12:14:01.391]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-A8uyRU with size: 10485760 KB (LMDB v2)
12:14:01 [12:14:01.391]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:01 [12:14:01.393]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zaQQAx with size: 10485760 KB (LMDB v2)
12:14:01 [12:14:01.394]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:01 [12:14:01.396]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:01 [12:14:01.397]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
12:14:01 [12:14:01.397]
INFO:
p2p:test:integration Shut down p2p clients
12:14:01 [12:14:01.400]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
12:14:12 [12:14:12.010]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:12 [12:14:12.013]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6I3tOy with size: 10485760 KB (LMDB v2)
12:14:12 [12:14:12.013]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:12 [12:14:12.016]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-p6p9o1 with size: 10485760 KB (LMDB v2)
12:14:12 [12:14:12.016]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:12 [12:14:12.018]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-JVvynI with size: 10485760 KB (LMDB v2)
12:14:12 [12:14:12.018]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:12 [12:14:12.020]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:12 [12:14:12.021]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
12:14:12 [12:14:12.021]
INFO:
p2p:test:integration Shut down p2p clients
12:14:12 [12:14:12.023]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
12:14:22 [12:14:22.297]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:22 [12:14:22.316]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-4lvW7s with size: 10485760 KB (LMDB v2)
12:14:22 [12:14:22.318]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:22 [12:14:22.322]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tq5tZb with size: 10485760 KB (LMDB v2)
12:14:22 [12:14:22.323]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:22 [12:14:22.325]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2hM5Bw with size: 10485760 KB (LMDB v2)
12:14:22 [12:14:22.325]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:22 [12:14:22.327]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:22 [12:14:22.328]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
12:14:22 [12:14:22.328]
INFO:
p2p:test:integration Shut down p2p clients
12:14:22 [12:14:22.330]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
12:14:32 [12:14:32.998]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:33 [12:14:33.001]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Z2oqny with size: 10485760 KB (LMDB v2)
12:14:33 [12:14:33.001]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:33 [12:14:33.004]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tyYvab with size: 10485760 KB (LMDB v2)
12:14:33 [12:14:33.004]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:33 [12:14:33.006]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TFRGeV with size: 10485760 KB (LMDB v2)
12:14:33 [12:14:33.007]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:33 [12:14:33.008]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:33 [12:14:33.009]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
12:14:33 [12:14:33.009]
INFO:
p2p:test:integration Shut down p2p clients
12:14:33 [12:14:33.012]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
12:14:43 [12:14:43.734]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:14:43 [12:14:43.737]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oUfatt with size: 10485760 KB (LMDB v2)
12:14:43 [12:14:43.737]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:14:43 [12:14:43.739]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8COkv6 with size: 10485760 KB (LMDB v2)
12:14:43 [12:14:43.740]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:14:43 [12:14:43.741]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rXYVWa with size: 10485760 KB (LMDB v2)
12:14:43 [12:14:43.742]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:14:43 [12:14:43.743]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:14:43 [12:14:43.745]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
12:14:43 [12:14:43.745]
INFO:
p2p:test:integration Shut down p2p clients
12:14:43
FAIL src/client/p2p_client.integration.test.ts (
103.131 s)
12:14:43 p2p client integration
12:14:43
✕ returns undefined if unable to find a transaction from another peer (10551 ms)
12:14:43
✕ can request a transaction from another peer (9296 ms)
12:14:43
✕ will penalize peers that send invalid proofs (9671 ms)
12:14:43
✕ will penalize peers that send the wrong transaction (10693 ms)
12:14:43
✕ will propagate messages to peers at the same version (9909 ms)
12:14:43
✕ should not disconnect clients when it returns correct status (10622 ms)
12:14:43
✕ should disconnect client when it returns status with wrong version (10305 ms)
12:14:43
✕ should disconnect client when it returns an invalid status (10681 ms)
12:14:43
✕ propagates messages using mocked gossip sub network (10734 ms)
12:14:43
12:14:43
● p2p client integration › returns undefined if unable to find a transaction from another peer
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:14:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
12:14:43
12:14:43
● p2p client integration › can request a transaction from another peer
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:14:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
12:14:43
12:14:43
● p2p client integration › will penalize peers that send invalid proofs
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:14:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
12:14:43
12:14:43
● p2p client integration › will penalize peers that send the wrong transaction
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:14:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
12:14:43
12:14:43
● p2p client integration › will propagate messages to peers at the same version
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:14:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
12:14:43
12:14:43
● p2p client integration › should not disconnect clients when it returns correct status
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
12:14:43
12:14:43
● p2p client integration › should disconnect client when it returns status with wrong version
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
12:14:43
12:14:43
● p2p client integration › should disconnect client when it returns an invalid status
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
12:14:43
12:14:43
● p2p client integration › propagates messages using mocked gossip sub network
12:14:43
12:14:43 TypeError: config.peerIdPrivateKey.getValue is not a function
12:14:43
12:14:43
135 |
12:14:43
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:14:43
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:14:43
| ^
12:14:43
138 | if (peerIdPrivateKeyFilePath) {
12:14:43
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:14:43
140 | } else {
12:14:43
12:14:43
at getValue (util.ts:137:58)
12:14:43
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:14:43
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:14:43
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:14:43
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:14:43
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
12:14:43
12:14:43
Test Suites: 1 failed, 1 total
12:14:43
Tests: 9 failed, 9 total
12:14:43
Snapshots: 0 total
12:14:43
Time: 103.239 s
12:14:43
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
12:14:43
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?