summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2017-08-22 10:06:55 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2017-08-22 10:06:55 -0400
commitbfea0b533cd1e747fe48389b32409f2108e3f470 (patch)
tree9c38f67fec2ba60fac1457738967ac8c0f5db057 /jobs
parent05b3127ca46751ecd051933debbcec5710446e8f (diff)
added the preserve-locale field. Added extra job to attach syslog if traces are present for further investigation
Diffstat (limited to 'jobs')
-rw-r--r--jobs/miscellanea.txt.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index 73d03ac..c9434c1 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -362,3 +362,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