Skip to content

testimage: add failed test post actions and fetch more data

Alexis Lothoré openembedded-core 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 0 repliesNew
  2. v35 patches 2 repliesSuperseded
  3. v25 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lib/oeqa: share get_json_result_dir helpermeta/classes-recipe/testimage.bbclass meta/lib/oeqa/sdk/testsdk.py meta/lib/oeqa/sdkext/testsdk.py +1 more+14 -190 replies
2/5testimage: create a list of failed test post actionsmeta/classes-recipe/testimage.bbclass meta/lib/oeqa/utils/postactions.py+70 -390 replies
3/5oeqa/utils/postactions: isolate directory creation in dedicated actionmeta/lib/oeqa/utils/postactions.py+10 -60 replies
4/5oeqa/utils/postactions: add target disk usage stat as post actionmeta/lib/oeqa/utils/postactions.py+16 -10 replies
5/5oeqa/utils/postactions: testimage: add host disk usage stat as post actionmeta/lib/oeqa/utils/postactions.py+12 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [OE-Core][PATCH v4 0/5] testimage: add failed test post actions and fetch more data

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 v4 fixes missing replace in the first commit introducing a shared helper. This miss led to a failure in buildbot ([2])
Link to v3: [3]

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220
[2] https://autobuilder.yoctoproject.org/typhoon/#/builders/136/builds/56/steps/14/logs/stdio
[3] https://lore.kernel.org/openembedded-core/[email protected]/

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/sdkext/testsdk.py       |  3 +-
 meta/lib/oeqa/utils/__init__.py       |  7 ++
 meta/lib/oeqa/utils/postactions.py    | 98 +++++++++++++++++++++++++++
 5 files changed, 114 insertions(+), 58 deletions(-)
 create mode 100644 meta/lib/oeqa/utils/postactions.py
Signature · 1 line
2.43.1