Actions
action #120882
opencoordination #68794: [qe-core][functional][epic] rework postfail hooks
[qe-core] ensure `os-autoinst` reports properly the execution time of `post_fail_hooks`
Status:
Blocked
Priority:
Normal
Assignee:
-
Category:
Refactor/Code Improvements
Target version:
Start date:
2023-01-19
Due date:
% Done:
0%
Estimated time:
(Total: 0.00 h)
Difficulty:
Description
At this point while we have the time that openQA spends on a test, and even the time spent on a post_fail_hook
, however if the post_fail_hook
crashes/dies, it doesn't calculate the time, and in some other conditions, the time isn't even calculated for passing tests
Suggestions¶
- See https://github.com/os-autoinst/os-autoinst/pull/1872/files
- See https://openqa.suse.de/tests/9970394 for a mix of tests that aren't calculating properly the time of the post_fail_hooks/passing test
Acceptance Criteria¶
- AC1: Tests like https://openqa.suse.de/tests/9970394 report properly the execution/failure time
Actions