summaryrefslogtreecommitdiff
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2017-08-17 18:43:41 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2017-08-17 18:43:41 -0400
commit05b3127ca46751ecd051933debbcec5710446e8f (patch)
tree043d1f08f2338c8bbd538dd90f4ae5961b110917
parent1cbb3c3c1c9e46d2d0468e951acc8edcd15ce9aa (diff)
Add a quick job to check syslog for call traces to be run at end of testing
-rw-r--r--jobs/miscellanea.txt.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/jobs/miscellanea.txt.in b/jobs/miscellanea.txt.in
index 6dec07d..73d03ac 100644
--- a/jobs/miscellanea.txt.in
+++ b/jobs/miscellanea.txt.in
@@ -354,3 +354,11 @@ user: root
command:
SOSFILE=`ls -t $PLAINBOX_SESSION_SHARE/sosreport*xz | head -1`; [ -e ${SOSFILE} ] && base64 $SOSFILE
_summary: Attach the baseline sosreport file
+
+plugin: shell
+category_id: com.canonical.plainbox::miscellanea
+estimated_duration: 0.5
+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.