Parent Log:
http://ci.aztec-labs.com/da84e1400af72320
Command: 84c999e211bb73e4: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/3863bc02d671057d0cffd4ced17ca317788ff190
Env: REF_NAME=gh-readonly-queue/staging/pr-15238-db396f13b7ef374a230174bdc4078d9fbb3c788a CURRENT_VERSION=1.0.0 CI_FULL=1
Date: Tue Jun 24 12:12:07 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15238_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_staging
12:12:07 +++ id -u
12:12:07 +++ id -g
12:12:07 ++ 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'\'''
12:12:08 + cid=e0ca33a5600b070794035f7da36baa9d92fa377a1225e53061629891dadd9911
12:12:08 + set +x
12:12:10 {"level":25,"time":1750767130008,"pid":7,"hostname":"e0ca33a5600b","module":"logger","msg":"Logger initialized with level debug"}
12:12:19 [12:12:19.860]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
12:12:19 [12:12:19.953]
DEBUG:
foundation:randomness_singleton Using true randomness
12:12:20 {"level":20,"time":1750767140023,"pid":7,"hostname":"e0ca33a5600b","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
12:12:20 {"level":20,"time":1750767140226,"pid":7,"hostname":"e0ca33a5600b","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
12:12:30 [12:12:30.437]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:12:30 [12:12:30.445]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2ihueb with size: 10485760 KB (LMDB v2)
12:12:30 [12:12:30.446]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:12:30 [12:12:30.464]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-GUgTgd with size: 10485760 KB (LMDB v2)
12:12:30 [12:12:30.466]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:12:30 [12:12:30.483]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-yo7kq7 with size: 10485760 KB (LMDB v2)
12:12:30 [12:12:30.485]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:12:30 [12:12:30.490]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:12:30 [12:12:30.493]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
12:12:30 [12:12:30.494]
INFO:
p2p:test:integration Shut down p2p clients
12:12:30 [12:12:30.516]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
12:12:30 {"level":20,"time":1750767140284,"pid":7,"hostname":"e0ca33a5600b","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
12:12:30 {"level":20,"time":1750767140285,"pid":7,"hostname":"e0ca33a5600b","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"}
12:12:39 [12:12:39.647]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:12:39 [12:12:39.650]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-piy42d with size: 10485760 KB (LMDB v2)
12:12:39 [12:12:39.650]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:12:39 [12:12:39.653]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LfGuG6 with size: 10485760 KB (LMDB v2)
12:12:39 [12:12:39.653]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:12:39 [12:12:39.665]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ofAVqM with size: 10485760 KB (LMDB v2)
12:12:39 [12:12:39.666]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:12:39 [12:12:39.670]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:12:39 [12:12:39.673]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
12:12:39 [12:12:39.674]
INFO:
p2p:test:integration Shut down p2p clients
12:12:39 [12:12:39.679]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
12:12:49 [12:12:49.245]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:12:49 [12:12:49.249]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DvEXzf with size: 10485760 KB (LMDB v2)
12:12:49 [12:12:49.249]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:12:49 [12:12:49.253]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xiJ1f2 with size: 10485760 KB (LMDB v2)
12:12:49 [12:12:49.254]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:12:49 [12:12:49.262]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-q8gfNo with size: 10485760 KB (LMDB v2)
12:12:49 [12:12:49.262]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:12:49 [12:12:49.266]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:12:49 [12:12:49.269]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
12:12:49 [12:12:49.269]
INFO:
p2p:test:integration Shut down p2p clients
12:12:49 [12:12:49.274]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
12:12:59 [12:12:59.055]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:12:59 [12:12:59.071]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-VL5VUB with size: 10485760 KB (LMDB v2)
12:12:59 [12:12:59.072]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:12:59 [12:12:59.075]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-D7yEjy with size: 10485760 KB (LMDB v2)
12:12:59 [12:12:59.075]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:12:59 [12:12:59.080]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-4KMdJc with size: 10485760 KB (LMDB v2)
12:12:59 [12:12:59.080]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:12:59 [12:12:59.084]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:12:59 [12:12:59.086]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
12:12:59 [12:12:59.086]
INFO:
p2p:test:integration Shut down p2p clients
12:12:59 [12:12:59.089]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
12:13:09 [12:13:09.057]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:09 [12:13:09.060]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-SNlD9q with size: 10485760 KB (LMDB v2)
12:13:09 [12:13:09.061]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:09 [12:13:09.063]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-wjz5Wt with size: 10485760 KB (LMDB v2)
12:13:09 [12:13:09.064]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:09 [12:13:09.066]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-j5GrNX with size: 10485760 KB (LMDB v2)
12:13:09 [12:13:09.066]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:09 [12:13:09.068]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:09 [12:13:09.069]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
12:13:09 [12:13:09.069]
INFO:
p2p:test:integration Shut down p2p clients
12:13:09 [12:13:09.071]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
12:13:19 [12:13:19.090]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:19 [12:13:19.092]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-QpqOMO with size: 10485760 KB (LMDB v2)
12:13:19 [12:13:19.093]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:19 [12:13:19.096]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aTT51D with size: 10485760 KB (LMDB v2)
12:13:19 [12:13:19.097]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:19 [12:13:19.100]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Ij5GhV with size: 10485760 KB (LMDB v2)
12:13:19 [12:13:19.101]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:19 [12:13:19.104]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:19 [12:13:19.105]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
12:13:19 [12:13:19.105]
INFO:
p2p:test:integration Shut down p2p clients
12:13:19 [12:13:19.108]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
12:13:29 [12:13:29.331]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:29 [12:13:29.335]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-foVNUm with size: 10485760 KB (LMDB v2)
12:13:29 [12:13:29.335]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:29 [12:13:29.340]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ffJ60P with size: 10485760 KB (LMDB v2)
12:13:29 [12:13:29.341]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:29 [12:13:29.344]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-jCuxoW with size: 10485760 KB (LMDB v2)
12:13:29 [12:13:29.345]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:29 [12:13:29.347]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:29 [12:13:29.349]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
12:13:29 [12:13:29.349]
INFO:
p2p:test:integration Shut down p2p clients
12:13:29 [12:13:29.352]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
12:13:39 [12:13:39.752]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:39 [12:13:39.773]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-KHj0vY with size: 10485760 KB (LMDB v2)
12:13:39 [12:13:39.774]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:39 [12:13:39.778]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-b4BROF with size: 10485760 KB (LMDB v2)
12:13:39 [12:13:39.778]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:39 [12:13:39.782]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-bWt7J5 with size: 10485760 KB (LMDB v2)
12:13:39 [12:13:39.782]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:39 [12:13:39.785]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:39 [12:13:39.786]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
12:13:39 [12:13:39.787]
INFO:
p2p:test:integration Shut down p2p clients
12:13:39 [12:13:39.789]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
12:13:50 [12:13:50.053]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
12:13:50 [12:13:50.056]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Y5uIeV with size: 10485760 KB (LMDB v2)
12:13:50 [12:13:50.057]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
12:13:50 [12:13:50.060]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-aXVhCB with size: 10485760 KB (LMDB v2)
12:13:50 [12:13:50.060]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
12:13:50 [12:13:50.062]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-vbMmYk with size: 10485760 KB (LMDB v2)
12:13:50 [12:13:50.063]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
12:13:50 [12:13:50.065]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
12:13:50 [12:13:50.066]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
12:13:50 [12:13:50.067]
INFO:
p2p:test:integration Shut down p2p clients
12:13:50
FAIL src/client/p2p_client.integration.test.ts (
100.504 s)
12:13:50 p2p client integration
12:13:50
✕ returns undefined if unable to find a transaction from another peer (10639 ms)
12:13:50
✕ can request a transaction from another peer (9160 ms)
12:13:50
✕ will penalize peers that send invalid proofs (9591 ms)
12:13:50
✕ will penalize peers that send the wrong transaction (9814 ms)
12:13:50
✕ will propagate messages to peers at the same version (9981 ms)
12:13:50
✕ should not disconnect clients when it returns correct status (10036 ms)
12:13:50
✕ should disconnect client when it returns status with wrong version (10242 ms)
12:13:50
✕ should disconnect client when it returns an invalid status (10436 ms)
12:13:50
✕ propagates messages using mocked gossip sub network (10279 ms)
12:13:50
12:13:50
● p2p client integration › returns undefined if unable to find a transaction from another peer
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:13:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
12:13:50
12:13:50
● p2p client integration › can request a transaction from another peer
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:13:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
12:13:50
12:13:50
● p2p client integration › will penalize peers that send invalid proofs
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:13:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
12:13:50
12:13:50
● p2p client integration › will penalize peers that send the wrong transaction
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:13:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
12:13:50
12:13:50
● p2p client integration › will propagate messages to peers at the same version
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:13:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
12:13:50
12:13:50
● p2p client integration › should not disconnect clients when it returns correct status
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
12:13:50
12:13:50
● p2p client integration › should disconnect client when it returns status with wrong version
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
12:13:50
12:13:50
● p2p client integration › should disconnect client when it returns an invalid status
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
12:13:50
12:13:50
● p2p client integration › propagates messages using mocked gossip sub network
12:13:50
12:13:50 TypeError: config.peerIdPrivateKey.getValue is not a function
12:13:50
12:13:50
135 |
12:13:50
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
12:13:50
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
12:13:50
| ^
12:13:50
138 | if (peerIdPrivateKeyFilePath) {
12:13:50
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
12:13:50
140 | } else {
12:13:50
12:13:50
at getValue (util.ts:137:58)
12:13:50
at getPeerIdPrivateKey (client/factory.ts:75:34)
12:13:50
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
12:13:50
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
12:13:50
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
12:13:50
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
12:13:50
12:13:50
Test Suites: 1 failed, 1 total
12:13:50
Tests: 9 failed, 9 total
12:13:50
Snapshots: 0 total
12:13:50
Time: 100.638 s
12:13:50
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
12:13:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?