]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/postactions: fix exception handling
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Mon, 12 Aug 2024 15:14:03 +0000 (17:14 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Aug 2024 08:28:09 +0000 (09:28 +0100)
commita50e72bb64fb8b0d14c23164eaeeabd9c271ac19
tree7fda631718b65080f6c338dd90a4e15290457f53
parent623ab22434909f10aaf613cd3032cc2a2c6e3ff9
oeqa/postactions: fix exception handling

The current exception handler in list_and_fetch_failed_tests_artifacts
expects a non-exisiting variable and then fail to display the original
exception message since it raises a new one. The issue has been introduced
with commit 6e80b2ab660e ("oeqa/utils/postactions: transfer whole archive
over ssh instead of doing individual copies"). Now that tests artifacts are
now handled individually, there's no point of trying to print individual
names in the exception.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/postactions.py