Actions
action #110632
opencoordination #99306: [epic] Future improvements: Make reviewing openQA results per squad easier
Capture stderr of job_done_hooks as well
Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
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