Parent Log:
http://ci.aztec-labs.com/903550316e4b829b
Command: ef85c2b8680d9e9c: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/9ba478709ce5c48099f79f9531da8292811cb18a
Env: REF_NAME=gh-readonly-queue/staging/pr-15247-3863bc02d671057d0cffd4ced17ca317788ff190 CURRENT_VERSION=1.0.0 CI_FULL=1
Date: Tue Jun 24 14:59:17 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15247_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging
14:59:17 +++ id -u
14:59:17 +++ id -g
14:59:17 ++ docker run -d --name p2p_src_client_p2p_client.integration.test.ts --net=none --cpuset-cpus=0-127 --cpus=2 --memory=8g --user 1000:1000 -v/home/aztec-dev:/home/aztec-dev --mount type=tmpfs,target=/tmp,tmpfs-size=1g --workdir /home/aztec-dev/aztec-packages -e HOME -e VERBOSE -e GIT_CONFIG_GLOBAL=/home/aztec-dev/aztec-packages/build-images/src/home/.gitconfig -e FORCE_COLOR=true -e CPUS -e MEM aztecprotocol/build:3.0 /bin/bash -c 'timeout -v 600s bash -c '\''LOG_LEVEL=debug yarn-project/scripts/run_test.sh p2p/src/client/p2p_client.integration.test.ts'\'''
14:59:18 + cid=8c64e21edf31fab717303fa2172c17fa0f68fc1749af4552037522ba25a5ecef
14:59:18 + set +x
14:59:19 {"level":25,"time":1750777159489,"pid":7,"hostname":"8c64e21edf31","module":"logger","msg":"Logger initialized with level debug"}
14:59:29 [14:59:29.256]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
14:59:29 [14:59:29.355]
DEBUG:
foundation:randomness_singleton Using true randomness
14:59:30 {"level":20,"time":1750777169442,"pid":7,"hostname":"8c64e21edf31","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
14:59:30 {"level":20,"time":1750777169649,"pid":7,"hostname":"8c64e21edf31","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
14:59:39 [14:59:39.709]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:59:39 [14:59:39.715]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nxbZ6m with size: 10485760 KB (LMDB v2)
14:59:39 [14:59:39.717]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:59:39 [14:59:39.725]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xKecxH with size: 10485760 KB (LMDB v2)
14:59:39 [14:59:39.726]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:59:39 [14:59:39.728]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-9F4DSB with size: 10485760 KB (LMDB v2)
14:59:39 [14:59:39.728]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:59:39 [14:59:39.731]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:59:39 [14:59:39.733]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
14:59:39 [14:59:39.733]
INFO:
p2p:test:integration Shut down p2p clients
14:59:39 [14:59:39.760]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
14:59:40 {"level":20,"time":1750777169680,"pid":7,"hostname":"8c64e21edf31","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
14:59:40 {"level":20,"time":1750777169681,"pid":7,"hostname":"8c64e21edf31","name":"bb.js","name":"bb_wasm_sync","msg":"Initializing bb wasm: initial memory 32 pages 2MiB; max memory: 65536 pages, 4096MiB; threads: 1; shared memory: true"}
14:59:49 [14:59:49.256]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:59:49 [14:59:49.259]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-nMMuXV with size: 10485760 KB (LMDB v2)
14:59:49 [14:59:49.260]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:59:49 [14:59:49.262]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-2y0zUN with size: 10485760 KB (LMDB v2)
14:59:49 [14:59:49.263]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:59:49 [14:59:49.265]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-GcqADp with size: 10485760 KB (LMDB v2)
14:59:49 [14:59:49.266]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:59:49 [14:59:49.267]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:59:49 [14:59:49.268]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
14:59:49 [14:59:49.269]
INFO:
p2p:test:integration Shut down p2p clients
14:59:49 [14:59:49.272]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
14:59:58 [14:59:58.438]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
14:59:58 [14:59:58.453]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-klQIWa with size: 10485760 KB (LMDB v2)
14:59:58 [14:59:58.454]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
14:59:58 [14:59:58.456]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-MCXgyd with size: 10485760 KB (LMDB v2)
14:59:58 [14:59:58.457]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
14:59:58 [14:59:58.459]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3RElzF with size: 10485760 KB (LMDB v2)
14:59:58 [14:59:58.459]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
14:59:58 [14:59:58.461]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
14:59:58 [14:59:58.462]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
14:59:58 [14:59:58.462]
INFO:
p2p:test:integration Shut down p2p clients
14:59:58 [14:59:58.464]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
15:00:08 [15:00:08.534]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:08 [15:00:08.538]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xK9OVN with size: 10485760 KB (LMDB v2)
15:00:08 [15:00:08.538]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:08 [15:00:08.542]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XzIgen with size: 10485760 KB (LMDB v2)
15:00:08 [15:00:08.542]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:08 [15:00:08.544]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-oTu6Kw with size: 10485760 KB (LMDB v2)
15:00:08 [15:00:08.544]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:08 [15:00:08.546]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:08 [15:00:08.548]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
15:00:08 [15:00:08.548]
INFO:
p2p:test:integration Shut down p2p clients
15:00:08 [15:00:08.552]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
15:00:18 [15:00:18.336]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:18 [15:00:18.338]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-sHnXR7 with size: 10485760 KB (LMDB v2)
15:00:18 [15:00:18.338]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:18 [15:00:18.342]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-3jHZpm with size: 10485760 KB (LMDB v2)
15:00:18 [15:00:18.343]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:18 [15:00:18.347]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qSZvbW with size: 10485760 KB (LMDB v2)
15:00:18 [15:00:18.348]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:18 [15:00:18.352]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:18 [15:00:18.353]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
15:00:18 [15:00:18.353]
INFO:
p2p:test:integration Shut down p2p clients
15:00:18 [15:00:18.355]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
15:00:28 [15:00:28.748]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:28 [15:00:28.750]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-l8WWS5 with size: 10485760 KB (LMDB v2)
15:00:28 [15:00:28.750]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:28 [15:00:28.752]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aNGOPk with size: 10485760 KB (LMDB v2)
15:00:28 [15:00:28.752]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:28 [15:00:28.756]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-D43MIg with size: 10485760 KB (LMDB v2)
15:00:28 [15:00:28.757]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:28 [15:00:28.760]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:28 [15:00:28.761]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
15:00:28 [15:00:28.761]
INFO:
p2p:test:integration Shut down p2p clients
15:00:28 [15:00:28.763]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
15:00:39 [15:00:39.273]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:39 [15:00:39.286]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JOb7Rk with size: 10485760 KB (LMDB v2)
15:00:39 [15:00:39.288]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:39 [15:00:39.292]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-9iO2fD with size: 10485760 KB (LMDB v2)
15:00:39 [15:00:39.292]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:39 [15:00:39.296]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-2hTdLe with size: 10485760 KB (LMDB v2)
15:00:39 [15:00:39.297]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:39 [15:00:39.299]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:39 [15:00:39.300]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
15:00:39 [15:00:39.300]
INFO:
p2p:test:integration Shut down p2p clients
15:00:39 [15:00:39.302]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
15:00:49 [15:00:49.568]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:00:49 [15:00:49.570]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Rh3rpO with size: 10485760 KB (LMDB v2)
15:00:49 [15:00:49.571]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:00:49 [15:00:49.573]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-0izjN3 with size: 10485760 KB (LMDB v2)
15:00:49 [15:00:49.573]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:00:49 [15:00:49.574]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-wwWwym with size: 10485760 KB (LMDB v2)
15:00:49 [15:00:49.575]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:00:49 [15:00:49.576]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:00:49 [15:00:49.577]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
15:00:49 [15:00:49.578]
INFO:
p2p:test:integration Shut down p2p clients
15:00:49 [15:00:49.580]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
15:01:00 [15:01:00.057]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
15:01:00 [15:01:00.059]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6S84Sk with size: 10485760 KB (LMDB v2)
15:01:00 [15:01:00.060]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
15:01:00 [15:01:00.062]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LnyG1G with size: 10485760 KB (LMDB v2)
15:01:00 [15:01:00.063]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
15:01:00 [15:01:00.064]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-3uqFj1 with size: 10485760 KB (LMDB v2)
15:01:00 [15:01:00.065]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
15:01:00 [15:01:00.066]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
15:01:00 [15:01:00.067]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
15:01:00 [15:01:00.067]
INFO:
p2p:test:integration Shut down p2p clients
15:01:00
FAIL src/client/p2p_client.integration.test.ts (
100.905 s)
15:01:00 p2p client integration
15:01:00
✕ returns undefined if unable to find a transaction from another peer (10481 ms)
15:01:00
✕ can request a transaction from another peer (9510 ms)
15:01:00
✕ will penalize peers that send invalid proofs (9191 ms)
15:01:00
✕ will penalize peers that send the wrong transaction (10086 ms)
15:01:00
✕ will propagate messages to peers at the same version (9802 ms)
15:01:00
✕ should not disconnect clients when it returns correct status (10407 ms)
15:01:00
✕ should disconnect client when it returns status with wrong version (10538 ms)
15:01:00
✕ should disconnect client when it returns an invalid status (10276 ms)
15:01:00
✕ propagates messages using mocked gossip sub network (10489 ms)
15:01:00
15:01:00
● p2p client integration › returns undefined if unable to find a transaction from another peer
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:01:00
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
15:01:00
15:01:00
● p2p client integration › can request a transaction from another peer
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:01:00
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
15:01:00
15:01:00
● p2p client integration › will penalize peers that send invalid proofs
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:01:00
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
15:01:00
15:01:00
● p2p client integration › will penalize peers that send the wrong transaction
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:01:00
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
15:01:00
15:01:00
● p2p client integration › will propagate messages to peers at the same version
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:01:00
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
15:01:00
15:01:00
● p2p client integration › should not disconnect clients when it returns correct status
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
15:01:00
15:01:00
● p2p client integration › should disconnect client when it returns status with wrong version
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
15:01:00
15:01:00
● p2p client integration › should disconnect client when it returns an invalid status
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
15:01:00
15:01:00
● p2p client integration › propagates messages using mocked gossip sub network
15:01:00
15:01:00 TypeError: config.peerIdPrivateKey.getValue is not a function
15:01:00
15:01:00
135 |
15:01:00
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
15:01:00
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
15:01:00
| ^
15:01:00
138 | if (peerIdPrivateKeyFilePath) {
15:01:00
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
15:01:00
140 | } else {
15:01:00
15:01:00
at getValue (util.ts:137:58)
15:01:00
at getPeerIdPrivateKey (client/factory.ts:75:34)
15:01:00
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
15:01:00
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
15:01:00
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
15:01:00
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
15:01:00
15:01:00
Test Suites: 1 failed, 1 total
15:01:00
Tests: 9 failed, 9 total
15:01:00
Snapshots: 0 total
15:01:00
Time: 100.994 s
15:01:00
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
15:01:00
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?