FRR-7.3-Snapcraft

Build: #2 failed

Job: Ubuntu 16.04 AMD64 Build was successful

Job result summary

Completed
Duration
13 minutes
Agent
ci1044_ubuntu1604_amd64 Proxy

Error summary

The build generated some errors. See the full build log for more details.

+ '[' '' = YES ']'
+++ dirname ci/build-server/check_env.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server
+ [[ -z frr ]]
+ PROJECT=frr
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -d kvm ']'
+ . /data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server/kvm/check_env.sh
++ '[' YES '!=' '' ']'
++ set -x
++ '[' -z x ']'
++ return 0
+ echo 'Job Environment:'
+ echo ======================
+ echo 'Build Architecture = amd64'
+ echo 'Build System OS    = ubuntu1604'
+ echo 'Build Node         = ci1044_ubuntu1604_amd64'
+ '[' kvm == kvm ']'
+ echo '   Node type       = KVM (on bird-h-01.nic.cz)'
+ echo 'Build Hostname     = ci1044.lab.netdef.org'
+ echo 'Build Host SSH Port= 202'
+ echo 'CI Script Base Dir = /data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server'
+ echo 'Project            = frr'
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ hv=bird-h-01.nic.cz
+ nodetype=kvm
+++ dirname ci/build-server/bootup_vm.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server
+ sshport=202
+ . /data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server/kvm/bootup_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci1044_ubuntu1604_amd64
++ host=ci1044.lab.netdef.org
++ hv=bird-h-01.nic.cz
++ sshport=202
++ PING=/bin/ping6
+++ dig +short A ci1044.lab.netdef.org
++ host_ipv4=
++ [[ ! -z '' ]]
++ attempts=50
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1044_ubuntu1604_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off '!=' off ']'
++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system snapshot-revert ci1044_ubuntu1604_amd64 clean
++ echo 'VM ci1044_ubuntu1604_amd64 reset to snapshot '\''clean'\'''
++ sleep 5
++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system start ci1044_ubuntu1604_amd64
++ '[' 0 -ne 0 ']'
++ touch ci1044_ubuntu1604_amd64.booted.2
++ sleep 30
++ attempts=300
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1044.lab.netdef.org
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
++ attempts=40
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /usr/bin/ssh -p 202 -o ConnectTimeout=2 ci@ci1044.lab.netdef.org 'uname -a'
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ sshport=202
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'copy source code to vm ci1044_ubuntu1604_amd64 with hostname ci1044.lab.netdef.org'
+ build=cibuild.2
+ ssh -p 202 ci@ci1044.lab.netdef.org 'rm -rf cibuild.2; mkdir cibuild.2'
+ scp -P 202 -pCB frr-source.tar.gz ci@ci1044.lab.netdef.org:cibuild.2/frr-source.tar.gz
+ scp -P 202 -pCB README.SourceVersion.txt ci@ci1044.lab.netdef.org:cibuild.2/README.SourceVersion.txt
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2; tar xzf frr-source.tar.gz'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2; chmod -R o+r frr-source; chmod -R o+X frr-source'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'rm -rf cibuild.2/ci'
+ rm -rf ci/doc
+ rm -rf ci/centos6/example ci/centos7/example ci/debian8/example ci/freebsd10/example ci/freebsd11/example ci/freebsd8/example ci/freebsd9/example ci/netbsd6/example ci/netbsd7/example ci/openbsd58/example ci/openbsd60/example ci/ubuntu1204/example ci/ubuntu1404/example ci/ubuntu1604/example
+ rm -rf ci/.git
+ scp -P 202 -rpCB ci ci@ci1044.lab.netdef.org:cibuild.2
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ sshport=202
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ '[' frr '!=' frr ']'
+ buildnum=2
+ echo 'copy libyang DEBs to vm ci1044_ubuntu1604_amd64 with hostname ci1044.lab.netdef.org'
+ build=cibuild.2
+ rm -f 'libyang-dbg*.*'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'rm -rf cibuild.2/libyang; mkdir cibuild.2/libyang'
+ scp -P 202 -pCB libyang0.16_0.16.105-1_amd64.deb libyang-dev_0.16.105-1_amd64.deb ci@ci1044.lab.netdef.org:cibuild.2/libyang/
++ ls -1 libyang0.16_0.16.105-1_amd64.deb libyang-dev_0.16.105-1_amd64.deb
++ tr '\n' ' '
+ LIBYANGPKGS='libyang0.16_0.16.105-1_amd64.deb libyang-dev_0.16.105-1_amd64.deb '
+ ssh -p 202 ci@ci1044.lab.netdef.org 'sudo DEBIAN_FRONTEND=noninteractive apt-get purge -y libyang > /dev/null 2> /dev/null | true'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'sudo DEBIAN_FRONTEND=noninteractive apt-get purge -y libyang0.16 > /dev/null 2> /dev/null | true'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2/libyang; sudo DEBIAN_FRONTEND=noninteractive dpkg -i libyang0.16_0.16.105-1_amd64.deb libyang-dev_0.16.105-1_amd64.deb '
+ '[' 0 -ne 0 ']'
+ '[' -s stderr.log ']'
+ rm -f libyang0.16_0.16.105-1_amd64.deb libyang-dev_0.16.105-1_amd64.deb
+ exit 0
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ sshport=202
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'Bootstrap Autotools on vm ci1044_ubuntu1604_amd64 with hostname ci1044.lab.netdef.org'
+ errorlog=log_bootstrap.txt
+ rm -f log_bootstrap.txt
+ build=cibuild.2
+ echo -n '#!/bin/sh
if [ "`uname`" = "OpenBSD" ]; then
    # Define autoconf version
    if [ `pkg_info -e "autoconf-2.69"` ]; then
        export AUTOCONF_VERSION=2.69
    fi
    # Define automake version
    if [ `pkg_info -e "automake->=1.15,<1.16"` ]; then
        export AUTOMAKE_VERSION=1.15
    elif [ `pkg_info -e "automake->=1.16,<1.17"` ]; then
        export AUTOMAKE_VERSION=1.16
    fi
fi
./bootstrap.sh
'
+ chmod 755 ./my_bootstrap.sh
+ scp -P 202 -pCB ./my_bootstrap.sh ci@ci1044.lab.netdef.org:cibuild.2
+ cat ./my_bootstrap.sh
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2/frr-source; ../my_bootstrap.sh'
+ tee -a log_bootstrap.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_bootstrap.txt
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ sshport=202
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ . ./README.SourceVersion.txt
++ Source_GIT_URL=https://github.com/FRRouting/frr.git
++ Source_GIT_Commit=c0038fca9b4b736a59d6ed786c12ac0c8a2909ac
++ Source_GIT_Branch=stable/7.3
++ Source_GIT_Describ=frr-7.3
++ Source_GIT_CommitTime_UTC=20200214.140309
++ Source_GIT_CommitDate_UTC=20200214
++ Source_DejaGNU_tests_SHA=08b178b922900c2beb5b34bb436e3380a50d7f74
++ CI_Build_Result_URL=https://ci1.netdef.org/browse/FRR-FRR73SNAP-2
++ CI_Build_TimeStamp=2020-02-14T06:21:08.984-08:00
++ CI_Build_TimeStamp_UTC=20200214.142108
++ CI_Build_DateStamp_UTC=20200214
++ Code_Version=7.3
++ git_have_11ce13decb51546ae31a8826d2ad4eb568e480ac=true
++ git_have_6aba4eeaecdb0307fda736d2bec968e5da0d5dfb=true
++ git_have_7ec5e2bf704242ff083e258215ed0967173b969c=true
+ echo 'Configure frr for snap release frr-7.3 on vm ci1044_ubuntu1604_amd64 with hostname ci1044.lab.netdef.org'
+ errorlog=log_configure.txt
+ rm -f log_configure.txt
+ build=cibuild.2
+ echo -n '#!/usr/bin/env bash
if [ "`uname`" = "NetBSD" ]; then
        export MAKE=gmake
        export LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib"
        export CPPFLAGS="-I/usr/pkg/include"
elif [ "`uname`" = "FreeBSD" ]; then
        export MAKE=gmake
        export LDFLAGS="-L/usr/local/lib"
        export CPPFLAGS="-I/usr/local/include"
elif [ "`uname`" = "OpenBSD" ]; then
        export MAKE=gmake
        export LDFLAGS="-L/usr/local/lib"
        export CPPFLAGS="-I/usr/local/include"
elif [ "`uname`" = "SunOS" ]; then
        export MAKE=gmake
        export LDFLAGS="-L/opt/csw/lib"
        export CPPFLAGS="-I/opt/csw/include"
fi

. ../README.SourceVersion.txt
extra_version=""
[[ ${Source_GIT_Describ} =~ (-[0-9]+-g[0-9a-f]{7}) ]] &&
    extra_version=${BASH_REMATCH[1]}
./configure --with-pkg-extra-version=${extra_version} \
'
+ chmod 755 my_config.sh
+ scp -P 202 -pCB my_config.sh ci@ci1044.lab.netdef.org:cibuild.2/frr-source/
+ cat my_config.sh
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2/frr-source; ./my_config.sh'
+ tee -a log_configure.txt
+ '[' 0 -ne 0 ']'
+ scp -P 202 -pCB ci@ci1044.lab.netdef.org:cibuild.2/frr-source/config.status .
+ rm -f log_configure.txt
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ sshport=202
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'MAKE DIST frr on vm ci1044_ubuntu1604_amd64 with hostname ci1044.lab.netdef.org'
+ errorlog=log_make_dist.txt
+ rm -f log_make_dist.txt
+ build=cibuild.2
+ echo -n '#!/bin/sh
MAKE=make
if [ "`uname`" = "NetBSD" ]; then
        MAKE=gmake
elif [ "`uname`" = "FreeBSD" ]; then
        MAKE=gmake
elif [ "`uname`" = "OpenBSD" ]; then
        MAKE=gmake
elif [ "`uname`" = "Linux" ]; then
        # On CentOS6, we use sphinx-build2.7 - check if its available and override
        which sphinx-build2.7 2> /dev/null > /dev/null
        if [ $? -eq 0 ]; then
                MAKE="make SPHINXBUILD=sphinx-build2.7"
        fi
fi
$MAKE dist
'
+ chmod 755 make_dist.sh
+ scp -P 202 -pCB make_dist.sh ci@ci1044.lab.netdef.org:cibuild.2/
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2/frr-source; ../make_dist.sh'
+ tee -a log_make_dist.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_make_dist.txt
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ sshport=202
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'Create Quagga Snap on vm ci1044_ubuntu1604_amd64 with hostname ci1044.lab.netdef.org'
+ errorlog=log_snapcraft.txt
+ rm -f log_snapcraft.txt
+ build=cibuild.2
+ ssh -p 202 ci@ci1044.lab.netdef.org 'ls cibuild.2/frr-source/snapcraft/ > /dev/null 2> /dev/null'
+ '[' 0 -ne 0 ']'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'rm -f cibuild.2/frr-source/snapcraft/*.snap'
+ ssh -p 202 ci@ci1044.lab.netdef.org 'cd cibuild.2/frr-source/snapcraft; snapcraft'
+ tee -a log_snapcraft.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_snapcraft.txt
+ mkdir snap
+ . ./README.SourceVersion.txt
++ Source_GIT_URL=https://github.com/FRRouting/frr.git
++ Source_GIT_Commit=c0038fca9b4b736a59d6ed786c12ac0c8a2909ac
++ Source_GIT_Branch=stable/7.3
++ Source_GIT_Describ=frr-7.3
++ Source_GIT_CommitTime_UTC=20200214.140309
++ Source_GIT_CommitDate_UTC=20200214
++ Source_DejaGNU_tests_SHA=08b178b922900c2beb5b34bb436e3380a50d7f74
++ CI_Build_Result_URL=https://ci1.netdef.org/browse/FRR-FRR73SNAP-2
++ CI_Build_TimeStamp=2020-02-14T06:21:08.984-08:00
++ CI_Build_TimeStamp_UTC=20200214.142108
++ CI_Build_DateStamp_UTC=20200214
++ Code_Version=7.3
++ git_have_11ce13decb51546ae31a8826d2ad4eb568e480ac=true
++ git_have_6aba4eeaecdb0307fda736d2bec968e5da0d5dfb=true
++ git_have_7ec5e2bf704242ff083e258215ed0967173b969c=true
+ scp -P 202 -pCB 'ci@ci1044.lab.netdef.org:cibuild.2/frr-source/snapcraft/*.snap' snap/
+ '[' '' = YES ']'
+ vm=ci1044_ubuntu1604_amd64
+ host=ci1044.lab.netdef.org
+ hv=bird-h-01.nic.cz
+ nodetype=kvm
+++ dirname ci/build-server/shutdown_vm.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server
+ sshport=202
+ . /data/home/bamboo/bamboo/xml-data/build-dir/15826945/FRR-FRR73SNAP-CI014BUILD/ci/build-server/kvm/shutdown_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci1044_ubuntu1604_amd64
++ host=ci1044.lab.netdef.org
++ hv=bird-h-01.nic.cz
++ '[' '!' -f ci1044_ubuntu1604_amd64.booted.2 ']'
++ rm -f ci1044_ubuntu1604_amd64.booted.2
++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system shutdown ci1044_ubuntu1604_amd64
++ attempts=36
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1044_ubuntu1604_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off = running ']'
++ '[' off = running ']'