See
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/16/>
------------------------------------------
[...truncated 24 lines...]
+ '[' -n /srv/repository/kamailio41 ']'
+ false
+ '[' '' = true ']'
+ ARCHITECTURES='amd64 i386 source'
+ COMPONENTS=main
+ UDEB_COMPONENTS=main
+ '[' 1 -gt 1 ']'
+ '[' 1 -lt 1 ']'
+ REPOS=trusty
++ awk '/^ii/ {print $3}'
++ dpkg --list jenkins-debian-glue
+ JENKINS_DEBIAN_GLUE_VERSION=0.17.0+0~20160314203442.289~1.gbpe890ef
+ '[' -n 0.17.0+0~20160314203442.289~1.gbpe890ef ']'
+ echo '*** Running jenkins-debian-glue version
0.17.0+0~20160314203442.289~1.gbpe890ef ***'
*** Running jenkins-debian-glue version 0.17.0+0~20160314203442.289~1.gbpe890ef ***
+ '[' -z '' ']'
+ echo '*** Repository variable DEFAULT_REPOSITORY is unset, using default []
***'
*** Repository variable DEFAULT_REPOSITORY is unset, using default [] ***
+ DEFAULT_REPOSITORY=/srv/repository
+ '[' -z /srv/repository/kamailio41 ']'
+ mkdir -p /srv/repository/kamailio41/conf
++ id -un
+ chown jenkins /srv/repository/kamailio41/conf
+ touch /srv/repository/kamailio41/conf/distributions
+ '[' -z 508EA4C8 ']'
++ id -un
+ flock --timeout 5 9
+ grep -q '^\(Codename\|Suite\): trusty$'
/srv/repository/kamailio41/conf/distributions
+ echo 'Codename/repository trusty exists already, ignoring request to add
again.'
Codename/repository trusty exists already, ignoring request to add again.
+ exit 0
++ id -un
+ rm -f /var/lock/jdg-generate-reprepro-codename.jenkins
+ set -u
+ umask 022
+ PATH=/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
+ export QEMU_RESERVED_VA=0x0
+ QEMU_RESERVED_VA=0x0
++ date
+ echo '*** Starting /usr/bin/build-and-provide-package at Wed Mar 23 05:24:07 UTC
2016 ***'
*** Starting /usr/bin/build-and-provide-package at Wed Mar 23 05:24:07 UTC 2016 ***
++ cut -d . -f 1 /proc/uptime
+ start_seconds=6634163
++ awk '/^ii/ {print $3}'
++ dpkg --list jenkins-debian-glue
+ JENKINS_DEBIAN_GLUE_VERSION=0.17.0+0~20160314203442.289~1.gbpe890ef
+ '[' -n 0.17.0+0~20160314203442.289~1.gbpe890ef ']'
+ echo '*** Running jenkins-debian-glue version
0.17.0+0~20160314203442.289~1.gbpe890ef ***'
*** Running jenkins-debian-glue version 0.17.0+0~20160314203442.289~1.gbpe890ef ***
++ dpkg-architecture -qDEB_HOST_ARCH
+ HOST_ARCH=amd64
+ '[' -n amd64 ']'
+ echo '*** Identified host architecture amd64 ***'
*** Identified host architecture amd64 ***
+ trap bailout SIGHUP SIGINT SIGQUIT SIGABRT SIGKILL SIGALRM SIGTERM
+ checks_and_defaults
+ '[' -z /srv/repository/kamailio41 ']'
+ local repository_is_missing_in_env=false
+ '[' -r /etc/jenkins/debian_glue ']'
+ . /etc/jenkins/debian_glue
++ PBUILDER_CONFIG=/etc/jenkins/pbuilderrc
++ KEY_ID=508EA4C8
+ '[' -n /srv/repository/kamailio41 ']'
+ false
+ '[' -n '' ']'
+ '[' -z kamailio41-repos/architecture=amd64,distribution=trusty,label=master
']'
+ '[' -z amd64 ']'
+ set_debootstrap
+ '[' -n '' ']'
+ '[' amd64 = amd64 ']'
+ DEBOOTSTRAP=debootstrap
+ return 0
+ '[' -z '' ']'
+ REPREPRO_OPTS='-v --waitforlock 1000'
+ echo '*** REPREPRO_OPTS is unset, using default: -v --waitforlock 1000 ***'
*** REPREPRO_OPTS is unset, using default: -v --waitforlock 1000 ***
+ REPREPRO_CMD=reprepro
+ '[' -z '' ']'
+ DEFAULT_REPOSITORY=/srv/repository
+ '[' -z /srv/repository/kamailio41 ']'
+ '[' -z '' ']'
+ PBUILDER_HOOKDIR=/usr/share/jenkins-debian-glue/pbuilder-hookdir/
+ '[' -z '' ']'
+ '[' -z '' ']'
+ FREIGHT_VARLIB=/var/lib/freight
+ FREIGHT_VARCACHE=/var/cache/freight
+ FREIGHT_CONF=/etc/freight.conf
+ clean_workspace
++ pwd
+ echo '*** The following files have been noticed in the workspace
[<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/]>:
***'
*** The following files have been noticed in the workspace
[<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/]>:
***
+ ls -la ./
total 12
drwxr-xr-x 3 jenkins nogroup 4096 Mar 23 05:24 .
drwxr-xr-x 3 jenkins nogroup 4096 Mar 23 05:24 ..
drwxr-xr-x 2 jenkins nogroup 4096 Mar 23 05:24 binaries
+ identify_package_name
+ PACKAGE=kamailio41
+ PACKAGE=kamailio41
+ '[' -n kamailio41 ']'
+ echo '*** Identified Debian package name kamailio41 ***'
*** Identified Debian package name kamailio41 ***
+ set_base_path
+ '[' -n binaries/ ']'
+ echo '*** Using provided binaries/ as BASE_PATH ***'
*** Using provided binaries/ as BASE_PATH ***
+ build_info
+ '[' -n trusty ']'
+ echo '*** Using supplied repository name trusty ***'
*** Using supplied repository name trusty ***
+ identify_sourcefile
+ '[' -n '' ']'
+ echo '*** Identifying newest package version ***'
*** Identifying newest package version ***
+ newest_version=
+ for file in '"${BASE_PATH}/"*.dsc'
++ awk '/^Source: / {print $2}' binaries//kamailio_4.1.9+trusty.dsc
+ SOURCE_PACKAGE=kamailio
++ basename binaries//kamailio_4.1.9+trusty.dsc .dsc
+ p=kamailio_4.1.9+trusty
+ '[' kamailio_4.1.9+trusty = '*' ']'
+ cur_version=4.1.9+trusty
+ '[' -z '' ']'
+ newest_version=4.1.9+trusty
+ echo '*** Found package version 4.1.9+trusty ***'
*** Found package version 4.1.9+trusty ***
+ sourcefile='binaries//kamailio_*4.1.9+trusty.dsc'
+ echo '*** Using binaries//kamailio_*4.1.9+trusty.dsc (version: 4.1.9+trusty)'
*** Using binaries//kamailio_*4.1.9+trusty.dsc (version: 4.1.9+trusty)
+ dist_and_arch_settings
+ '[' -z amd64 ']'
+ '[' amd64 = all ']'
+ arch=amd64
+ echo '*** architecture is set to amd64 ***'
*** architecture is set to amd64 ***
+ '[' -n trusty ']'
+ local DIST=trusty
+ '[' -n '' ']'
+ echo '*** Using cowbuilder base for distribution trusty ***'
*** Using cowbuilder base for distribution trusty ***
+ COWBUILDER_DIST=trusty
+ '[' -n '' ']'
+ COWBUILDER_BASE=/var/cache/pbuilder/base-trusty-amd64.cow
+ echo '*** No COWBUILDER_BASE set, using /var/cache/pbuilder/base-trusty-amd64.cow as
cowbuilder base.cow ***'
*** No COWBUILDER_BASE set, using /var/cache/pbuilder/base-trusty-amd64.cow as cowbuilder
base.cow ***
+ local lockfiles=/var/run/lock/trusty-amd64
+ build_lockfile=/var/run/lock/trusty-amd64.building.5225
+ update_lockfile=/var/run/lock/trusty-amd64.update
+ update_lockfile_pid=/var/run/lock/trusty-amd64.update.5225
+ '[' -n true ']'
+ echo '*** Config variable '\''PROVIDE_ONLY'\'' is set,
ignoring request to run cowbuilder. ***'
*** Config variable 'PROVIDE_ONLY' is set, ignoring request to run cowbuilder.
***
+ '[' -n '' ']'
+ deploy_to_releases
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ reprepro_wrapper
+ '[' -d /srv/repository/kamailio41 ']'
+ generate-reprepro-codename trusty
+ set -e
+ '[' -z /srv/repository/kamailio41 ']'
+ repository_is_missing_in_env=false
+ '[' -r /etc/jenkins/debian_glue ']'
+ echo '*** Sourcing /etc/jenkins/debian_glue ***'
*** Sourcing /etc/jenkins/debian_glue ***
+ . /etc/jenkins/debian_glue
++ PBUILDER_CONFIG=/etc/jenkins/pbuilderrc
++ KEY_ID=508EA4C8
+ '[' -n /srv/repository/kamailio41 ']'
+ false
+ '[' '' = true ']'
+ ARCHITECTURES='amd64 i386 source'
+ COMPONENTS=main
+ UDEB_COMPONENTS=main
+ '[' 1 -gt 1 ']'
+ '[' 1 -lt 1 ']'
+ REPOS=trusty
++ awk '/^ii/ {print $3}'
++ dpkg --list jenkins-debian-glue
+ JENKINS_DEBIAN_GLUE_VERSION=0.17.0+0~20160314203442.289~1.gbpe890ef
+ '[' -n 0.17.0+0~20160314203442.289~1.gbpe890ef ']'
+ echo '*** Running jenkins-debian-glue version
0.17.0+0~20160314203442.289~1.gbpe890ef ***'
*** Running jenkins-debian-glue version 0.17.0+0~20160314203442.289~1.gbpe890ef ***
+ '[' -z '' ']'
+ echo '*** Repository variable DEFAULT_REPOSITORY is unset, using default []
***'
*** Repository variable DEFAULT_REPOSITORY is unset, using default [] ***
+ DEFAULT_REPOSITORY=/srv/repository
+ '[' -z /srv/repository/kamailio41 ']'
+ mkdir -p /srv/repository/kamailio41/conf
++ id -un
+ chown jenkins /srv/repository/kamailio41/conf
+ touch /srv/repository/kamailio41/conf/distributions
+ '[' -z 508EA4C8 ']'
++ id -un
+ flock --timeout 5 9
+ grep -q '^\(Codename\|Suite\): trusty$'
/srv/repository/kamailio41/conf/distributions
+ echo 'Codename/repository trusty exists already, ignoring request to add
again.'
Codename/repository trusty exists already, ignoring request to add again.
+ exit 0
++ id -un
+ rm -f /var/lock/jdg-generate-reprepro-codename.jenkins
+ remove_packages
+ '[' -n true ']'
+ echo '*** Skipping removal of existing packages as requested via SKIP_REMOVAL
***'
*** Skipping removal of existing packages as requested via SKIP_REMOVAL ***
+ return 0
+ remove_missing_binary_packages
+ '[' -n true ']'
+ echo '*** Skipping removal of existing packages as requested via SKIP_REMOVAL
***'
*** Skipping removal of existing packages as requested via SKIP_REMOVAL ***
+ return 0
+ archall=false
+ case $architecture in
+ echo '*** Including packages in repository trusty ***'
*** Including packages in repository trusty ***
+ reprepro -b /srv/repository/kamailio41 -v --waitforlock 1000 --ignore=wrongdistribution
--ignore=uploaders --ignore=surprisingbinary include trusty
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty_amd64.changes>
.changes put in a distribution not listed within it!
Ignoring as --ignore=wrongdistribution given.
File "pool/main/k/kamailio/kamailio-nth_4.1.9+trusty_amd64.deb" is already
registered with different checksums!
md5 expected: 8c3485673e7f346f82518f67842da9d5, got: f36188234cc6614594189e806474d227
sha1 expected: e2fc7e99a303b69cd38b7c01da47260b48911745, got:
3d026135156f3bd2899e25699930ceb5e7e2941c
sha256 expected: 3dc4452f3781b40fac7fa701a2efd537e6aad25c1752ae25f423a4ac52d765c8, got:
13eb7c217436dddcb145fa26d9d890f7847835d52118d0f7b1f543adbcf09f71
size expected: 166146, got: 166144
There have been errors!
+ '[' 254 -eq 0 ']'
+ bailout 1 'Error: Failed to include binary package in trusty repository.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to include binary package in trusty repository.'
']'
+ echo 'Error: Failed to include binary package in trusty repository.'
Error: Failed to include binary package in trusty repository.
+ rm -f /var/run/lock/trusty-amd64.building.5225
+ '[' -r /var/run/lock/trusty-amd64.update.5225 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/>
to avoid problems in next run. ***'
*** Getting rid of files in
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/>
to avoid problems in next run. ***
+ rm -f
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-autheph-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-berkeley-bin_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-berkeley-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-carrierroute-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-cpl-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-dbg_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-dnssec-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-extra-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-geoip-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-ims-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-java-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-json-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-ldap-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-lua-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-memcached-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-mono-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-mysql-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-nth_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-outbound-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-perl-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-postgres-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-presence-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-purple-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-python-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-radius-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-redis-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-sctp-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-snmpstats-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-sqlite-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-tls-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-unixodbc-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-utils-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-websocket-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-xml-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio-xmpp-modules_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty.dsc>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio_4.1.9+trusty.tar.gz>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty_amd64.changes>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/kamailio_4.1.9+trusty_amd64.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty_source.changes>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=amd64,distribution=trusty,label=master/ws/binaries/lintian.txt>
+ rm -rf /tmp/apt-5225
+ '[' -n 6634163 ']'
++ cut -d . -f 1 /proc/uptime
+ SECONDS=1
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Wed Mar 23
05:24:08 UTC 2016 [running 1 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Wed Mar 23 05:24:08 UTC
2016 [running 1 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts