hot-stuff/libhotstuff

Failed to run the experiment

Opened this issue · 0 comments

Hey there! Been playing around with HotStuff a bit and I'm having trouble getting results as described in the "Run the experiment" step. In particular, running the command cat myrun1_cli/remote/*/log/stderr | python ../thr_hist.py gives me a division by zero error on this line because of lats being 0. I think the regex doesn't capture the lines in the stderr logs. My logs look something like this (repeat 10x times):

2022-07-27 19:58:58.301778 [hotstuff info] send new cmd d68a66fa09
2022-07-27 19:58:58.301795 [hotstuff info] send new cmd f2a842a75f
2022-07-27 19:58:58.301814 [hotstuff info] send new cmd 3ef8613879
2022-07-27 19:58:58.301831 [hotstuff info] send new cmd 6dafa0339c
2022-07-27 19:58:58.301848 [hotstuff info] send new cmd 5179dece19
2022-07-27 19:58:58.301865 [hotstuff info] send new cmd b9a9d67a1a
2022-07-27 19:58:58.301883 [hotstuff info] send new cmd 8914378bec
2022-07-27 19:58:58.301899 [hotstuff info] send new cmd decbf7dcf3
2022-07-27 19:58:58.301916 [hotstuff info] send new cmd 73f0626419
2022-07-27 19:58:58.301933 [hotstuff info] send new cmd 1ef4265c47
2022-07-27 19:58:58.301950 [hotstuff info] send new cmd a5258a7b4f

My wild guess is that my config is wrong and replicas don't commit, while the regex looks for commit messages. Would really appreciate if you could confirm this suspicion. Thanks!