Parent Log:
http://ci.aztec-labs.com/2945bd5165943bd8
Command: 2f76ae4bba915073: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/87c4b689268afecc86ab007c3587e45110daa43d
Env: REF_NAME=gh-readonly-queue/next/pr-15220-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 16:34:22 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15220_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
16:34:22 +++ id -u
16:34:22 +++ id -g
16:34:22 ++ 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'\'''
16:34:22 + cid=c724caec4716ee130bcc06302540108f7c4abbd2da492d55f229c81f6c106727
16:34:22 + set +x
16:34:24 {"level":25,"time":1750782864145,"pid":7,"hostname":"c724caec4716","module":"logger","msg":"Logger initialized with level debug"}
16:34:33 [16:34:33.871]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
16:34:33 [16:34:33.957]
DEBUG:
foundation:randomness_singleton Using true randomness
16:34:34 {"level":20,"time":1750782874019,"pid":7,"hostname":"c724caec4716","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
16:34:34 {"level":20,"time":1750782874255,"pid":7,"hostname":"c724caec4716","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12115448 bytes"}
16:34:44 [16:34:44.358]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:34:44 [16:34:44.369]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-bhwnI6 with size: 10485760 KB (LMDB v2)
16:34:44 [16:34:44.370]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:34:44 [16:34:44.388]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-EIJidD with size: 10485760 KB (LMDB v2)
16:34:44 [16:34:44.389]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:34:44 [16:34:44.393]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-sA1YWw with size: 10485760 KB (LMDB v2)
16:34:44 [16:34:44.394]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:34:44 [16:34:44.398]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:34:44 [16:34:44.402]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
16:34:44 [16:34:44.402]
INFO:
p2p:test:integration Shut down p2p clients
16:34:44 [16:34:44.433]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
16:34:44 {"level":20,"time":1750782874305,"pid":7,"hostname":"c724caec4716","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
16:34:44 {"level":20,"time":1750782874306,"pid":7,"hostname":"c724caec4716","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"}
16:34:53 [16:34:53.528]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:34:53 [16:34:53.545]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-P3HMhe with size: 10485760 KB (LMDB v2)
16:34:53 [16:34:53.546]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:34:53 [16:34:53.552]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-QPVPvz with size: 10485760 KB (LMDB v2)
16:34:53 [16:34:53.552]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:34:53 [16:34:53.558]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-VOi39h with size: 10485760 KB (LMDB v2)
16:34:53 [16:34:53.558]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:34:53 [16:34:53.563]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:34:53 [16:34:53.565]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
16:34:53 [16:34:53.565]
INFO:
p2p:test:integration Shut down p2p clients
16:34:53 [16:34:53.569]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
16:35:03 [16:35:03.040]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:03 [16:35:03.043]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-ZE2RSD with size: 10485760 KB (LMDB v2)
16:35:03 [16:35:03.043]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:03 [16:35:03.046]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dBodu7 with size: 10485760 KB (LMDB v2)
16:35:03 [16:35:03.046]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:03 [16:35:03.048]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nMj78K with size: 10485760 KB (LMDB v2)
16:35:03 [16:35:03.049]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:03 [16:35:03.051]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:03 [16:35:03.052]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
16:35:03 [16:35:03.052]
INFO:
p2p:test:integration Shut down p2p clients
16:35:03 [16:35:03.054]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
16:35:12 [16:35:12.676]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:12 [16:35:12.681]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-EnkeFt with size: 10485760 KB (LMDB v2)
16:35:12 [16:35:12.681]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:12 [16:35:12.686]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-uZ4e5m with size: 10485760 KB (LMDB v2)
16:35:12 [16:35:12.687]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:12 [16:35:12.692]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-X4SjBe with size: 10485760 KB (LMDB v2)
16:35:12 [16:35:12.693]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:12 [16:35:12.695]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:12 [16:35:12.696]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
16:35:12 [16:35:12.697]
INFO:
p2p:test:integration Shut down p2p clients
16:35:12 [16:35:12.699]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
16:35:22 [16:35:22.604]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:22 [16:35:22.607]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-3IcrcD with size: 10485760 KB (LMDB v2)
16:35:22 [16:35:22.608]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:22 [16:35:22.612]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-DZkrzr with size: 10485760 KB (LMDB v2)
16:35:22 [16:35:22.613]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:22 [16:35:22.616]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-v4c3Uk with size: 10485760 KB (LMDB v2)
16:35:22 [16:35:22.617]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:22 [16:35:22.621]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:22 [16:35:22.623]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
16:35:22 [16:35:22.623]
INFO:
p2p:test:integration Shut down p2p clients
16:35:22 [16:35:22.626]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
16:35:32 [16:35:32.937]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:32 [16:35:32.955]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-rFKIcd with size: 10485760 KB (LMDB v2)
16:35:32 [16:35:32.955]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:32 [16:35:32.959]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-CeGJyR with size: 10485760 KB (LMDB v2)
16:35:32 [16:35:32.959]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:32 [16:35:32.961]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FPBlRw with size: 10485760 KB (LMDB v2)
16:35:32 [16:35:32.961]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:32 [16:35:32.965]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:32 [16:35:32.966]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
16:35:32 [16:35:32.967]
INFO:
p2p:test:integration Shut down p2p clients
16:35:32 [16:35:32.969]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
16:35:43 [16:35:43.625]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:43 [16:35:43.628]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-O1n1Bj with size: 10485760 KB (LMDB v2)
16:35:43 [16:35:43.628]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:43 [16:35:43.631]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-UQgctD with size: 10485760 KB (LMDB v2)
16:35:43 [16:35:43.631]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:43 [16:35:43.633]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-lSF8fy with size: 10485760 KB (LMDB v2)
16:35:43 [16:35:43.633]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:43 [16:35:43.635]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:43 [16:35:43.636]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
16:35:43 [16:35:43.637]
INFO:
p2p:test:integration Shut down p2p clients
16:35:43 [16:35:43.639]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
16:35:53 [16:35:53.713]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:35:53 [16:35:53.716]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-1zVZHL with size: 10485760 KB (LMDB v2)
16:35:53 [16:35:53.717]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:35:53 [16:35:53.719]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-8fCQV9 with size: 10485760 KB (LMDB v2)
16:35:53 [16:35:53.719]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:35:53 [16:35:53.721]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-i63KD7 with size: 10485760 KB (LMDB v2)
16:35:53 [16:35:53.722]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:35:53 [16:35:53.723]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:35:53 [16:35:53.724]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
16:35:53 [16:35:53.724]
INFO:
p2p:test:integration Shut down p2p clients
16:35:53 [16:35:53.727]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
16:36:04 [16:36:04.420]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
16:36:04 [16:36:04.421]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Sjbs4r with size: 10485760 KB (LMDB v2)
16:36:04 [16:36:04.422]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
16:36:04 [16:36:04.424]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-dlVPzB with size: 10485760 KB (LMDB v2)
16:36:04 [16:36:04.424]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
16:36:04 [16:36:04.426]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-G1HAZ8 with size: 10485760 KB (LMDB v2)
16:36:04 [16:36:04.426]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
16:36:04 [16:36:04.427]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
16:36:04 [16:36:04.428]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
16:36:04 [16:36:04.428]
INFO:
p2p:test:integration Shut down p2p clients
16:36:04
FAIL src/client/p2p_client.integration.test.ts (
100.604 s)
16:36:04 p2p client integration
16:36:04
✕ returns undefined if unable to find a transaction from another peer (10536 ms)
16:36:04
✕ can request a transaction from another peer (9134 ms)
16:36:04
✕ will penalize peers that send invalid proofs (9484 ms)
16:36:04
✕ will penalize peers that send the wrong transaction (9643 ms)
16:36:04
✕ will propagate messages to peers at the same version (9925 ms)
16:36:04
✕ should not disconnect clients when it returns correct status (10342 ms)
16:36:04
✕ should disconnect client when it returns status with wrong version (10668 ms)
16:36:04
✕ should disconnect client when it returns an invalid status (10086 ms)
16:36:04
✕ propagates messages using mocked gossip sub network (10702 ms)
16:36:04
16:36:04
● p2p client integration › returns undefined if unable to find a transaction from another peer
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:04
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
16:36:04
16:36:04
● p2p client integration › can request a transaction from another peer
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:04
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
16:36:04
16:36:04
● p2p client integration › will penalize peers that send invalid proofs
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:04
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
16:36:04
16:36:04
● p2p client integration › will penalize peers that send the wrong transaction
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:04
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
16:36:04
16:36:04
● p2p client integration › will propagate messages to peers at the same version
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:04
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
16:36:04
16:36:04
● p2p client integration › should not disconnect clients when it returns correct status
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
16:36:04
16:36:04
● p2p client integration › should disconnect client when it returns status with wrong version
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
16:36:04
16:36:04
● p2p client integration › should disconnect client when it returns an invalid status
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
16:36:04
16:36:04
● p2p client integration › propagates messages using mocked gossip sub network
16:36:04
16:36:04 TypeError: config.peerIdPrivateKey.getValue is not a function
16:36:04
16:36:04
135 |
16:36:04
136 | // If the peerIdPrivateKey is provided in the config, we use it and persist it in either a file or the node's store
16:36:04
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
16:36:04
| ^
16:36:04
138 | if (peerIdPrivateKeyFilePath) {
16:36:04
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
16:36:04
140 | } else {
16:36:04
16:36:04
at getValue (util.ts:137:58)
16:36:04
at getPeerIdPrivateKey (client/factory.ts:75:34)
16:36:04
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
16:36:04
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
16:36:04
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
16:36:04
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
16:36:04
16:36:04
Test Suites: 1 failed, 1 total
16:36:04
Tests: 9 failed, 9 total
16:36:04
Snapshots: 0 total
16:36:04
Time: 100.726 s
16:36:04
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
16:36:04
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?