mbox series

[v3,0/5] testimage: add failed test post actions and fetch more data

Message ID 20240223151648.1453027-1-alexis.lothore@bootlin.com
Headers show
Series testimage: add failed test post actions and fetch more data | expand

Message

Alexis Lothoré Feb. 23, 2024, 3:16 p.m. UTC
Hello,
this small series is related to some disk space issue observed by the SWAT
team (see [1]) which eventually leads to tests failure. In order to help
diagnose those issues, I propose to enrich the retrieved artifacts with
some additional data, like disk usage on target and on host (in case the
target is a virtualized guest)

This v3 fixes apply issue with the series
Link to v2: [2]

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220
[2] https://lore.kernel.org/openembedded-core/20240223140345.1362972-1-alexis.lothore@bootlin.com/

Alexis Lothoré (5):
  lib/oeqa: share get_json_result_dir helper
  testimage: create a list of failed test post actions
  oeqa/utils/postactions: isolate directory creation in dedicated action
  oeqa/utils/postactions: add target disk usage stat as post action
  oeqa/utils/postactions: testimage: add host disk usage stat as post
    action

 meta/classes-recipe/testimage.bbclass | 53 ++-------------
 meta/lib/oeqa/sdk/testsdk.py          | 11 +--
 meta/lib/oeqa/utils/__init__.py       |  7 ++
 meta/lib/oeqa/utils/postactions.py    | 98 +++++++++++++++++++++++++++
 4 files changed, 112 insertions(+), 57 deletions(-)
 create mode 100644 meta/lib/oeqa/utils/postactions.py