diff options
author | Alexis Lothoré <alexis.lothore@bootlin.com> | 2023-06-09 08:48:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-17 11:50:57 +0100 |
commit | 58206ea8d94e30a61dbd732d652cd2cdeb9c8e4f (patch) | |
tree | 6923f614e1b982442182165a3c833cab2005706b /scripts/lib/checklayer | |
parent | cdac245fc288a5ecc8163325f4b1468d4bc643db (diff) | |
download | poky-58206ea8d94e30a61dbd732d652cd2cdeb9c8e4f.tar.gz |
testimage: implement test artifacts retriever for failing tests
Add a basic artifacts retrievers in testimage class which:
- triggers when at least one runtime test fails but tests execution
encountered no major issue
- reads a list of paths to retrieve from TESTIMAGE_FAILED_QA_ARTIFACTS
- checks for artifacts presence on target
- retrieve those files over scp thanks to existing ssh class
- store those files in an "artifacts" directory in "tmp/log/oeqa/<image>"
This implementation assumes that the SSH or Qemu target has run and
finished gracefully. If tests do not finish because of an exception,
artifacts will not be retrieved
Bring partial solution to [YOCTO #14901]
(From OE-Core rev: 36ef582b8c1c99e6af1ce79ea79f5b059d2a1aad)
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer')
0 files changed, 0 insertions, 0 deletions