From 25ae0c56fcdd2cded953c924b119d2200e481ee7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 10 Sep 2015 17:22:22 +0200 Subject: reproducible: 'H/1 * * * *' doesn't seem to work as advertised, use '* * * * *' instead and randomize start times manually --- bin/reproducible_build.sh | 4 ++-- job-cfg/reproducible.yaml | 42 +++++++++++++++++++++--------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 81ba8784..53c0bddb 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -13,9 +13,9 @@ common_init "$@" set -e -# sleep 1-12 secs to randomize start times +# sleep 1-23 secs to randomize start times delay_start() { - /bin/sleep $(echo "scale=1 ; $(shuf -i 1-120 -n 1)/10" | bc ) + /bin/sleep $(echo "scale=1 ; $(shuf -i 1-230 -n 1)/10" | bc ) } create_results_dirs() { diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index 46790e69..4778e870 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -762,127 +762,127 @@ my_node: '' - '{name}_builder_alpha': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_beta': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_gamma': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_1': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build1-amd64 profitbricks-build2-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_2': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build2-amd64 profitbricks-build1-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_3': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build1-amd64 profitbricks-build2-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_4': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build2-amd64 profitbricks-build1-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_5': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build1-amd64 profitbricks-build2-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_6': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build2-amd64 profitbricks-build1-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_7': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build1-amd64 profitbricks-build2-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_8': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build2-amd64 profitbricks-build1-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_9': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build1-amd64 profitbricks-build2-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_10': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build2-amd64 profitbricks-build1-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_11': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build1-amd64 profitbricks-build2-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_amd64_12': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh profitbricks-build2-amd64 profitbricks-build1-amd64' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_armhf_1': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh bpi0-armhf-rb:2222 wbq0-armhf-rb:2225' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_armhf_2': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh wbq0-armhf-rb:2225 cbxi4pro0-armhf-rb:2226' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_armhf_3': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh hb0-armhf-rb:2224 cbxi4pro0-armhf-rb:2226' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_armhf_4': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh cbxi4pro0-armhf-rb:2226 wbq0-armhf-rb:2225' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_armhf_5': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh cbxi4pro0-armhf-rb:2226 bpi0-armhf-rb:2222' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' - '{name}_builder_armhf_6': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' - my_timed: 'H/1 * * * *' + my_timed: '* * * * *' my_shell: '/srv/jenkins/bin/reproducible_build.sh wbq0-armhf-rb:2225 hb0-armhf-rb:2224' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' -- cgit v1.2.3-70-g09d2