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