]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Clean up failure handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Apr 2020 12:23:27 +0000 (13:23 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 1 May 2020 20:12:13 +0000 (10:12 -1000)
commit83b8e66b66aa9848ed9c8761a21cb47c6443d0c6
tree264ec8b2055627387f5ddb969f65908f07f02ef6
parent924b020eacf111b4fd4d731b363084e254a3422d
oeqa/qemurunner: Clean up failure handling

If you fail to setup the tap devices, runqemu will error quickly
however stdout/stderr are not shown to the user, instead a SystemExit
traceback is shown. This could explain some long since unexplained
failures on the autobuilder.

Rework the error handling so SystemExit isn't used and the
standard log failure messages can be shown. The code could
likely ultimatley need some restructuring to work effectively.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/utils/qemurunner.py