1NAME = 'platform_MemCheck' 2PURPOSE = 'Verify memory values look reasonable.' 3CRITERIA = """ 4 5This test will fail if unexpected values are found for: 6 - Total Memory 7 - Free Memory 8 - Swap Cached 9 - Swap Total 10 - Virtual Memory 11""" 12AUTHOR = 'kdlucas, puthik' 13TIME = 'SHORT' 14TEST_CATEGORY = 'Functional' 15TEST_CLASS = 'platform' 16TEST_TYPE = 'client' 17JOB_RETRIES = 2 18ATTRIBUTES = "suite:bvt-perbuild, suite:memory_qual2" 19DEPENDENCIES = 'cleanup-reboot' 20PY_VERSION = 3 21 22DOC = """ 23Verifies that memory levels look valid. 24 25The resources being verified are: 26 27Total Memory 28Free Memory 29Swap Total 30Virtual Memory Total 31Memory Speed 32 33We are assuming that we should have at least 1/2 of total memory free and 34that virtual memory should be at least 102400 KB and memory speed is at 35least 1333 MHz. 36 37This test requires a reboot of the DUT before it runs for free memory check 38(thus the 'cleanup-reboot' dependency). 39""" 40 41job.run_test('platform_MemCheck') 42