[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Reproducible FreeBSD: give ntpd a moment to write its pid file

Mattia Rizzolo mattia at debian.org
Mon Nov 13 17:02:20 UTC 2017


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

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

commit 848e4fc3a0f7f08339f9fc94b0e195faaaab2fb2
Author: Ed Maste <emaste at freebsd.org>
Date:   Mon Nov 13 11:59:08 2017 -0500

    Reproducible FreeBSD: give ntpd a moment to write its pid file
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_freebsd.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index c984c5a..f0ddfe1 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -101,7 +101,8 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
 	TMPBUILDDIR=/usr/src
 	$RSSH 'sudo rm -rf /usr/src ; sudo mkdir /usr/src ; sudo chown jenkins /usr/src'  ### this is tmpfs on linux, we should move this to tmpfs on FreeBSD too
 	# Ensure we start with the correct time on the target
-	$RSSH 'sudo service ntpd stop ; sudo ntpdate -b pool.ntp.org ; sudo service ntpd start ; sudo service ntpd status ; date -u'
+	$RSSH 'sudo service ntpd stop ; sudo ntpdate -b pool.ntp.org ; sudo service ntpd start'
+	$RSSH 'sudo service ntpd status ; date -u'
 	TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd')  # used to compare results
 	DATE=$(date -u +'%Y-%m-%d')
 	START=$(date +'%s')

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