Libyang github master build

Build: #168 was successful

Job: CentOS 7 AMD64 was successful

Job result summary

Completed
Duration
9 minutes
Agent
ci105_centos7_amd64 Proxy
Successful since
#82 ()

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/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/ci/build-server
+ [[ -z libyang ]]
+ PROJECT=libyang
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -d kvm ']'
+ . /home/bamboo/bamboo/xml-data/build-dir/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/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    = centos7'
+ echo 'Build Node         = ci105_centos7_amd64'
+ '[' kvm == kvm ']'
+ echo '   Node type       = KVM (on kvm3.netdef.org)'
+ echo 'Build Hostname     = ci105.lab.netdef.org'
+ echo 'Build Host SSH Port= 22'
+ echo 'CI Script Base Dir = /home/bamboo/bamboo/xml-data/build-dir/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/ci/build-server'
+ echo 'Project            = libyang'
+ '[' '' = YES ']'
+ vm=ci105_centos7_amd64
+ host=ci105.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/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/ci/build-server
+ sshport=22
+ . /home/bamboo/bamboo/xml-data/build-dir/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/ci/build-server/kvm/bootup_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci105_centos7_amd64
++ host=ci105.lab.netdef.org
++ hv=kvm3.netdef.org
++ sshport=22
++ PING=/bin/ping6
+++ dig +short A ci105.lab.netdef.org
++ host_ipv4=
++ [[ ! -z '' ]]
++ attempts=50
+++ grep State
+++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system dominfo ci105_centos7_amd64
++ state='State:          shut off'
++ '[' off '!=' off ']'
++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system snapshot-revert ci105_centos7_amd64 clean
++ echo 'VM ci105_centos7_amd64 reset to snapshot '\''clean'\'''
++ sleep 5
++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system start ci105_centos7_amd64
++ '[' 0 -ne 0 ']'
++ touch ci105_centos7_amd64.booted.168
++ sleep 30
++ attempts=300
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci105.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 300 - 1
++ attempts=299
++ '[' 299 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci105.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 299 - 1
++ attempts=298
++ '[' 298 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci105.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 298 - 1
++ attempts=297
++ '[' 297 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci105.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 297 - 1
++ attempts=296
++ '[' 296 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci105.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@ci105.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@ci105.lab.netdef.org 'uname -a'
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
+ '[' '' = YES ']'
+ vm=ci105_centos7_amd64
+ host=ci105.lab.netdef.org
+ sshport=22
+ [[ -z libyang ]]
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=168
+ echo 'copy source code to vm ci105_centos7_amd64 with hostname ci105.lab.netdef.org'
+ build=cibuild.168
+ ssh -p 22 ci@ci105.lab.netdef.org 'rm -rf cibuild.168; mkdir cibuild.168'
+ scp -P 22 -pCB libyang-source.tar.gz ci@ci105.lab.netdef.org:cibuild.168/libyang-source.tar.gz
+ scp -P 22 -pCB README.SourceVersion.txt ci@ci105.lab.netdef.org:cibuild.168/README.SourceVersion.txt
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168; tar xzf libyang-source.tar.gz'
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168; chmod -R o+r libyang-source; chmod -R o+X libyang-source'
+ ssh -p 22 ci@ci105.lab.netdef.org 'rm -rf cibuild.168/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@ci105.lab.netdef.org:cibuild.168
+ vm=ci105_centos7_amd64
+ host=ci105.lab.netdef.org
+ sshport=22
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=168
+ echo 'CMAKE Debug'
+ errorlog=log_cmake_debug.txt
+ rm -f log_cmake_debug.txt
+ build=cibuild.168
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168/libyang-source; rm -rf build; mkdir build'
+ tee -a log_cmake_debug.txt
+ '[' 0 -ne 0 ']'
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168/libyang-source/build; cmake -D ENABLE_LYD_PRIV=ON -D CMAKE_BUILD_TYPE:String=Release -D ENABLE_BUILD_TESTS=ON ..'
+ tee -a log_cmake_debug.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_cmake_debug.txt
+ vm=ci105_centos7_amd64
+ host=ci105.lab.netdef.org
+ sshport=22
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=168
+ echo make
+ errorlog=log_build.txt
+ rm -f log_build.txt
+ build=cibuild.168
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168/libyang-source/build; make'
+ tee -a log_build.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_build.txt
+ vm=ci105_centos7_amd64
+ host=ci105.lab.netdef.org
+ sshport=22
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=168
+ echo make
+ errorlog=log_make_test.txt
+ rm -f log_make_test.txt
+ build=cibuild.168
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168/libyang-source/build; make test'
+ tee -a log_make_test.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_make_test.txt
+ vm=ci105_centos7_amd64
+ host=ci105.lab.netdef.org
+ sshport=22
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=168
+ echo 'make RPM Package'
+ errorlog=log_build-rpm.txt
+ rm -f log_build-rpm.txt
+ build=cibuild.168
+ ssh -p 22 ci@ci105.lab.netdef.org 'cd cibuild.168/libyang-source/build; make build-rpm'
+ tee -a log_build-rpm.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_build-rpm.txt
+ rm -rf pkg
+ mkdir pkg
+ scp -P 22 'ci@ci105.lab.netdef.org:cibuild.168/libyang-source/build/rpms/RPMS/*/*' pkg/
+ scp -P 22 'ci@ci105.lab.netdef.org:cibuild.168/libyang-source/build/rpms/SRPMS/*' pkg/
+ '[' '' = YES ']'
+ vm=ci105_centos7_amd64
+ host=ci105.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/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/ci/build-server
+ sshport=22
+ . /home/bamboo/bamboo/xml-data/build-dir/30441516/LIBYANG-YANGGITHUBMASTER-CENTOS7AMD64/ci/build-server/kvm/shutdown_vm.sh
++ '[' YES '!=' '' ']'
++ set -x
++ vm=ci105_centos7_amd64
++ host=ci105.lab.netdef.org
++ hv=kvm3.netdef.org
++ '[' '!' -f ci105_centos7_amd64.booted.168 ']'
++ rm -f ci105_centos7_amd64.booted.168
++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system shutdown ci105_centos7_amd64
++ attempts=36
+++ virsh --connect qemu+ssh://jenkins@kvm3.netdef.org/system dominfo ci105_centos7_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off = running ']'
++ '[' off = running ']'