Actions
action #120720
opencoordination #68794: [qe-core][functional][epic] rework postfail hooks
[qe-core] Use Utils::Logging::save_ulog to redefine upload_logs in opensusebasetest
Status:
New
Priority:
Normal
Assignee:
-
Category:
Refactor/Code Improvements
Target version:
-
Start date:
2022-11-18
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
In order for us to shed some time when uploading logs, we can directly cat the logs to the serial console, using script_output
and save the contents to the ulogs/
directory in the worker's pool directory, which os-autoinst will upload at the end of the test
This will allow us to save a lot of time and avoid problems with typing when the host is under heavy load.
Tasks¶
- Modify
save_and_upload_log
andtar_and_upload_logs
to usesave_ulog
instead ofupload_logs
- Allow a
force_upload
flag, so corner cases can be considered
Suggestions¶
Acceptance Criteria¶
- AC1: os-autoinst uploads the logs properly
- AC2: Binary files can be used/viewed properly (images, tar files, executables)
- AC3: Large files (500MB) can be uploaded too
Actions