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)
To do so, this series first reworks a bit actions executed on failed tests to allow declaring a sequence of actions. It then introduces two small actions which basically run "df" on target and host. I chose to store those stats in dedicated files, thinking it is better than "contaminating" tests steps logs with those very specific data. [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220 Signed-off-by: Alexis Lothoré <alexis.loth...@bootlin.com> Alexis Lothoré (4): testimage: create a list of failed test post actions testimage: isolate artifacts directory creation in dedicated post action testimage: add target disk usage stat as post action testimage: add host disk usage stat as post action .../failed-tests-post-actions.bbclass | 94 +++++++++++++++++++ meta/classes-recipe/testimage.bbclass | 42 +-------- 2 files changed, 96 insertions(+), 40 deletions(-) create mode 100644 meta/classes-recipe/failed-tests-post-actions.bbclass -- 2.43.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#195925): https://lists.openembedded.org/g/openembedded-core/message/195925 Mute This Topic: https://lists.openembedded.org/mt/104474966/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-