Parent Log:
http://ci.aztec-labs.com/e0a41d634b82744d
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:03 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15230_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
20:49:03 +++ id -u
20:49:03 +++ id -g
20:49:03 ++ 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:03 + cid=ab371650dc724988fd9212b65ce01308164eef0f9ae0f31b1aed3a724109d6c3
20:49:03 + set +x
20:49:05 {"level":25,"time":1750798145176,"pid":7,"hostname":"ab371650dc72","module":"logger","msg":"Logger initialized with level debug"}
20:49:15 [20:49:15.491]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
20:49:15 [20:49:15.593]
DEBUG:
foundation:randomness_singleton Using true randomness
20:49:16 {"level":20,"time":1750798155665,"pid":7,"hostname":"ab371650dc72","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
20:49:16 {"level":20,"time":1750798155915,"pid":7,"hostname":"ab371650dc72","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
20:49:26 [20:49:26.181]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:26 [20:49:26.187]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3FeTL5 with size: 10485760 KB (LMDB v2)
20:49:26 [20:49:26.188]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:26 [20:49:26.199]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-S3P9Xm with size: 10485760 KB (LMDB v2)
20:49:26 [20:49:26.199]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:26 [20:49:26.202]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-LKzMOi with size: 10485760 KB (LMDB v2)
20:49:26 [20:49:26.203]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:26 [20:49:26.206]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:26 [20:49:26.210]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
20:49:26 [20:49:26.210]
INFO:
p2p:test:integration Shut down p2p clients
20:49:26 [20:49:26.234]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
20:49:26 {"level":20,"time":1750798155954,"pid":7,"hostname":"ab371650dc72","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
20:49:26 {"level":20,"time":1750798155954,"pid":7,"hostname":"ab371650dc72","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:49:35 [20:49:35.948]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:35 [20:49:35.950]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DNb8jl with size: 10485760 KB (LMDB v2)
20:49:35 [20:49:35.951]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:35 [20:49:35.953]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-i2xHfk with size: 10485760 KB (LMDB v2)
20:49:35 [20:49:35.954]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:35 [20:49:35.956]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-tnaMKm with size: 10485760 KB (LMDB v2)
20:49:35 [20:49:35.957]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:35 [20:49:35.962]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:35 [20:49:35.964]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
20:49:35 [20:49:35.964]
INFO:
p2p:test:integration Shut down p2p clients
20:49:35 [20:49:35.967]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
20:49:45 [20:49:45.591]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:45 [20:49:45.615]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-mbmQqY with size: 10485760 KB (LMDB v2)
20:49:45 [20:49:45.616]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:45 [20:49:45.620]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-423C7H with size: 10485760 KB (LMDB v2)
20:49:45 [20:49:45.620]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:45 [20:49:45.625]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-OmR1dD with size: 10485760 KB (LMDB v2)
20:49:45 [20:49:45.625]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:45 [20:49:45.628]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:45 [20:49:45.630]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
20:49:45 [20:49:45.630]
INFO:
p2p:test:integration Shut down p2p clients
20:49:45 [20:49:45.633]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
20:49:56 [20:49:56.308]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:49:56 [20:49:56.312]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Aqp8Fz with size: 10485760 KB (LMDB v2)
20:49:56 [20:49:56.313]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:49:56 [20:49:56.317]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8LCJs2 with size: 10485760 KB (LMDB v2)
20:49:56 [20:49:56.317]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:49:56 [20:49:56.320]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-gEHan8 with size: 10485760 KB (LMDB v2)
20:49:56 [20:49:56.320]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:49:56 [20:49:56.324]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:49:56 [20:49:56.325]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
20:49:56 [20:49:56.325]
INFO:
p2p:test:integration Shut down p2p clients
20:49:56 [20:49:56.328]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
20:50:06 [20:50:06.791]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:06 [20:50:06.796]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-k5YbDe with size: 10485760 KB (LMDB v2)
20:50:06 [20:50:06.797]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:06 [20:50:06.810]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-FTcVec with size: 10485760 KB (LMDB v2)
20:50:06 [20:50:06.811]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:06 [20:50:06.818]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-DVzNix with size: 10485760 KB (LMDB v2)
20:50:06 [20:50:06.819]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:06 [20:50:06.821]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:06 [20:50:06.822]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
20:50:06 [20:50:06.823]
INFO:
p2p:test:integration Shut down p2p clients
20:50:06 [20:50:06.825]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
20:50:17 [20:50:17.284]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:17 [20:50:17.288]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-0zWFAS with size: 10485760 KB (LMDB v2)
20:50:17 [20:50:17.288]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:17 [20:50:17.296]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Rt9GZw with size: 10485760 KB (LMDB v2)
20:50:17 [20:50:17.297]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:17 [20:50:17.300]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-NaMpj7 with size: 10485760 KB (LMDB v2)
20:50:17 [20:50:17.300]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:17 [20:50:17.330]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:17 [20:50:17.334]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
20:50:17 [20:50:17.335]
INFO:
p2p:test:integration Shut down p2p clients
20:50:17 [20:50:17.339]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
20:50:27 [20:50:27.877]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:27 [20:50:27.879]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kDhBIH with size: 10485760 KB (LMDB v2)
20:50:27 [20:50:27.880]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:27 [20:50:27.882]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-k6Fgv1 with size: 10485760 KB (LMDB v2)
20:50:27 [20:50:27.882]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:27 [20:50:27.884]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-immOmm with size: 10485760 KB (LMDB v2)
20:50:27 [20:50:27.884]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:27 [20:50:27.888]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:27 [20:50:27.889]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
20:50:27 [20:50:27.889]
INFO:
p2p:test:integration Shut down p2p clients
20:50:27 [20:50:27.891]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
20:50:38 [20:50:38.263]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:38 [20:50:38.266]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-04KXQq with size: 10485760 KB (LMDB v2)
20:50:38 [20:50:38.266]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:38 [20:50:38.269]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-vPUJc7 with size: 10485760 KB (LMDB v2)
20:50:38 [20:50:38.269]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:38 [20:50:38.271]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-CW3DDe with size: 10485760 KB (LMDB v2)
20:50:38 [20:50:38.272]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:38 [20:50:38.276]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:38 [20:50:38.277]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
20:50:38 [20:50:38.278]
INFO:
p2p:test:integration Shut down p2p clients
20:50:38 [20:50:38.281]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
20:50:49 [20:50:49.043]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
20:50:49 [20:50:49.057]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-PX7bQ1 with size: 10485760 KB (LMDB v2)
20:50:49 [20:50:49.058]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
20:50:49 [20:50:49.061]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-1lILPi with size: 10485760 KB (LMDB v2)
20:50:49 [20:50:49.061]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
20:50:49 [20:50:49.063]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-XLjO0E with size: 10485760 KB (LMDB v2)
20:50:49 [20:50:49.063]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
20:50:49 [20:50:49.068]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
20:50:49 [20:50:49.068]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
20:50:49 [20:50:49.069]
INFO:
p2p:test:integration Shut down p2p clients
20:50:49
FAIL src/client/p2p_client.integration.test.ts (
104.3 s)
20:50:49 p2p client integration
20:50:49
✕ returns undefined if unable to find a transaction from another peer (10724 ms)
20:50:49
✕ can request a transaction from another peer (9731 ms)
20:50:49
✕ will penalize peers that send invalid proofs (9665 ms)
20:50:49
✕ will penalize peers that send the wrong transaction (10694 ms)
20:50:49
✕ will propagate messages to peers at the same version (10496 ms)
20:50:49
✕ should not disconnect clients when it returns correct status (10510 ms)
20:50:49
✕ should disconnect client when it returns status with wrong version (10551 ms)
20:50:49
✕ should disconnect client when it returns an invalid status (10388 ms)
20:50:49
✕ propagates messages using mocked gossip sub network (10789 ms)
20:50:49
20:50:49
● p2p client integration › returns undefined if unable to find a transaction from another peer
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
20:50:49
20:50:49
● p2p client integration › can request a transaction from another peer
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
20:50:49
20:50:49
● p2p client integration › will penalize peers that send invalid proofs
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
20:50:49
20:50:49
● p2p client integration › will penalize peers that send the wrong transaction
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
20:50:49
20:50:49
● p2p client integration › will propagate messages to peers at the same version
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
20:50:49
20:50:49
● p2p client integration › should not disconnect clients when it returns correct status
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
20:50:49
20:50:49
● p2p client integration › should disconnect client when it returns status with wrong version
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
20:50:49
20:50:49
● p2p client integration › should disconnect client when it returns an invalid status
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
20:50:49
20:50:49
● p2p client integration › propagates messages using mocked gossip sub network
20:50:49
20:50:49 TypeError: config.peerIdPrivateKey.getValue is not a function
20:50:49
20:50:49
135 |
20:50:49
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:50:49
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
20:50:49
| ^
20:50:49
138 | if (peerIdPrivateKeyFilePath) {
20:50:49
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
20:50:49
140 | } else {
20:50:49
20:50:49
at getValue (util.ts:137:58)
20:50:49
at getPeerIdPrivateKey (client/factory.ts:75:34)
20:50:49
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
20:50:49
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
20:50:49
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
20:50:49
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
20:50:49
20:50:49
Test Suites: 1 failed, 1 total
20:50:49
Tests: 9 failed, 9 total
20:50:49
Snapshots: 0 total
20:50:49
Time: 104.404 s
20:50:49
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
20:50:49
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?