Libyang github master build

Build: #207 was successful

Job: OmniOS AMD64 was successful

Job result summary

Completed
Duration
14 minutes
Agent
ci1010_omnios_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/23134210/LIBYANG-YANGGITHUBMASTER-OMNIOS/ci/build-server
+ [[ -z libyang ]]
+ PROJECT=libyang
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -z x ']'
+ '[' -d kvm ']'
+ . /home/bamboo/bamboo/xml-data/build-dir/23134210/LIBYANG-YANGGITHUBMASTER-OMNIOS/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    = omnios'
+ echo 'Build Node         = ci1010_omnios_amd64'
+ '[' kvm == kvm ']'
+ echo '   Node type       = KVM (on bird-h-01.nic.cz)'
+ echo 'Build Hostname     = ci1010.lab.netdef.org'
+ echo 'Build Host SSH Port= 202'
+ echo 'CI Script Base Dir = /home/bamboo/bamboo/xml-data/build-dir/23134210/LIBYANG-YANGGITHUBMASTER-OMNIOS/ci/build-server'
+ echo 'Project            = libyang'
++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system snapshot-revert ci1010_omnios_amd64 clean
++ echo 'VM ci1010_omnios_amd64 reset to snapshot '\''clean'\'''
++ sleep 5
++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system start ci1010_omnios_amd64
++ '[' 0 -ne 0 ']'
++ touch ci1010_omnios_amd64.booted.207
++ sleep 30
++ attempts=300
++ reachable=0
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 300 - 1
++ attempts=299
++ '[' 299 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 299 - 1
++ attempts=298
++ '[' 298 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 298 - 1
++ attempts=297
++ '[' 297 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 297 - 1
++ attempts=296
++ '[' 296 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 296 - 1
++ attempts=295
++ '[' 295 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 295 - 1
++ attempts=294
++ '[' 294 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 294 - 1
++ attempts=293
++ '[' 293 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 293 - 1
++ attempts=292
++ '[' 292 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 292 - 1
++ attempts=291
++ '[' 291 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 291 - 1
++ attempts=290
++ '[' 290 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 290 - 1
++ attempts=289
++ '[' 289 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.lab.netdef.org
++ '[' 1 -eq 0 ']'
+++ expr 289 - 1
++ attempts=288
++ '[' 288 -le 1 ']'
++ '[' 0 -eq 0 ']'
++ /bin/ping6 -c1 -w2 ci1010.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@ci1010.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 202 -o ConnectTimeout=2 ci@ci1010.lab.netdef.org 'uname -a'
++ '[' 0 -eq 0 ']'
++ reachable=1
++ '[' 1 -eq 0 ']'
+ '[' '' = YES ']'
+ vm=ci1010_omnios_amd64
+ host=ci1010.lab.netdef.org
+ sshport=202
+ [[ -z libyang ]]
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=207
+ echo 'copy source code to vm ci1010_omnios_amd64 with hostname ci1010.lab.netdef.org'
+ build=cibuild.207
+ ssh -p 202 ci@ci1010.lab.netdef.org 'rm -rf cibuild.207; mkdir cibuild.207'
+ scp -P 202 -pCB libyang-source.tar.gz ci@ci1010.lab.netdef.org:cibuild.207/libyang-source.tar.gz
+ scp -P 202 -pCB README.SourceVersion.txt ci@ci1010.lab.netdef.org:cibuild.207/README.SourceVersion.txt
+ ssh -p 202 ci@ci1010.lab.netdef.org 'cd cibuild.207; tar xzf libyang-source.tar.gz'
+ ssh -p 202 ci@ci1010.lab.netdef.org 'cd cibuild.207; chmod -R o+r libyang-source; chmod -R o+X libyang-source'
+ ssh -p 202 ci@ci1010.lab.netdef.org 'rm -rf cibuild.207/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@ci1010.lab.netdef.org:cibuild.207
+ vm=ci1010_omnios_amd64
+ host=ci1010.lab.netdef.org
+ sshport=202
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=207
+ echo 'CMAKE Debug'
+ errorlog=log_cmake_debug.txt
+ rm -f log_cmake_debug.txt
+ build=cibuild.207
+ ssh -p 202 ci@ci1010.lab.netdef.org 'cd cibuild.207/libyang-source; rm -rf build; mkdir build'
+ tee -a log_cmake_debug.txt
+ '[' 0 -ne 0 ']'
+ ssh -p 202 ci@ci1010.lab.netdef.org 'cd cibuild.207/libyang-source/build; cmake -D ENABLE_LYD_PRIV=ON -D CMAKE_BUILD_TYPE:String="Release" -D PCRE_INCLUDE_DIR="/usr/include/pcre" ..'
+ tee -a log_cmake_debug.txt
+ '[' 0 -ne 0 ']'
+ rm -f log_cmake_debug.txt
+ vm=ci1010_omnios_amd64
+ host=ci1010.lab.netdef.org
+ sshport=202
+ PROJECT=libyang
+ DIRECTORY=libyang-source
+ buildnum=207
+ echo 'make Debian Package'
+ errorlog=log_build-deb.txt
+ rm -f log_build-deb.txt
+ build=cibuild.207
+ tee -a log_build-deb.txt
+ ssh -p 202 ci@ci1010.lab.netdef.org 'cd cibuild.207/libyang-source/build; make'
+ '[' 0 -ne 0 ']'
+ rm -f log_build-deb.txt
++ attempts=10
++ '[' 10 -le 1 ']'
++ echo '-> sleeping 5s (10 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 10 - 1
++ attempts=9
++ '[' 9 -le 1 ']'
++ echo '-> sleeping 5s (9 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 9 - 1
++ attempts=8
++ '[' 8 -le 1 ']'
++ echo '-> sleeping 5s (8 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 8 - 1
++ attempts=7
++ '[' 7 -le 1 ']'
++ echo '-> sleeping 5s (7 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 7 - 1
++ attempts=6
++ '[' 6 -le 1 ']'
++ echo '-> sleeping 5s (6 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 6 - 1
++ attempts=5
++ '[' 5 -le 1 ']'
++ echo '-> sleeping 5s (5 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 5 - 1
++ attempts=4
++ '[' 4 -le 1 ']'
++ echo '-> sleeping 5s (4 attempts left to try again before failing)'
++ sleep 5
+++ grep State
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 4 - 1
++ attempts=3
++ '[' 3 -le 1 ']'
++ echo '-> sleeping 5s (3 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 3 - 1
++ attempts=2
++ '[' 2 -le 1 ']'
++ echo '-> sleeping 5s (2 attempts left to try again before failing)'
++ sleep 5
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          running'
++ '[' running = running ']'
++ echo 'VM ci1010_omnios_amd64 is not yet shut off. Current State:          running'
+++ expr 2 - 1
++ attempts=1
++ '[' 1 -le 1 ']'
++ echo 'Timeout - Killing the VM'
++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system destroy ci1010_omnios_amd64
++ sleep 15
+++ virsh --connect qemu+ssh://jenkins@bird-h-01.nic.cz/system dominfo ci1010_omnios_amd64
+++ grep State
++ state='State:          shut off'
++ '[' off = running ']'
++ '[' off = running ']'