Parent Log:
http://ci.aztec-labs.com/24684d1f39d30db8
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:27 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_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:07:27 +++ id -u
14:07:27 +++ id -g
14:07:27 ++ 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:27 + cid=f01c63c00809df81988631355d29a6f37f45c713b36e90086e3b36f3abf8ff57
14:07:27 + set +x
14:07:29 {"level":25,"time":1750774049106,"pid":7,"hostname":"f01c63c00809","module":"logger","msg":"Logger initialized with level debug"}
14:07:39 [14:07:39.177]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:07:39 [14:07:39.268]
DEBUG:
foundation:randomness_singleton Using true randomness
14:07:39 {"level":20,"time":1750774059323,"pid":7,"hostname":"f01c63c00809","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:07:39 {"level":20,"time":1750774059544,"pid":7,"hostname":"f01c63c00809","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
14:07:48 [14:07:48.704]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:07:48 [14:07:48.710]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-OIWOGT with size: 10485760 KB (LMDB v2)
14:07:48 [14:07:48.711]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:07:48 [14:07:48.722]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3H6az2 with size: 10485760 KB (LMDB v2)
14:07:48 [14:07:48.723]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:07:48 [14:07:48.725]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wNNw8N with size: 10485760 KB (LMDB v2)
14:07:48 [14:07:48.726]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:07:48 [14:07:48.732]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:07:48 [14:07:48.735]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:07:48 [14:07:48.736]
INFO:
p2p:test:integration Shut down p2p clients
14:07:48 [14:07:48.771]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:07:49 {"level":20,"time":1750774059579,"pid":7,"hostname":"f01c63c00809","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:07:49 {"level":20,"time":1750774059579,"pid":7,"hostname":"f01c63c00809","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:07:57 [14:07:57.713]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:07:57 [14:07:57.734]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-sEwCD3 with size: 10485760 KB (LMDB v2)
14:07:57 [14:07:57.735]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:07:57 [14:07:57.738]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-gVN8eI with size: 10485760 KB (LMDB v2)
14:07:57 [14:07:57.738]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:07:57 [14:07:57.741]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-VVVcRa with size: 10485760 KB (LMDB v2)
14:07:57 [14:07:57.741]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:07:57 [14:07:57.743]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:07:57 [14:07:57.745]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:07:57 [14:07:57.745]
INFO:
p2p:test:integration Shut down p2p clients
14:07:57 [14:07:57.749]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:08:06 [14:08:06.923]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:06 [14:08:06.926]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-BhNpvW with size: 10485760 KB (LMDB v2)
14:08:06 [14:08:06.927]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:06 [14:08:06.933]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aNAtvp with size: 10485760 KB (LMDB v2)
14:08:06 [14:08:06.933]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:06 [14:08:06.939]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-juwtEI with size: 10485760 KB (LMDB v2)
14:08:06 [14:08:06.939]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:06 [14:08:06.941]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:06 [14:08:06.943]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:08:06 [14:08:06.943]
INFO:
p2p:test:integration Shut down p2p clients
14:08:06 [14:08:06.946]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
14:08:16 [14:08:16.585]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:16 [14:08:16.588]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6kgDyB with size: 10485760 KB (LMDB v2)
14:08:16 [14:08:16.588]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:16 [14:08:16.594]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-eroBeD with size: 10485760 KB (LMDB v2)
14:08:16 [14:08:16.595]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:16 [14:08:16.598]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gp0YTf with size: 10485760 KB (LMDB v2)
14:08:16 [14:08:16.598]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:16 [14:08:16.601]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:16 [14:08:16.602]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
14:08:16 [14:08:16.603]
INFO:
p2p:test:integration Shut down p2p clients
14:08:16 [14:08:16.606]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
14:08:26 [14:08:26.868]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:26 [14:08:26.871]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ICMrUX with size: 10485760 KB (LMDB v2)
14:08:26 [14:08:26.872]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:26 [14:08:26.875]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-fkOjgf with size: 10485760 KB (LMDB v2)
14:08:26 [14:08:26.876]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:26 [14:08:26.878]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-y9Fzsr with size: 10485760 KB (LMDB v2)
14:08:26 [14:08:26.878]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:26 [14:08:26.880]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:26 [14:08:26.883]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
14:08:26 [14:08:26.883]
INFO:
p2p:test:integration Shut down p2p clients
14:08:26 [14:08:26.887]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
14:08:37 [14:08:37.394]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:37 [14:08:37.412]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-c3UN69 with size: 10485760 KB (LMDB v2)
14:08:37 [14:08:37.412]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:37 [14:08:37.415]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-EOciEk with size: 10485760 KB (LMDB v2)
14:08:37 [14:08:37.416]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:37 [14:08:37.418]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-rFBB00 with size: 10485760 KB (LMDB v2)
14:08:37 [14:08:37.418]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:37 [14:08:37.420]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:37 [14:08:37.421]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
14:08:37 [14:08:37.422]
INFO:
p2p:test:integration Shut down p2p clients
14:08:37 [14:08:37.425]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
14:08:47 [14:08:47.598]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:47 [14:08:47.601]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-iIilJ5 with size: 10485760 KB (LMDB v2)
14:08:47 [14:08:47.602]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:47 [14:08:47.604]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-quoYgs with size: 10485760 KB (LMDB v2)
14:08:47 [14:08:47.604]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:47 [14:08:47.608]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-68xrzR with size: 10485760 KB (LMDB v2)
14:08:47 [14:08:47.608]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:47 [14:08:47.610]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:47 [14:08:47.611]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
14:08:47 [14:08:47.612]
INFO:
p2p:test:integration Shut down p2p clients
14:08:47 [14:08:47.614]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
14:08:58 [14:08:58.041]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:08:58 [14:08:58.044]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Pz6OaF with size: 10485760 KB (LMDB v2)
14:08:58 [14:08:58.045]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:08:58 [14:08:58.049]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NHFJpb with size: 10485760 KB (LMDB v2)
14:08:58 [14:08:58.049]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:08:58 [14:08:58.052]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-KUV3mu with size: 10485760 KB (LMDB v2)
14:08:58 [14:08:58.052]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:08:58 [14:08:58.054]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:08:58 [14:08:58.055]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
14:08:58 [14:08:58.055]
INFO:
p2p:test:integration Shut down p2p clients
14:08:58 [14:08:58.057]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
14:09:07 [14:09:07.892]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:09:07 [14:09:07.898]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lsb8S5 with size: 10485760 KB (LMDB v2)
14:09:07 [14:09:07.899]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:09:07 [14:09:07.904]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-I3dYPs with size: 10485760 KB (LMDB v2)
14:09:07 [14:09:07.904]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:09:07 [14:09:07.907]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-iZM6kU with size: 10485760 KB (LMDB v2)
14:09:07 [14:09:07.907]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:09:07 [14:09:07.909]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:09:07 [14:09:07.910]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
14:09:07 [14:09:07.911]
INFO:
p2p:test:integration Shut down p2p clients
14:09:08
FAIL src/client/p2p_client.integration.test.ts (
99.164 s)
14:09:08 p2p client integration
14:09:08
✕ returns undefined if unable to find a transaction from another peer (9562 ms)
14:09:08
✕ can request a transaction from another peer (8975 ms)
14:09:08
✕ will penalize peers that send invalid proofs (9197 ms)
14:09:08
✕ will penalize peers that send the wrong transaction (9658 ms)
14:09:08
✕ will propagate messages to peers at the same version (10279 ms)
14:09:08
✕ should not disconnect clients when it returns correct status (10536 ms)
14:09:08
✕ should disconnect client when it returns status with wrong version (10188 ms)
14:09:08
✕ should disconnect client when it returns an invalid status (10441 ms)
14:09:08
✕ propagates messages using mocked gossip sub network (9855 ms)
14:09:08
14:09:08
● p2p client integration › returns undefined if unable to find a transaction from another peer
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:08
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
14:09:08
14:09:08
● p2p client integration › can request a transaction from another peer
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:08
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
14:09:08
14:09:08
● p2p client integration › will penalize peers that send invalid proofs
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:08
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
14:09:08
14:09:08
● p2p client integration › will penalize peers that send the wrong transaction
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:08
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
14:09:08
14:09:08
● p2p client integration › will propagate messages to peers at the same version
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:08
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
14:09:08
14:09:08
● p2p client integration › should not disconnect clients when it returns correct status
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
14:09:08
14:09:08
● p2p client integration › should disconnect client when it returns status with wrong version
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
14:09:08
14:09:08
● p2p client integration › should disconnect client when it returns an invalid status
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
14:09:08
14:09:08
● p2p client integration › propagates messages using mocked gossip sub network
14:09:08
14:09:08 TypeError: config.peerIdPrivateKey.getValue is not a function
14:09:08
14:09:08
135 |
14:09:08
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:08
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
14:09:08
| ^
14:09:08
138 | if (peerIdPrivateKeyFilePath) {
14:09:08
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
14:09:08
140 | } else {
14:09:08
14:09:08
at getValue (util.ts:137:58)
14:09:08
at getPeerIdPrivateKey (client/factory.ts:75:34)
14:09:08
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
14:09:08
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
14:09:08
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
14:09:08
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
14:09:08
14:09:08
Test Suites: 1 failed, 1 total
14:09:08
Tests: 9 failed, 9 total
14:09:08
Snapshots: 0 total
14:09:08
Time: 99.268 s
14:09:08
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
14:09:08
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?