memtester¶
Stress test to find memory subsystem faults
What It Tests¶
memtester will malloc the amount of memory specified, if possible. If this fails, it will decrease the amount of memory requested until it succeeds. It will then attempt to mlock this memory; if it cannot do so, testing will be slower and much less effective. Run memtester as root so that it can mlock the memory it tests.
Preconditions¶
For
ostree enabled
image, it shall be unlocked viaostree admin unlock --hotfix
Test Parameters¶
Parameter |
Default |
Description |
---|---|---|
|
|
skip the install |
|
|
The amount of memory to allocate and test |
|
|
Number of loops to iterate through |
Test Steps¶
cd ./automated/linux/memtester/
./memtester.sh -s "${SKIP_INSTALL}" -m "${MEMORY}" -i "${ITERATIONS}"
Refer to memtester.yaml
for complete test definition and execution details.
Expected Results¶
No failure/errors found in memtester output