while testing on kubernetes mode, I am facing the following errors:
$ ./zombienet-linux -p kubernetes test tests/stps/relay.feature
...
✔ alice: is up within 600 secs (73ms)
[2022-05-25T18:53:22Z INFO utils] Checking sTPS pre-conditions (account nonces and free balances).
rust process exited with code 0
✔ alice: js-script ./utils.js with "check_pre_conditions" return is 0 within 600 secs (533ms)
[2022-05-25T18:53:22Z INFO utils] Node 0: Reading funded accounts from: "tests/stps/funded-accounts.json"
[2022-05-25T18:53:22Z INFO utils] Node 2: Reading funded accounts from: "tests/stps/funded-accounts.json"
[2022-05-25T18:53:23Z INFO utils] Node 1: Reading funded accounts from: "tests/stps/funded-accounts.json"
[2022-05-25T18:53:23Z INFO utils] Node 3: Reading funded accounts from: "tests/stps/funded-accounts.json"
Error: Rpc(Transport(Error in the WebSocket handshake: i/o error: unexpected end of file
Caused by:
0: i/o error: unexpected end of file
1: unexpected end of file))
[2022-05-25T18:53:23Z INFO utils::sender] Node 0: signing 4096 transactions
rust process exited with code 1
child process exited
[2022-05-25T18:53:23Z INFO utils::sender] Node 2: signing 4096 transactions
[2022-05-25T18:53:23Z INFO utils::sender] Node 1: signing 4096 transactions
[2022-05-25T18:54:14Z INFO utils::sender] Node 0: sending 4096 transactions in chunks of 50
[2022-05-25T18:54:15Z INFO utils::sender] Node 1: sending 4096 transactions in chunks of 50
[2022-05-25T18:54:15Z INFO utils::sender] Node 2: sending 4096 transactions in chunks of 50
[2022-05-25T18:54:15Z INFO utils::sender] Node 0: 350 txs sent in 1172 ms (298.38 /s)
[2022-05-25T18:54:16Z INFO utils::sender] Node 1: 300 txs sent in 1060 ms (283.01 /s)
[2022-05-25T18:54:16Z INFO utils::sender] Node 2: 200 txs sent in 1409 ms (141.94 /s)
[2022-05-25T18:54:17Z INFO utils::sender] Node 1: 600 txs sent in 1035 ms (579.69 /s)
[2022-05-25T18:54:17Z INFO utils::sender] Node 2: 400 txs sent in 1069 ms (374.12 /s)
A few patterns that caught my attention:
- this does not happen on
native mode.
- the error message happens right after
utils starts reading funded accounts from: tests/stps/funded-accounts.json, although there's no RPC call in this process... it's just loading a json file locally.
- the error message happens before any
utils::sender starts signing the transactions to be dispatched, which is way before any actual RPC call happens.
- there's one
utils::sender per node. As I increase the number of nodes in the setup, it's always the last utils::sender that dies (e.g.: 5 nodes, no txs are dispatched for node 4)
@niklasad1 does this look like anything related to jsonrpsee to you?
all the points listed above tell me it's not, but maybe your experienced eyes can rule this out from a different perspecitve.
cc @ggwpez @pepoviola
while testing on
kubernetesmode, I am facing the following errors:A few patterns that caught my attention:
nativemode.utilsstarts reading funded accounts from:tests/stps/funded-accounts.json, although there's no RPC call in this process... it's just loading a json file locally.utils::senderstarts signing the transactions to be dispatched, which is way before any actual RPC call happens.utils::senderper node. As I increase the number of nodes in the setup, it's always the lastutils::senderthat dies (e.g.: 5 nodes, no txs are dispatched for node 4)@niklasad1 does this look like anything related to
jsonrpseeto you?all the points listed above tell me it's not, but maybe your experienced eyes can rule this out from a different perspecitve.
cc @ggwpez @pepoviola