providers/base/bin/stress-ng-test.py Provide the exact command executed for each stressor (New) #1714
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.
Provide the exact command executed for each stressor or set of stressors. Fixes CHECKBOX-1734
Description
Short addition to provide the exact command checkbox runs for a given stressor or set of stressors in the stress-ng tests to make it easier to later re-run a single stressor by hand when investigating failures.
Resolved issues
Resolves CHECKBOX-1734
Resolves #1713
Documentation
No docs changes needed.
Tests
Executed cpu, disk and memory stress tests locally (using very abbreviated runtimes) to confirm that the commands were provided for each test case. In the case of the disk and memory tests, which run them individually, output looks like this:
and for CPU:
`
$ sudo ./stress_ng_test.py cpu -b 1
Estimated total run time is 0 minutes
Running command: stress-ng --aggressive --verify --timeout 1 --metrics-brief --tz --times --af-alg 0 --bsearch 0 --context 0 --cpu 0 --crypt 0 --hsearch 0 --longjmp 0 --lsearch 0 --matrix 0 --qsort 0 --str 0 --stream 0 --tsearch 0 --vecmath 0 --wcs 0
07 Feb 17:15: Running multiple stress-ng stressors in parallel for 1
seconds...
`