[Qa-jenkins-scm] [jenkins.debian.net] 01/01: start planning a tool to enable users to debug job runs

Holger Levsen holger at moszumanska.debian.org
Sat Dec 5 19:28:41 UTC 2015


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 a9ef6cca87d28cd33c220343af33b584473e0a67
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 5 20:28:33 2015 +0100

    start planning a tool to enable users to debug job runs
---
 TODO                      | 11 ++++++++++-
 bin/reproducible_build.sh |  4 ++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index 9e6ddf3..83664ac 100644
--- a/TODO
+++ b/TODO
@@ -124,13 +124,22 @@ properties:
 *** publish forked livescreenshot plugin and send pull request for h01ger's bugfix
 *** see ssh://git.debian.org/git/users/holger/livescreenshot-plugin.git and 0b407b70025 there
 
+=== debugging job runs made easy
+
+----
+ <      h01ger> | i think the jenkins-debug-job script should be a python script
+ <      h01ger> | and j-j-b or another yaml parser can supply job configuration knowledge to that script
+ <      h01ger> | \o/
+ <      h01ger> | and that python script can also first determine whether the environment is as needed for the job, and if not, complain verbosely+helpfully and exit
+----
+
 == Improve existing tests
 
 === reproducible builds
 
 This is about Debian, below are more todo entries for other projects…
 
-* make reproducible_build.sh rock solid again and get rid off "set -x # # to debug diffopscpe/schroot problems"
+* make reproducible_build.sh rock solid again and get rid off "set -x # # to debug diffoscoppe/schroot problems"
 ** add check if package to be build has been blacklisted since scheduling and abort
 ** fix: "DIFFOSCOPE='E: Failed to change to directory /tmp: Permission denied' - maybe by making sure the cause is gone… https://jenkins.debian.net/job/reproducible_builder_amd64_14/909/ is an example for that
 *** make maintenance job detect and reschedule logs with: 'E: 10mount: error: Directory '.*' does not exist'
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 238b95c..5c21ce3 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -155,7 +155,7 @@ diff_copy_buildlogs() {
 		elif [ $FTBFS -eq 0 ] ; then
 			echo "Warning: No second build log, what happened?" | tee -a $RBUILDLOG
 		fi
-		set -x # # to debug diffopscpe/schroot problems
+		set -x # # to debug diffoscope/schroot problems
 		echo "Compressing the 1st log..."
 		gzip -9cvn b1/build.log > $BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build1.log.gz
 		chmod 644 $BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build1.log.gz
@@ -330,7 +330,7 @@ call_diffoscope_on_changes_files() {
 		# there is no extra diffoscope-schroot for experimental ( because we specical case ghc enough already )
 		DBDSUITE="unstable"
 	fi
-	set -x # to debug diffopscpe/schroot problems
+	set -x # to debug diffoscope/schroot problems
 	# TEMP is recognized by python's tempfile module to create temp stuff inside
 	local TEMP=$(mktemp --tmpdir=$TMPDIR -d dbd-tmp-XXXXXXX)
 	DIFFOSCOPE="$(schroot --directory $TMPDIR -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1 || true)"

-- 
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