FailedConsole Output

Started by timer
Building remotely on s390x (metal-s390x) in workspace /var/lib/jenkins/slaves/s390x/workspace/virt-in-release-s390x-x
[virt-in-release-s390x-x] $ /bin/bash -eu /tmp/jenkins7368835716529229092.sh
Cloning into 'qemu-migration-test'...
+ LOGFILE=qemu-libvirt-test.status
+ DEBUG=false
+ BACKTRACE=true
+ CLEANDEBUG=false
+ PINGDEBUG=false
+ PPA=false
+ UCA=false
+ PROPOSED=false
+ SETMT=false
+ STAGE=0
++ dpkg --print-architecture
+ ARCH=s390x
+ case "${ARCH}" in
+ OLDESTRELEASE=xenial
+ ARCHIVEURL=http://ports.ubuntu.com/ubuntu-ports/
++ ubuntu-distro-info --supported
++ xargs
+ SPAWNRELEASES='trusty xenial zesty artful bionic'
+ SPAWNRELEASES='xenial zesty artful bionic'
+ TESTEDRELEASES='xenial zesty artful bionic'
++ mktemp
+ FINALRCTMP=/tmp/tmp.NBAo6knmwp
+ echo 0
+ SUPPORTED=1
+ getopts c:dDhl:p:Pr:R:s:t:xX opt
+ case $opt in
+ PROPOSED=true
+ getopts c:dDhl:p:Pr:R:s:t:xX opt
+ case $opt in
+ STAGE=1
+ getopts c:dDhl:p:Pr:R:s:t:xX opt
+ case $opt in
+ TESTEDRELEASES=xenial
+ getopts c:dDhl:p:Pr:R:s:t:xX opt
+ case $opt in
+ SPAWNRELEASES=xenial
+ getopts c:dDhl:p:Pr:R:s:t:xX opt
+ BGLOAD=false
+ echo ''
+ [[ s390x != \a\m\d\6\4 ]]
+ [[ 1 -ne 1 ]]
+ [[ 1 -eq 1 ]]
+ SPAWNRELEASES=xenial
+ [[ ! xenial =~ xenial ]]
+ shareddircontainer=/var/lib/uvtool/libvirt
+ shareddirhost=/tmp/testimages
+ [[ false == ppa:* ]]
+ [[ false == cloud-archive:* ]]
+ inouttest=1
+ [[ false == \f\a\l\s\e ]]
+ [[ true == \f\a\l\s\e ]]
+ [[ 1 -ne 0 ]]
+ [[ 1 -ne 1 ]]
+ nonshared=0
+ [[ 1 -eq 0 ]]
+ [[ 1 -eq 1 ]]
+ nonshared=1
+ MIGRATIONPEERS='from to'
+ '[' 1 -eq 1 ']'
+ MIGRATIONPEERS='from to noupd'
+ '[' 1 -eq 1 ']'
+ MIGRATIONPEERS='from to noupd tononshared'
+ declare -A pingpids
+ declare -A expectedmt
+ expectedmt["amd64-precise"]=pc-1.0-qemu-kvm
+ expectedmt["amd64-trusty"]=pc-i440fx-trusty
+ expectedmt["amd64-xenial"]=pc-i440fx-xenial
+ expectedmt["amd64-yakkety"]=pc-i440fx-yakkety
+ expectedmt["amd64-zesty"]=pc-i440fx-zesty
+ expectedmt["amd64-artful"]=pc-i440fx-artful
+ expectedmt["s390x-precise"]=notsupported
+ expectedmt["s390x-trusty"]=notsupported
+ expectedmt["s390x-xenial"]=s390-ccw-virtio-xenial
+ expectedmt["s390x-yakkety"]=s390-ccw-virtio-yakkety
+ expectedmt["s390x-zesty"]=s390-ccw-virtio-zesty
+ expectedmt["s390x-artful"]=s390-ccw-virtio-artful
+ expectedmt["ppc64el-precise"]=notsupported
+ expectedmt["ppc64el-trusty"]=notsupported
+ expectedmt["ppc64el-xenial"]=pseries-xenial
+ expectedmt["ppc64el-yakkety"]=pseries-yakkety
+ expectedmt["ppc64el-zesty"]=pseries-zesty
+ expectedmt["ppc64el-artful"]=pseries-artful
+ declare -A migrationpath
+ migrationpath["precise"]=trusty
+ migrationpath["trusty"]=xenial
+ migrationpath["xenial"]=zesty
+ migrationpath["zesty"]=artful
+ migrationpath["artful"]=
+ declare -A revmigrationpath
+ revmigrationpath["artful"]=zesty
+ revmigrationpath["zesty"]=xenial
+ revmigrationpath["xenial"]=trusty
+ revmigrationpath["trusty"]=precise
+ revmigrationpath["precise"]=
+ declare -A level
+ level[1]=0
+ level[2]=0
+ level[3]=0
++ tput setaf 1
tput: No value for $TERM and no -T specified
+ RED=
++ '[' 2 -ne 127 ']'
++ tput setaf 2
tput: No value for $TERM and no -T specified
+ GREEN=
++ '[' 2 -ne 127 ']'
++ tput setaf 3
tput: No value for $TERM and no -T specified
+ YELLOW=
++ '[' 2 -ne 127 ']'
++ tput setaf 4
tput: No value for $TERM and no -T specified
+ BLUE=
++ '[' 2 -ne 127 ']'
++ tput sgr0
tput: No value for $TERM and no -T specified
+ NORMAL=
++ '[' 2 -ne 127 ']'
+ [[ 1 -lt 4 ]]
+ set -x
+ logmsg 1 'stage 0: prepare environment spawned releases '\''xenial'\'' tested releases '\''xenial'\'''
+ local lvl=1
+ local 'msg=stage 0: prepare environment spawned releases '\''xenial'\'' tested releases '\''xenial'\'''
+ local sameline=0
+ [[ 1 -ne 0 ]]
+ level[${1}]=1
+ for i in '{1..3}'
+ [[ 1 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 1 -lt 2 ]]
+ level[${i}]=0
+ for i in '{1..3}'
+ [[ 1 -lt 3 ]]
+ level[${i}]=0
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 1
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 0 0
+ tee -a qemu-libvirt-test.status
1.0.0 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:06
(03:22:06): + printf %s 'stage 0: prepare environment spawned releases '\''xenial'\'' tested releases '\''xenial'\'''
+ tee -a qemu-libvirt-test.status
stage 0: prepare environment spawned releases 'xenial' tested releases 'xenial'+ set -e
+ mkdir -p /tmp/testimages
+ logmsg 2 cleanup
+ local lvl=2
+ local msg=cleanup
+ local sameline=0
+ [[ 2 -ne 0 ]]
+ level[${1}]=1
+ for i in '{1..3}'
+ [[ 2 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 3 ]]
+ level[${i}]=0
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 2
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 1 0
+ tee -a qemu-libvirt-test.status
1.1.0 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:06
(03:22:06): + printf %s cleanup
+ tee -a qemu-libvirt-test.status
cleanup+ cleanlxd
+ local 'suffix=from to noupd tononshared'
+ local retries=0
+ BashBacktrace
+ [[ true != \t\r\u\e ]]
+ set +x
Backtrace:main:1503 -> cleanlxd:1454
+ for release in '${SPAWNRELEASES}'
+ logmsg 3 'stop xenial container'
+ local lvl=3
+ local 'msg=stop xenial container'
+ local sameline=0
+ [[ 3 -ne 0 ]]
+ level[${1}]=1
+ for i in '{1..3}'
+ [[ 3 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 3 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 3 -lt 3 ]]
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 3
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 1 1
+ tee -a qemu-libvirt-test.status
1.1.1 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:06
(03:22:06): + printf %s 'stop xenial container'
+ tee -a qemu-libvirt-test.status
stop xenial container+ for direction in '${suffix}'
+ lxc stop --force testkvm-xenial-from
+ for direction in '${suffix}'
+ lxc stop --force testkvm-xenial-to
+ for direction in '${suffix}'
+ lxc stop --force testkvm-xenial-noupd
error: not found
+ true
+ for direction in '${suffix}'
+ lxc stop --force testkvm-xenial-tononshared
error: not found
+ true
+ for release in '${SPAWNRELEASES}'
+ logmsg 3 'clean xenial container'
+ local lvl=3
+ local 'msg=clean xenial container'
+ local sameline=0
+ [[ 3 -ne 0 ]]
+ level[${1}]=2
+ for i in '{1..3}'
+ [[ 3 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 3 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 3 -lt 3 ]]
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 3
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 1 2
+ tee -a qemu-libvirt-test.status
1.1.2 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:16
(03:22:16): + printf %s 'clean xenial container'
+ tee -a qemu-libvirt-test.status
clean xenial container+ for direction in '${suffix}'
+ lxc info testkvm-xenial-from
Name: testkvm-xenial-from
Remote: unix:/var/lib/lxd/unix.socket
Architecture: s390x
Created: 2017/12/02 08:57 UTC
Status: Stopped
Type: persistent
Profiles: default, kvm
+ retries=5
+ '[' 5 -ge 0 ']'
+ retries=4
+ lxc delete --force testkvm-xenial-from
+ break
+ lxc info testkvm-xenial-from
error: not found
+ lxc delete --force testkvm-xenial-from
error: not found
+ /bin/true
+ for direction in '${suffix}'
+ lxc info testkvm-xenial-to
Name: testkvm-xenial-to
Remote: unix:/var/lib/lxd/unix.socket
Architecture: s390x
Created: 2017/12/02 08:59 UTC
Status: Stopped
Type: persistent
Profiles: default, kvm
+ retries=5
+ '[' 5 -ge 0 ']'
+ retries=4
+ lxc delete --force testkvm-xenial-to
+ break
+ lxc info testkvm-xenial-to
error: not found
+ lxc delete --force testkvm-xenial-to
error: not found
+ /bin/true
+ for direction in '${suffix}'
+ lxc info testkvm-xenial-noupd
error: not found
+ lxc delete --force testkvm-xenial-noupd
error: not found
+ /bin/true
+ for direction in '${suffix}'
+ lxc info testkvm-xenial-tononshared
error: not found
+ lxc delete --force testkvm-xenial-tononshared
error: not found
+ /bin/true
+ prephost
+ sudo apt-get update
Hit:1 http://ports.ubuntu.com xenial InRelease
Get:2 http://ports.ubuntu.com xenial-updates InRelease [102 kB]
Hit:3 http://ppa.launchpad.net/ci-train-ppa-service/2936/ubuntu xenial InRelease
Get:4 http://ports.ubuntu.com xenial-backports InRelease [102 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [102 kB]
Get:6 http://ports.ubuntu.com xenial-updates/main s390x Packages [528 kB]
Get:7 http://ports.ubuntu.com xenial-updates/universe s390x Packages [461 kB]
Get:8 http://ports.ubuntu.com xenial-updates/universe Translation-en [227 kB]
Get:9 http://ports.ubuntu.com xenial-updates/multiverse Translation-en [8052 B]
Get:10 http://ports.ubuntu.com xenial-backports/universe s390x Packages [5660 B]
Get:11 http://ports.ubuntu.com/ubuntu-ports xenial-security/main s390x Packages [305 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe s390x Packages [152 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse Translation-en [1408 B]
Fetched 1994 kB in 2s (754 kB/s)
Reading package lists...
+ sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install --assume-yes uvtool uvtool-libvirt lxd
Reading package lists...
Building dependency tree...
Reading state information...
uvtool is already the newest version (0~bzr99-0ubuntu1).
uvtool-libvirt is already the newest version (0~bzr99-0ubuntu1).
The following additional packages will be installed:
  lxd-client
Suggested packages:
  criu lxd-tools
The following packages will be upgraded:
  lxd lxd-client
2 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
Need to get 5759 kB of archives.
After this operation, 741 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com xenial-updates/main s390x lxd s390x 2.0.11-0ubuntu1~16.04.2 [3786 kB]
Get:2 http://ports.ubuntu.com xenial-updates/main s390x lxd-client s390x 2.0.11-0ubuntu1~16.04.2 [1972 kB]
Preconfiguring packages ...
Fetched 5759 kB in 0s (7924 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 104970 files and directories currently installed.)
Preparing to unpack .../lxd_2.0.11-0ubuntu1~16.04.2_s390x.deb ...
Warning: Stopping lxd.service, but it can still be activated by:
  lxd.socket
Unpacking lxd (2.0.11-0ubuntu1~16.04.2) over (2.0.10-0ubuntu1~16.04.2) ...
Warning: Stopping lxd.service, but it can still be activated by:
  lxd.socket
Preparing to unpack .../lxd-client_2.0.11-0ubuntu1~16.04.2_s390x.deb ...
Unpacking lxd-client (2.0.11-0ubuntu1~16.04.2) over (2.0.10-0ubuntu1~16.04.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up lxd-client (2.0.11-0ubuntu1~16.04.2) ...
Setting up lxd (2.0.11-0ubuntu1~16.04.2) ...
+ sudo modprobe kvm
+ sudo sh -c 'echo 8192 > /proc/sys/fs/inotify/max_user_instances'
+ [[ s390x == \p\p\c\6\4\e\l ]]
+ logmsg 2 'create shared ssh key'
+ local lvl=2
+ local 'msg=create shared ssh key'
+ local sameline=0
+ [[ 2 -ne 0 ]]
+ level[${1}]=2
+ for i in '{1..3}'
+ [[ 2 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 3 ]]
+ level[${i}]=0
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 2
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 2 0
+ tee -a qemu-libvirt-test.status
1.2.0 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:48
(03:22:48): + printf %s 'create shared ssh key'
+ tee -a qemu-libvirt-test.status
create shared ssh key+ sudo rm -f /tmp/testimages/id_rsa /tmp/testimages/id_rsa.pub
+ ssh-keygen -b 2048 -t rsa -f /tmp/testimages/id_rsa -q -N ''
+ logmsg 2 'custom lxd profile'
+ local lvl=2
+ local 'msg=custom lxd profile'
+ local sameline=0
+ [[ 2 -ne 0 ]]
+ level[${1}]=3
+ for i in '{1..3}'
+ [[ 2 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 3 ]]
+ level[${i}]=0
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 2
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 3 0
+ tee -a qemu-libvirt-test.status
1.3.0 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:49
(03:22:49): + printf %s 'custom lxd profile'
+ tee -a qemu-libvirt-test.status
custom lxd profile+ lxc profile create kvm
error: The profile already exists
+ echo 'kvm lxd profile already exists'
kvm lxd profile already exists
+ lxc profile edit kvm
+ logmsg 2 'spawn containers'
+ local lvl=2
+ local 'msg=spawn containers'
+ local sameline=0
+ [[ 2 -ne 0 ]]
+ level[${1}]=4
+ for i in '{1..3}'
+ [[ 2 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 3 ]]
+ level[${i}]=0
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 2
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 4 0
+ tee -a qemu-libvirt-test.status
1.4.0 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:49
(03:22:49): + printf %s 'spawn containers'
+ tee -a qemu-libvirt-test.status
spawn containers+ echo ''
+ for release in '${SPAWNRELEASES}'
+ logmsg 2 'spawn lxdkvm containers for xenial'
+ local lvl=2
+ local 'msg=spawn lxdkvm containers for xenial'
+ local sameline=0
+ [[ 2 -ne 0 ]]
+ level[${1}]=5
+ for i in '{1..3}'
+ [[ 2 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 2 -lt 3 ]]
+ level[${i}]=0
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 2
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 5 0
+ tee -a qemu-libvirt-test.status
1.5.0 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:49
(03:22:49): + printf %s 'spawn lxdkvm containers for xenial'
+ tee -a qemu-libvirt-test.status
spawn lxdkvm containers for xenial+ for direction in '${MIGRATIONPEERS}'
+ logmsg 3 'create lxdkvm for xenial mode from'
+ local lvl=3
+ local 'msg=create lxdkvm for xenial mode from'
+ local sameline=0
+ [[ 3 -ne 0 ]]
+ level[${1}]=1
+ for i in '{1..3}'
+ [[ 3 -lt 1 ]]
+ for i in '{1..3}'
+ [[ 3 -lt 2 ]]
+ for i in '{1..3}'
+ [[ 3 -lt 3 ]]
+ [[ 0 -ne 1 ]]
+ printf '\n'
+ tee -a qemu-libvirt-test.status

++ seq 2 3
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ for i in '$(seq 2 "${lvl}")'
+ printf '  '
+ [[ 0 -ne 1 ]]
+ printf '%d.%d.%d ' 1 5 1
+ tee -a qemu-libvirt-test.status
1.5.1 + tee -a qemu-libvirt-test.status
++ date +%H:%M:%S
+ printf '(%s): ' 03:22:49
(03:22:49): + printf %s 'create lxdkvm for xenial mode from'
+ tee -a qemu-libvirt-test.status
create lxdkvm for xenial mode from+ getlxdkvm xenial testkvm-xenial-from
+ local release=xenial
+ local containername=testkvm-xenial-from
+ BashBacktrace
+ [[ true != \t\r\u\e ]]
+ set +x
Backtrace:main:1530 -> getlxdkvm:459
+ lxc launch ubuntu-daily:xenial/s390x testkvm-xenial-from --profile default --profile kvm
Creating testkvm-xenial-from


Starting testkvm-xenial-from
error: The container is already running
Try `lxc info --show-log local:testkvm-xenial-from` for more info
++ '[' 1 -ne 127 ']'
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending e-mails to: josh.powers@canonical.com
Recording test results
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Triggering a new build of virt-in-release-s390x-z
Finished: FAILURE