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".
Updated by coolo over 5 years ago
- Project changed from openQA Project (public) to openQA Tests (public)
- Category deleted (
Feature requests)
This is 100% out of scope of openQA - if you want to test something, write a test for it. The SUT is holy
Updated by okurz about 5 years ago
- Subject changed from Get statistics about ram/disk usage from SUT to [opensuse] Get statistics about ram/disk usage from SUT
- Category set to Enhancement to existing tests
Actions