Parent Log:
http://ci.aztec-labs.com/4e4e7098dba7e181
Command: e4e37220d2336322: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=1
Date: Tue Jun 24 14:18:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
14:18:09 +++ id -u
14:18:09 +++ id -g
14:18:09 ++ 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:18:09 + cid=d6b07f810c5f1e3740fc610164fafde5f3492a88425be073805ce52c0f42aa14
14:18:09 + set +x
14:18:11 {"level":25,"time":1750774691381,"pid":7,"hostname":"d6b07f810c5f","module":"logger","msg":"Logger initialized with level debug"}
14:18:21 [14:18:21.671]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:18:21 [14:18:21.745]
DEBUG:
foundation:randomness_singleton Using true randomness
14:18:22 {"level":20,"time":1750774701823,"pid":7,"hostname":"d6b07f810c5f","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:18:22 {"level":20,"time":1750774702091,"pid":7,"hostname":"d6b07f810c5f","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
14:18:31 [14:18:31.398]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:31 [14:18:31.407]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bz2Fiw with size: 10485760 KB (LMDB v2)
14:18:31 [14:18:31.409]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:31 [14:18:31.418]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ndMFpJ with size: 10485760 KB (LMDB v2)
14:18:31 [14:18:31.419]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:31 [14:18:31.421]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-x1iLF6 with size: 10485760 KB (LMDB v2)
14:18:31 [14:18:31.422]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:31 [14:18:31.425]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:31 [14:18:31.427]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:18:31 [14:18:31.427]
INFO:
p2p:test:integration Shut down p2p clients
14:18:31 [14:18:31.447]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:18:31 {"level":20,"time":1750774702142,"pid":7,"hostname":"d6b07f810c5f","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:18:31 {"level":20,"time":1750774702142,"pid":7,"hostname":"d6b07f810c5f","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:18:39 [14:18:39.920]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:39 [14:18:39.922]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-X3QZtb with size: 10485760 KB (LMDB v2)
14:18:39 [14:18:39.923]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:39 [14:18:39.925]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-maLpA8 with size: 10485760 KB (LMDB v2)
14:18:39 [14:18:39.925]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:39 [14:18:39.927]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FBLWTZ with size: 10485760 KB (LMDB v2)
14:18:39 [14:18:39.927]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:39 [14:18:39.928]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:39 [14:18:39.929]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:18:39 [14:18:39.929]
INFO:
p2p:test:integration Shut down p2p clients
14:18:39 [14:18:39.932]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:18:49 [14:18:49.229]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:49 [14:18:49.231]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-uSS99v with size: 10485760 KB (LMDB v2)
14:18:49 [14:18:49.231]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:49 [14:18:49.234]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jseLom with size: 10485760 KB (LMDB v2)
14:18:49 [14:18:49.234]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:49 [14:18:49.236]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-T5jsSG with size: 10485760 KB (LMDB v2)
14:18:49 [14:18:49.236]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:49 [14:18:49.240]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:49 [14:18:49.241]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:18:49 [14:18:49.242]
INFO:
p2p:test:integration Shut down p2p clients
14:18:49 [14:18:49.244]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
14:18:59 [14:18:59.164]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:59 [14:18:59.171]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-oOJZV4 with size: 10485760 KB (LMDB v2)
14:18:59 [14:18:59.172]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:59 [14:18:59.184]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-tv5gjZ with size: 10485760 KB (LMDB v2)
14:18:59 [14:18:59.185]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:59 [14:18:59.187]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wpUBMn with size: 10485760 KB (LMDB v2)
14:18:59 [14:18:59.187]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:59 [14:18:59.189]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:59 [14:18:59.191]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
14:18:59 [14:18:59.191]
INFO:
p2p:test:integration Shut down p2p clients
14:18:59 [14:18:59.194]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
14:19:09 [14:19:09.017]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:09 [14:19:09.020]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MhUpVT with size: 10485760 KB (LMDB v2)
14:19:09 [14:19:09.020]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:09 [14:19:09.023]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ZXtdjc with size: 10485760 KB (LMDB v2)
14:19:09 [14:19:09.023]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:09 [14:19:09.026]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-WLze0w with size: 10485760 KB (LMDB v2)
14:19:09 [14:19:09.026]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:09 [14:19:09.028]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:09 [14:19:09.029]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
14:19:09 [14:19:09.029]
INFO:
p2p:test:integration Shut down p2p clients
14:19:09 [14:19:09.031]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
14:19:19 [14:19:19.132]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:19 [14:19:19.135]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-5AxieQ with size: 10485760 KB (LMDB v2)
14:19:19 [14:19:19.136]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:19 [14:19:19.138]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9a6XkZ with size: 10485760 KB (LMDB v2)
14:19:19 [14:19:19.138]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:19 [14:19:19.140]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-52UDCo with size: 10485760 KB (LMDB v2)
14:19:19 [14:19:19.140]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:19 [14:19:19.142]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:19 [14:19:19.143]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
14:19:19 [14:19:19.143]
INFO:
p2p:test:integration Shut down p2p clients
14:19:19 [14:19:19.145]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
14:19:29 [14:19:29.246]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:29 [14:19:29.249]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xuojZa with size: 10485760 KB (LMDB v2)
14:19:29 [14:19:29.249]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:29 [14:19:29.252]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-cLYhtE with size: 10485760 KB (LMDB v2)
14:19:29 [14:19:29.252]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:29 [14:19:29.254]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ss0PLZ with size: 10485760 KB (LMDB v2)
14:19:29 [14:19:29.254]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:29 [14:19:29.256]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:29 [14:19:29.257]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
14:19:29 [14:19:29.257]
INFO:
p2p:test:integration Shut down p2p clients
14:19:29 [14:19:29.259]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
14:19:39 [14:19:39.002]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:39 [14:19:39.005]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gtugxH with size: 10485760 KB (LMDB v2)
14:19:39 [14:19:39.005]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:39 [14:19:39.009]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-v1CW5W with size: 10485760 KB (LMDB v2)
14:19:39 [14:19:39.009]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:39 [14:19:39.011]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-myAp6T with size: 10485760 KB (LMDB v2)
14:19:39 [14:19:39.011]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:39 [14:19:39.012]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:39 [14:19:39.013]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
14:19:39 [14:19:39.013]
INFO:
p2p:test:integration Shut down p2p clients
14:19:39 [14:19:39.016]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
14:19:48 [14:19:48.936]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:48 [14:19:48.951]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ATvPv4 with size: 10485760 KB (LMDB v2)
14:19:48 [14:19:48.952]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:48 [14:19:48.956]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wVe8CA with size: 10485760 KB (LMDB v2)
14:19:48 [14:19:48.956]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:48 [14:19:48.958]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PsbcUn with size: 10485760 KB (LMDB v2)
14:19:48 [14:19:48.958]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:48 [14:19:48.961]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:48 [14:19:48.963]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
14:19:48 [14:19:48.963]
INFO:
p2p:test:integration Shut down p2p clients
14:19:49
FAIL src/client/p2p_client.integration.test.ts (
97.942 s)
14:19:49 p2p client integration
14:19:49
✕ returns undefined if unable to find a transaction from another peer (9761 ms)
14:19:49
✕ can request a transaction from another peer (8484 ms)
14:19:49
✕ will penalize peers that send invalid proofs (9311 ms)
14:19:49
✕ will penalize peers that send the wrong transaction (9948 ms)
14:19:49
✕ will propagate messages to peers at the same version (9836 ms)
14:19:49
✕ should not disconnect clients when it returns correct status (10112 ms)
14:19:49
✕ should disconnect client when it returns status with wrong version (10114 ms)
14:19:49
✕ should disconnect client when it returns an invalid status (9755 ms)
14:19:49
✕ propagates messages using mocked gossip sub network (9949 ms)
14:19:49
14:19:49
● p2p client integration › returns undefined if unable to find a transaction from another peer
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
14:19:49
14:19:49
● p2p client integration › can request a transaction from another peer
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
14:19:49
14:19:49
● p2p client integration › will penalize peers that send invalid proofs
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
14:19:49
14:19:49
● p2p client integration › will penalize peers that send the wrong transaction
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
14:19:49
14:19:49
● p2p client integration › will propagate messages to peers at the same version
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
14:19:49
14:19:49
● p2p client integration › should not disconnect clients when it returns correct status
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
14:19:49
14:19:49
● p2p client integration › should disconnect client when it returns status with wrong version
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
14:19:49
14:19:49
● p2p client integration › should disconnect client when it returns an invalid status
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
14:19:49
14:19:49
● p2p client integration › propagates messages using mocked gossip sub network
14:19:49
14:19:49 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:49
14:19:49
135 |
14:19:49
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:19:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:49
| ^
14:19:49
138 | if (peerIdPrivateKeyFilePath) {
14:19:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:49
140 | } else {
14:19:49
14:19:49
at getValue (util.ts:137:58)
14:19:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
14:19:49
14:19:49
Test Suites: 1 failed, 1 total
14:19:49
Tests: 9 failed, 9 total
14:19:49
Snapshots: 0 total
14:19:49
Time: 98.052 s
14:19:49
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
14:19:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?