From bcf740402e9aadc9582d3ee11e4a03fdfd8c7f3c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 14 Aug 2016 23:32:14 +0200 Subject: diffoscope test job: ignore some unrelated warnings --- job-cfg/reproducible.yaml | 2 +- logparse/debian-diffoscope.rules | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 logparse/debian-diffoscope.rules 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/ + -- cgit v1.2.3-70-g09d2