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