]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 19 May 2020 07:06:08 +0000 (15:06 +0800)
commit19120fce4f55f6a2903812ed9461273a85cb3544
tree023792375d7121ee2c4cc53d8c26804e6e415574
parentb63955977ebbf9fba291faa1b30c8dba9bd52869
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.

(From OE-Core rev: 83b8e66b66aa9848ed9c8761a21cb47c6443d0c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e820c86fb9ddfadea0c27f29e14b985ee3178320)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/utils/qemurunner.py