Actions
action #69715
openimprove error feedback from lockapi to not just have "# Test died: mydie at /usr/lib/os-autoinst/lockapi.pm line 41."
Start date:
2020-08-07
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
https://openqa.suse.de/tests/4535890#step/rsync_client/10 shows how a test failed with "# Test died: mydie at /usr/lib/os-autoinst/lockapi.pm line 41." which is not that helpful. https://github.com/os-autoinst/os-autoinst/blob/master/lockapi.pm#L41 says bmwqemu::mydie "$type '$name': lock owner already finished" if $res == 410;
but the message does not show up in openQA. The log has:
[2020-08-07T02:54:22.190 UTC] [debug] <<< bmwqemu::mydie(cause_of_death="barrier 'rsync_setup': lock owner already finished")
[33m[2020-08-07T02:54:22.324 UTC] [info] ::: basetest::runtest: # Test died: mydie at /usr/lib/os-autoinst/lockapi.pm line 41.
Acceptance criteria¶
- AC1: The cause of death is also shown on the level of openQA job module details, e.g. the thumbnail popup
Suggestions¶
- Research why
bmwqemu::mydie
is used and not justdie
which should be properly handled already - Change implementation to forward the cause_of_death as in case of other failed checks (try first with simple
die
)
Actions