Parent Log:
http://ci.aztec-labs.com/f9d68d42e72642f5
Command: 2f76ae4bba915073: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/87c4b689268afecc86ab007c3587e45110daa43d
Env: REF_NAME=gh-readonly-queue/next/pr-15220-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 16:34:49 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15220_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
16:34:49 +++ id -u
16:34:49 +++ id -g
16:34:49 ++ 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'\'''
16:34:49 + cid=d1b56a93da55da2878584a2a4cedd88323dcfdcf1daee5214fcad22ab02b556a
16:34:49 + set +x
16:34:51 {"level":25,"time":1750782891233,"pid":7,"hostname":"d1b56a93da55","module":"logger","msg":"Logger initialized with level debug"}
16:35:01 [16:35:01.213]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
16:35:01 [16:35:01.310]
DEBUG:
foundation:randomness_singleton Using true randomness
16:35:02 {"level":20,"time":1750782901370,"pid":7,"hostname":"d1b56a93da55","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
16:35:02 {"level":20,"time":1750782901609,"pid":7,"hostname":"d1b56a93da55","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
16:35:11 [16:35:11.060]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:11 [16:35:11.069]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3Uew00 with size: 10485760 KB (LMDB v2)
16:35:11 [16:35:11.070]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:11 [16:35:11.081]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-O7cNrX with size: 10485760 KB (LMDB v2)
16:35:11 [16:35:11.082]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:11 [16:35:11.087]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tkQuu2 with size: 10485760 KB (LMDB v2)
16:35:11 [16:35:11.088]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:11 [16:35:11.095]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:11 [16:35:11.098]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
16:35:11 [16:35:11.098]
INFO:
p2p:test:integration Shut down p2p clients
16:35:11 {"level":20,"time":1750782901661,"pid":7,"hostname":"d1b56a93da55","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
16:35:11 {"level":20,"time":1750782901662,"pid":7,"hostname":"d1b56a93da55","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"}
16:35:11 [16:35:11.132]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
16:35:20 [16:35:20.268]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:20 [16:35:20.271]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-8Y4LqN with size: 10485760 KB (LMDB v2)
16:35:20 [16:35:20.272]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:20 [16:35:20.275]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QI44JJ with size: 10485760 KB (LMDB v2)
16:35:20 [16:35:20.275]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:20 [16:35:20.280]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LBUYKr with size: 10485760 KB (LMDB v2)
16:35:20 [16:35:20.280]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:20 [16:35:20.284]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:20 [16:35:20.285]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
16:35:20 [16:35:20.286]
INFO:
p2p:test:integration Shut down p2p clients
16:35:20 [16:35:20.288]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
16:35:29 [16:35:29.502]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:29 [16:35:29.505]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0rDHdE with size: 10485760 KB (LMDB v2)
16:35:29 [16:35:29.506]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:29 [16:35:29.510]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-TkvIR0 with size: 10485760 KB (LMDB v2)
16:35:29 [16:35:29.511]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:29 [16:35:29.516]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-a8tO3o with size: 10485760 KB (LMDB v2)
16:35:29 [16:35:29.516]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:29 [16:35:29.519]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:29 [16:35:29.520]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
16:35:29 [16:35:29.520]
INFO:
p2p:test:integration Shut down p2p clients
16:35:29 [16:35:29.522]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
16:35:39 [16:35:39.613]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:39 [16:35:39.617]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ChxYyP with size: 10485760 KB (LMDB v2)
16:35:39 [16:35:39.617]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:39 [16:35:39.620]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-i3lthO with size: 10485760 KB (LMDB v2)
16:35:39 [16:35:39.621]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:39 [16:35:39.623]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wBdE7v with size: 10485760 KB (LMDB v2)
16:35:39 [16:35:39.623]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:39 [16:35:39.625]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:39 [16:35:39.626]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
16:35:39 [16:35:39.626]
INFO:
p2p:test:integration Shut down p2p clients
16:35:39 [16:35:39.629]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
16:35:49 [16:35:49.853]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:49 [16:35:49.856]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-w9icJ8 with size: 10485760 KB (LMDB v2)
16:35:49 [16:35:49.857]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:49 [16:35:49.860]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aEKeYS with size: 10485760 KB (LMDB v2)
16:35:49 [16:35:49.860]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:49 [16:35:49.862]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1eWU28 with size: 10485760 KB (LMDB v2)
16:35:49 [16:35:49.863]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:49 [16:35:49.865]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:49 [16:35:49.866]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
16:35:49 [16:35:49.866]
INFO:
p2p:test:integration Shut down p2p clients
16:35:49 [16:35:49.868]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
16:36:00 [16:36:00.326]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:00 [16:36:00.329]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-k3PVQj with size: 10485760 KB (LMDB v2)
16:36:00 [16:36:00.329]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:00 [16:36:00.334]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-6CWTSG with size: 10485760 KB (LMDB v2)
16:36:00 [16:36:00.334]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:00 [16:36:00.337]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-t9VH4p with size: 10485760 KB (LMDB v2)
16:36:00 [16:36:00.337]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:00 [16:36:00.339]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:00 [16:36:00.340]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
16:36:00 [16:36:00.341]
INFO:
p2p:test:integration Shut down p2p clients
16:36:00 [16:36:00.343]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
16:36:10 [16:36:10.965]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:10 [16:36:10.980]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ahhOgd with size: 10485760 KB (LMDB v2)
16:36:10 [16:36:10.982]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:10 [16:36:10.987]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Y6gZdY with size: 10485760 KB (LMDB v2)
16:36:10 [16:36:10.988]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:10 [16:36:10.991]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tZRIHN with size: 10485760 KB (LMDB v2)
16:36:10 [16:36:10.991]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:10 [16:36:10.993]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:10 [16:36:10.994]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
16:36:10 [16:36:10.995]
INFO:
p2p:test:integration Shut down p2p clients
16:36:11 [16:36:10.998]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
16:36:21 [16:36:21.926]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:21 [16:36:21.928]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rCGWMU with size: 10485760 KB (LMDB v2)
16:36:21 [16:36:21.928]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:21 [16:36:21.932]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jcR8nf with size: 10485760 KB (LMDB v2)
16:36:21 [16:36:21.932]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:21 [16:36:21.934]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-h2rJjo with size: 10485760 KB (LMDB v2)
16:36:21 [16:36:21.934]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:21 [16:36:21.936]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:21 [16:36:21.936]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
16:36:21 [16:36:21.937]
INFO:
p2p:test:integration Shut down p2p clients
16:36:21 [16:36:21.939]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
16:36:32 [16:36:32.468]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:32 [16:36:32.482]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-MQon2w with size: 10485760 KB (LMDB v2)
16:36:32 [16:36:32.484]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:32 [16:36:32.487]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4MUqxD with size: 10485760 KB (LMDB v2)
16:36:32 [16:36:32.488]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:32 [16:36:32.489]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-75MmWo with size: 10485760 KB (LMDB v2)
16:36:32 [16:36:32.490]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:32 [16:36:32.491]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:32 [16:36:32.493]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
16:36:32 [16:36:32.493]
INFO:
p2p:test:integration Shut down p2p clients
16:36:32
FAIL src/client/p2p_client.integration.test.ts (
101.596 s)
16:36:32 p2p client integration
16:36:32
✕ returns undefined if unable to find a transaction from another peer (9890 ms)
16:36:32
✕ can request a transaction from another peer (9155 ms)
16:36:32
✕ will penalize peers that send invalid proofs (9232 ms)
16:36:32
✕ will penalize peers that send the wrong transaction (10105 ms)
16:36:32
✕ will propagate messages to peers at the same version (10238 ms)
16:36:32
✕ should not disconnect clients when it returns correct status (10473 ms)
16:36:32
✕ should disconnect client when it returns status with wrong version (10653 ms)
16:36:32
✕ should disconnect client when it returns an invalid status (10940 ms)
16:36:32
✕ propagates messages using mocked gossip sub network (10555 ms)
16:36:32
16:36:32
● p2p client integration › returns undefined if unable to find a transaction from another peer
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
16:36:32
16:36:32
● p2p client integration › can request a transaction from another peer
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
16:36:32
16:36:32
● p2p client integration › will penalize peers that send invalid proofs
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
16:36:32
16:36:32
● p2p client integration › will penalize peers that send the wrong transaction
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
16:36:32
16:36:32
● p2p client integration › will propagate messages to peers at the same version
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
16:36:32
16:36:32
● p2p client integration › should not disconnect clients when it returns correct status
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
16:36:32
16:36:32
● p2p client integration › should disconnect client when it returns status with wrong version
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
16:36:32
16:36:32
● p2p client integration › should disconnect client when it returns an invalid status
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
16:36:32
16:36:32
● p2p client integration › propagates messages using mocked gossip sub network
16:36:32
16:36:32 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:32
16:36:32
135 |
16:36:32
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:32
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:32
| ^
16:36:32
138 | if (peerIdPrivateKeyFilePath) {
16:36:32
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:32
140 | } else {
16:36:32
16:36:32
at getValue (util.ts:137:58)
16:36:32
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:32
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:32
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:32
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:32
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
16:36:32
16:36:32
Test Suites: 1 failed, 1 total
16:36:32
Tests: 9 failed, 9 total
16:36:32
Snapshots: 0 total
16:36:32
Time: 101.694 s
16:36:32
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
16:36:32
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?