Parent Log:
http://ci.aztec-labs.com/91e855bd8ec1fae9
Command: 8f8160a76cd521c1: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/282da3bd25d49b92970e6fc85f110092e8566299
Env: REF_NAME=gh-readonly-queue/next/pr-14610-ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 14:17:36 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14610_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
14:17:36 +++ id -u
14:17:36 +++ id -g
14:17:36 ++ 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'\'''
14:17:36 + cid=47de0b9f85b8ea6d670fc3a2340f7b9fd346d0abdba500824bf0ae0bb2d3ba19
14:17:36 + set +x
14:17:37 {"level":25,"time":1750774657406,"pid":7,"hostname":"47de0b9f85b8","module":"logger","msg":"Logger initialized with level debug"}
14:17:43 [14:17:43.562]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:17:43 [14:17:43.628]
DEBUG:
foundation:randomness_singleton Using true randomness
14:17:44 {"level":20,"time":1750774663675,"pid":7,"hostname":"47de0b9f85b8","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:17:44 {"level":20,"time":1750774663860,"pid":7,"hostname":"47de0b9f85b8","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
14:17:51 [14:17:51.315]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:17:51 [14:17:51.317]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-CGOQVL with size: 10485760 KB (LMDB v2)
14:17:51 [14:17:51.318]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:17:51 [14:17:51.323]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4yQDq9 with size: 10485760 KB (LMDB v2)
14:17:51 [14:17:51.324]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:17:51 [14:17:51.325]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6sNo8b with size: 10485760 KB (LMDB v2)
14:17:51 [14:17:51.326]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:17:51 [14:17:51.327]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:17:51 [14:17:51.328]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:17:51 [14:17:51.328]
INFO:
p2p:test:integration Shut down p2p clients
14:17:51 [14:17:51.346]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:17:52 {"level":20,"time":1750774663883,"pid":7,"hostname":"47de0b9f85b8","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:17:52 {"level":20,"time":1750774663883,"pid":7,"hostname":"47de0b9f85b8","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"}
14:17:58 [14:17:58.632]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:17:58 [14:17:58.633]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2jC33U with size: 10485760 KB (LMDB v2)
14:17:58 [14:17:58.633]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:17:58 [14:17:58.635]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ozTfzT with size: 10485760 KB (LMDB v2)
14:17:58 [14:17:58.635]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:17:58 [14:17:58.636]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wLTgEN with size: 10485760 KB (LMDB v2)
14:17:58 [14:17:58.637]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:17:58 [14:17:58.637]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:17:58 [14:17:58.638]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:17:58 [14:17:58.638]
INFO:
p2p:test:integration Shut down p2p clients
14:17:58 [14:17:58.640]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:18:05 [14:18:05.986]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:05 [14:18:05.987]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-KtjoZm with size: 10485760 KB (LMDB v2)
14:18:05 [14:18:05.988]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:05 [14:18:05.989]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-rQ6WLq with size: 10485760 KB (LMDB v2)
14:18:05 [14:18:05.989]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:05 [14:18:05.990]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-zUsnnK with size: 10485760 KB (LMDB v2)
14:18:05 [14:18:05.990]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:05 [14:18:05.991]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:05 [14:18:05.992]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:18:05 [14:18:05.992]
INFO:
p2p:test:integration Shut down p2p clients
14:18:05 [14:18:05.993]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
14:18:13 [14:18:13.597]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:13 [14:18:13.609]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-tEcHBE with size: 10485760 KB (LMDB v2)
14:18:13 [14:18:13.609]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:13 [14:18:13.610]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8kdNwn with size: 10485760 KB (LMDB v2)
14:18:13 [14:18:13.611]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:13 [14:18:13.611]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-a5KX5r with size: 10485760 KB (LMDB v2)
14:18:13 [14:18:13.612]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:13 [14:18:13.612]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:13 [14:18:13.613]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
14:18:13 [14:18:13.613]
INFO:
p2p:test:integration Shut down p2p clients
14:18:13 [14:18:13.615]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
14:18:21 [14:18:21.676]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:21 [14:18:21.677]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-5aKjd4 with size: 10485760 KB (LMDB v2)
14:18:21 [14:18:21.677]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:21 [14:18:21.678]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VadAI4 with size: 10485760 KB (LMDB v2)
14:18:21 [14:18:21.679]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:21 [14:18:21.680]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NYU8AK with size: 10485760 KB (LMDB v2)
14:18:21 [14:18:21.680]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:21 [14:18:21.681]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:21 [14:18:21.681]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
14:18:21 [14:18:21.682]
INFO:
p2p:test:integration Shut down p2p clients
14:18:21 [14:18:21.683]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
14:18:29 [14:18:29.549]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:29 [14:18:29.550]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TzFoXs with size: 10485760 KB (LMDB v2)
14:18:29 [14:18:29.550]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:29 [14:18:29.551]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cPmcYn with size: 10485760 KB (LMDB v2)
14:18:29 [14:18:29.551]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:29 [14:18:29.552]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ifPdGZ with size: 10485760 KB (LMDB v2)
14:18:29 [14:18:29.552]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:29 [14:18:29.553]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:29 [14:18:29.554]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
14:18:29 [14:18:29.554]
INFO:
p2p:test:integration Shut down p2p clients
14:18:29 [14:18:29.555]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
14:18:37 [14:18:37.355]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:37 [14:18:37.356]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gU3JLc with size: 10485760 KB (LMDB v2)
14:18:37 [14:18:37.357]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:37 [14:18:37.358]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-l4VJtv with size: 10485760 KB (LMDB v2)
14:18:37 [14:18:37.358]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:37 [14:18:37.359]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fdJGOr with size: 10485760 KB (LMDB v2)
14:18:37 [14:18:37.359]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:37 [14:18:37.360]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:37 [14:18:37.360]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
14:18:37 [14:18:37.360]
INFO:
p2p:test:integration Shut down p2p clients
14:18:37 [14:18:37.361]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
14:18:45 [14:18:45.415]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:45 [14:18:45.426]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uTTkhT with size: 10485760 KB (LMDB v2)
14:18:45 [14:18:45.428]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:45 [14:18:45.430]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-AJecUC with size: 10485760 KB (LMDB v2)
14:18:45 [14:18:45.430]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:45 [14:18:45.431]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FnLuNW with size: 10485760 KB (LMDB v2)
14:18:45 [14:18:45.431]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:45 [14:18:45.432]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:45 [14:18:45.433]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
14:18:45 [14:18:45.433]
INFO:
p2p:test:integration Shut down p2p clients
14:18:45 [14:18:45.434]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
14:18:53 [14:18:53.524]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:53 [14:18:53.525]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-m4DdAU with size: 10485760 KB (LMDB v2)
14:18:53 [14:18:53.525]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:53 [14:18:53.527]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-HM8NRd with size: 10485760 KB (LMDB v2)
14:18:53 [14:18:53.527]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:53 [14:18:53.528]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-z5hbNr with size: 10485760 KB (LMDB v2)
14:18:53 [14:18:53.528]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:53 [14:18:53.529]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:53 [14:18:53.530]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
14:18:53 [14:18:53.530]
INFO:
p2p:test:integration Shut down p2p clients
14:18:53
FAIL src/client/p2p_client.integration.test.ts (
76.399 s)
14:18:53 p2p client integration
14:18:53
✕ returns undefined if unable to find a transaction from another peer (7770 ms)
14:18:53
✕ can request a transaction from another peer (7293 ms)
14:18:53
✕ will penalize peers that send invalid proofs (7353 ms)
14:18:53
✕ will penalize peers that send the wrong transaction (7620 ms)
14:18:53
✕ will propagate messages to peers at the same version (8068 ms)
14:18:53
✕ should not disconnect clients when it returns correct status (7872 ms)
14:18:53
✕ should disconnect client when it returns status with wrong version (7806 ms)
14:18:53
✕ should disconnect client when it returns an invalid status (8072 ms)
14:18:53
✕ propagates messages using mocked gossip sub network (8096 ms)
14:18:53
14:18:53
● p2p client integration › returns undefined if unable to find a transaction from another peer
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:18:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
14:18:53
14:18:53
● p2p client integration › can request a transaction from another peer
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:18:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
14:18:53
14:18:53
● p2p client integration › will penalize peers that send invalid proofs
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:18:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
14:18:53
14:18:53
● p2p client integration › will penalize peers that send the wrong transaction
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:18:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
14:18:53
14:18:53
● p2p client integration › will propagate messages to peers at the same version
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:18:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
14:18:53
14:18:53
● p2p client integration › should not disconnect clients when it returns correct status
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
14:18:53
14:18:53
● p2p client integration › should disconnect client when it returns status with wrong version
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
14:18:53
14:18:53
● p2p client integration › should disconnect client when it returns an invalid status
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
14:18:53
14:18:53
● p2p client integration › propagates messages using mocked gossip sub network
14:18:53
14:18:53 TypeError: config.peerIdPrivateKey.getValue is not a function
14:18:53
14:18:53
135 |
14:18:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
14:18:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:18:53
| ^
14:18:53
138 | if (peerIdPrivateKeyFilePath) {
14:18:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:18:53
140 | } else {
14:18:53
14:18:53
at getValue (util.ts:137:58)
14:18:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:18:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:18:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:18:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:18:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
14:18:53
14:18:53
Test Suites: 1 failed, 1 total
14:18:53
Tests: 9 failed, 9 total
14:18:53
Snapshots: 0 total
14:18:53
Time: 76.476 s
14:18:53
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
14:18:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?