Add RSS memory status collecting routine to get RSS per tests and workers #292
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Patch set consists of 2 commits:
Add RSS memory status collecting routine
Added RSS memory status collecting routine which parses file:
/sys/fs/cgroup/memory/memory.stat
for RSS value and run this routine after each sent test lua command in
listeners. All results it collects in main tests worker log file:
var/log/<worker name>.log
For this routine use added test-run new option:
--collect-statistics
which should be used to use this routine.
Closes resources: flaky issues on lack of memory tarantool-qa#98
Enable logging TAP tests on each testing condition
Found that TAP test do not print any information on tested conditions
in tests worker log file. It can be used to check test stages for
data written into this log file.