]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner: Added host dumps when there are errors
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 1 Sep 2015 07:36:29 +0000 (07:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Sep 2015 20:47:12 +0000 (21:47 +0100)
commitb0af40fb76cd5035696e9d8a44f815f64214d23a
treebcc23c31d91d55c643b0410b93653e99fc864c0b
parent6d8351ac26295d2e5a693169bd2df95b89cb32fe
qemurunner: Added host dumps when there are errors

This adds an instance of HostDumper to qemurunner,
with this instance now is possible to get dumps
from the host when there is an error.

This adds dump points in the next cases:
    - runqemu exits before seeing qemu pid
    - Fail to get qemu process arguments
    - Not reach login banner before timeout
    - qemu pid never appears

This also modifies the constructors of BaseDumper,
HostDumper and TargetDumper, they don't require
the datastore anymore, but the feature to replace
datastore variables has been lost (never used)

[YOCTO #8118]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/oetest.py
meta/lib/oeqa/targetcontrol.py
meta/lib/oeqa/utils/dump.py
meta/lib/oeqa/utils/qemurunner.py