Public bug reported:

The KVM smoke test failed on P8 systems with Bionic kernel.

75.     INFO: /dev/kvm exists
76.     KVM acceleration can be used
77.     Generating public/private rsa key pair.
78.     Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
79.     Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
80.     The key fingerprint is:
81.     SHA256:pN33OKlzvk59wTVkKO0vsWzIkS68IRl8miAc5iS7M9Y ubuntu@entei
82.     The key's randomart image is:
83.     +---[RSA 2048]----+
84.     | . .o |
85.     | . + . oo |
86.     | B . . . + ..|
87.     | . + . * o o o. o|
88.     | o . o S + = +o |
89.     | = E = + = X ..|
90.     |. o . + * + .|
91.     | ..o.. . |
92.     | .=+. |
93.     +----[SHA256]-----+
94.     ** ERROR: The codename returned from lsb_release -c was ( ) and we were 
expecting 'xenial'
95.     stderr:
96.     + SUT=bjf-test
97.     + SSH_KEY=/home/ubuntu/.ssh/id_rsa
98.     + SSH_OPTIONS='-o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa'
99.     + DISTRO=xenial
100.    + ARCHITECTURE=ppc64el
101.    + '[' -z ppc64el ']'
102.    + kvm-ok
103.    + '[' 0 '!=' 0 ']'
104.    + '[' '!' -f /home/ubuntu/.ssh/id_rsa ']'
105.    + ssh-keygen -f /home/ubuntu/.ssh/id_rsa -t rsa -N ''
106.    ++ uvt-simplestreams-libvirt query
107.    ++ grep -P 'xenial.*ppc64el'
108.    + image=
109.    + '[' -z '' ']'
110.    + uvt-simplestreams-libvirt sync release=xenial arch=ppc64el
111.    + uvt-kvm create bjf-test release=xenial arch=ppc64el
112.    + uvt-kvm wait bjf-test --insecure --ssh-private-key-file 
/home/ubuntu/.ssh/id_rsa
113.    uvt-kvm: error: libvirt domain 'bjf-test' is not running.
114.    ++ uvt-kvm ip bjf-test
115.    uvt-kvm: error: no IP address found for libvirt machine 'bjf-test'.
116.    + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 
LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa ubuntu@ uname -a
117.    ++ cut '-d      ' -f 2
118.    +++ uvt-kvm ip bjf-test
119.    uvt-kvm: error: no IP address found for libvirt machine 'bjf-test'.
120.    ++ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 
LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa ubuntu@ lsb_release -c
121.    + RESULT=
122.    + '[' '' '!=' xenial ']'
123.    + echo '** ERROR: The codename returned from lsb_release -c was (' ') 
and we were expecting '\''xenial'\'''
124.    + exit 1

But the test can pass if you run it by hand, it looks like the wait
command needs some time to wait for the KVM to boot.

Maybe we should check this first by adding some sleep command.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-38-generic 4.15.0-38.41
ProcVersionSignature: User Name 4.15.0-38.41-generic 4.15.18
Uname: Linux 4.15.0-38-generic ppc64le
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116,  1 Oct 17 10:27 seq
 crw-rw---- 1 root audio 116, 33 Oct 17 10:27 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
Date: Wed Oct 17 11:37:34 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
 
ProcFB:
 
ProcKernelCmdLine: root=/dev/mapper/mpath0-part2 ro console=hvc0
ProcLoadAvg: 0.08 0.02 0.01 1/1507 7274
ProcSwaps:
 Filename                               Type            Size    Used    Priority
 /swap.img                               file           8388544 0       -2
ProcVersion: Linux version 4.15.0-38-generic (buildd@bos02-ppc64el-018) (gcc 
version 7.3.0 (User Name 7.3.0-16ubuntu3)) #41-User Name SMP Wed Oct 10 
10:57:45 UTC 2018
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-38-generic N/A
 linux-backports-modules-4.15.0-38-generic  N/A
 linux-firmware                             1.173.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT is off

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid


** Tags: apport-bug bionic package-from-proposed ppc64el uec-images

** Also affects: ubuntu-kernel-tests
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1798358

Title:
  failed to start KVM on P8 with Bionic kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1798358/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to