Parent Log:
http://ci.aztec-labs.com/3bac4d323196916b
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:45 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15230_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
20:49:46 +++ id -u
20:49:46 +++ id -g
20:49:46 ++ 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:46 + cid=5f977a1d4782f8a8b49f518692bfc272c26b9edfdb2bb48ebd97533f65a498f9
20:49:46 + set +x
20:49:47 {"level":25,"time":1750798187840,"pid":7,"hostname":"5f977a1d4782","module":"logger","msg":"Logger initialized with level debug"}
20:49:57 [20:49:57.987]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
20:49:58 [20:49:58.167]
DEBUG:
foundation:randomness_singleton Using true randomness
20:49:58 {"level":20,"time":1750798198235,"pid":7,"hostname":"5f977a1d4782","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
20:49:58 {"level":20,"time":1750798198476,"pid":7,"hostname":"5f977a1d4782","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
20:50:08 [20:50:08.713]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:08 [20:50:08.724]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-TaYNju with size: 10485760 KB (LMDB v2)
20:50:08 [20:50:08.726]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:08 [20:50:08.735]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9JYJzc with size: 10485760 KB (LMDB v2)
20:50:08 [20:50:08.736]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:08 [20:50:08.738]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XNzoQv with size: 10485760 KB (LMDB v2)
20:50:08 [20:50:08.739]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:08 [20:50:08.741]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:08 [20:50:08.743]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
20:50:08 [20:50:08.743]
INFO:
p2p:test:integration Shut down p2p clients
20:50:08 [20:50:08.779]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
20:50:08 {"level":20,"time":1750798198539,"pid":7,"hostname":"5f977a1d4782","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
20:50:08 {"level":20,"time":1750798198539,"pid":7,"hostname":"5f977a1d4782","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:50:18 [20:50:18.115]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:18 [20:50:18.118]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-M7s5tn with size: 10485760 KB (LMDB v2)
20:50:18 [20:50:18.119]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:18 [20:50:18.121]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-JekVKE with size: 10485760 KB (LMDB v2)
20:50:18 [20:50:18.122]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:18 [20:50:18.125]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-hEhtb6 with size: 10485760 KB (LMDB v2)
20:50:18 [20:50:18.125]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:18 [20:50:18.127]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:18 [20:50:18.128]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
20:50:18 [20:50:18.128]
INFO:
p2p:test:integration Shut down p2p clients
20:50:18 [20:50:18.131]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
20:50:28 [20:50:28.234]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:28 [20:50:28.237]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-iDF02P with size: 10485760 KB (LMDB v2)
20:50:28 [20:50:28.237]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:28 [20:50:28.241]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-v4X89n with size: 10485760 KB (LMDB v2)
20:50:28 [20:50:28.241]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:28 [20:50:28.243]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-0IkSiq with size: 10485760 KB (LMDB v2)
20:50:28 [20:50:28.243]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:28 [20:50:28.244]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:28 [20:50:28.245]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
20:50:28 [20:50:28.245]
INFO:
p2p:test:integration Shut down p2p clients
20:50:28 [20:50:28.247]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
20:50:39 [20:50:39.559]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:39 [20:50:39.562]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-zVKOKS with size: 10485760 KB (LMDB v2)
20:50:39 [20:50:39.563]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:39 [20:50:39.565]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-4fDueB with size: 10485760 KB (LMDB v2)
20:50:39 [20:50:39.566]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:39 [20:50:39.568]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nvTVJf with size: 10485760 KB (LMDB v2)
20:50:39 [20:50:39.569]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:39 [20:50:39.571]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:39 [20:50:39.573]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
20:50:39 [20:50:39.573]
INFO:
p2p:test:integration Shut down p2p clients
20:50:39 [20:50:39.576]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
20:50:50 [20:50:50.915]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:50 [20:50:50.937]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-S3TDiv with size: 10485760 KB (LMDB v2)
20:50:50 [20:50:50.949]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:50 [20:50:50.953]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-bWG7yc with size: 10485760 KB (LMDB v2)
20:50:50 [20:50:50.953]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:50 [20:50:50.956]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-6W8wEZ with size: 10485760 KB (LMDB v2)
20:50:50 [20:50:50.957]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:50 [20:50:50.959]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:50 [20:50:50.961]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
20:50:50 [20:50:50.961]
INFO:
p2p:test:integration Shut down p2p clients
20:50:50 [20:50:50.965]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
20:51:01 [20:51:01.936]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:51:01 [20:51:01.940]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-tWM8o0 with size: 10485760 KB (LMDB v2)
20:51:01 [20:51:01.940]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:51:01 [20:51:01.942]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9Xd0Js with size: 10485760 KB (LMDB v2)
20:51:01 [20:51:01.943]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:51:01 [20:51:01.944]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-5OXVNB with size: 10485760 KB (LMDB v2)
20:51:01 [20:51:01.945]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:51:01 [20:51:01.948]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:51:01 [20:51:01.950]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
20:51:01 [20:51:01.950]
INFO:
p2p:test:integration Shut down p2p clients
20:51:01 [20:51:01.952]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
20:51:12 [20:51:12.566]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:51:12 [20:51:12.569]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-vuYqyg with size: 10485760 KB (LMDB v2)
20:51:12 [20:51:12.569]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:51:12 [20:51:12.572]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-VvvvP9 with size: 10485760 KB (LMDB v2)
20:51:12 [20:51:12.572]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:51:12 [20:51:12.574]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CDPU01 with size: 10485760 KB (LMDB v2)
20:51:12 [20:51:12.574]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:51:12 [20:51:12.576]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:51:12 [20:51:12.577]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
20:51:12 [20:51:12.577]
INFO:
p2p:test:integration Shut down p2p clients
20:51:12 [20:51:12.580]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
20:51:23 [20:51:23.061]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:51:23 [20:51:23.064]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-jFIf90 with size: 10485760 KB (LMDB v2)
20:51:23 [20:51:23.064]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:51:23 [20:51:23.067]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Sdm1eQ with size: 10485760 KB (LMDB v2)
20:51:23 [20:51:23.067]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:51:23 [20:51:23.069]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9Pjgjc with size: 10485760 KB (LMDB v2)
20:51:23 [20:51:23.069]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:51:23 [20:51:23.071]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:51:23 [20:51:23.072]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
20:51:23 [20:51:23.072]
INFO:
p2p:test:integration Shut down p2p clients
20:51:23 [20:51:23.075]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
20:51:34 [20:51:34.513]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:51:34 [20:51:34.516]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-auhQ8g with size: 10485760 KB (LMDB v2)
20:51:34 [20:51:34.516]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:51:34 [20:51:34.519]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-I3HgbU with size: 10485760 KB (LMDB v2)
20:51:34 [20:51:34.520]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:51:34 [20:51:34.522]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fmOp4Y with size: 10485760 KB (LMDB v2)
20:51:34 [20:51:34.522]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:51:34 [20:51:34.524]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:51:34 [20:51:34.525]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
20:51:34 [20:51:34.525]
INFO:
p2p:test:integration Shut down p2p clients
20:51:34
FAIL src/client/p2p_client.integration.test.ts (
107.052 s)
20:51:34 p2p client integration
20:51:34
✕ returns undefined if unable to find a transaction from another peer (10762 ms)
20:51:34
✕ can request a transaction from another peer (9356 ms)
20:51:34
✕ will penalize peers that send invalid proofs (10116 ms)
20:51:34
✕ will penalize peers that send the wrong transaction (11326 ms)
20:51:34
✕ will propagate messages to peers at the same version (11386 ms)
20:51:34
✕ should not disconnect clients when it returns correct status (10986 ms)
20:51:34
✕ should disconnect client when it returns status with wrong version (10626 ms)
20:51:34
✕ should disconnect client when it returns an invalid status (10494 ms)
20:51:34
✕ propagates messages using mocked gossip sub network (11451 ms)
20:51:34
20:51:34
● p2p client integration › returns undefined if unable to find a transaction from another peer
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:51:34
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
20:51:34
20:51:34
● p2p client integration › can request a transaction from another peer
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:51:34
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
20:51:34
20:51:34
● p2p client integration › will penalize peers that send invalid proofs
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:51:34
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
20:51:34
20:51:34
● p2p client integration › will penalize peers that send the wrong transaction
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:51:34
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
20:51:34
20:51:34
● p2p client integration › will propagate messages to peers at the same version
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:51:34
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
20:51:34
20:51:34
● p2p client integration › should not disconnect clients when it returns correct status
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
20:51:34
20:51:34
● p2p client integration › should disconnect client when it returns status with wrong version
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
20:51:34
20:51:34
● p2p client integration › should disconnect client when it returns an invalid status
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
20:51:34
20:51:34
● p2p client integration › propagates messages using mocked gossip sub network
20:51:34
20:51:34 TypeError: config.peerIdPrivateKey.getValue is not a function
20:51:34
20:51:34
135 |
20:51:34
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:51:34
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:51:34
| ^
20:51:34
138 | if (peerIdPrivateKeyFilePath) {
20:51:34
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:51:34
140 | } else {
20:51:34
20:51:34
at getValue (util.ts:137:58)
20:51:34
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:51:34
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:51:34
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:51:34
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:51:34
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
20:51:34
20:51:34
Test Suites: 1 failed, 1 total
20:51:34
Tests: 9 failed, 9 total
20:51:34
Snapshots: 0 total
20:51:34
Time: 107.177 s
20:51:34
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
20:51:34
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?