[sr-dev] Build failed in Jenkins: kamailio50-nightly-binaries » i386,stretch,slave #1

jenkins at kamailio.sipwise.com jenkins at kamailio.sipwise.com
Thu Feb 9 16:30:53 CET 2017


See <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/1/display/redirect>

------------------------------------------
[...truncated 30.66 KB...]
+ 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 '' ']'
+ local repository_is_missing_in_env=true
+ '[' -r /etc/jenkins/debian_glue ']'
+ . /etc/jenkins/debian_glue
++ PBUILDER_CONFIG=/etc/jenkins/pbuilderrc
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -z kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave ']'
+ '[' -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 '' ']'
+ REPOSITORY=/srv/repository
+ '[' -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/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/]>: ***'
*** The following files have been noticed in the workspace [<https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/]>: ***
+ ls -la ./
total 12604
drwxr-xr-x 2 admin admin     4096 Feb  9 15:30 .
drwxr-xr-x 3 admin admin     4096 Feb  9 15:30 ..
-rw-r--r-- 1 admin admin     4088 Feb  9 12:34 kamailio_5.0.0~pre2+0~20170209123307.1+stretch.dsc
-rw-r--r-- 1 admin admin     5103 Feb  9 12:34 kamailio_5.0.0~pre2+0~20170209123307.1+stretch_source.changes
-rw-r--r-- 1 admin admin 12880693 Feb  9 12:34 kamailio_5.0.0~pre2+0~20170209123307.1+stretch.tar.gz
-rw-r--r-- 1 admin admin     2303 Feb  9 12:34 lintian.txt
+ identify_package_name
+ PACKAGE=kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave
+ PACKAGE=kamailio50-nightly
+ '[' -n kamailio50-nightly ']'
+ echo '*** Identified Debian package name kamailio50-nightly ***'
*** Identified Debian package name kamailio50-nightly ***
+ set_base_path
+ '[' -n '' ']'
+ BASE_PATH=<https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/>
+ echo '*** Using $WORKSPACE [<https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/]> as default for BASE_PATH ***'
*** Using $WORKSPACE [<https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/]> as default for BASE_PATH ***
+ build_info
+ '[' -n '' ']'
+ REPOS=kamailio50-nightly
+ REPOS=kamailio50-nightly
+ '[' -z stretch ']'
+ REPOS=kamailio50-nightly-stretch
+ echo '*** No repository supplied but distribution has been set, using repository name kamailio50-nightly-stretch ***'
*** No repository supplied but distribution has been set, using repository name kamailio50-nightly-stretch ***
+ identify_sourcefile
+ '[' -n '' ']'
+ echo '*** Identifying newest package version ***'
*** Identifying newest package version ***
+ newest_version=
+ for file in '"${BASE_PATH}/"*.dsc'
++ awk '/^Source: / {print $2}' <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/1/artifact/kamailio_5.0.0~pre2+0~20170209123307.1+stretch.dsc>
+ SOURCE_PACKAGE=kamailio
++ basename <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/1/artifact/kamailio_5.0.0~pre2+0~20170209123307.1+stretch.dsc> .dsc
+ p=kamailio_5.0.0~pre2+0~20170209123307.1+stretch
+ '[' kamailio_5.0.0~pre2+0~20170209123307.1+stretch = '*' ']'
+ cur_version=5.0.0~pre2+0~20170209123307.1+stretch
+ '[' -z '' ']'
+ newest_version=5.0.0~pre2+0~20170209123307.1+stretch
+ echo '*** Found package version 5.0.0~pre2+0~20170209123307.1+stretch ***'
*** Found package version 5.0.0~pre2+0~20170209123307.1+stretch ***
+ sourcefile='<https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/kamailio_*5.0.0~pre2+0~20170209123307.1+stretch.dsc'>
+ echo '*** Using <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/1/artifact/kamailio_*5.0.0~pre2+0~20170209123307.1+stretch.dsc> (version: 5.0.0~pre2+0~20170209123307.1+stretch)'
*** Using <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/1/artifact/kamailio_*5.0.0~pre2+0~20170209123307.1+stretch.dsc> (version: 5.0.0~pre2+0~20170209123307.1+stretch)
+ dist_and_arch_settings
+ '[' -z i386 ']'
+ '[' i386 = all ']'
+ arch=i386
+ echo '*** architecture is set to i386 ***'
*** architecture is set to i386 ***
+ '[' -n stretch ']'
+ local DIST=stretch
+ '[' -n stretch ']'
+ echo '*** COWBUILDER_DIST is set to stretch - using it for base.cow if it does not exist yet. ***'
*** COWBUILDER_DIST is set to stretch - using it for base.cow if it does not exist yet. ***
+ '[' -n '' ']'
+ COWBUILDER_BASE=/var/cache/pbuilder/base-stretch-i386.cow
+ echo '*** No COWBUILDER_BASE set, using /var/cache/pbuilder/base-stretch-i386.cow as cowbuilder base.cow ***'
*** No COWBUILDER_BASE set, using /var/cache/pbuilder/base-stretch-i386.cow as cowbuilder base.cow ***
+ local lockfiles=/var/run/lock/stretch-i386
+ build_lockfile=/var/run/lock/stretch-i386.building.2484
+ update_lockfile=/var/run/lock/stretch-i386.update
+ update_lockfile_pid=/var/run/lock/stretch-i386.update.2484
+ '[' -n '' ']'
+ cowbuilder_init
++ mktemp
+ pbuilderrc=/tmp/tmp.ZfnXOAhWTB
++ date
+ echo '# pbuilder config file generated by jenkins-debian-glue on Thu Feb  9 15:30:50 UTC 2017'
+ '[' -n '' ']'
+ use_eatmydata
+ '[' '' = false ']'
+ '[' '' = true ']'
+ grep -q '^install'
+ dpkg-query --show '--showformat=${Status}' eatmydata
++ dpkg-query --show '--showformat=${Version}' eatmydata
+ dpkg --compare-versions 26-2 gt 26-2
+ echo '*** eatmydata version on host needs to be newer than v26-2 (>=82-6 is recommended), skipping eatmydata ***'
*** eatmydata version on host needs to be newer than v26-2 (>=82-6 is recommended), skipping eatmydata ***
+ use_ccache
+ '[' '' = true ']'
+ '[' -n /etc/jenkins/pbuilderrc ']'
+ echo '*** PBUILDER_CONFIG is set, considering /etc/jenkins/pbuilderrc for pbuilder config ***'
*** PBUILDER_CONFIG is set, considering /etc/jenkins/pbuilderrc for pbuilder config ***
+ '[' -r /etc/jenkins/pbuilderrc ']'
+ echo '*** Adding content of /etc/jenkins/pbuilderrc to pbuilder configfile ***'
*** Adding content of /etc/jenkins/pbuilderrc to pbuilder configfile ***
+ echo '# /etc/jenkins/pbuilderrc added via jenkins-debian-glue:'
+ cat /etc/jenkins/pbuilderrc
+ '[' -n '' ']'
+ echo '*** COMPONENTS is not set, checking whether we need to enable Ubuntu workaround ***'
*** COMPONENTS is not set, checking whether we need to enable Ubuntu workaround ***
+ '[' -n /etc/jenkins/pbuilderrc ']'
+ echo '*** PBUILDER_CONFIG is set, not overwriting COMPONENTS for Ubuntu workaround ***'
*** PBUILDER_CONFIG is set, not overwriting COMPONENTS for Ubuntu workaround ***
+ echo '*** NOTE: If you want to build for Ubuntu make sure COMPONENTS also includes '\''universe'\'' ***'
*** NOTE: If you want to build for Ubuntu make sure COMPONENTS also includes 'universe' ***
+ lsb_release --id
+ grep -q Ubuntu
+ echo '*** Listing pbuilder configuration file as reference: ***'
*** Listing pbuilder configuration file as reference: ***
+ cat /tmp/tmp.ZfnXOAhWTB
# pbuilder config file generated by jenkins-debian-glue on Thu Feb  9 15:30:50 UTC 2017
# /etc/jenkins/pbuilderrc added via jenkins-debian-glue:
# ubuntu specific configuration
case "$distribution" in
  xenial|trusty|precise)
    MIRRORSITE="http://ie.archive.ubuntu.com/ubuntu/"
    # we need key id 40976EAF437D05B5
    DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg")
    # cowdancer is in universe
    COMPONENTS="main universe"
    # package install speedup
    EXTRAPACKAGES="eatmydata"
    export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}/usr/lib/libeatmydata/libeatmydata.so"
    ;;
  lucid)
    # lacks eatmydata package and is EOL, so explicitely configure it
    MIRRORSITE="http://old-releases.ubuntu.com/ubuntu/"
    # we need key id 40976EAF437D05B5
    DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg")
    # cowdancer is in universe
    COMPONENTS="main universe"
    ;;
  lenny|squeeze)
    # lacks eatmydata package, so explicitely configure it
    # nowadays also resides on archive
    MIRRORSITE="http://archive.debian.org/debian/"
    ;;
  jessie)
    MIRRORSITE="http://ftp.de.debian.org/debian"
    # package install speedup
    EXTRAPACKAGES="eatmydata"
    # eatmydata (>=82-2)
    LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}libeatmydata.so"
    ;;
  *)
    MIRRORSITE="http://ftp.de.debian.org/debian"
    # package install speedup
    EXTRAPACKAGES="eatmydata"
    export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}/usr/lib/libeatmydata/libeatmydata.so"
    ;;
esac
+ ls '/var/cache/pbuilder/base-stretch-i386.cow.building.*'
+ ls '/var/run/lock/stretch-i386.update*'
+ flock --nonblock 9
+ touch /var/run/lock/stretch-i386.update.2484
+ '[' '!' -d /var/cache/pbuilder/base-stretch-i386.cow ']'
+ echo '*** Creating cowbuilder base /var/cache/pbuilder/base-stretch-i386.cow for arch i386 and distribution stretch ***'
*** Creating cowbuilder base /var/cache/pbuilder/base-stretch-i386.cow for arch i386 and distribution stretch ***
+ sudo DIST=stretch ARCH=i386 cowbuilder --create --basepath /var/cache/pbuilder/base-stretch-i386.cow --distribution stretch --debootstrap debootstrap --architecture i386 --debootstrapopts --arch --debootstrapopts i386 --debootstrapopts --variant=buildd --configfile=/tmp/tmp.ZfnXOAhWTB --hookdir /usr/share/jenkins-debian-glue/pbuilder-hookdir/
 -> Invoking pbuilder
  forking: pbuilder create --debootstrap debootstrap --debootstrapopts --arch --debootstrapopts i386 --debootstrapopts --variant=buildd --configfile /tmp/tmp.ZfnXOAhWTB --hookdir /usr/share/jenkins-debian-glue/pbuilder-hookdir/ --buildplace /var/cache/pbuilder/base-stretch-i386.cow --mirror http://ftp.de.debian.org/debian --architecture i386 --distribution stretch --no-targz --extrapackages cowdancer 
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: Distribution is stretch.
I: Current time: Thu Feb  9 15:30:50 UTC 2017
I: pbuilder-time-stamp: 1486654250
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
E: No such script: /usr/share/debootstrap/scripts/stretch
E: debootstrap failed
W: Aborting with an error
pbuilder create failed
  forking: rm -rf /var/cache/pbuilder/base-stretch-i386.cow 
+ '[' 1 -eq 0 ']'
+ exit 2
+ case "$?" in
+ echo '*** Something went wrong with the creation of the cowbuilder environment. Cleaning up. ***'
*** Something went wrong with the creation of the cowbuilder environment. Cleaning up. ***
+ rm -rf /var/cache/pbuilder/base-stretch-i386.cow
+ bailout 1 'Error: Failed to create cowbuilder base /var/cache/pbuilder/base-stretch-i386.cow.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to create cowbuilder base /var/cache/pbuilder/base-stretch-i386.cow.' ']'
+ echo 'Error: Failed to create cowbuilder base /var/cache/pbuilder/base-stretch-i386.cow.'
Error: Failed to create cowbuilder base /var/cache/pbuilder/base-stretch-i386.cow.
+ rm -f /var/run/lock/stretch-i386.building.2484
+ '[' -r /var/run/lock/stretch-i386.update.2484 ']'
+ rm -f /var/run/lock/stretch-i386.update.2484
+ rm -f /var/run/lock/stretch-i386.update
+ '[' '' = true ']'
+ echo '*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/binaries/> to avoid problems in next run. ***'
*** Getting rid of files in <https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/binaries/> to avoid problems in next run. ***
+ rm -f '<https://kamailio.sipwise.com/job/kamailio50-nightly-binaries/architecture=i386,distribution=stretch,label=slave/ws/binaries/*'>
+ '[' -n /tmp/tmp.ZfnXOAhWTB ']'
+ rm -rf /tmp/tmp.ZfnXOAhWTB
+ '[' -n '' ']'
+ '[' -n 10551 ']'
++ sed -e 's/^\([0-9]*\).*/\1/'
+ SECONDS=1
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Thu Feb  9 15:30:50 UTC 2017 [running 1 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Thu Feb  9 15:30:50 UTC 2017 [running 1 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: report/*.tap
Did not find any matching files.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Recording fingerprints



More information about the sr-dev mailing list