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