From patchwork Wed Nov 20 16:42:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 292817 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 105822C0417 for ; Thu, 21 Nov 2013 03:42:40 +1100 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1VjArO-0004ma-QE; Wed, 20 Nov 2013 16:42:38 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1VjArK-0004lS-4R for fwts-devel@lists.ubuntu.com; Wed, 20 Nov 2013 16:42:34 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginm.net ([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 1VjArK-0005fV-1p for fwts-devel@lists.ubuntu.com; Wed, 20 Nov 2013 16:42:34 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] data: klog.json: thermal overrun messages should be checked on klog test (LP: #1253146) Date: Wed, 20 Nov 2013 16:42:33 +0000 Message-Id: <1384965753-15554-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.8.3.2 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Update klog.json to incorporate thermal CPU messages from the kernel (old and new kernels). Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- data/klog.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/data/klog.json b/data/klog.json index 5d18c01..977e51d 100644 --- a/data/klog.json +++ b/data/klog.json @@ -418,11 +418,19 @@ "label": "KlogAcpiNoIoapicForGsi" }, { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_CRITICAL", + "tag": "FWTS_TAG_BIOS_THERMAL", + "pattern": "[T|t]emperature above threshold, cpu clock throttled", + "advice": "Test caused CPU temperature above critical threshold. The CPU has been throttled to run slower because of over-heating above the critical threshold. CPU throttling will be turned off once the CPU has cooled sufficiently. Frequent throttling may indicate poor thermal design on the machine.", + "label": "KlogThermalOverrun" + }, + { "compare_mode": "string", "log_level": "LOG_LEVEL_CRITICAL", "tag": "FWTS_TAG_BIOS_THERMAL", - "pattern": "Temperature above threshold, cpu clock throttled", - "advice": "Test caused CPU temperature above critical threshold. Insufficient cooling?", + "pattern": "Possible thermal failure", + "advice": "A Pentium class Intel CPU has had a thermal machine check exception caused by hot CPU. If this persists it may indicate poor thermal design on the machine.", "label": "KlogThermalOverrun" }, {