[PATCH] fwts-test: sync up with klog cpu threshold changes

Alex Hung alex.hung at canonical.com
Wed Jul 18 03:27:01 UTC 2018


Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 fwts-test/klog-0002/klog-0001.log | 36 ++++++++++++++++++------------------
 fwts-test/klog-0002/klog-0002.log | 16 ++++++++--------
 2 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/fwts-test/klog-0002/klog-0001.log b/fwts-test/klog-0002/klog-0001.log
index 3630101..83edbcc 100644
--- a/fwts-test/klog-0002/klog-0001.log
+++ b/fwts-test/klog-0002/klog-0001.log
@@ -1,9 +1,9 @@
 klog            klog: Scan kernel log for errors and warnings.
 klog            ----------------------------------------------------------
 klog            Test 1 of 1: Kernel log error check.
-klog            FAILED [CRITICAL] KlogThermalOverrun: Test 1, CRITICAL
-klog            Kernel message: [ 0.408874] CPU1: Temperature above
-klog            threshold, cpu clock throttled (total events = 1)
+klog            FAILED [HIGH] KlogThermalOverrun: Test 1, HIGH Kernel
+klog            message: [ 0.408874] CPU1: Temperature above threshold,
+klog            cpu clock throttled (total events = 1)
 klog            
 klog            ADVICE: Test caused CPU temperature above critical
 klog            threshold. The CPU has been throttled to run slower
@@ -24,9 +24,9 @@ klog
 klog            ADVICE: The kernel detected an irq storm. This is most
 klog            probably an IRQ routing bug.
 klog            
-klog            FAILED [CRITICAL] KlogThermalOverrun: Test 1, CRITICAL
-klog            Kernel message: [ 0.768555] CPU3: Temperature above
-klog            threshold, cpu clock throttled (total events = 1)
+klog            FAILED [HIGH] KlogThermalOverrun: Test 1, HIGH Kernel
+klog            message: [ 0.768555] CPU3: Temperature above threshold,
+klog            cpu clock throttled (total events = 1)
 klog            
 klog            ADVICE: Test caused CPU temperature above critical
 klog            threshold. The CPU has been throttled to run slower
@@ -35,9 +35,9 @@ klog            throttling will be turned off once the CPU has cooled
 klog            sufficiently. Frequent throttling may indicate poor
 klog            thermal design on the machine.
 klog            
-klog            FAILED [CRITICAL] KlogThermalOverrun: Test 1, CRITICAL
-klog            Kernel message: [ 1.128275] CPU5: Temperature above
-klog            threshold, cpu clock throttled (total events = 1)
+klog            FAILED [HIGH] KlogThermalOverrun: Test 1, HIGH Kernel
+klog            message: [ 1.128275] CPU5: Temperature above threshold,
+klog            cpu clock throttled (total events = 1)
 klog            
 klog            ADVICE: Test caused CPU temperature above critical
 klog            threshold. The CPU has been throttled to run slower
@@ -46,9 +46,9 @@ klog            throttling will be turned off once the CPU has cooled
 klog            sufficiently. Frequent throttling may indicate poor
 klog            thermal design on the machine.
 klog            
-klog            FAILED [CRITICAL] KlogThermalOverrun: Test 1, CRITICAL
-klog            Kernel message: [ 1.487778] CPU7: Temperature above
-klog            threshold, cpu clock throttled (total events = 1)
+klog            FAILED [HIGH] KlogThermalOverrun: Test 1, HIGH Kernel
+klog            message: [ 1.487778] CPU7: Temperature above threshold,
+klog            cpu clock throttled (total events = 1)
 klog            
 klog            ADVICE: Test caused CPU temperature above critical
 klog            threshold. The CPU has been throttled to run slower
@@ -69,9 +69,9 @@ klog
 klog            ADVICE: The kernel detected an irq storm. This is most
 klog            probably an IRQ routing bug.
 klog            
-klog            FAILED [CRITICAL] KlogThermalOverrun: Test 1, CRITICAL
-klog            Kernel message: [ 10.027255] CPU0: Temperature above
-klog            threshold, cpu clock throttled (total events = 1)
+klog            FAILED [HIGH] KlogThermalOverrun: Test 1, HIGH Kernel
+klog            message: [ 10.027255] CPU0: Temperature above threshold,
+klog            cpu clock throttled (total events = 1)
 klog            
 klog            ADVICE: Test caused CPU temperature above critical
 klog            threshold. The CPU has been throttled to run slower
@@ -80,9 +80,9 @@ klog            throttling will be turned off once the CPU has cooled
 klog            sufficiently. Frequent throttling may indicate poor
 klog            thermal design on the machine.
 klog            
-klog            FAILED [CRITICAL] KlogThermalOverrun: Test 1, CRITICAL
-klog            Kernel message: [ 11.592319] CPU1: Temperature above
-klog            threshold, cpu clock throttled (total events = 2)
+klog            FAILED [HIGH] KlogThermalOverrun: Test 1, HIGH Kernel
+klog            message: [ 11.592319] CPU1: Temperature above threshold,
+klog            cpu clock throttled (total events = 2)
 klog            
 klog            ADVICE: Test caused CPU temperature above critical
 klog            threshold. The CPU has been throttled to run slower
diff --git a/fwts-test/klog-0002/klog-0002.log b/fwts-test/klog-0002/klog-0002.log
index 7bd84e2..5c49ca8 100644
--- a/fwts-test/klog-0002/klog-0002.log
+++ b/fwts-test/klog-0002/klog-0002.log
@@ -5,20 +5,20 @@ summary
 summary         Test Failure Summary
 summary         ==========================================================
 summary         
-summary         Critical failures: 11
-summary          klog: CRITICAL Kernel message: [ 0.408874] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
+summary         Critical failures: 5
 summary          klog: CRITICAL Kernel message: [ 0.728985] Disabling IRQ #15
 summary          klog: CRITICAL Kernel message: [ 0.734767] Disabling IRQ #11
-summary          klog: CRITICAL Kernel message: [ 0.768555] CPU3: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          klog: CRITICAL Kernel message: [ 1.128275] CPU5: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          klog: CRITICAL Kernel message: [ 1.487778] CPU7: Temperature above threshold, cpu clock throttled (total events = 1)
 summary          klog: CRITICAL Kernel message: [ 2.131632] Disabling IRQ #16
 summary          klog: CRITICAL Kernel message: [ 3.220411] Disabling IRQ #18
-summary          klog: CRITICAL Kernel message: [ 10.027255] CPU0: Temperature above threshold, cpu clock throttled (total events = 1)
-summary          klog: CRITICAL Kernel message: [ 11.592319] CPU1: Temperature above threshold, cpu clock throttled (total events = 2)
 summary          klog: CRITICAL Kernel message: [ 17.353310] Disabling IRQ #10
 summary         
-summary         High failures: NONE
+summary         High failures: 6
+summary          klog: HIGH Kernel message: [ 0.408874] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
+summary          klog: HIGH Kernel message: [ 0.768555] CPU3: Temperature above threshold, cpu clock throttled (total events = 1)
+summary          klog: HIGH Kernel message: [ 1.128275] CPU5: Temperature above threshold, cpu clock throttled (total events = 1)
+summary          klog: HIGH Kernel message: [ 1.487778] CPU7: Temperature above threshold, cpu clock throttled (total events = 1)
+summary          klog: HIGH Kernel message: [ 10.027255] CPU0: Temperature above threshold, cpu clock throttled (total events = 1)
+summary          klog: HIGH Kernel message: [ 11.592319] CPU1: Temperature above threshold, cpu clock throttled (total events = 2)
 summary         
 summary         Medium failures: NONE
 summary         
-- 
2.7.4




More information about the fwts-devel mailing list