Actions
action #62492
open[opensuse] Get statistics about ram/disk usage from SUT
Status:
New
Priority:
Low
Assignee:
-
Category:
Enhancement to existing tests
Target version:
-
Start date:
2020-01-21
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Similarly to what is done inside OBS worker, we could get statistics about ram/disk usage for each test.
OBS uses a simple bash script: https://github.com/openSUSE/obs-build/blob/master/build-vm#L400
We could reuse it (just extract wanted functions) and either get max ram/disk for each test or get value each X seconds to monitor it closely.
In both cases, values could be stored in a file on the SUT and uploaded to openQA worker at the end of the test (making use of upload_logs
and update pre_run_hook
and post_run_hook
?). It is probably easier than streaming data from SUT to host in "real time".
Actions