failed to start KVM with uvtool on P8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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/
79. Your public key has been saved in /home/ubuntu/
80. The key fingerprint is:
81. SHA256:
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=
98. + SSH_OPTIONS='-o StrictHostKeyCh
99. + DISTRO=xenial
100. + ARCHITECTURE=
101. + '[' -z ppc64el ']'
102. + kvm-ok
103. + '[' 0 '!=' 0 ']'
104. + '[' '!' -f /home/ubuntu/
105. + ssh-keygen -f /home/ubuntu/
106. ++ uvt-simplestrea
107. ++ grep -P 'xenial.*ppc64el'
108. + image=
109. + '[' -z '' ']'
110. + uvt-simplestrea
111. + uvt-kvm create bjf-test release=xenial arch=ppc64el
112. + uvt-kvm wait bjf-test --insecure --ssh-private-
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 StrictHostKeyCh
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 StrictHostKeyCh
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-
ProcVersionSign
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/
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@
RelatedPackageV
linux-
linux-
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
summary: |
- failed to start KVM on P8 with Bionic + failed to start KVM with uvtool on P8 Bionic |
tags: | added: ubuntu-kvm-smoke-test |
tags: | added: 5.3 eoan sru-20200127 |
Tested with P8 "modoc" + Bionic 4.18 kernel
It won't pass the test and still return:
uvt-kvm: error: libvirt domain 'bjf-test' is not running.