From 5552aa5d6ae8f1136a08d084800daa731956cbd1 Mon Sep 17 00:00:00 2001 From: Jeff Lane Date: Tue, 22 Aug 2017 10:06:55 -0400 Subject: added the preserve-locale field. Added extra job to attach syslog if traces are present for further investigation --- jobs/miscellanea.txt.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in index 320ba714..a162dce8 100644 --- a/jobs/miscellanea.txt.in +++ b/jobs/miscellanea.txt.in @@ -366,3 +366,13 @@ id: miscellanea/call-trace-check command: if [ -n "$(grep "Call Trace:" /var/log/syslog)" ]; then echo "Call Trace detected in syslog"; false; else true; fi _summary: Check syslog for call traces _description: Checks syslog for call traces after testing is complete. +flags: preserve-locale + +plugin: attachment +category_id: com.canonical.plainbox::miscellanea +estimated_duration: 0.5 +id: miscellanea/attach-syslog +command: if [ -n "$(grep "Call Trace:" /var/log/syslog)" ]; then cat /var/log/syslog; fi +_summary: Attach syslog if Call Trace appears +_description: Attaches a copy of syslog if call traces are present after testing is complete. +flags: preserve-locale -- cgit v1.2.3