Parent Log:
http://ci.aztec-labs.com/09c8f962e2d23894
Command: 6d103549f0f4c9d2: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/534f06e45f48274efd53a2204c90cb0b91a53efb
Env: REF_NAME=gh-readonly-queue/next/pr-15230-ad85cda24c2f9b5b4b17d4921f8597b71949bb6c CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 20:49:12 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15230_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
20:49:12 +++ id -u
20:49:12 +++ id -g
20:49:12 ++ 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'\'''
20:49:12 + cid=be013e5a04728bb2a70e9e63992e85cde6a92fc8cde3af82eff980b8be2fc70a
20:49:12 + set +x
20:49:14 {"level":25,"time":1750798154376,"pid":7,"hostname":"be013e5a0472","module":"logger","msg":"Logger initialized with level debug"}
20:49:23 [20:49:23.857]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
20:49:23 [20:49:23.935]
DEBUG:
foundation:randomness_singleton Using true randomness
20:49:24 {"level":20,"time":1750798163996,"pid":7,"hostname":"be013e5a0472","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
20:49:24 {"level":20,"time":1750798164225,"pid":7,"hostname":"be013e5a0472","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
20:49:34 [20:49:34.736]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:34 [20:49:34.742]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-lwNaV9 with size: 10485760 KB (LMDB v2)
20:49:34 [20:49:34.743]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:34 [20:49:34.749]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-yxxwEj with size: 10485760 KB (LMDB v2)
20:49:34 [20:49:34.750]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:34 [20:49:34.752]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-AvqwSR with size: 10485760 KB (LMDB v2)
20:49:34 [20:49:34.753]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:34 [20:49:34.754]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:34 [20:49:34.756]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
20:49:34 [20:49:34.756]
INFO:
p2p:test:integration Shut down p2p clients
20:49:34 [20:49:34.780]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
20:49:34 {"level":20,"time":1750798164314,"pid":7,"hostname":"be013e5a0472","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
20:49:34 {"level":20,"time":1750798164315,"pid":7,"hostname":"be013e5a0472","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"}
20:49:43 [20:49:43.899]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:43 [20:49:43.935]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QQ0hAD with size: 10485760 KB (LMDB v2)
20:49:43 [20:49:43.936]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:43 [20:49:43.939]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pJkUdP with size: 10485760 KB (LMDB v2)
20:49:43 [20:49:43.940]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:43 [20:49:43.945]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-oZ1Nms with size: 10485760 KB (LMDB v2)
20:49:43 [20:49:43.945]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:43 [20:49:43.947]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:43 [20:49:43.948]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
20:49:43 [20:49:43.948]
INFO:
p2p:test:integration Shut down p2p clients
20:49:43 [20:49:43.951]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
20:49:53 [20:49:53.140]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:53 [20:49:53.142]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fwB7jm with size: 10485760 KB (LMDB v2)
20:49:53 [20:49:53.143]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:53 [20:49:53.145]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-7GUNXk with size: 10485760 KB (LMDB v2)
20:49:53 [20:49:53.146]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:53 [20:49:53.148]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EeYKiA with size: 10485760 KB (LMDB v2)
20:49:53 [20:49:53.148]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:53 [20:49:53.152]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:53 [20:49:53.154]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
20:49:53 [20:49:53.154]
INFO:
p2p:test:integration Shut down p2p clients
20:49:53 [20:49:53.158]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
20:50:02 [20:50:02.841]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:02 [20:50:02.844]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-yf8ZP7 with size: 10485760 KB (LMDB v2)
20:50:02 [20:50:02.844]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:02 [20:50:02.847]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NEde34 with size: 10485760 KB (LMDB v2)
20:50:02 [20:50:02.847]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:02 [20:50:02.851]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EWTviC with size: 10485760 KB (LMDB v2)
20:50:02 [20:50:02.851]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:02 [20:50:02.854]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:02 [20:50:02.855]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
20:50:02 [20:50:02.856]
INFO:
p2p:test:integration Shut down p2p clients
20:50:02 [20:50:02.859]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
20:50:12 [20:50:12.855]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:12 [20:50:12.858]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pIGLg6 with size: 10485760 KB (LMDB v2)
20:50:12 [20:50:12.858]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:12 [20:50:12.860]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-GufMug with size: 10485760 KB (LMDB v2)
20:50:12 [20:50:12.861]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:12 [20:50:12.863]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PPN5nW with size: 10485760 KB (LMDB v2)
20:50:12 [20:50:12.863]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:12 [20:50:12.865]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:12 [20:50:12.866]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
20:50:12 [20:50:12.866]
INFO:
p2p:test:integration Shut down p2p clients
20:50:12 [20:50:12.868]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
20:50:23 [20:50:23.079]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:23 [20:50:23.096]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6kpMYO with size: 10485760 KB (LMDB v2)
20:50:23 [20:50:23.097]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:23 [20:50:23.099]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bO0IMu with size: 10485760 KB (LMDB v2)
20:50:23 [20:50:23.099]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:23 [20:50:23.101]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FVVnWl with size: 10485760 KB (LMDB v2)
20:50:23 [20:50:23.101]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:23 [20:50:23.103]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:23 [20:50:23.104]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
20:50:23 [20:50:23.104]
INFO:
p2p:test:integration Shut down p2p clients
20:50:23 [20:50:23.106]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
20:50:33 [20:50:33.386]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:33 [20:50:33.388]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-16YXJA with size: 10485760 KB (LMDB v2)
20:50:33 [20:50:33.388]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:33 [20:50:33.391]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wGhrFS with size: 10485760 KB (LMDB v2)
20:50:33 [20:50:33.391]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:33 [20:50:33.393]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-YR9Ig6 with size: 10485760 KB (LMDB v2)
20:50:33 [20:50:33.393]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:33 [20:50:33.394]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:33 [20:50:33.395]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
20:50:33 [20:50:33.395]
INFO:
p2p:test:integration Shut down p2p clients
20:50:33 [20:50:33.397]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
20:50:42 [20:50:42.809]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:42 [20:50:42.812]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-v0v9Sr with size: 10485760 KB (LMDB v2)
20:50:42 [20:50:42.812]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:42 [20:50:42.825]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-IS47T9 with size: 10485760 KB (LMDB v2)
20:50:42 [20:50:42.826]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:42 [20:50:42.831]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-EW04tJ with size: 10485760 KB (LMDB v2)
20:50:42 [20:50:42.832]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:42 [20:50:42.834]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:42 [20:50:42.835]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
20:50:42 [20:50:42.835]
INFO:
p2p:test:integration Shut down p2p clients
20:50:42 [20:50:42.837]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
20:50:53 [20:50:53.088]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:53 [20:50:53.090]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-CzDWoi with size: 10485760 KB (LMDB v2)
20:50:53 [20:50:53.091]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:53 [20:50:53.093]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8sIets with size: 10485760 KB (LMDB v2)
20:50:53 [20:50:53.094]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:53 [20:50:53.095]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-xcmz0M with size: 10485760 KB (LMDB v2)
20:50:53 [20:50:53.095]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:53 [20:50:53.097]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:53 [20:50:53.098]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
20:50:53 [20:50:53.098]
INFO:
p2p:test:integration Shut down p2p clients
20:50:53
FAIL src/client/p2p_client.integration.test.ts (
99.075 s)
20:50:53 p2p client integration
20:50:53
✕ returns undefined if unable to find a transaction from another peer (10903 ms)
20:50:53
✕ can request a transaction from another peer (9169 ms)
20:50:53
✕ will penalize peers that send invalid proofs (9204 ms)
20:50:53
✕ will penalize peers that send the wrong transaction (9699 ms)
20:50:53
✕ will propagate messages to peers at the same version (10008 ms)
20:50:53
✕ should not disconnect clients when it returns correct status (10237 ms)
20:50:53
✕ should disconnect client when it returns status with wrong version (10290 ms)
20:50:53
✕ should disconnect client when it returns an invalid status (9439 ms)
20:50:53
✕ propagates messages using mocked gossip sub network (10262 ms)
20:50:53
20:50:53
● p2p client integration › returns undefined if unable to find a transaction from another peer
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
20:50:53
20:50:53
● p2p client integration › can request a transaction from another peer
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
20:50:53
20:50:53
● p2p client integration › will penalize peers that send invalid proofs
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
20:50:53
20:50:53
● p2p client integration › will penalize peers that send the wrong transaction
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
20:50:53
20:50:53
● p2p client integration › will propagate messages to peers at the same version
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
20:50:53
20:50:53
● p2p client integration › should not disconnect clients when it returns correct status
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
20:50:53
20:50:53
● p2p client integration › should disconnect client when it returns status with wrong version
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
20:50:53
20:50:53
● p2p client integration › should disconnect client when it returns an invalid status
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
20:50:53
20:50:53
● p2p client integration › propagates messages using mocked gossip sub network
20:50:53
20:50:53 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:53
20:50:53
135 |
20:50:53
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
20:50:53
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:53
| ^
20:50:53
138 | if (peerIdPrivateKeyFilePath) {
20:50:53
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:53
140 | } else {
20:50:53
20:50:53
at getValue (util.ts:137:58)
20:50:53
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:53
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:53
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:53
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:53
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
20:50:53
20:50:53
Test Suites: 1 failed, 1 total
20:50:53
Tests: 9 failed, 9 total
20:50:53
Snapshots: 0 total
20:50:53
Time: 99.166 s
20:50:53
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
20:50:53
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?