FRR Release 3.0 Package Builds

Build: #7 was successful

Job: Ubuntu 12.04 Deb Pkg Check was successful

Job result summary

Completed
Duration
1 minute
Agent
ci002_ubuntu1204_amd64 Proxy

Error summary

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

+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -d kvm ']'
+ . /home/bamboo/bamboo/xml-data/build-dir/15826947/FRR-FRRRELEASE-U1204DEBTEST/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    = ubuntu1204'
+ echo 'Build Node         = ci002_ubuntu1204_amd64'
+ '[' kvm == kvm ']'
+ echo '   Node type       = KVM (on kvm1.netdef.org)'
+ echo 'Build Hostname     = ci002.lab.netdef.org'
+ echo 'Build Host SSH Port= 22'
+ echo 'CI Script Base Dir = /home/bamboo/bamboo/xml-data/build-dir/15826947/FRR-FRRRELEASE-U1204DEBTEST/ci/build-server'
+ echo 'Project            = frr'
+ vm=ci002_ubuntu1204_amd64
+ host=ci002.lab.netdef.org
+ hv=kvm1.netdef.org
+ nodetype=kvm
+++ dirname ci/build-server/bootup_vm.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/home/bamboo/bamboo/xml-data/build-dir/15826947/FRR-FRRRELEASE-U1204DEBTEST/ci/build-server
+ sshport=22
+ . /home/bamboo/bamboo/xml-data/build-dir/15826947/FRR-FRRRELEASE-U1204DEBTEST/ci/build-server/kvm/bootup_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci002_ubuntu1204_amd64
++ host=ci002.lab.netdef.org
++ hv=kvm1.netdef.org
++ sshport=22
++ PING=/bin/ping6
+++ dig +short A ci002.lab.netdef.org
++ host_ipv4=
++ [[ ! -z '' ]]
++ attempts=50
+++ virsh --connect qemu+ssh://jenkins@kvm1.netdef.org/system dominfo ci002_ubuntu1204_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off '!=' off ']'
++ virsh --connect qemu+ssh://jenkins@kvm1.netdef.org/system snapshot-revert ci002_ubuntu1204_amd64 clean
++ echo 'VM ci002_ubuntu1204_amd64 reset to snapshot '\''clean'\'''
++ sleep 5
++ virsh --connect qemu+ssh://jenkins@kvm1.netdef.org/system start ci002_ubuntu1204_amd64
++ '[' 0 -ne 0 ']'
++ touch ci002_ubuntu1204_amd64.booted.7
++ sleep 30
++ attempts=300
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci002.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@ci002.lab.netdef.org 'uname -a'
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
+ vm=ci002_ubuntu1204_amd64
+ host=ci002.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ buildnum=7
+ echo 'Target cleanup for Package installation on vm ci002_ubuntu1204_amd64 with hostname ci002.lab.netdef.org'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo apt-get -y purge quagga quagga-test frr frr-test  2> /dev/null'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo rm -rf /usr/lib/frr'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo rm -rf /etc/frr'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo userdel -r frr 2> /dev/null'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo userdel -r quagga 2> /dev/null'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo groupdel frrvt 2> /dev/null'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo groupdel quaggavt 2> /dev/null'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo groupdel frrvty 2> /dev/null'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo groupdel quaggavty 2> /dev/null'
+ exit 0
+ vm=ci002_ubuntu1204_amd64
+ host=ci002.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ '[' frr '!=' frr ']'
+ '[' backports '!=' backports ']'
+ buildnum=7
+ echo 'copy Debian packages to vm ci002_ubuntu1204_amd64 with hostname ci002.lab.netdef.org'
+ build=cipkg.7
+ rm -f frr-dbg_3.0-1~ubuntu12.04+1_amd64.deb
+ rm -f frr-doc_3.0-1~ubuntu12.04+1_all.deb
+ rm -f frr_3.0-1~ubuntu12.04+1.debian.tar.xz frr_3.0.orig.tar.gz
+ rm -f frr_3.0-1~ubuntu12.04+1.dsc
+ ssh -p 22 ci@ci002.lab.netdef.org 'rm -rf cipkg.7; mkdir cipkg.7'
+ scp -P 22 -pCB README.SourceVersion.txt ci@ci002.lab.netdef.org:cipkg.7/README.SourceVersion.txt
+ scp -P 22 -pCB frr_3.0-1~ubuntu12.04+1_amd64.deb frr-pythontools_3.0-1~ubuntu12.04+1_all.deb ci@ci002.lab.netdef.org:cipkg.7/
+ exit 0
+ vm=ci002_ubuntu1204_amd64
+ host=ci002.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ '[' frr '!=' frr ']'
+ '[' backports '!=' backports ']'
+ buildnum=7
+ echo 'Package installation test on vm ci002_ubuntu1204_amd64 with hostname ci002.lab.netdef.org'
+ build=cipkg.7
+ rm -f log_package_install.txt
++ ls -1 frr_3.0-1~ubuntu12.04+1_amd64.deb frr-pythontools_3.0-1~ubuntu12.04+1_all.deb
++ head -1
+ MAINPKG=frr_3.0-1~ubuntu12.04+1_amd64.deb
+ echo 'Testing installation of frr_3.0-1~ubuntu12.04+1_amd64.deb'
+ rm -f stdout.log
+ rm -f stderr.log
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo DEBIAN_FRONTEND=noninteractive dpkg -i ./cipkg.7/frr_3.0-1~ubuntu12.04+1_amd64.deb'
++ tee -a stdout.log
++ tee -a stderr.log
+ '[' 0 -ne 0 ']'
+ '[' -s stderr.log ']'
+ ssh -p 22 ci@ci002.lab.netdef.org 'dpkg -s frr'
+ '[' 0 -ne 0 ']'
+ exit 0
+ daemon=bgpd
+ daemon=bgpd
+ echo 'Checking for bgpd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/bgpd.pid 2> /dev/null'
+ pid=4882
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4882 -o cmd h'
+ process='/usr/lib/frr/bgpd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/bgpd --daemon -A 127.0.0.1 != *\b\g\p\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=ospfd
+ daemon=ospfd
+ echo 'Checking for ospfd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ospfd.pid 2> /dev/null'
+ pid=4909
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4909 -o cmd h'
+ process='/usr/lib/frr/ospfd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/ospfd --daemon -A 127.0.0.1 != *\o\s\p\f\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=ospf6d
+ daemon=ospf6d
+ echo 'Checking for ospf6d'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ospf6d.pid 2> /dev/null'
+ pid=4918
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4918 -o cmd h'
+ process='/usr/lib/frr/ospf6d --daemon -A ::1'
+ [[ /usr/lib/frr/ospf6d --daemon -A ::1 != *\o\s\p\f\6\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=ripd
+ daemon=ripd
+ echo 'Checking for ripd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ripd.pid 2> /dev/null'
+ pid=4891
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4891 -o cmd h'
+ process='/usr/lib/frr/ripd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/ripd --daemon -A 127.0.0.1 != *\r\i\p\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=ripngd
+ daemon=ripngd
+ echo 'Checking for ripngd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ripngd.pid 2> /dev/null'
+ pid=4900
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4900 -o cmd h'
+ process='/usr/lib/frr/ripngd --daemon -A ::1'
+ [[ /usr/lib/frr/ripngd --daemon -A ::1 != *\r\i\p\n\g\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=isisd
+ daemon=isisd
+ echo 'Checking for isisd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/isisd.pid 2> /dev/null'
+ pid=4927
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4927 -o cmd h'
+ process='/usr/lib/frr/isisd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/isisd --daemon -A 127.0.0.1 != *\i\s\i\s\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=pimd
+ daemon=pimd
+ echo 'Checking for pimd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/pimd.pid 2> /dev/null'
+ pid=4936
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4936 -o cmd h'
+ process='/usr/lib/frr/pimd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/pimd --daemon -A 127.0.0.1 != *\p\i\m\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=ldpd
+ daemon=ldpd
+ echo 'Checking for ldpd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ldpd.pid 2> /dev/null'
+ pid=4947
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4947 -o cmd h'
+ process='/usr/lib/frr/ldpd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/ldpd --daemon -A 127.0.0.1 != *\l\d\p\d* ]]
+ for daemon_enabled in ${daemonlist}
+ daemon=nhrpd
+ daemon=nhrpd
+ echo 'Checking for nhrpd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/nhrpd.pid 2> /dev/null'
+ pid=4956
+ '[' 0 -ne 0 ']'
+ '[' pid == '' ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'ps --pid 4956 -o cmd h'
+ process='/usr/lib/frr/nhrpd --daemon -A 127.0.0.1'
+ [[ /usr/lib/frr/nhrpd --daemon -A 127.0.0.1 != *\n\h\r\p\d* ]]
+ '[' -s log_package_start.txt ']'
+ exit 0
+ echo 'Stop installed frr package on vm ci002_ubuntu1204_amd64 with hostname ci002.lab.netdef.org'
+ rm -f log_package_stop.txt
+ ssh -p 22 ci@ci002.lab.netdef.org 'which systemctl 2> /dev/null'
+ '[' 1 -eq 0 ']'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo /sbin/init --version 2> /dev/null >> /dev/null'
+ '[' 0 -eq 0 ']'
+ echo 'init.d detected'
+ system=init.d
+ rm -f stdout.log
+ rm -f stderr.log
+ '[' init.d == systemd ']'
+ '[' init.d == init.d ']'
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo /etc/init.d/frr stop'
++ tee -a stdout.log
++ tee -a stderr.log
+ '[' 0 -ne 0 ']'
+ '[' -s stderr.log ']'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo grep ^[a-z].*=yes /etc/frr/daemons'
+ daemonlist='zebra=yes
bgpd=yes
ospfd=yes
ospf6d=yes
ripd=yes
ripngd=yes
isisd=yes
pimd=yes
ldpd=yes
nhrpd=yes'
+ for daemon_enabled in ${daemonlist}
+ daemon=zebra
+ daemon=zebra
+ echo 'Checking for zebra'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/zebra.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=bgpd
+ daemon=bgpd
+ echo 'Checking for bgpd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/bgpd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=ospfd
+ daemon=ospfd
+ echo 'Checking for ospfd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ospfd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=ospf6d
+ daemon=ospf6d
+ echo 'Checking for ospf6d'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ospf6d.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=ripd
+ daemon=ripd
+ echo 'Checking for ripd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ripd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=ripngd
+ daemon=ripngd
+ echo 'Checking for ripngd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ripngd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=isisd
+ daemon=isisd
+ echo 'Checking for isisd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/isisd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=pimd
+ daemon=pimd
+ echo 'Checking for pimd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/pimd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=ldpd
+ daemon=ldpd
+ echo 'Checking for ldpd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/ldpd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ for daemon_enabled in ${daemonlist}
+ daemon=nhrpd
+ daemon=nhrpd
+ echo 'Checking for nhrpd'
++ ssh -p 22 ci@ci002.lab.netdef.org 'sudo cat /var/run/frr/nhrpd.pid 2> /dev/null'
+ pid=
+ '[' 1 -eq 0 ']'
+ '[' -s log_package_stop.txt ']'
+ exit 0
+ vm=ci002_ubuntu1204_amd64
+ host=ci002.lab.netdef.org
+ sshport=22
+ [[ -z frr ]]
+ PROJECT=frr
+ DIRECTORY=frr-source
+ '[' frr '!=' frr ']'
+ '[' backports '!=' backports ']'
+ buildnum=7
+ echo 'Package uninstallation test on vm ci002_ubuntu1204_amd64 with hostname ci002.lab.netdef.org'
+ build=cipkg.7
+ rm -f log_package_uninstall.txt
+ rm -f stdout.log
+ rm -f stderr.log
+ ssh -p 22 ci@ci002.lab.netdef.org 'sudo DEBIAN_FRONTEND=noninteractive apt-get purge -y frr'
++ tee -a stdout.log
++ tee -a stderr.log
+ '[' 0 -ne 0 ']'
+ '[' -s stderr.log ']'
+ ssh -p 22 ci@ci002.lab.netdef.org 'dpkg -s frr 2> /dev/null'
+ '[' 1 -eq 0 ']'
+ exit 0
+ vm=ci002_ubuntu1204_amd64
+ host=ci002.lab.netdef.org
+ hv=kvm1.netdef.org
+ nodetype=kvm
+++ dirname ci/build-server/shutdown_vm.sh
++ cd ci/build-server
++ pwd
+ scriptdir=/home/bamboo/bamboo/xml-data/build-dir/15826947/FRR-FRRRELEASE-U1204DEBTEST/ci/build-server
+ sshport=22
+ . /home/bamboo/bamboo/xml-data/build-dir/15826947/FRR-FRRRELEASE-U1204DEBTEST/ci/build-server/kvm/shutdown_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci002_ubuntu1204_amd64
++ host=ci002.lab.netdef.org
++ hv=kvm1.netdef.org
++ '[' '!' -f ci002_ubuntu1204_amd64.booted.7 ']'
++ rm -f ci002_ubuntu1204_amd64.booted.7
++ virsh --connect qemu+ssh://jenkins@kvm1.netdef.org/system shutdown ci002_ubuntu1204_amd64
++ attempts=36
+++ grep State
+++ virsh --connect qemu+ssh://jenkins@kvm1.netdef.org/system dominfo ci002_ubuntu1204_amd64
++ state='State:          shut off'
++ '[' off = running ']'
++ '[' off = running ']'