Parent Log:
http://ci.aztec-labs.com/a44a7be5cf1b53ae
Command: 5b4d9f16dc72b5a7: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/1b10c7d500621ca2e4c0db764df67f3085beb282
Env: REF_NAME=gh-readonly-queue/next/pr-15229-99e234fe4473771b32124e0402885610a6a3f98a CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:04:37 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15229_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
10:04:37 +++ id -u
10:04:37 +++ id -g
10:04:37 ++ 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'\'''
10:04:38 + cid=449d0f58865d4eb9fb3c7635efd3b23b76d7a61995fee44d2f6e3461095fb6bc
10:04:38 + set +x
10:04:40 {"level":25,"time":1750759480012,"pid":7,"hostname":"449d0f58865d","module":"logger","msg":"Logger initialized with level debug"}
10:04:49 [10:04:49.915]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
10:04:50 [10:04:50.019]
DEBUG:
foundation:randomness_singleton Using true randomness
10:04:50 {"level":20,"time":1750759490083,"pid":7,"hostname":"449d0f58865d","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
10:04:50 {"level":20,"time":1750759490291,"pid":7,"hostname":"449d0f58865d","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
10:04:59 [10:04:59.666]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:04:59 [10:04:59.672]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-5BTkMa with size: 10485760 KB (LMDB v2)
10:04:59 [10:04:59.674]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:04:59 [10:04:59.683]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-FLhZZs with size: 10485760 KB (LMDB v2)
10:04:59 [10:04:59.683]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:04:59 [10:04:59.686]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LHtn6y with size: 10485760 KB (LMDB v2)
10:04:59 [10:04:59.687]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:04:59 [10:04:59.689]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:04:59 [10:04:59.691]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
10:04:59 [10:04:59.692]
INFO:
p2p:test:integration Shut down p2p clients
10:04:59 [10:04:59.720]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
10:04:59 {"level":20,"time":1750759490356,"pid":7,"hostname":"449d0f58865d","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
10:04:59 {"level":20,"time":1750759490357,"pid":7,"hostname":"449d0f58865d","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"}
10:05:09 [10:05:09.302]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:09 [10:05:09.305]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6ooaoK with size: 10485760 KB (LMDB v2)
10:05:09 [10:05:09.306]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:09 [10:05:09.309]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-lJyl6B with size: 10485760 KB (LMDB v2)
10:05:09 [10:05:09.309]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:09 [10:05:09.312]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XjyJwS with size: 10485760 KB (LMDB v2)
10:05:09 [10:05:09.312]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:09 [10:05:09.314]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:09 [10:05:09.315]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
10:05:09 [10:05:09.316]
INFO:
p2p:test:integration Shut down p2p clients
10:05:09 [10:05:09.318]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
10:05:19 [10:05:19.025]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:19 [10:05:19.028]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pC0Wah with size: 10485760 KB (LMDB v2)
10:05:19 [10:05:19.028]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:19 [10:05:19.031]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-r0539v with size: 10485760 KB (LMDB v2)
10:05:19 [10:05:19.031]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:19 [10:05:19.037]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-afY9zk with size: 10485760 KB (LMDB v2)
10:05:19 [10:05:19.038]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:19 [10:05:19.043]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:19 [10:05:19.044]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
10:05:19 [10:05:19.044]
INFO:
p2p:test:integration Shut down p2p clients
10:05:19 [10:05:19.047]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
10:05:29 [10:05:29.264]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:29 [10:05:29.268]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-FtGqVi with size: 10485760 KB (LMDB v2)
10:05:29 [10:05:29.268]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:29 [10:05:29.271]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-WW3GOI with size: 10485760 KB (LMDB v2)
10:05:29 [10:05:29.271]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:29 [10:05:29.273]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NkT3rn with size: 10485760 KB (LMDB v2)
10:05:29 [10:05:29.273]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:29 [10:05:29.275]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:29 [10:05:29.276]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
10:05:29 [10:05:29.276]
INFO:
p2p:test:integration Shut down p2p clients
10:05:29 [10:05:29.278]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
10:05:39 [10:05:39.870]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:39 [10:05:39.874]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nAH1CQ with size: 10485760 KB (LMDB v2)
10:05:39 [10:05:39.874]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:39 [10:05:39.877]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4PVyBL with size: 10485760 KB (LMDB v2)
10:05:39 [10:05:39.877]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:39 [10:05:39.880]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-7l7SG5 with size: 10485760 KB (LMDB v2)
10:05:39 [10:05:39.880]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:39 [10:05:39.882]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:39 [10:05:39.883]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
10:05:39 [10:05:39.884]
INFO:
p2p:test:integration Shut down p2p clients
10:05:39 [10:05:39.886]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
10:05:50 [10:05:50.240]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:05:50 [10:05:50.261]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-hdDIxb with size: 10485760 KB (LMDB v2)
10:05:50 [10:05:50.261]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:05:50 [10:05:50.264]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bbvC5s with size: 10485760 KB (LMDB v2)
10:05:50 [10:05:50.265]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:05:50 [10:05:50.267]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gOZCwu with size: 10485760 KB (LMDB v2)
10:05:50 [10:05:50.267]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:05:50 [10:05:50.269]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:05:50 [10:05:50.271]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
10:05:50 [10:05:50.271]
INFO:
p2p:test:integration Shut down p2p clients
10:05:50 [10:05:50.274]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
10:06:00 [10:06:00.863]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:00 [10:06:00.865]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-tHAgb5 with size: 10485760 KB (LMDB v2)
10:06:00 [10:06:00.866]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:00 [10:06:00.868]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8QmJfj with size: 10485760 KB (LMDB v2)
10:06:00 [10:06:00.868]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:00 [10:06:00.870]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ZSZUCO with size: 10485760 KB (LMDB v2)
10:06:00 [10:06:00.871]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:00 [10:06:00.873]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:00 [10:06:00.874]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
10:06:00 [10:06:00.874]
INFO:
p2p:test:integration Shut down p2p clients
10:06:00 [10:06:00.877]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
10:06:11 [10:06:11.556]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:11 [10:06:11.559]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-pEDvxl with size: 10485760 KB (LMDB v2)
10:06:11 [10:06:11.559]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:11 [10:06:11.561]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8Zrrxe with size: 10485760 KB (LMDB v2)
10:06:11 [10:06:11.562]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:11 [10:06:11.564]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bY7Ny3 with size: 10485760 KB (LMDB v2)
10:06:11 [10:06:11.564]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:11 [10:06:11.566]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:11 [10:06:11.567]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
10:06:11 [10:06:11.567]
INFO:
p2p:test:integration Shut down p2p clients
10:06:11 [10:06:11.569]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
10:06:22 [10:06:22.685]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
10:06:22 [10:06:22.704]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nADxjj with size: 10485760 KB (LMDB v2)
10:06:22 [10:06:22.706]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
10:06:22 [10:06:22.710]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JaEdV3 with size: 10485760 KB (LMDB v2)
10:06:22 [10:06:22.711]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
10:06:22 [10:06:22.713]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2hwTBc with size: 10485760 KB (LMDB v2)
10:06:22 [10:06:22.713]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
10:06:22 [10:06:22.715]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
10:06:22 [10:06:22.717]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
10:06:22 [10:06:22.717]
INFO:
p2p:test:integration Shut down p2p clients
10:06:22
FAIL src/client/p2p_client.integration.test.ts (
103.102 s)
10:06:22 p2p client integration
10:06:22
✕ returns undefined if unable to find a transaction from another peer (9781 ms)
10:06:22
✕ can request a transaction from another peer (9597 ms)
10:06:22
✕ will penalize peers that send invalid proofs (9727 ms)
10:06:22
✕ will penalize peers that send the wrong transaction (10230 ms)
10:06:22
✕ will propagate messages to peers at the same version (10607 ms)
10:06:22
✕ should not disconnect clients when it returns correct status (10386 ms)
10:06:22
✕ should disconnect client when it returns status with wrong version (10602 ms)
10:06:22
✕ should disconnect client when it returns an invalid status (10691 ms)
10:06:22
✕ propagates messages using mocked gossip sub network (11149 ms)
10:06:22
10:06:22
● p2p client integration › returns undefined if unable to find a transaction from another peer
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
10:06:22
10:06:22
● p2p client integration › can request a transaction from another peer
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
10:06:22
10:06:22
● p2p client integration › will penalize peers that send invalid proofs
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
10:06:22
10:06:22
● p2p client integration › will penalize peers that send the wrong transaction
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
10:06:22
10:06:22
● p2p client integration › will propagate messages to peers at the same version
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
10:06:22
10:06:22
● p2p client integration › should not disconnect clients when it returns correct status
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
10:06:22
10:06:22
● p2p client integration › should disconnect client when it returns status with wrong version
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
10:06:22
10:06:22
● p2p client integration › should disconnect client when it returns an invalid status
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
10:06:22
10:06:22
● p2p client integration › propagates messages using mocked gossip sub network
10:06:22
10:06:22 TypeError: config.peerIdPrivateKey.getValue is not a function
10:06:22
10:06:22
135 |
10:06:22
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
10:06:22
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
10:06:22
| ^
10:06:22
138 | if (peerIdPrivateKeyFilePath) {
10:06:22
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
10:06:22
140 | } else {
10:06:22
10:06:22
at getValue (util.ts:137:58)
10:06:22
at getPeerIdPrivateKey (client/factory.ts:75:34)
10:06:22
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
10:06:22
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
10:06:22
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
10:06:22
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
10:06:22
10:06:22
Test Suites: 1 failed, 1 total
10:06:22
Tests: 9 failed, 9 total
10:06:22
Snapshots: 0 total
10:06:22
Time: 103.22 s
10:06:22
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
10:06:22
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?