← Back to team overview

opencompute-developers team mailing list archive

[Merge] lp:~jeffmarcom/opencompute/add-idle-and-syslog-check-tests into lp:opencompute/checkbox

 

Jeff Marcom has proposed merging lp:~jeffmarcom/opencompute/add-idle-and-syslog-check-tests into lp:opencompute/checkbox.

Requested reviews:
  Open Compute Developers (opencompute-developers)

For more details, see:
https://code.launchpad.net/~jeffmarcom/opencompute/add-idle-and-syslog-check-tests/+merge/187627

This adds a couple of idle verification and syslog error check tests to the opencompute ready whitelist.
-- 
https://code.launchpad.net/~jeffmarcom/opencompute/add-idle-and-syslog-check-tests/+merge/187627
Your team Open Compute Developers is requested to review the proposed merge of lp:~jeffmarcom/opencompute/add-idle-and-syslog-check-tests into lp:opencompute/checkbox.
=== modified file 'data/whitelists/opencompute-ready-local.whitelist'
--- data/whitelists/opencompute-ready-local.whitelist	2013-09-25 17:30:41 +0000
+++ data/whitelists/opencompute-ready-local.whitelist	2013-09-25 23:35:06 +0000
@@ -68,6 +68,9 @@
 memory/mcelog_check
 __miscellanea__
 miscellanea/ipmi_test
+miscellanea/idle_check
+miscellanea/syslog_check
+miscellanea/12hr_idle_verify
 __networking__
 networking/detect
 networking/bandwidth

=== modified file 'debian/changelog'
--- debian/changelog	2013-09-25 22:41:35 +0000
+++ debian/changelog	2013-09-25 23:35:06 +0000
@@ -4,7 +4,11 @@
   * Added googlestress app memory tests
   * Updated plainbox based on version 0.4.dev in lp:checkbox (16.12)
   * Updated checkbox OCP intro prompt
+<<<<<<< TREE
   * Updated Open Compute ready whitelist with new power management, cpu stress, and networking tests"
+=======
+  * Added 12hr idle verification test and sylog check for PCI/Device errors
+>>>>>>> MERGE-SOURCE
 
   [ Jeff Lane ]
   * Updated OCP Checkbox to latest checkbox trunk, 0.16.11 revno 2353

=== modified file 'jobs/miscellanea.txt.in'
--- jobs/miscellanea.txt.in	2013-09-08 04:14:01 +0000
+++ jobs/miscellanea.txt.in	2013-09-25 23:35:06 +0000
@@ -1,3 +1,27 @@
+plugin: shell
+name: miscellanea/syslog_check
+command: SYSLOG_ERROR=`grep -i "${acpi,device} error" /var/log/syslog -A 20 -B 20`; echo $SYSLOG_ERROR >> /dev/stderr; [ -z "$SYSLOG_ERROR" ]
+_description:
+ Checks the system log for any critical pci/pcie or acpi event errors
+
+plugin: shell
+name: miscellanea/idle_check
+command: [ `uptime | awk '{split($0,a,":"); print a[1]}'` -lt 12 ]
+
+plugin: manual
+name: miscellanea/12hr_idle_verify
+depends: miscellanea/idle_check
+_description:
+ PURPOSE:
+   Warning. We could not verify that the system has already completed a 12 hour idle session.
+   This test will ask you to verify the system has remained active and booted to an OS for 12+ hours.
+ STEPS:
+   1. Prior to running this test, you should have attempted to let the machine idle for more than 12 hrs while booted to an OS.
+ VERIFICATION:
+   1. Select Yes if the system remained on and booted to an operating system for 12 hours without error.
+   2. Select No if you have not allowed the system to be on and booted to an operating system for 12 hours.
+   3. Select No if you attempted to let the system remain idle for 12 hours and it failed to do so for any reason/
+
 plugin: manual
 name: miscellanea/tester-info
 _description:


Follow ups