[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible openwrt: install toolchain. cleanup properly between builds. call make it single steps again

Holger Levsen holger at moszumanska.debian.org
Fri Jun 12 14:54:00 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 9432849adfc4c466a55d80a60a96f5b111f8af4c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Jun 12 16:53:28 2015 +0200

    reproducible openwrt: install toolchain. cleanup properly between builds. call make it single steps again
---
 bin/reproducible_openwrt.sh | 75 +++++++++++++++++++++++----------------------
 1 file changed, 39 insertions(+), 36 deletions(-)

diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index b5d847f..c10879b 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -91,27 +91,30 @@ echo "==========================================================================
 echo "$(date -u) - Building the toolchain now."
 echo "============================================================================="
 make defconfig
-make -j $NUM_CPU tools/install
+nice ionice -c 3 \
+	make -j $NUM_CPU tools/install
+nice ionice -c 3 \
+	make -j $NUM_CPU toolchain/install
 
 echo "============================================================================="
 echo "$(date -u) - Building openwrt ${OPENWRT_VERSION} images now - first build run."
 echo "============================================================================="
 export TZ="/usr/share/zoneinfo/Etc/GMT+12"
 # actually build everything
-nice ionice -c 3 \
-	make
-#nice ionice -c 3 \
-#	make target/compile
-#nice ionice -c 3 \
-#	make -j $NUM_CPU package/cleanup
 #nice ionice -c 3 \
-#	make -j $NUM_CPU package/compile
-#nice ionice -c 3 \
-#	make -j $NUM_CPU package/install
-#nice ionice -c 3 \
-#	make -j $NUM_CPU target/install
-#nice ionice -c 3 \
-#	make -j $NUM_CPU package/index
+#	make
+nice ionice -c 3 \
+	make target/compile
+nice ionice -c 3 \
+	make -j $NUM_CPU package/cleanup
+nice ionice -c 3 \
+	make -j $NUM_CPU package/compile
+nice ionice -c 3 \
+	make -j $NUM_CPU package/install
+nice ionice -c 3 \
+	make -j $NUM_CPU target/install
+nice ionice -c 3 \
+	make -j $NUM_CPU package/index
 
 cd bin
 for i in * ; do
@@ -128,8 +131,8 @@ rm bin -r
 #
 # clean up between builds
 #
-rm staging_dir -r
-rm target -r
+rm build_dir/target-* -r
+rm taging_dir/target-* -r
 
 echo "============================================================================="
 echo "$(date -u) - Building openwrt images now - second build run."
@@ -142,27 +145,27 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
 umask 0002
 # use allmost all cores for second build
 NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
-nice ionice -c 3 \
-	linux64 --uname-2.6 \
-		make
-#nice ionice -c 3 \
-#	linux64 --uname-2.6 \
-#		make target/compile
-#nice ionice -c 3 \
-#	linux64 --uname-2.6 \
-#		make -j $NEW_NUM_CPU package/cleanup
-#nice ionice -c 3 \
-#	linux64 --uname-2.6 \
-#		make -j $NEW_NUM_CPU package/compile
-#nice ionice -c 3 \
-#	linux64 --uname-2.6 \
-#		make -j $NEW_NUM_CPU package/install
 #nice ionice -c 3 \
 #	linux64 --uname-2.6 \
-#		make -j $NEW_NUM_CPU target/install
-#nice ionice -c 3 \
-#	linux64 --uname-2.6 \
-#		make -j $NEW_NUM_CPU package/index
+#		make
+nice ionice -c 3 \
+	linux64 --uname-2.6 \
+		make target/compile
+nice ionice -c 3 \
+	linux64 --uname-2.6 \
+		make -j $NEW_NUM_CPU package/cleanup
+nice ionice -c 3 \
+	linux64 --uname-2.6 \
+		make -j $NEW_NUM_CPU package/compile
+nice ionice -c 3 \
+	linux64 --uname-2.6 \
+		make -j $NEW_NUM_CPU package/install
+nice ionice -c 3 \
+	linux64 --uname-2.6 \
+		make -j $NEW_NUM_CPU target/install
+nice ionice -c 3 \
+	linux64 --uname-2.6 \
+		make -j $NEW_NUM_CPU package/index
 
 # reset environment to default values again
 export LANG="en_GB.UTF-8"
@@ -273,7 +276,7 @@ write_page "        <em>Reproducible OpenWRT</em> is an effort to apply this to
 write_page "       <p>There is a monthly run <a href=\"https://jenkins.debian.net/view/reproducible/job/reproducible_openwrt/\">jenkins job</a> to test the <code>master</code> branch of <a href=\"git://git.openwrt.org/openwrt.git\">openwrt.git</a>. Currently this job is triggered more often though, because this is still under development and brand new. The jenkins job is simply running <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_openwrt.sh\">r [...]
 write_page "       <p>$GOOD_IMAGES ($GOOD_PERCENT%) out of $ALL_IMAGES built openwrt images were reproducible in our test setup."
 write_page "        These tests were last run on $DATE for version ${OPENWRT_VERSION}.</p>"
-write_explaination_table openwrt
+write_explaination_table OpenWRT
 cat $IMAGES_HTML >> $PAGE
 write_page "     <p><pre>"
 echo -n "$OPENWRT" >> $PAGE

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