]> code.ossystems Code Review - openembedded-core.git/commit
utils: qemurunner.py: Log both 'failed to reach login banner" reasons
authorMark Asselstine <mark.asselstine@windriver.com>
Fri, 1 Dec 2017 16:30:12 +0000 (11:30 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 Dec 2017 22:41:41 +0000 (22:41 +0000)
commit49403368ccf3e469ac111afa259a38cc11e0b688
treef67ec0241c83615ecaf9cdb22fc788087748ce41
parent4a6364309547d77d1d7a94c48f7c51ceee2b5d1a
utils: qemurunner.py: Log both 'failed to reach login banner" reasons

The current logging always assumes the boot timeout has expired yet
there is a second reason we might have ended up in a position where no
login banner was found, that being a socket disconnect. Add logging
for the disconnect case and make the timeout expiration conditional on
the timeout being exhausted.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/utils/qemurunner.py