action #110632
Updated by tinita over 2 years ago
## 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 stdout in minion job notes as well. For that likely it makes sense to rename "hook_result" to "hook_stdout" and introduce "hook_stderr"