Parent Log:
http://ci.aztec-labs.com/392f1be801fc367c
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:17:45 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
14:17:45 +++ id -u
14:17:45 +++ id -g
14:17:45 ++ 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:17:46 + cid=e1eb104bc5b5faa62795ec35f466a56b661682514e56ae24ce0cc7c890ff6c80
14:17:46 + set +x
14:17:47 {"level":25,"time":1750774667691,"pid":7,"hostname":"e1eb104bc5b5","module":"logger","msg":"Logger initialized with level debug"}
14:17:57 [14:17:57.726]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:17:57 [14:17:57.869]
DEBUG:
foundation:randomness_singleton Using true randomness
14:17:58 {"level":20,"time":1750774677939,"pid":7,"hostname":"e1eb104bc5b5","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:17:58 {"level":20,"time":1750774678159,"pid":7,"hostname":"e1eb104bc5b5","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
14:18:08 [14:18:08.056]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:08 [14:18:08.060]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-VAM1wy with size: 10485760 KB (LMDB v2)
14:18:08 [14:18:08.061]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:08 [14:18:08.068]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-iBqlpt with size: 10485760 KB (LMDB v2)
14:18:08 [14:18:08.069]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:08 [14:18:08.071]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gwQ33b with size: 10485760 KB (LMDB v2)
14:18:08 [14:18:08.072]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:08 [14:18:08.073]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:08 [14:18:08.075]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:18:08 [14:18:08.076]
INFO:
p2p:test:integration Shut down p2p clients
14:18:08 [14:18:08.105]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:18:08 {"level":20,"time":1750774678206,"pid":7,"hostname":"e1eb104bc5b5","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:18:08 {"level":20,"time":1750774678207,"pid":7,"hostname":"e1eb104bc5b5","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:17 [14:18:17.198]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:17 [14:18:17.201]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zbsOz7 with size: 10485760 KB (LMDB v2)
14:18:17 [14:18:17.201]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:17 [14:18:17.204]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DFN42j with size: 10485760 KB (LMDB v2)
14:18:17 [14:18:17.204]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:17 [14:18:17.206]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-v9OVEJ with size: 10485760 KB (LMDB v2)
14:18:17 [14:18:17.206]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:17 [14:18:17.208]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:17 [14:18:17.209]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:18:17 [14:18:17.210]
INFO:
p2p:test:integration Shut down p2p clients
14:18:17 [14:18:17.213]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:18:26 [14:18:26.560]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:26 [14:18:26.563]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ox3Zyk with size: 10485760 KB (LMDB v2)
14:18:26 [14:18:26.564]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:26 [14:18:26.567]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-0nXDmd with size: 10485760 KB (LMDB v2)
14:18:26 [14:18:26.568]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:26 [14:18:26.570]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-B0qYDV with size: 10485760 KB (LMDB v2)
14:18:26 [14:18:26.570]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:26 [14:18:26.573]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:26 [14:18:26.574]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:18:26 [14:18:26.574]
INFO:
p2p:test:integration Shut down p2p clients
14:18:26 [14:18:26.577]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
14:18:36 [14:18:36.850]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:36 [14:18:36.853]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-BCvD3K with size: 10485760 KB (LMDB v2)
14:18:36 [14:18:36.854]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:36 [14:18:36.856]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Ucmw0U with size: 10485760 KB (LMDB v2)
14:18:36 [14:18:36.856]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:36 [14:18:36.858]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-0BdfPv with size: 10485760 KB (LMDB v2)
14:18:36 [14:18:36.859]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:36 [14:18:36.860]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:36 [14:18:36.861]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
14:18:36 [14:18:36.862]
INFO:
p2p:test:integration Shut down p2p clients
14:18:36 [14:18:36.864]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
14:18:47 [14:18:47.014]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:47 [14:18:47.041]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rHdLet with size: 10485760 KB (LMDB v2)
14:18:47 [14:18:47.043]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:47 [14:18:47.046]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xGQhkE with size: 10485760 KB (LMDB v2)
14:18:47 [14:18:47.046]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:47 [14:18:47.049]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-8SeYxQ with size: 10485760 KB (LMDB v2)
14:18:47 [14:18:47.050]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:47 [14:18:47.053]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:47 [14:18:47.054]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
14:18:47 [14:18:47.054]
INFO:
p2p:test:integration Shut down p2p clients
14:18:47 [14:18:47.057]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
14:18:57 [14:18:57.314]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:18:57 [14:18:57.316]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-f9oizs with size: 10485760 KB (LMDB v2)
14:18:57 [14:18:57.317]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:18:57 [14:18:57.326]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-6a6PIe with size: 10485760 KB (LMDB v2)
14:18:57 [14:18:57.327]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:18:57 [14:18:57.334]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3BlEyD with size: 10485760 KB (LMDB v2)
14:18:57 [14:18:57.334]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:18:57 [14:18:57.336]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:18:57 [14:18:57.337]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
14:18:57 [14:18:57.337]
INFO:
p2p:test:integration Shut down p2p clients
14:18:57 [14:18:57.339]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
14:19:07 [14:19:07.617]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:07 [14:19:07.619]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-gvUYqy with size: 10485760 KB (LMDB v2)
14:19:07 [14:19:07.619]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:07 [14:19:07.628]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-SxVaB9 with size: 10485760 KB (LMDB v2)
14:19:07 [14:19:07.629]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:07 [14:19:07.635]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-IP7Utc with size: 10485760 KB (LMDB v2)
14:19:07 [14:19:07.636]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:07 [14:19:07.638]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:07 [14:19:07.640]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
14:19:07 [14:19:07.641]
INFO:
p2p:test:integration Shut down p2p clients
14:19:07 [14:19:07.643]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
14:19:18 [14:19:18.149]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:18 [14:19:18.151]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-XZeAfk with size: 10485760 KB (LMDB v2)
14:19:18 [14:19:18.152]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:18 [14:19:18.153]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-O7CMCl with size: 10485760 KB (LMDB v2)
14:19:18 [14:19:18.154]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:18 [14:19:18.156]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3tnXsc with size: 10485760 KB (LMDB v2)
14:19:18 [14:19:18.157]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:18 [14:19:18.159]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:18 [14:19:18.159]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
14:19:18 [14:19:18.160]
INFO:
p2p:test:integration Shut down p2p clients
14:19:18 [14:19:18.162]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
14:19:28 [14:19:28.639]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:19:28 [14:19:28.641]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ghyOwj with size: 10485760 KB (LMDB v2)
14:19:28 [14:19:28.642]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:19:28 [14:19:28.645]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8rr25e with size: 10485760 KB (LMDB v2)
14:19:28 [14:19:28.645]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:19:28 [14:19:28.647]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-uCZkZl with size: 10485760 KB (LMDB v2)
14:19:28 [14:19:28.647]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:19:28 [14:19:28.649]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:19:28 [14:19:28.650]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
14:19:28 [14:19:28.650]
INFO:
p2p:test:integration Shut down p2p clients
14:19:28
FAIL src/client/p2p_client.integration.test.ts (
101.322 s)
14:19:28 p2p client integration
14:19:28
✕ returns undefined if unable to find a transaction from another peer (10354 ms)
14:19:28
✕ can request a transaction from another peer (9107 ms)
14:19:28
✕ will penalize peers that send invalid proofs (9362 ms)
14:19:28
✕ will penalize peers that send the wrong transaction (10286 ms)
14:19:28
✕ will propagate messages to peers at the same version (10192 ms)
14:19:28
✕ should not disconnect clients when it returns correct status (10281 ms)
14:19:28
✕ should disconnect client when it returns status with wrong version (10302 ms)
14:19:28
✕ should disconnect client when it returns an invalid status (10518 ms)
14:19:28
✕ propagates messages using mocked gossip sub network (10489 ms)
14:19:28
14:19:28
● p2p client integration › returns undefined if unable to find a transaction from another peer
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:28
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
14:19:28
14:19:28
● p2p client integration › can request a transaction from another peer
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:28
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
14:19:28
14:19:28
● p2p client integration › will penalize peers that send invalid proofs
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:28
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
14:19:28
14:19:28
● p2p client integration › will penalize peers that send the wrong transaction
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:28
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
14:19:28
14:19:28
● p2p client integration › will propagate messages to peers at the same version
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:28
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
14:19:28
14:19:28
● p2p client integration › should not disconnect clients when it returns correct status
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
14:19:28
14:19:28
● p2p client integration › should disconnect client when it returns status with wrong version
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
14:19:28
14:19:28
● p2p client integration › should disconnect client when it returns an invalid status
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
14:19:28
14:19:28
● p2p client integration › propagates messages using mocked gossip sub network
14:19:28
14:19:28 TypeError: config.peerIdPrivateKey.getValue is not a function
14:19:28
14:19:28
135 |
14:19:28
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:28
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:19:28
| ^
14:19:28
138 | if (peerIdPrivateKeyFilePath) {
14:19:28
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:19:28
140 | } else {
14:19:28
14:19:28
at getValue (util.ts:137:58)
14:19:28
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:19:28
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:19:28
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:19:28
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:19:28
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
14:19:28
14:19:28
Test Suites: 1 failed, 1 total
14:19:28
Tests: 9 failed, 9 total
14:19:28
Snapshots: 0 total
14:19:28
Time: 101.449 s
14:19:28
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
14:19:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?