[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible trbo system health check: detect failure to delete schroot( session)s
Holger Levsen
gitlab at salsa.debian.org
Thu Jul 30 23:45:30 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
485097f5 by Holger Levsen at 2020-07-31T00:45:16+02:00
reproducible trbo system health check: detect failure to delete schroot( session)s
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bin/reproducible_maintenance.sh
- bin/reproducible_system_health.sh
Changes:
=====================================
bin/reproducible_maintenance.sh
=====================================
@@ -407,7 +407,7 @@ if [ ! -z "$OLDSTUFF" ]; then
OLDSTUFF=$(find "$dir" -mindepth 1 -maxdepth 1 -type d -mtime +2 -exec ls -lad {} \;)
if [ ! -z "$OLDSTUFF" ]; then
echo
- echo "Warning: Tried, but failed to delete these:"
+ echo "Warning: Tried, but failed to delete these schroot sessions:"
echo "$OLDSTUFF"
echo "Manual cleanup needed"
fi
@@ -433,7 +433,7 @@ if [ ! -z "$OLDSTUFF" ] ; then
OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -regextype posix-extended -regex "$regex" -mtime +2 -exec ls -lad {} \; || true)
if [ ! -z "$OLDSTUFF" ] ; then
echo
- echo "Warning: Tried, but failed to delete these:"
+ echo "Warning: Tried, but failed to delete these schroots:"
echo "$OLDSTUFF"
echo "Manual cleanup needed!"
fi
=====================================
bin/reproducible_system_health.sh
=====================================
@@ -148,6 +148,10 @@ for JOB_NAME in reproducible_* ; do
small_note " (pbuilder build scope failed)"
elif $(grep -q "failed failed Rotate log files" $LOG) ; then
small_note " (logrotate failed)"
+ elif $(grep -q "Warning: Tried, but failed to delete these schroots:" $LOG) ; then
+ small_note " (failed to delete schroots)"
+ elif $(grep -q "Warning: Tried, but failed to delete these schroot sessions:" $LOG) ; then
+ small_note " (failed to delete schroot sessions)"
fi
if ! $SUSPECT ; then
echo " <li><a href=\"$JOB_URL/\"><img src=\"$JOB_URL/badge/icon\">$JOB_NAME</a>$NOTE</li>" >> ${UNSTABLE_JOBS}
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/485097f5ddf6902a102ef444de5cc7f9792d90d3
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/485097f5ddf6902a102ef444de5cc7f9792d90d3
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/20200730/225474f5/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list