See
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/16/>
------------------------------------------
[...truncated 27 lines...]
+ 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:23:55 UTC
2016 ***'
*** Starting /usr/bin/build-and-provide-package at Wed Mar 23 05:23:55 UTC 2016 ***
++ cut -d . -f 1 /proc/uptime
+ start_seconds=6634150
++ 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=i386,distribution=trusty,label=master
']'
+ '[' -z i386 ']'
+ set_debootstrap
+ '[' -n '' ']'
+ '[' i386 = amd64 ']'
+ '[' i386 = all ']'
+ case "$HOST_ARCH" in
+ '[' i386 = i386 ']'
+ 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=i386,distribution=trusty,label=master/ws/]>:
***'
*** The following files have been noticed in the workspace
[<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/]>:
***
+ ls -la ./
total 12
drwxr-xr-x 3 jenkins nogroup 4096 Mar 23 05:23 .
drwxr-xr-x 3 jenkins nogroup 4096 Mar 23 05:23 ..
drwxr-xr-x 2 jenkins nogroup 4096 Mar 23 05:23 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 i386 ']'
+ '[' i386 = all ']'
+ arch=i386
+ echo '*** architecture is set to i386 ***'
*** architecture is set to i386 ***
+ '[' -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-i386.cow
+ echo '*** No COWBUILDER_BASE set, using /var/cache/pbuilder/base-trusty-i386.cow as
cowbuilder base.cow ***'
*** No COWBUILDER_BASE set, using /var/cache/pbuilder/base-trusty-i386.cow as cowbuilder
base.cow ***
+ local lockfiles=/var/run/lock/trusty-i386
+ build_lockfile=/var/run/lock/trusty-i386.building.5021
+ update_lockfile=/var/run/lock/trusty-i386.update
+ update_lockfile_pid=/var/run/lock/trusty-i386.update.5021
+ '[' -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=i386,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty_i386.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_i386.deb" is already
registered with different checksums!
md5 expected: 59b3e951eae01269075c48c9e238ec91, got: 4249ea24d4bf1ac907493e79bbfc05a1
sha1 expected: 3192d2f888b5532f10d1f92a3185b5e267fbcf67, got:
ee7e101ec8a93f06db6774031c8fb1ad0fbc7540
sha256 expected: fde1feb1f90007278ebb8d050477aff514dec25a292296b9b73434af6f008ff0, got:
174aec110d4e7e825a1879dc50974b139cd790f9086ccfefdaedc3ff416be145
size expected: 166134, got: 166130
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-i386.building.5021
+ '[' -r /var/run/lock/trusty-i386.update.5021 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,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=i386,distribution=trusty,label=master/ws/binaries/>
to avoid problems in next run. ***
+ rm -f
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-autheph-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-berkeley-bin_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-berkeley-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-carrierroute-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-cpl-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-dbg_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-dnssec-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-extra-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-geoip-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-ims-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-java-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-json-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-ldap-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-lua-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-memcached-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-mono-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-mysql-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-nth_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-outbound-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-perl-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-postgres-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-presence-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-purple-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-python-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-radius-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-redis-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-sctp-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-snmpstats-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-sqlite-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-tls-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-unixodbc-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-utils-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-websocket-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-xml-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio-xmpp-modules_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty.dsc>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio_4.1.9+trusty.tar.gz>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty_i386.changes>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/kamailio_4.1.9+trusty_i386.deb>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/16/artifact/binaries/kamailio_4.1.9+trusty_source.changes>
<https://kamailio.sipwise.com/job/kamailio41-repos/architecture=i386,distribution=trusty,label=master/ws/binaries/lintian.txt>
+ rm -rf /tmp/apt-5021
+ '[' -n 6634150 ']'
++ cut -d . -f 1 /proc/uptime
+ SECONDS=1
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Wed Mar 23
05:23:56 UTC 2016 [running 1 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Wed Mar 23 05:23:56 UTC
2016 [running 1 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts