Home | History | Annotate | Download | only in platform_MemCheck
      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 SUITE = 'bvt-cq'
     19 DEPENDENCIES = 'cleanup-reboot'
     20 DOC = """
     21 Verifies that memory levels look sane.
     22 
     23 The resources being verified are:
     24 
     25 Total Memory
     26 Free Memory
     27 Swap Total
     28 Virtual Memory Total
     29 Memory Speed
     30 
     31 We are assuming that we should have at least 1/2 of total memory free and
     32 that virtual memory should be at least 102400 KB and memory speed is at
     33 least 1333 MHz.
     34 
     35 This test requires a reboot of the DUT before it runs for free memory check
     36 (thus the 'cleanup-reboot' dependency).
     37 """
     38 
     39 job.run_test('platform_MemCheck')
     40