[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fixup b648780fd: reproducible Arch Linux: add debug output to understand why the math is off

Holger Levsen holger at layer-acht.org
Thu Nov 23 14:04:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 77218c078b31acc915052b44e2440b512d818e70
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Nov 23 14:04:23 2017 +0000

    fixup b648780fd: reproducible Arch Linux: add debug output to understand why the math is off
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_archlinux.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 29544c8..c149865 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -52,7 +52,9 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 			echo "$(date -u ) - ignoring $PKG from '$REPOSITORY' which is building in $ARCHLINUX_PKG_PATH right now…"
 			continue
 		fi
-		echo "$PKG has been tested, TESTED=$TESTED, NR_GOOD=$NR_GOOD, NR_FTBR=$NR_FTBR, NR_FTBFS=$NR_FTBFS, NR_DEPWAIT=$NR_DEPWAIT, NR_404=$NR_404, NR_UNKNOWN=$NR_UNKNOWN"
+
+		echo "$PKG has been  tested, TESTED=$TESTED, NR_GOOD=$NR_GOOD, NR_FTBR=$NR_FTBR, NR_FTBFS=$NR_FTBFS, NR_DEPWAIT=$NR_DEPWAIT, NR_404=$NR_404, NR_UNKNOWN=$NR_UNKNOWN"
+		let TESTED+=1
 
 		echo "     <tr>" >> $HTML_BUFFER
 		echo "      <td>$REPOSITORY</td>" >> $HTML_BUFFER
@@ -150,6 +152,8 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 		echo "     </tr>" >> $HTML_BUFFER
 		cat $HTML_BUFFER >> $HTML_TARGET
 		rm $HTML_BUFFER > /dev/null
+		echo "$PKG has been counted, TESTED=$TESTED, NR_GOOD=$NR_GOOD, NR_FTBR=$NR_FTBR, NR_FTBFS=$NR_FTBFS, NR_DEPWAIT=$NR_DEPWAIT, NR_404=$NR_404, NR_UNKNOWN=$NR_UNKNOWN"
+
 	done
 	# prepare stats per repository
 	PERCENT_TOTAL=$(echo "scale=1 ; ($TESTED*100/$TOTAL)" | bc)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list