Skip to content

Get dumps when qemu fails

[email protected] openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dump: Created new classes for dump host and targetmeta/classes/testimage.bbclass meta/lib/oeqa/oetest.py meta/lib/oeqa/targetcontrol.py +1 more+91 -490 replies
2/4qemurunner: Added host dumps when there are errorsmeta/classes/testimage.bbclass meta/lib/oeqa/targetcontrol.py meta/lib/oeqa/utils/qemurunner.py+20 -60 replies
3/4dump: allow to have datastore vars on dump commandsmeta/classes/testimage.bbclass meta/lib/oeqa/utils/dump.py+31 -182 replies
4/4oetest: Fix regression when testing real hardwaremeta/lib/oeqa/oetest.py+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/4 v2] Get dumps when qemu fails

From: Mariano Lopez <[email protected]>

This provides classes for dump logs from the host and the target. This way it's easier to get dumps from the runner or the target and not just from the test. With this now the qemurunner instance get the dumps from the host when qemu fails.

This also allows to have datastore vars in the commands and removes the special case commands.

This fix the regresion regression when testin real hardware

This depends on:

http://lists.openembedded.org/pipermail/openembedded-core/2015-August/108912.html

[YOCTO #8118]
[YOCTO #8203]

Mariano Lopez (4):
dump: Created new classes for dump host and target
qemurunner: Added host dumps when there are errors
dump: allow to have datastore vars on dump commands
oetest: Fix regression when testing real hardware

 meta/classes/testimage.bbclass    | 14 +++++--
 meta/lib/oeqa/oetest.py           | 56 ++++---------------------
 meta/lib/oeqa/targetcontrol.py    | 16 +++----
 meta/lib/oeqa/utils/dump.py       | 87 +++++++++++++++++++++++++++++++++++++++
 meta/lib/oeqa/utils/qemurunner.py | 14 ++++++-
 5 files changed, 129 insertions(+), 58 deletions(-)
 create mode 100644 meta/lib/oeqa/utils/dump.py
Signature · 1 line
1.9.1