History log of /external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
29916f2eff1806f0fcb5e15e5758583a44a3aa31 13-Apr-2011 Vadim Bendebury <vbendeb@chromium.org> Add tests for ACPI startup messages.

This CL introduces a check which verifies that all expected
ACPI related startup messages are present in the dmesg,
output and no unexpected messages are present.

The expected messages' set is platform specific, the
previously introduced Crossystem class (see
http://codereview.chromium.org/6810022) is used to
determine the platform the test is running on).

Change-Id: I32927d5c7aa84eb07d3989cf69377b7325d1f4dc

BUG=chromium-os:13937
TEST=manual

on Alex:

./run_remote_tests.sh --board x86-alex --remote 172.22.75.120 kernel_BootMessagesServer
...
INFO : Test results:
---------------------------------------------------------
kernel_BootMessagesServer PASS
kernel_BootMessagesServer/kernel_BootMessagesServer PASS
coldboot_active_mb 58
coldboot_anonpages_mb 36
coldboot_buffers_mb 3
coldboot_cached_mb 176
coldboot_inactive_mb 157
coldboot_memfree_mb 1640
---------------------------------------------------------
Total PASS: 2/2 (100%)

====================================================
./run_remote_tests.sh --board x86-mario --remote 172.22.75.17 kernel_BootMessagesServer
...
INFO : Test results:
---------------------------------------------------------
kernel_BootMessagesServer PASS
kernel_BootMessagesServer/kernel_BootMessagesServer PASS
coldboot_active_mb 45
coldboot_anonpages_mb 33
coldboot_buffers_mb 3
coldboot_cached_mb 155
coldboot_inactive_mb 146
coldboot_memfree_mb 1664
---------------------------------------------------------
Total PASS: 2/2 (100%)

No crashes detected during testing.

Review URL: http://codereview.chromium.org/6815023
/external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py
e797092142d0e4627115ad7f0c1a482fc8e9312e 08-Apr-2011 Vadim Bendebury <vbendeb@chromium.org> Fix kernel testing and make it target specific.

A cherry-pick of of http://codereview.chromium.org/6810022.

This CL fixes kernel messages autotest by introducing
platform specific lists of the kernel warning and error
messages expected on startup.

Some of these messages are harmless, and some require
investigation/fixing. This CL just cleans up the lists of
accepted error/warning messages and provides for platform
specific extensions.

The recently introduced crossystem utility is the way to
deteremine system specific parameters in a platform
independent way. This CL introduces a class to represent
the crossystem reported information in a programmatic way.

The crossystem output of form 'name = value' is parsed and
placed in a dictionary. The __getatttr__() method override
allows to use object_instance.name() to access the value of
the parameter 'name'.

Instead of using exact warning/error messages' list the
regexes of messages are allowed, which is handy in
situations when messages are run time specific (use hash
values or addresses, etc.)

Change-Id: Id4c5fc930353d947d912c44150279aa94c2ea471

BUG=chromium-os:13937
TEST=manual, see below

./run_remote_tests.sh --board x86-alex --remote 172.22.75.120 kernel_BootMessagesServer
...
INFO : Test results:
---------------------------------------------------------
kernel_BootMessagesServer PASS
kernel_BootMessagesServer/kernel_BootMessagesServer PASS
coldboot_active_mb 59
coldboot_anonpages_mb 37
coldboot_buffers_mb 3
coldboot_cached_mb 177
coldboot_inactive_mb 159
coldboot_memfree_mb 1637
---------------------------------------------------------
Total PASS: 2/2 (100%)

===========================================================
./run_remote_tests.sh --board x86-mario --remote 172.22.75.17 kernel_BootMessagesServer
...
INFO : Test results:
---------------------------------------------------------
kernel_BootMessagesServer PASS
kernel_BootMessagesServer/kernel_BootMessagesServer PASS
coldboot_active_mb 48
coldboot_anonpages_mb 35
coldboot_buffers_mb 3
coldboot_cached_mb 155
coldboot_inactive_mb 145
coldboot_memfree_mb 1662
---------------------------------------------------------
Total PASS: 2/2 (100%)

Review URL: http://codereview.chromium.org/6816037

Change-Id: I181740b8f3a4224d416ff908467641142ef06aa1
/external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py
a84aa44219695f7f3ef44f4f145f8b0b396620d4 25-Feb-2011 Sonny Rao <sonnyrao@chromium.org> kernel_BootMessageServer: add logging of meminfo after reboot

BUG=12233
TEST=ran the test

Change-Id: I1168229efa69fed0ac998aa86abee4c6e05f8b31

Review URL: http://codereview.chromium.org/6594015
/external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py
f30b8664daaa1e6105d1473e63678b9e788638fd 25-Feb-2011 Doug Anderson <dianders@google.com> Code cleanup for kernel_BootMessagesServer.

Change-Id: I4d9146c9f628c6fb226cd2d389983abcdd7b4762

BUG=chromium-os:12233
TEST=./run_remote_tests.sh --board=${BOARD} --remote ${CLIENT_IP} kernel_BootMessagesServer

Review URL: http://codereview.chromium.org/6574051
/external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py
be5288076c8c4dba24e431106828f38fcae2fd7e 23-Feb-2011 Mandeep Singh Baines <msb@chromium.org> kernel_BootMessagesServer: Fix the FAIL path.

Fix a undefined variable issue in the fail path.

BUG=12280
TEST=Verified the FAIL path.

Change-Id: I6d28d56d48d2a4993efc91ac1862b36a4e492536

Review URL: http://codereview.chromium.org/6578009
/external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py
142ac8d70eb96a18a7ef4eadf061cdb6ea12a8a4 18-Feb-2011 Mandeep Singh Baines <msb@chromium.org> kernel_BootMessagesServer: initial add of new test

This tests verifies that there are no new kernel dmesg warnings.

BUG=12280
TEST=Verified PASS and FAIL.

Change-Id: Iff2b1f6de7ec435928170393ec85e7b8b9201b23

Review URL: http://codereview.chromium.org/6544018
/external/autotest/server/site_tests/kernel_BootMessagesServer/kernel_BootMessagesServer.py