Parent Log:
http://ci.aztec-labs.com/f1b0c4b89b2eaa78
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:55:26 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15237_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_efa11ee7aa0bfe9b_next
11:55:26 +++ id -u
11:55:26 +++ id -g
11:55:26 ++ 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:55:26 + cid=62e93c6d98a445b5ee74b0e7c03179f8cea0192590959b7aa3832ff931d58902
11:55:26 + set +x
11:55:28 {"level":25,"time":1750766128258,"pid":6,"hostname":"62e93c6d98a4","module":"logger","msg":"Logger initialized with level debug"}
11:55:37 [11:55:37.472]
INFO:
p2p:test:integration Starting test p2p client integration returns undefined if unable to find a transaction from another peer
11:55:37 [11:55:37.566]
DEBUG:
foundation:randomness_singleton Using true randomness
11:55:38 {"level":20,"time":1750766137634,"pid":6,"hostname":"62e93c6d98a4","name":"bb.js","name":"bb_wasm_sync","msg":"Fetching bb wasm from default location"}
11:55:38 {"level":20,"time":1750766137836,"pid":6,"hostname":"62e93c6d98a4","name":"bb.js","name":"bb_wasm_sync","msg":"Compiling bb wasm of 12113510 bytes"}
11:55:47 [11:55:47.598]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:47 [11:55:47.602]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-2UMQoc with size: 10485760 KB (LMDB v2)
11:55:47 [11:55:47.603]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:47 [11:55:47.611]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-BQ1tNy with size: 10485760 KB (LMDB v2)
11:55:47 [11:55:47.611]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:47 [11:55:47.616]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-1Uexd5 with size: 10485760 KB (LMDB v2)
11:55:47 [11:55:47.616]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:47 [11:55:47.620]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:47 [11:55:47.622]
INFO:
p2p:test:integration Tearing down state for p2p client integration returns undefined if unable to find a transaction from another peer
11:55:47 [11:55:47.623]
INFO:
p2p:test:integration Shut down p2p clients
11:55:47 [11:55:47.653]
INFO:
p2p:test:integration Starting test p2p client integration can request a transaction from another peer
11:55:48 {"level":20,"time":1750766137863,"pid":6,"hostname":"62e93c6d98a4","name":"bb.js","name":"bb_wasm_sync","msg":"Compilation of bb wasm complete"}
11:55:48 {"level":20,"time":1750766137864,"pid":6,"hostname":"62e93c6d98a4","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:56 [11:55:56.908]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:55:56 [11:55:56.912]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-HvQqgd with size: 10485760 KB (LMDB v2)
11:55:56 [11:55:56.912]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:55:56 [11:55:56.914]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-xEs0IC with size: 10485760 KB (LMDB v2)
11:55:56 [11:55:56.915]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:55:56 [11:55:56.918]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-QQ3TjB with size: 10485760 KB (LMDB v2)
11:55:56 [11:55:56.919]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:55:56 [11:55:56.922]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:55:56 [11:55:56.923]
INFO:
p2p:test:integration Tearing down state for p2p client integration can request a transaction from another peer
11:55:56 [11:55:56.923]
INFO:
p2p:test:integration Shut down p2p clients
11:55:56 [11:55:56.926]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send invalid proofs
11:56:05 [11:56:05.879]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:05 [11:56:05.884]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-x5hXVg with size: 10485760 KB (LMDB v2)
11:56:05 [11:56:05.885]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:05 [11:56:05.890]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-XPQmJP with size: 10485760 KB (LMDB v2)
11:56:05 [11:56:05.891]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:05 [11:56:05.895]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-S5owBV with size: 10485760 KB (LMDB v2)
11:56:05 [11:56:05.896]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:05 [11:56:05.898]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:05 [11:56:05.899]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send invalid proofs
11:56:05 [11:56:05.899]
INFO:
p2p:test:integration Shut down p2p clients
11:56:05 [11:56:05.902]
INFO:
p2p:test:integration Starting test p2p client integration will penalize peers that send the wrong transaction
11:56:16 [11:56:16.056]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:16 [11:56:16.060]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-6JXhMv with size: 10485760 KB (LMDB v2)
11:56:16 [11:56:16.060]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:16 [11:56:16.063]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-PR5pb6 with size: 10485760 KB (LMDB v2)
11:56:16 [11:56:16.063]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:16 [11:56:16.066]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-4kDt8M with size: 10485760 KB (LMDB v2)
11:56:16 [11:56:16.067]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:16 [11:56:16.068]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:16 [11:56:16.070]
INFO:
p2p:test:integration Tearing down state for p2p client integration will penalize peers that send the wrong transaction
11:56:16 [11:56:16.070]
INFO:
p2p:test:integration Shut down p2p clients
11:56:16 [11:56:16.073]
INFO:
p2p:test:integration Starting test p2p client integration will propagate messages to peers at the same version
11:56:25 [11:56:25.915]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:25 [11:56:25.918]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-DOLDN0 with size: 10485760 KB (LMDB v2)
11:56:25 [11:56:25.918]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:25 [11:56:25.921]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-Wz5By8 with size: 10485760 KB (LMDB v2)
11:56:25 [11:56:25.921]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:25 [11:56:25.923]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-Zkiyjf with size: 10485760 KB (LMDB v2)
11:56:25 [11:56:25.924]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:25 [11:56:25.925]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:25 [11:56:25.926]
INFO:
p2p:test:integration Tearing down state for p2p client integration will propagate messages to peers at the same version
11:56:25 [11:56:25.927]
INFO:
p2p:test:integration Shut down p2p clients
11:56:25 [11:56:25.928]
INFO:
p2p:test:integration Starting test p2p client integration should not disconnect clients when it returns correct status
11:56:36 [11:56:36.123]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:36 [11:56:36.139]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-kDI6rf with size: 10485760 KB (LMDB v2)
11:56:36 [11:56:36.141]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:36 [11:56:36.145]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-U6UT57 with size: 10485760 KB (LMDB v2)
11:56:36 [11:56:36.145]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:36 [11:56:36.148]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-nK8wCa with size: 10485760 KB (LMDB v2)
11:56:36 [11:56:36.148]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:36 [11:56:36.150]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:36 [11:56:36.151]
INFO:
p2p:test:integration Tearing down state for p2p client integration should not disconnect clients when it returns correct status
11:56:36 [11:56:36.151]
INFO:
p2p:test:integration Shut down p2p clients
11:56:36 [11:56:36.153]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns status with wrong version
11:56:46 [11:56:46.446]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:46 [11:56:46.448]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-xE8xoe with size: 10485760 KB (LMDB v2)
11:56:46 [11:56:46.448]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:46 [11:56:46.450]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-p6WUKj with size: 10485760 KB (LMDB v2)
11:56:46 [11:56:46.451]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:46 [11:56:46.453]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-fRWWOm with size: 10485760 KB (LMDB v2)
11:56:46 [11:56:46.453]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:46 [11:56:46.455]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:46 [11:56:46.456]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns status with wrong version
11:56:46 [11:56:46.456]
INFO:
p2p:test:integration Shut down p2p clients
11:56:46 [11:56:46.458]
INFO:
p2p:test:integration Starting test p2p client integration should disconnect client when it returns an invalid status
11:56:56 [11:56:56.438]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:56:56 [11:56:56.440]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-Krc3tf with size: 10485760 KB (LMDB v2)
11:56:56 [11:56:56.440]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:56:56 [11:56:56.443]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-ixdLtY with size: 10485760 KB (LMDB v2)
11:56:56 [11:56:56.443]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:56:56 [11:56:56.446]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-FtZabK with size: 10485760 KB (LMDB v2)
11:56:56 [11:56:56.447]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:56:56 [11:56:56.448]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:56:56 [11:56:56.449]
INFO:
p2p:test:integration Tearing down state for p2p client integration should disconnect client when it returns an invalid status
11:56:56 [11:56:56.449]
INFO:
p2p:test:integration Shut down p2p clients
11:56:56 [11:56:56.451]
INFO:
p2p:test:integration Starting test p2p client integration propagates messages using mocked gossip sub network
11:57:06 [11:57:06.820]
VERBOSE:
archiver:mock_l2_block_source Created 100 blocks in the mock L2 block source
11:57:06 [11:57:06.827]
DEBUG:
kv-store:lmdb-v2:test Created temporary data store at: /tmp/test-JZJWrq with size: 10485760 KB (LMDB v2)
11:57:06 [11:57:06.828]
INFO:
kv-store:lmdb-v2:test Starting data store with maxReaders 16
11:57:06 [11:57:06.835]
DEBUG:
p2p-archive:lmdb-v2 Created temporary data store at: /tmp/p2p-archive-zn93pQ with size: 10485760 KB (LMDB v2)
11:57:06 [11:57:06.835]
INFO:
p2p-archive:lmdb-v2 Starting data store with maxReaders 16
11:57:06 [11:57:06.840]
DEBUG:
p2p-peer:lmdb-v2 Created temporary data store at: /tmp/p2p-peers-deI4es with size: 10485760 KB (LMDB v2)
11:57:06 [11:57:06.841]
INFO:
p2p-peer:lmdb-v2 Starting data store with maxReaders 16
11:57:06 [11:57:06.845]
VERBOSE:
p2p:0 P2P is enabled. Using LibP2P service.
11:57:06 [11:57:06.848]
INFO:
p2p:test:integration Tearing down state for p2p client integration propagates messages using mocked gossip sub network
11:57:06 [11:57:06.848]
INFO:
p2p:test:integration Shut down p2p clients
11:57:06
FAIL src/client/p2p_client.integration.test.ts (
98.957 s)
11:57:06 p2p client integration
11:57:06
✕ returns undefined if unable to find a transaction from another peer (10155 ms)
11:57:06
✕ can request a transaction from another peer (9272 ms)
11:57:06
✕ will penalize peers that send invalid proofs (8975 ms)
11:57:06
✕ will penalize peers that send the wrong transaction (10169 ms)
11:57:06
✕ will propagate messages to peers at the same version (9855 ms)
11:57:06
✕ should not disconnect clients when it returns correct status (10223 ms)
11:57:06
✕ should disconnect client when it returns status with wrong version (10303 ms)
11:57:06
✕ should disconnect client when it returns an invalid status (9992 ms)
11:57:06
✕ propagates messages using mocked gossip sub network (10397 ms)
11:57:06
11:57:06
● p2p client integration › returns undefined if unable to find a transaction from another peer
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:06
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:225:9)
11:57:06
11:57:06
● p2p client integration › can request a transaction from another peer
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:06
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:256:9)
11:57:06
11:57:06
● p2p client integration › will penalize peers that send invalid proofs
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:06
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:292:9)
11:57:06
11:57:06
● p2p client integration › will penalize peers that send the wrong transaction
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:06
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:335:9)
11:57:06
11:57:06
● p2p client integration › will propagate messages to peers at the same version
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:06
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:395:32)
11:57:06
11:57:06
● p2p client integration › should not disconnect clients when it returns correct status
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:538:9)
11:57:06
11:57:06
● p2p client integration › should disconnect client when it returns status with wrong version
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:573:9)
11:57:06
11:57:06
● p2p client integration › should disconnect client when it returns an invalid status
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeTestP2PClients (test-helpers/make-test-p2p-clients.ts:189:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:609:9)
11:57:06
11:57:06
● p2p client integration › propagates messages using mocked gossip sub network
11:57:06
11:57:06 TypeError: config.peerIdPrivateKey.getValue is not a function
11:57:06
11:57:06
135 |
11:57:06
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:57:06
> 137 | if (config.peerIdPrivateKey && config.peerIdPrivateKey.getValue().trim()) {
11:57:06
| ^
11:57:06
138 | if (peerIdPrivateKeyFilePath) {
11:57:06
139 | await writePrivateKeyToFile(peerIdPrivateKeyFilePath, config.peerIdPrivateKey.getValue());
11:57:06
140 | } else {
11:57:06
11:57:06
at getValue (util.ts:137:58)
11:57:06
at getPeerIdPrivateKey (client/factory.ts:75:34)
11:57:06
at makeTestP2PClient (test-helpers/make-test-p2p-clients.ts:98:18)
11:57:06
at makeAndStartTestP2PClient (test-helpers/make-test-p2p-clients.ts:47:18)
11:57:06
at makeAndStartTestP2PClients (test-helpers/make-test-p2p-clients.ts:142:20)
11:57:06
at Object.<anonymous> (client/p2p_client.integration.test.ts:679:32)
11:57:06
11:57:06
Test Suites: 1 failed, 1 total
11:57:06
Tests: 9 failed, 9 total
11:57:06
Snapshots: 0 total
11:57:06
Time: 99.115 s
11:57:06
Ran all test suites matching p2p/src/client/p2p_client.integration.test.ts
.
11:57:06
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?