From patchwork Mon Dec 17 10:57:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 206826 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 9961C2C0097 for ; Mon, 17 Dec 2012 21:58:36 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TkYP5-00082Y-Eo; Mon, 17 Dec 2012 10:58:35 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TkYO1-00080B-L4 for fwts-devel@lists.ubuntu.com; Mon, 17 Dec 2012 10:57:29 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TkYO1-0005We-Fd for fwts-devel@lists.ubuntu.com; Mon, 17 Dec 2012 10:57:29 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 8/9][FWTS-TEST] dmesg_common-0001: remove test as dmesg_common no longer exists in fwts Date: Mon, 17 Dec 2012 10:57:15 +0000 Message-Id: <1355741836-31729-9-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1355741836-31729-1-git-send-email-colin.king@canonical.com> References: <1355741836-31729-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King 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 Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- 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