Parent Log:
http://ci.aztec-labs.com/872252fc092e6399
Command: 4ef547fa5e299294: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/016def8adbfe93f34b41a41f439b146b5318c895
Env: REF_NAME=gh-readonly-queue/next/pr-15237-d4893155ff105399557b55c16450c39921c70d11 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 11:54:46 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15237_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
11:54:46 +++ id -u
11:54:46 +++ id -g
11:54: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'\'''
11:54:46 + cid=8f3fa75329e5fbf87bbf6ed4f21d0a7b0a3113dd7c28e323e25a1f856c68a43d
11:54:46 + set +x
11:54:48 {"level":25,"time":1750766088435,"pid":7,"hostname":"8f3fa75329e5","module":"logger","msg":"Logger initialized with level debug"}
11:54:58 [11:54:58.712]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
11:54:58 [11:54:58.799]
DEBUG:
foundation:randomness_singleton Using true randomness
11:54:59 {"level":20,"time":1750766098848,"pid":7,"hostname":"8f3fa75329e5","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
11:54:59 {"level":20,"time":1750766099052,"pid":7,"hostname":"8f3fa75329e5","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
11:55:08 [11:55:08.711]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:08 [11:55:08.715]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-caPOau with size: 10485760 KB (LMDB v2)
11:55:08 [11:55:08.716]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:08 [11:55:08.723]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CPlgGO with size: 10485760 KB (LMDB v2)
11:55:08 [11:55:08.724]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:08 [11:55:08.727]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-qhpYXS with size: 10485760 KB (LMDB v2)
11:55:08 [11:55:08.728]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:08 [11:55:08.731]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:08 [11:55:08.732]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
11:55:08 [11:55:08.733]
INFO:
p2p:test:integration Shut down p2p clients
11:55:08 [11:55:08.768]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
11:55:09 {"level":20,"time":1750766099109,"pid":7,"hostname":"8f3fa75329e5","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
11:55:09 {"level":20,"time":1750766099109,"pid":7,"hostname":"8f3fa75329e5","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"}
11:55:17 [11:55:17.623]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:17 [11:55:17.650]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0dilXp with size: 10485760 KB (LMDB v2)
11:55:17 [11:55:17.651]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:17 [11:55:17.654]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8jjoK8 with size: 10485760 KB (LMDB v2)
11:55:17 [11:55:17.655]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:17 [11:55:17.657]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-u8PHFc with size: 10485760 KB (LMDB v2)
11:55:17 [11:55:17.658]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:17 [11:55:17.660]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:17 [11:55:17.662]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
11:55:17 [11:55:17.662]
INFO:
p2p:test:integration Shut down p2p clients
11:55:17 [11:55:17.665]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
11:55:27 [11:55:27.527]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:27 [11:55:27.535]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UsxHNX with size: 10485760 KB (LMDB v2)
11:55:27 [11:55:27.536]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:27 [11:55:27.539]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-jkSORl with size: 10485760 KB (LMDB v2)
11:55:27 [11:55:27.540]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:27 [11:55:27.542]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LhrLvz with size: 10485760 KB (LMDB v2)
11:55:27 [11:55:27.542]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:27 [11:55:27.546]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:27 [11:55:27.547]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
11:55:27 [11:55:27.547]
INFO:
p2p:test:integration Shut down p2p clients
11:55:27 [11:55:27.549]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
11:55:37 [11:55:37.176]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:37 [11:55:37.179]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-hNSImc with size: 10485760 KB (LMDB v2)
11:55:37 [11:55:37.180]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:37 [11:55:37.182]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-LAUzcV with size: 10485760 KB (LMDB v2)
11:55:37 [11:55:37.183]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:37 [11:55:37.185]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-OwGAII with size: 10485760 KB (LMDB v2)
11:55:37 [11:55:37.185]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:37 [11:55:37.186]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:37 [11:55:37.187]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
11:55:37 [11:55:37.187]
INFO:
p2p:test:integration Shut down p2p clients
11:55:37 [11:55:37.190]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
11:55:47 [11:55:47.519]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:47 [11:55:47.523]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-p3ewP5 with size: 10485760 KB (LMDB v2)
11:55:47 [11:55:47.523]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:47 [11:55:47.526]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8lvBpH with size: 10485760 KB (LMDB v2)
11:55:47 [11:55:47.527]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:47 [11:55:47.529]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XcFD5y with size: 10485760 KB (LMDB v2)
11:55:47 [11:55:47.530]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:47 [11:55:47.531]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:47 [11:55:47.533]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
11:55:47 [11:55:47.533]
INFO:
p2p:test:integration Shut down p2p clients
11:55:47 [11:55:47.535]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
11:55:58 [11:55:58.047]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:58 [11:55:58.049]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Of5YCw with size: 10485760 KB (LMDB v2)
11:55:58 [11:55:58.050]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:58 [11:55:58.052]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-g4EQUH with size: 10485760 KB (LMDB v2)
11:55:58 [11:55:58.053]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:58 [11:55:58.056]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-TLOKVI with size: 10485760 KB (LMDB v2)
11:55:58 [11:55:58.056]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:58 [11:55:58.061]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:58 [11:55:58.062]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
11:55:58 [11:55:58.063]
INFO:
p2p:test:integration Shut down p2p clients
11:55:58 [11:55:58.065]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
11:56:08 [11:56:08.504]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:08 [11:56:08.507]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-fqLWnO with size: 10485760 KB (LMDB v2)
11:56:08 [11:56:08.507]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:08 [11:56:08.517]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DKedj0 with size: 10485760 KB (LMDB v2)
11:56:08 [11:56:08.517]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:08 [11:56:08.528]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PYVNBR with size: 10485760 KB (LMDB v2)
11:56:08 [11:56:08.529]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:08 [11:56:08.531]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:08 [11:56:08.532]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
11:56:08 [11:56:08.533]
INFO:
p2p:test:integration Shut down p2p clients
11:56:08 [11:56:08.535]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
11:56:19 [11:56:19.069]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:19 [11:56:19.072]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bBygiF with size: 10485760 KB (LMDB v2)
11:56:19 [11:56:19.072]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:19 [11:56:19.074]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-NEUwd7 with size: 10485760 KB (LMDB v2)
11:56:19 [11:56:19.074]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:19 [11:56:19.078]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-PAa6Fa with size: 10485760 KB (LMDB v2)
11:56:19 [11:56:19.078]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:19 [11:56:19.081]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:19 [11:56:19.082]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
11:56:19 [11:56:19.082]
INFO:
p2p:test:integration Shut down p2p clients
11:56:19 [11:56:19.085]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
11:56:29 [11:56:29.135]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:29 [11:56:29.138]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-UJo5jQ with size: 10485760 KB (LMDB v2)
11:56:29 [11:56:29.138]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:29 [11:56:29.140]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-pU67PM with size: 10485760 KB (LMDB v2)
11:56:29 [11:56:29.141]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:29 [11:56:29.142]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-ysWgY8 with size: 10485760 KB (LMDB v2)
11:56:29 [11:56:29.142]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:29 [11:56:29.144]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:29 [11:56:29.146]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
11:56:29 [11:56:29.146]
INFO:
p2p:test:integration Shut down p2p clients
11:56:29
FAIL src/client/p2p_client.integration.test.ts (
101.053 s)
11:56:29 p2p client integration
11:56:29
✕ returns undefined if unable to find a transaction from another peer (10024 ms)
11:56:29
✕ can request a transaction from another peer (8896 ms)
11:56:29
✕ will penalize peers that send invalid proofs (9884 ms)
11:56:29
✕ will penalize peers that send the wrong transaction (9639 ms)
11:56:29
✕ will propagate messages to peers at the same version (10344 ms)
11:56:29
✕ should not disconnect clients when it returns correct status (10528 ms)
11:56:29
✕ should disconnect client when it returns status with wrong version (10468 ms)
11:56:29
✕ should disconnect client when it returns an invalid status (10549 ms)
11:56:29
✕ propagates messages using mocked gossip sub network (10061 ms)
11:56:29
11:56:29
● p2p client integration › returns undefined if unable to find a transaction from another peer
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:56:29
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
11:56:29
11:56:29
● p2p client integration › can request a transaction from another peer
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:56:29
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
11:56:29
11:56:29
● p2p client integration › will penalize peers that send invalid proofs
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:56:29
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
11:56:29
11:56:29
● p2p client integration › will penalize peers that send the wrong transaction
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:56:29
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
11:56:29
11:56:29
● p2p client integration › will propagate messages to peers at the same version
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:56:29
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
11:56:29
11:56:29
● p2p client integration › should not disconnect clients when it returns correct status
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
11:56:29
11:56:29
● p2p client integration › should disconnect client when it returns status with wrong version
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
11:56:29
11:56:29
● p2p client integration › should disconnect client when it returns an invalid status
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
11:56:29
11:56:29
● p2p client integration › propagates messages using mocked gossip sub network
11:56:29
11:56:29 TypeError: config.peerIdPrivateKey.getValue is not a function
11:56:29
11:56:29
135 |
11:56:29
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
11:56:29
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:56:29
| ^
11:56:29
138 | if (peerIdPrivateKeyFilePath) {
11:56:29
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:56:29
140 | } else {
11:56:29
11:56:29
at getValue (util.ts:137:58)
11:56:29
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:56:29
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:56:29
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:56:29
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:56:29
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
11:56:29
11:56:29
Test Suites: 1 failed, 1 total
11:56:29
Tests: 9 failed, 9 total
11:56:29
Snapshots: 0 total
11:56:29
Time: 101.171 s
11:56:29
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
11:56:29
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?