[y] system_state should upload collected data
system_state.pm is just collecting data from the process list and system loads. I think it would be meaningful to upload the collected data to the OpenQA logs and assets, wherever this is used. Doing such we can review those data afterwards as it is tricky to add automatic validation on the output.
So basically we can:
- Fix the text uploading the file.
- Additionally, perform a bit of research about where the post fail is trigger with ps and from which class you need to inherit to have it.
- Consider if we need this module.
#6 Updated by ybonatakis 7 months ago
there is save_system_logs subroutine which collects the running processes and the cpu loads
during the post_fail_hook of each installation module. For that reason i remove the system_state
from yast modules. Although i enhanced the module and it can be used in case of a successful test
to provide those info in the logs of the job.