Actions
action #110632
openQA (public) - coordination #99303: [saga][epic] Future improvements for SUSE Maintenance QA workflows with fully automated testing, approval and release
coordination #99306: [epic] Future improvements: Make reviewing openQA results per squad easier
Capture stderr of job_done_hooks as well
Start date:
2022-05-04
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
Capture stderr of job_done_hooks as well to ensure that the complete hook script output (stdout+stderr) is reachable in the according minion job notes and not hidden in non-synchronized system journal of the openqa-gru service so that we can debug problems of job_done_hook scripts better.
Suggestions¶
- E.g. in https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Task/Job/FinalizeResults.pm#L53= use something from IPC::Run to capture all streams from the subprocesses instead of just stdout
- Put the captured stderr in minion job notes as well. For that likely it makes sense to rename "hook_result" to "hook_stdout" and introduce "hook_stderr"
Actions