Open shunghsiyu opened 4 years ago
This is a common problem in os-autoinst/openqa as well. I have found that 'expect'/'autoexpect' does not have this issue if you limit the input speed. I'm wondering weather we should use Expect for handling I/O with the SUT as this is a solved problem already. I will create another issue for that.
Some times I observe VMs getting stucked (by looking at the last modified time of log file such as
syzkaller1.raw
), but after a very long time, it will eventually move forward (so not the same as #16). The command I give to runltp-ng looks something like thisAfter adding the
--verbose
option and a few trails, I eventually got a log at the point where it gets stucked.I think the main issue is that runltp-ng entered the command too quickly(?), before the bash prompt can react, and while we do have retry mechanisms in
utils::run_cmds_retry
, the default timeout of 3600 means it will take quite a while before the command is retried.