diff mbox series

fwts-test: sync up with klog cpu threshold changes

Message ID 1531884421-8584-1-git-send-email-alex.hung@canonical.com
State Accepted
Headers show
Series fwts-test: sync up with klog cpu threshold changes | expand

Commit Message

Alex Hung July 18, 2018, 3:27 a.m. UTC
Signed-off-by: Alex Hung <alex.hung@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(-)

Comments

Ivan Hu July 23, 2018, 9:58 a.m. UTC | #1
On 07/18/2018 11:27 AM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@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         
Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin Ian King July 30, 2018, 8:32 a.m. UTC | #2
On 18/07/18 04:27, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@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         
> 


Acked-by: Colin Ian King <colin.king@canonical.com>
diff mbox series

Patch

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