summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-08-14 23:32:14 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-14 23:32:14 +0200
commitbcf740402e9aadc9582d3ee11e4a03fdfd8c7f3c (patch)
tree5e2c0d2b7e6fbf06d7f4b4e7e8988d4dcb92c43b
parentf9314420e646bf68b5d7154a33a4702d65d8e102 (diff)
downloadjenkins.debian.net-bcf740402e9aadc9582d3ee11e4a03fdfd8c7f3c.tar.xz
diffoscope test job: ignore some unrelated warnings
-rw-r--r--job-cfg/reproducible.yaml2
-rw-r--r--logparse/debian-diffoscope.rules29
2 files changed, 30 insertions, 1 deletions
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index 919ee4e6..ac08f39c 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -710,7 +710,7 @@
my_gitrepo: 'git://anonscm.debian.org/git/reproducible/diffoscope.git'
my_shell: '/srv/jenkins/bin/chroot-run.sh sid debuild -uc -us'
my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
- my_parse_rules: '/srv/jenkins/logparse/debian.rules'
+ my_parse_rules: '/srv/jenkins/logparse/debian-diffoscope.rules'
my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
my_parse_rules: '/srv/jenkins/logparse/reproducible-extra.rules'
my_hname: ''
diff --git a/logparse/debian-diffoscope.rules b/logparse/debian-diffoscope.rules
new file mode 100644
index 00000000..22123551
--- /dev/null
+++ b/logparse/debian-diffoscope.rules
@@ -0,0 +1,29 @@
+# see https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
+
+ok /not really/
+
+ok /Error while decoding stream/
+
+# ignore images…
+ok /warning\.png/
+
+# match line starting with 'error ', case-insensitive
+error /(?i)^error /
+
+# ignore some stuff
+ok /update-binfmts: warning:/
+ok /update-rc.d: warning: start and stop actions are no longer supported/
+ok /E: Can not write log (Is /dev/pts mounted?/
+
+# list of warnings here...
+warning /[Ww]arning/
+warning /WARNING/
+
+# catch lintian warnings and errors
+warning /^W: /
+warning /^E: /
+
+
+# create a quick access link to lines in the report containing 'INFO'
+info /INFO/
+