Actions
action #176820
closedforce_soft_failure does not override status to softfail in post_fail_hook size:S
Description
Observation¶
See documentation for force_soft_failure
:
Similar to
record_soft_failure
but can be used to override the test module status to softfail from apost_fail_hook
if the module would be set to fail otherwise. This can be used for easier tracking of known issues without needing to handle failed tests a lot.
However as can be seen in reproducer this does not work.
Expected result¶
The result of the module and job in reproducer is softfailed and not failed.
Acceptance Criteria¶
- AC1: force_soft_failure overrides the job result when called from a post_fail_hook
Further details¶
force_soft_failure
is only used in osado to turn passing modules into soft-failing ones so maybe this limitation has never been spotted.
Actions