Unverified Commit 8b0ae302 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

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's avatarMattia Rizzolo <mattia@debian.org>
parent 2d836061
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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

+1 −2
Original line number Diff line number Diff line
@@ -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/