[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] match a string we control with logparse

Mattia Rizzolo gitlab at salsa.debian.org
Sun Sep 8 22:20:54 BST 2019



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
8b0ae302 by Mattia Rizzolo at 2019-09-08T21:19:25Z
match a string we control with logparse

today we missed a warning because we weren't checking for a particular
string.  dsa-check-running-kernel has several other warning state, so
just mark the build as unstable whenever it exists non-0.

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


2 changed files:

- bin/reproducible_node_health_check.sh
- logparse/reproducible.rules


Changes:

=====================================
bin/reproducible_node_health_check.sh
=====================================
@@ -149,6 +149,7 @@ fi
 #
 echo "$(date -u) - testing whether we are running the latest kernel..."
 if ! dsa-check-running-kernel ; then
+	echo "Warning: running kernel needs attention!"  # string checked with logparse
 	DIRTY=true
 fi
 


=====================================
logparse/reproducible.rules
=====================================
@@ -27,8 +27,7 @@ warning /Warning: curl http:..www.debian.org failed, probably the proxy is down
 warning /Warning, more than one kernel in.+/
 warning /Warning, rise of the jenkins job zombies.+/
 warning /Warning, jenkins.log is larger than.+/
-warning /^WARNING: Kernel needs upgrade/
-warning /^WARNING: Running kernel does not match on-disk kernel image/
+warning /^Warning: running kernel needs attention/
 warning /Warning: schroots older than/
 warning /Warning: SQL query .+ failed.$/
 warning /Warning: systemd is reporting errors/



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8b0ae3029b0c2b60a19f5d872362f613737662ca

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8b0ae3029b0c2b60a19f5d872362f613737662ca
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190908/a671dad0/attachment.html>


More information about the Qa-jenkins-scm mailing list