Build #2

Test-5.0

Build: #2 was successful

Job: OpenBSD 6 amd64 build was successful

Stages & jobs

  1. Get Sourcecode

  2. Building Stage

Job result summary

Completed
Duration
7 minutes
Agent
ci120_openbsd60_amd64 Proxy
Total tests
406

Tests

  • 406 tests in total
  • 2 tests were quarantined / skipped
  • 26 seconds taken in total.

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=/home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/ci/build-server
+ [[ -z frr ]]
+ PROJECT=frr
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -d kvm ']'
+ . /home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/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    = openbsd60'
+ echo 'Build Node         = ci120_openbsd60_amd64'
+ '[' kvm == kvm ']'
+ echo '   Node type       = KVM (on kvm3.netdef.org)'
+ echo 'Build Hostname     = ci120.lab.netdef.org'
+ echo 'Build Host SSH Port= 22'
+ echo 'CI Script Base Dir = /home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/ci/build-server'
+ echo 'Project            = frr'
+ '[' '' = YES ']'
+ vm=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ hv=kvm3.netdef.org
+ nodetype=kvm
+++ dirname ci/build-server/bootup_vm.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/ci/build-server
+ sshport=22
+ . /home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/ci/build-server/kvm/bootup_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci120_openbsd60_amd64
++ host=ci120.lab.netdef.org
++ hv=kvm3.netdef.org
++ sshport=22
++ PING=/bin/ping6
+++ dig +short A ci120.lab.netdef.org
++ host_ipv4=
++ [[ ! -z '' ]]
++ attempts=50
+++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system dominfo ci120_openbsd60_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off '!=' off ']'
++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system snapshot-revert ci120_openbsd60_amd64 clean
++ echo 'VM ci120_openbsd60_amd64 reset to snapshot '\''clean'\'''
++ sleep 5
++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system start ci120_openbsd60_amd64
++ '[' 0 -ne 0 ']'
++ touch ci120_openbsd60_amd64.booted.2
++ sleep 30
++ attempts=300
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci120.lab.netdef.org
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
++ attempts=40
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /usr/bin/ssh -p 22 -o ConnectTimeout=2 ci@ci120.lab.netdef.org 'uname -a'
++ '[' 255 -eq 0 ']'
+++ expr 40 - 1
++ attempts=39
++ '[' 39 -le 1 ']'
++ sleep 10
++ '[' 0 -eq 0 ']'
++ /usr/bin/ssh -p 22 -o ConnectTimeout=2 ci@ci120.lab.netdef.org 'uname -a'
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
+ '[' '' = YES ']'
+ vm=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'copy source code to vm ci120_openbsd60_amd64 with hostname ci120.lab.netdef.org'
+ build=cibuild.2
+ ssh -p 22 ci@ci120.lab.netdef.org 'rm -rf cibuild.2; mkdir cibuild.2'
+ scp -P 22 -pCB frr-source.tar.gz ci@ci120.lab.netdef.org:cibuild.2/frr-source.tar.gz
+ scp -P 22 -pCB README.SourceVersion.txt ci@ci120.lab.netdef.org:cibuild.2/README.SourceVersion.txt
+ ssh -p 22 ci@ci120.lab.netdef.org 'cd cibuild.2; tar xzf frr-source.tar.gz'
+ ssh -p 22 ci@ci120.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 22 -rpCB ci ci@ci120.lab.netdef.org:cibuild.2
+ '[' '' = YES ']'
+ vm=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'Bootstrap Autotools on vm ci120_openbsd60_amd64 with hostname ci120.lab.netdef.org'
+ errorlog=log_bootstrap.txt
+ rm -f log_bootstrap.txt
+ build=cibuild.2
+ echo -n '#!/bin/sh
if [ "`uname`" = "OpenBSD" ]; then
        export AUTOCONF_VERSION=2.69
    export AUTOMAKE_VERSION=1.15
fi
./bootstrap.sh
'
+ chmod 755 ./my_bootstrap.sh
+ scp -P 22 -pCB ./my_bootstrap.sh ci@ci120.lab.netdef.org:cibuild.2
+ cat ./my_bootstrap.sh
+ ssh -p 22 ci@ci120.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=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'Configure frr on vm ci120_openbsd60_amd64 with hostname ci120.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"
        export PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:/usr/lib/pkgconfig
fi

# Enable BFDd by default and disable on selected unsupported platforms
bfd="--enable-bfdd"

# RedHat/CentOS 6 uses a kernel too old for PIM. Disable it for these distros
if [ -f /etc/redhat-release ]; then
        RH=`cat /etc/redhat-release`
        DIST_MAJORVERSION=`echo $RH | sed -n "s/[^0-9]\+\([0-9]\+\).*/\1/p"`
        if [ "$DIST_MAJORVERSION" = 6 ]; then
                pim="--disable-pimd"
        else
                pim="--enable-pimd"
        fi
else
        pim="--enable-pimd"
fi

# OpenBSD does NOT support PIM anymore starting with 6.1. Disable it
if [ `uname` == "OpenBSD" ]; then
        pim="--disable-pimd"
fi

# Disable bfdd on Ubuntu < 14.x
if [ -f /etc/debian_version ]; then
        if [ -f /etc/os-release ]; then
                # Ubuntu
                . /etc/os-release
                DIST_ID=${ID^}
                DIST_MAJOR_VERSION=${VERSION%%.*}
                if [ $DIST_ID = "Ubuntu" ] && [ $DIST_MAJOR_VERSION -le 13 ]; then
                        bfd="--disable-bfdd"
                fi
        fi
fi

# Recent new NetBSD broke backtrace detection. Disable until fix is
# propagated
disable_backtrace=
if [ `uname` == "NetBSD" ]; then
        disable_backtrace=--disable-backtrace
fi

. ../README.SourceVersion.txt
./configure --enable-vtysh --enable-isisd \
    --enable-ospfclient=yes --enable-ospfapi=yes \
    --enable-multipath=0 --enable-rtadv --enable-user=root \
    --enable-tcp-zebra --enable-fpm ${pim} \
    ${bfd} ${disable_backtrace} \
    --with-pkg-extra-version=-${CI_Build_DateStamp_UTC}-git.${Source_GIT_Commit::7} \
'
+ echo '    --enable-watchfrr \'
+ echo -n '       '
+ echo ' --prefix=`pwd`/usr_local'
+ chmod 755 my_config.sh
+ scp -P 22 -pCB my_config.sh ci@ci120.lab.netdef.org:cibuild.2/frr-source/
+ cat my_config.sh
+ ssh -p 22 ci@ci120.lab.netdef.org 'cd cibuild.2/frr-source; ./my_config.sh'
+ tee -a log_configure.txt
+ '[' 0 -ne 0 ']'
+ scp -P 22 -pCB ci@ci120.lab.netdef.org:cibuild.2/frr-source/config.status .
+ rm -f log_configure.txt
+ '[' '' = YES ']'
+ vm=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ sshport=22
+ buildcpus=
+ [[ ! -z '' ]]
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'MAKE frr on vm ci120_openbsd60_amd64 with hostname ci120.lab.netdef.org'
+ errorlog=log_make.txt
+ rm -f log_make.txt
+ build=cibuild.2
++ ssh -p 22 ci@ci120.lab.netdef.org uname
+ system=OpenBSD
+ MAKE=make
+ '[' OpenBSD = NetBSD ']'
+ '[' OpenBSD = FreeBSD ']'
+ '[' OpenBSD = OpenBSD ']'
+ install -d doc/user/_build/texinfo
+ touch doc/user/_build/texinfo/frr.info
+ MAKE='gmake MAKEINFO="touch doc/user/_build/texinfo/frr.info; : "'
+ [[ -z '' ]]
+ ssh -p 22 ci@ci120.lab.netdef.org 'cd cibuild.2/frr-source; gmake MAKEINFO="touch doc/user/_build/texinfo/frr.info; : "'
+ tee -a log_make.txt
+ '[' 0 -ne 0 ']'
+ echo 'MAKE INSTALL Quagga on vm ci120_openbsd60_amd64 with hostname ci120.lab.netdef.org'
+ ssh -p 22 ci@ci120.lab.netdef.org 'cd cibuild.2/frr-source; gmake MAKEINFO="touch doc/user/_build/texinfo/frr.info; : " install'
+ tee -a log_make.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_make.txt
+ '[' '' = YES ']'
+ vm=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=2
+ echo 'pytest/DejaGNU Unittest on vm ci120_openbsd60_amd64 with hostname ci120.lab.netdef.org'
+ errorlog=log_pytests.txt
+ rm -f log_pytests.txt
+ build=cibuild.2
+ echo -n '#!/usr/bin/env bash

# Default is no special Python path
python_opt=""

MAKE=make
if [ "`uname`" = "NetBSD" ]; then
        export MAKE=gmake
elif [ "`uname`" = "FreeBSD" ]; then
        export MAKE=gmake
elif [ "`uname`" = "OpenBSD" ]; then
        export MAKE=gmake
elif [ "`uname`" = "SunOS" ]; then
        export MAKE=gmake
fi

# RedHat/CentOS 6 uses Python 2.6 as default python.
# We need at least 2.7 and assume python2.7 is available
# We also need to use sphinx-build2.7 on CentOS 6
if [ -f /etc/redhat-release ]; then
        RH=`cat /etc/redhat-release`
        DIST_MAJORVERSION=`echo $RH | sed -n "s/[^0-9]\+\([0-9]\+\).*/\1/p"`
        if [ "$DIST_MAJORVERSION" = 6 ]; then
                python_opt="PYTHON=/usr/bin/python2.7"
                MAKE="make SPHINXBUILD=sphinx-build2.7"
        fi
fi

${MAKE} check ${python_opt}
'
+ chmod 755 run_check.sh
+ scp -P 22 -pCB run_check.sh ci@ci120.lab.netdef.org:cibuild.2/frr-source/
+ cat run_check.sh
+ ssh -p 22 ci@ci120.lab.netdef.org 'cd cibuild.2/frr-source; ./run_check.sh'
+ tee -a log_pytests.txt
+ '[' 0 -eq 0 ']'
+ grep FAIL log_pytests.txt
+ '[' 1 -ne 0 ']'
+ rm -f log_pytests.txt
+ rm -f '*.xml'
+ scp -P 22 'ci@ci120.lab.netdef.org:cibuild.2/frr-source/tests/*.xml' .
+ ls tests.xml
+ echo 'Pytests (Unittests) executed'
+ '[' '' = YES ']'
+ vm=ci120_openbsd60_amd64
+ host=ci120.lab.netdef.org
+ hv=kvm3.netdef.org
+ nodetype=kvm
+++ dirname ci/build-server/shutdown_vm.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/ci/build-server
+ sshport=22
+ . /home/bamboo/bamboo/xml-data/build-dir/30441525/TESTING-TEST50-CI011BUILD/ci/build-server/kvm/shutdown_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci120_openbsd60_amd64
++ host=ci120.lab.netdef.org
++ hv=kvm3.netdef.org
++ '[' '!' -f ci120_openbsd60_amd64.booted.2 ']'
++ rm -f ci120_openbsd60_amd64.booted.2
++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system shutdown ci120_openbsd60_amd64
++ attempts=36
+++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system dominfo ci120_openbsd60_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci120_openbsd60_amd64 is not yet shut off. Current State:          running'
+++ expr 36 - 1
++ attempts=35
++ '[' 35 -le 1 ']'
++ echo '-> sleeping 5s (35 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system dominfo ci120_openbsd60_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci120_openbsd60_amd64 is not yet shut off. Current State:          running'
+++ expr 35 - 1
++ attempts=34
++ '[' 34 -le 1 ']'
++ echo '-> sleeping 5s (34 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system dominfo ci120_openbsd60_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off = running ']'
++ '[' off = running ']'