Parent Log:
http://ci.aztec-labs.com/cd44163f3616f4c5
Command: b71f9d6a9e3f68ca: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/ee24aac96469b4f1cb8d70e614b2dd27bf0eb134
Env: REF_NAME=gh-readonly-queue/next/pr-15242-1c2c2ee2949dbe31742cc9501a31bf3bce8083cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 14:07:38 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
14:07:38 +++ id -u
14:07:38 +++ id -g
14:07:38 ++ 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'\'''
14:07:38 + cid=4f191f52b23cc17cef1916d3232b7337de87eb671a08a3b15f472ef2c45d8757
14:07:38 + set +x
14:07:40 {"level":25,"time":1750774060270,"pid":7,"hostname":"4f191f52b23c","module":"logger","msg":"Logger initialized with level debug"}
14:07:49 [14:07:49.640]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:07:49 [14:07:49.843]
DEBUG:
foundation:randomness_singleton Using true randomness
14:07:50 {"level":20,"time":1750774069912,"pid":7,"hostname":"4f191f52b23c","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:07:50 {"level":20,"time":1750774070128,"pid":7,"hostname":"4f191f52b23c","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
14:08:00 [14:08:00.196]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:00 [14:08:00.202]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-tu2nN5 with size: 10485760 KB (LMDB v2)
14:08:00 [14:08:00.203]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:00 [14:08:00.210]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ynSXBD with size: 10485760 KB (LMDB v2)
14:08:00 [14:08:00.210]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:00 [14:08:00.212]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vhKbw7 with size: 10485760 KB (LMDB v2)
14:08:00 [14:08:00.213]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:00 [14:08:00.215]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:00 [14:08:00.216]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:08:00 [14:08:00.217]
INFO:
p2p:test:integration Shut down p2p clients
14:08:00 [14:08:00.247]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:08:00 {"level":20,"time":1750774070197,"pid":7,"hostname":"4f191f52b23c","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:08:00 {"level":20,"time":1750774070197,"pid":7,"hostname":"4f191f52b23c","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:08:09 [14:08:09.855]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:09 [14:08:09.859]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-VVb7f1 with size: 10485760 KB (LMDB v2)
14:08:09 [14:08:09.860]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:09 [14:08:09.863]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-rPLQEc with size: 10485760 KB (LMDB v2)
14:08:09 [14:08:09.864]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:09 [14:08:09.866]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-VQeuEN with size: 10485760 KB (LMDB v2)
14:08:09 [14:08:09.867]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:09 [14:08:09.868]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:09 [14:08:09.869]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:08:09 [14:08:09.870]
INFO:
p2p:test:integration Shut down p2p clients
14:08:09 [14:08:09.872]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:08:19 [14:08:19.389]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:19 [14:08:19.393]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8FckyU with size: 10485760 KB (LMDB v2)
14:08:19 [14:08:19.394]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:19 [14:08:19.397]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-L6XJbk with size: 10485760 KB (LMDB v2)
14:08:19 [14:08:19.397]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:19 [14:08:19.400]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-kiQWwH with size: 10485760 KB (LMDB v2)
14:08:19 [14:08:19.400]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:19 [14:08:19.403]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:19 [14:08:19.404]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:08:19 [14:08:19.404]
INFO:
p2p:test:integration Shut down p2p clients
14:08:19 [14:08:19.407]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
14:08:29 [14:08:29.861]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:29 [14:08:29.865]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-9M3b4L with size: 10485760 KB (LMDB v2)
14:08:29 [14:08:29.865]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:29 [14:08:29.869]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-vN7JfB with size: 10485760 KB (LMDB v2)
14:08:29 [14:08:29.869]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:29 [14:08:29.871]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CkNDH5 with size: 10485760 KB (LMDB v2)
14:08:29 [14:08:29.872]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:29 [14:08:29.874]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:29 [14:08:29.875]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
14:08:29 [14:08:29.875]
INFO:
p2p:test:integration Shut down p2p clients
14:08:29 [14:08:29.878]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
14:08:39 [14:08:39.948]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:39 [14:08:39.969]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ekpqek with size: 10485760 KB (LMDB v2)
14:08:39 [14:08:39.971]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:39 [14:08:39.974]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pkqi61 with size: 10485760 KB (LMDB v2)
14:08:39 [14:08:39.974]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:39 [14:08:39.977]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-BKKH3J with size: 10485760 KB (LMDB v2)
14:08:39 [14:08:39.977]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:39 [14:08:39.978]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:39 [14:08:39.979]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
14:08:39 [14:08:39.980]
INFO:
p2p:test:integration Shut down p2p clients
14:08:39 [14:08:39.981]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
14:08:50 [14:08:50.347]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:50 [14:08:50.351]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jaA6xq with size: 10485760 KB (LMDB v2)
14:08:50 [14:08:50.351]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:50 [14:08:50.366]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-godxHq with size: 10485760 KB (LMDB v2)
14:08:50 [14:08:50.366]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:50 [14:08:50.368]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-X2q0mb with size: 10485760 KB (LMDB v2)
14:08:50 [14:08:50.369]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:50 [14:08:50.374]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:50 [14:08:50.375]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
14:08:50 [14:08:50.375]
INFO:
p2p:test:integration Shut down p2p clients
14:08:50 [14:08:50.378]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
14:09:00 [14:09:00.644]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:09:00 [14:09:00.648]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JUnyvg with size: 10485760 KB (LMDB v2)
14:09:00 [14:09:00.649]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:09:00 [14:09:00.654]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uYti6K with size: 10485760 KB (LMDB v2)
14:09:00 [14:09:00.654]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:09:00 [14:09:00.657]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XglvEh with size: 10485760 KB (LMDB v2)
14:09:00 [14:09:00.658]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:09:00 [14:09:00.659]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:09:00 [14:09:00.660]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
14:09:00 [14:09:00.661]
INFO:
p2p:test:integration Shut down p2p clients
14:09:00 [14:09:00.663]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
14:09:11 [14:09:10.999]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:09:11 [14:09:11.002]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-J0yvom with size: 10485760 KB (LMDB v2)
14:09:11 [14:09:11.002]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:09:11 [14:09:11.005]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xRuFAU with size: 10485760 KB (LMDB v2)
14:09:11 [14:09:11.005]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:09:11 [14:09:11.007]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-etv1iU with size: 10485760 KB (LMDB v2)
14:09:11 [14:09:11.007]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:09:11 [14:09:11.009]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:09:11 [14:09:11.010]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
14:09:11 [14:09:11.010]
INFO:
p2p:test:integration Shut down p2p clients
14:09:11 [14:09:11.012]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
14:09:22 [14:09:22.162]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:09:22 [14:09:22.165]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-erjJA1 with size: 10485760 KB (LMDB v2)
14:09:22 [14:09:22.166]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:09:22 [14:09:22.171]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uzkQoJ with size: 10485760 KB (LMDB v2)
14:09:22 [14:09:22.171]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:09:22 [14:09:22.173]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ixJNNq with size: 10485760 KB (LMDB v2)
14:09:22 [14:09:22.173]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:09:22 [14:09:22.175]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:09:22 [14:09:22.176]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
14:09:22 [14:09:22.177]
INFO:
p2p:test:integration Shut down p2p clients
14:09:22
FAIL src/client/p2p_client.integration.test.ts (
102.245 s)
14:09:22 p2p client integration
14:09:22
✕ returns undefined if unable to find a transaction from another peer (10581 ms)
14:09:22
✕ can request a transaction from another peer (9625 ms)
14:09:22
✕ will penalize peers that send invalid proofs (9534 ms)
14:09:22
✕ will penalize peers that send the wrong transaction (10470 ms)
14:09:22
✕ will propagate messages to peers at the same version (10103 ms)
14:09:22
✕ should not disconnect clients when it returns correct status (10394 ms)
14:09:22
✕ should disconnect client when it returns status with wrong version (10284 ms)
14:09:22
✕ should disconnect client when it returns an invalid status (10348 ms)
14:09:22
✕ propagates messages using mocked gossip sub network (11166 ms)
14:09:22
14:09:22
● p2p client integration › returns undefined if unable to find a transaction from another peer
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
14:09:22
14:09:22
● p2p client integration › can request a transaction from another peer
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
14:09:22
14:09:22
● p2p client integration › will penalize peers that send invalid proofs
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
14:09:22
14:09:22
● p2p client integration › will penalize peers that send the wrong transaction
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
14:09:22
14:09:22
● p2p client integration › will propagate messages to peers at the same version
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
14:09:22
14:09:22
● p2p client integration › should not disconnect clients when it returns correct status
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
14:09:22
14:09:22
● p2p client integration › should disconnect client when it returns status with wrong version
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
14:09:22
14:09:22
● p2p client integration › should disconnect client when it returns an invalid status
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
14:09:22
14:09:22
● p2p client integration › propagates messages using mocked gossip sub network
14:09:22
14:09:22 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:22
14:09:22
135 |
14:09:22
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:09:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:22
| ^
14:09:22
138 | if (peerIdPrivateKeyFilePath) {
14:09:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:22
140 | } else {
14:09:22
14:09:22
at getValue (util.ts:137:58)
14:09:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
14:09:22
14:09:22
Test Suites: 1 failed, 1 total
14:09:22
Tests: 9 failed, 9 total
14:09:22
Snapshots: 0 total
14:09:22
Time: 102.373 s
14:09:22
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
14:09:22
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?