[PATCH 8/9][FWTS-TEST] dmesg_common-0001: remove test as dmesg_common no longer exists in fwts

Colin King colin.king at canonical.com
Mon Dec 17 10:57:15 UTC 2012


From: Colin Ian King <colin.king at canonical.com>

We've removed dmesg_common from fwts and merged it into the klog test
so remove this old test

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 dmesg_common-0001/dmesg_common-0001.log | 81 ---------------------------------
 dmesg_common-0001/dmesg_common-0002.log | 34 --------------
 dmesg_common-0001/dmesg_common-0003.log |  1 -
 dmesg_common-0001/dmesg_common.txt      | 11 -----
 dmesg_common-0001/test-0001.sh          | 17 -------
 dmesg_common-0001/test-0002.sh          | 17 -------
 dmesg_common-0001/test-0003.sh          | 17 -------
 dmesg_common-0001/testcase.txt          |  1 -
 8 files changed, 179 deletions(-)
 delete mode 100644 dmesg_common-0001/dmesg_common-0001.log
 delete mode 100644 dmesg_common-0001/dmesg_common-0002.log
 delete mode 100644 dmesg_common-0001/dmesg_common-0003.log
 delete mode 100644 dmesg_common-0001/dmesg_common.txt
 delete mode 100755 dmesg_common-0001/test-0001.sh
 delete mode 100755 dmesg_common-0001/test-0002.sh
 delete mode 100755 dmesg_common-0001/test-0003.sh
 delete mode 100644 dmesg_common-0001/testcase.txt

diff --git a/dmesg_common-0001/dmesg_common-0001.log b/dmesg_common-0001/dmesg_common-0001.log
deleted file mode 100644
index b934079..0000000
--- a/dmesg_common-0001/dmesg_common-0001.log
+++ /dev/null
@@ -1,81 +0,0 @@
-dmesg_common    General dmesg common errors check.
-dmesg_common    ----------------------------------------------------------
-dmesg_common    Test 1 of 1: Check common errors in kernel log.
-dmesg_common    FAILED [CRITICAL] CommonThermalOverrun: Test 1, CRITICAL
-dmesg_common    Kernel message: [ 0.408874] CPU1: Temperature above
-dmesg_common    threshold, cpu clock throttled (total events = 1)
-dmesg_common    
-dmesg_common    ADVICE: Test caused CPU temperature above critical
-dmesg_common    threshold. Insufficient cooling?
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonBiosIrqRoutingBug: Test 1,
-dmesg_common    CRITICAL Kernel message: [ 0.728985] Disabling IRQ #15
-dmesg_common    
-dmesg_common    ADVICE: The kernel detected an irq storm. This is most
-dmesg_common    probably an IRQ routing bug.
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonBiosIrqRoutingBug: Test 1,
-dmesg_common    CRITICAL Kernel message: [ 0.734767] Disabling IRQ #11
-dmesg_common    
-dmesg_common    ADVICE: The kernel detected an irq storm. This is most
-dmesg_common    probably an IRQ routing bug.
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonThermalOverrun: Test 1, CRITICAL
-dmesg_common    Kernel message: [ 0.768555] CPU3: Temperature above
-dmesg_common    threshold, cpu clock throttled (total events = 1)
-dmesg_common    
-dmesg_common    ADVICE: Test caused CPU temperature above critical
-dmesg_common    threshold. Insufficient cooling?
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonThermalOverrun: Test 1, CRITICAL
-dmesg_common    Kernel message: [ 1.128275] CPU5: Temperature above
-dmesg_common    threshold, cpu clock throttled (total events = 1)
-dmesg_common    
-dmesg_common    ADVICE: Test caused CPU temperature above critical
-dmesg_common    threshold. Insufficient cooling?
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonThermalOverrun: Test 1, CRITICAL
-dmesg_common    Kernel message: [ 1.487778] CPU7: Temperature above
-dmesg_common    threshold, cpu clock throttled (total events = 1)
-dmesg_common    
-dmesg_common    ADVICE: Test caused CPU temperature above critical
-dmesg_common    threshold. Insufficient cooling?
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonBiosIrqRoutingBug: Test 1,
-dmesg_common    CRITICAL Kernel message: [ 2.131632] Disabling IRQ #16
-dmesg_common    
-dmesg_common    ADVICE: The kernel detected an irq storm. This is most
-dmesg_common    probably an IRQ routing bug.
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonBiosIrqRoutingBug: Test 1,
-dmesg_common    CRITICAL Kernel message: [ 3.220411] Disabling IRQ #18
-dmesg_common    
-dmesg_common    ADVICE: The kernel detected an irq storm. This is most
-dmesg_common    probably an IRQ routing bug.
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonThermalOverrun: Test 1, CRITICAL
-dmesg_common    Kernel message: [ 10.027255] CPU0: Temperature above
-dmesg_common    threshold, cpu clock throttled (total events = 1)
-dmesg_common    
-dmesg_common    ADVICE: Test caused CPU temperature above critical
-dmesg_common    threshold. Insufficient cooling?
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonThermalOverrun: Test 1, CRITICAL
-dmesg_common    Kernel message: [ 11.592319] CPU1: Temperature above
-dmesg_common    threshold, cpu clock throttled (total events = 2)
-dmesg_common    
-dmesg_common    ADVICE: Test caused CPU temperature above critical
-dmesg_common    threshold. Insufficient cooling?
-dmesg_common    
-dmesg_common    FAILED [CRITICAL] CommonBiosIrqRoutingBug: Test 1,
-dmesg_common    CRITICAL Kernel message: [ 17.353310] Disabling IRQ #10
-dmesg_common    
-dmesg_common    ADVICE: The kernel detected an irq storm. This is most
-dmesg_common    probably an IRQ routing bug.
-dmesg_common    
-dmesg_common    Found 11 errors in kernel log
-dmesg_common    
-dmesg_common    ==========================================================
-dmesg_common    0 passed, 11 failed, 0 warnings, 0 aborted, 0 skipped, 0
-dmesg_common    info only.
-dmesg_common    ==========================================================
diff --git a/dmesg_common-0001/dmesg_common-0002.log b/dmesg_common-0001/dmesg_common-0002.log
deleted file mode 100644
index 5f62481..0000000
--- a/dmesg_common-0001/dmesg_common-0002.log
+++ /dev/null
@@ -1,34 +0,0 @@
-summary         
-summary         0 passed, 11 failed, 0 warnings, 0 aborted, 0 skipped, 0
-summary         info only.
-summary         
-summary         Test Failure Summary
-summary         ==========================================================
-summary         
-summary         Critical failures: 11
-summary          dmesg_common: CRITICAL Kernel message: [ 0.408874] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          dmesg_common: CRITICAL Kernel message: [ 0.728985] Disabling IRQ #15
-summary          dmesg_common: CRITICAL Kernel message: [ 0.734767] Disabling IRQ #11
-summary          dmesg_common: CRITICAL Kernel message: [ 0.768555] CPU3: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          dmesg_common: CRITICAL Kernel message: [ 1.128275] CPU5: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          dmesg_common: CRITICAL Kernel message: [ 1.487778] CPU7: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          dmesg_common: CRITICAL Kernel message: [ 2.131632] Disabling IRQ #16
-summary          dmesg_common: CRITICAL Kernel message: [ 3.220411] Disabling IRQ #18
-summary          dmesg_common: CRITICAL Kernel message: [ 10.027255] CPU0: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          dmesg_common: CRITICAL Kernel message: [ 11.592319] CPU1: Temperature above threshold, cpu clock throttled (total events = 2)
-summary          dmesg_common: CRITICAL Kernel message: [ 17.353310] Disabling IRQ #10
-summary         
-summary         High failures: NONE
-summary         
-summary         Medium failures: NONE
-summary         
-summary         Low failures: NONE
-summary         
-summary         Other failures: NONE
-summary         
-summary         Test           |Pass |Fail |Abort|Warn |Skip |Info |
-summary         ---------------+-----+-----+-----+-----+-----+-----+
-summary         dmesg_common   |     |   11|     |     |     |     |
-summary         ---------------+-----+-----+-----+-----+-----+-----+
-summary         Total:         |    0|   11|    0|    0|    0|    0|
-summary         ---------------+-----+-----+-----+-----+-----+-----+
diff --git a/dmesg_common-0001/dmesg_common-0003.log b/dmesg_common-0001/dmesg_common-0003.log
deleted file mode 100644
index 06df807..0000000
--- a/dmesg_common-0001/dmesg_common-0003.log
+++ /dev/null
@@ -1 +0,0 @@
-dmesg_common    Found 11 errors in kernel log
diff --git a/dmesg_common-0001/dmesg_common.txt b/dmesg_common-0001/dmesg_common.txt
deleted file mode 100644
index cc9685d..0000000
--- a/dmesg_common-0001/dmesg_common.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-[ 0.408874] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
-[ 0.728985] Disabling IRQ #15
-[ 0.734767] Disabling IRQ #11
-[ 0.768555] CPU3: Temperature above threshold, cpu clock throttled (total events = 1)
-[ 1.128275] CPU5: Temperature above threshold, cpu clock throttled (total events = 1)
-[ 1.487778] CPU7: Temperature above threshold, cpu clock throttled (total events = 1)
-[ 2.131632] Disabling IRQ #16
-[ 3.220411] Disabling IRQ #18
-[ 10.027255] CPU0: Temperature above threshold, cpu clock throttled (total events = 1)
-[ 11.592319] CPU1: Temperature above threshold, cpu clock throttled (total events = 2)
-[ 17.353310] Disabling IRQ #10
diff --git a/dmesg_common-0001/test-0001.sh b/dmesg_common-0001/test-0001.sh
deleted file mode 100755
index 7f18c5c..0000000
--- a/dmesg_common-0001/test-0001.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-TEST="Test dmesg_common against known failure patterns"
-NAME=test-0001.sh
-TMPLOG=$TMP/dmesg_common.log.$$
-
-$FWTS --log-format="%line %owner " -w 80 --klog=dmesg_common.txt dmesg_common - | grep "^[0-9]*[ ]*dmesg_common" | cut -c7- > $TMPLOG
-diff $TMPLOG dmesg_common-0001.log >> $FAILURE_LOG
-ret=$?
-if [ $ret -eq 0 ]; then 
-	echo PASSED: $TEST, $NAME
-else
-	echo FAILED: $TEST, $NAME
-fi
-
-rm $TMPLOG
-exit $ret
diff --git a/dmesg_common-0001/test-0002.sh b/dmesg_common-0001/test-0002.sh
deleted file mode 100755
index ac1737d..0000000
--- a/dmesg_common-0001/test-0002.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-TEST="Test dmesg_common summary table against known failure patterns"
-NAME=test-0002.sh
-TMPLOG=$TMP/dmesg_common.log.$$
-
-$FWTS --log-format="%line %owner " -w 80 --klog=dmesg_common.txt dmesg_common - | grep summary | sed 's/line: [0-9]*//' | cut -c7-  > $TMPLOG
-grep -v "log line:" dmesg_common-0002.log | diff $TMPLOG - >> $FAILURE_LOG
-ret=$?
-if [ $ret -eq 0 ]; then 
-	echo PASSED: $TEST, $NAME
-else
-	echo FAILED: $TEST, $NAME
-fi
-
-rm $TMPLOG
-exit $ret
diff --git a/dmesg_common-0001/test-0003.sh b/dmesg_common-0001/test-0003.sh
deleted file mode 100755
index 09680fd..0000000
--- a/dmesg_common-0001/test-0003.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-TEST="Test dmesg_common against known failure rate"
-NAME=test-0003.sh
-TMPLOG=$TMP/dmesg_common.log.$$
-
-$FWTS --log-format="%line %owner " -w 80 --klog=dmesg_common.txt dmesg_common - | grep "errors in kernel log" | grep "Found" | cut -c7- > $TMPLOG
-diff $TMPLOG dmesg_common-0003.log >> $FAILURE_LOG
-ret=$?
-if [ $ret -eq 0 ]; then 
-	echo PASSED: $TEST, $NAME
-else
-	echo FAILED: $TEST, $NAME
-fi
-
-rm $TMPLOG
-exit $ret
diff --git a/dmesg_common-0001/testcase.txt b/dmesg_common-0001/testcase.txt
deleted file mode 100644
index b24043a..0000000
--- a/dmesg_common-0001/testcase.txt
+++ /dev/null
@@ -1 +0,0 @@
-Test fwts dmesg_common test against real kernel log messages
-- 
1.8.0




More information about the fwts-devel mailing list