Comment 0 for bug 1915569

Revision history for this message
Kelsey Steele (kelsey-steele) wrote : ubuntu_kvm_smoke_test failed with bjf-test not found on B-ibm-gt

 ubuntu_kvm_smoke_test is reported to be failing before [LP#1896153](https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1896153), though failing with different output now.

Not a regression, seen on:
4.15.0-1084.93 - ibm-gt
4.15.0-1083.92 - ibm-gt
4.15.0-1082.91 - ibm-gt

106. stdout:
107. INFO: /dev/kvm exists
108. KVM acceleration can be used
109. Generating public/private rsa key pair.
110. Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
111. Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
112. The key fingerprint is:
113. SHA256:Eyln/VA00BhpeMcA9Q9vCa9ylpTF8mG0M3Lep1j2hZM ubuntu@rumford
114. The key's randomart image is:
115. +---[RSA 2048]----+
116. | .+=X+ . |
117. | .o=o++ . |
118. | . =oo.* X |
119. | + . o / O |
120. | S + E +|
121. | . . B +o|
122. | . * . .|
123. | + |
124. | |
125. +----[SHA256]-----+
126. ** ERROR: The codename returned from lsb_release -c was ( ) and we were expecting 'bionic'
127. stderr:
128. + SUT=bjf-test
129. + SSH_KEY=/home/ubuntu/.ssh/id_rsa
130. + SSH_OPTIONS='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa'
131. ++ lsb_release -c
132. ++ awk '{print$2}'
133. + DISTRO=bionic
134. + ARCHITECTURE=amd64
135. + trap cleanup EXIT
136. + '[' -z amd64 ']'
137. + kvm-ok
138. + '[' 0 '!=' 0 ']'
139. + '[' '!' -f /home/ubuntu/.ssh/id_rsa ']'
140. + ssh-keygen -f /home/ubuntu/.ssh/id_rsa -t rsa -N ''
141. + '[' amd64 = ppc64el ']'
142. ++ uvt-simplestreams-libvirt query
143. ++ grep -P 'bionic.*amd64'
144. + image=
145. + '[' -z '' ']'
146. + uvt-simplestreams-libvirt sync --source http://cloud-images.ubuntu.com/daily release=bionic arch=amd64
147. qemu-img: Unable to initialize gcrypt
148. Traceback (most recent call last):
149. File "/usr/bin/uvt-simplestreams-libvirt", line 27, in
150. uvtool.libvirt.simplestreams.main()
151. File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 329, in main
152. args.func(args)
153. File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 269, in main_sync
154. tmirror.sync(smirror, initial_path)
155. File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 91, in sync
156. return self.sync_index(reader, path, data, content)
157. File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 254, in sync_index
158. self.sync(reader, path=epath)
159. File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 89, in sync
160. return self.sync_products(reader, path, data, content)
161. File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 341, in sync_products
162. self.insert_item(item, src, target, pgree, ipath_cs)
163. File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 236, in insert_item
164. pool_name=LIBVIRT_POOL_NAME
165. File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/__init__.py", line 66, in create_volume_from_fobj
166. shell=False, close_fds=False)
167. File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
168. raise CalledProcessError(retcode, cmd)
169. subprocess.CalledProcessError: Command '[u'qemu-img', u'convert', u'-f', u'qcow2', u'-O', u'qcow2', '/tmp/tmp4wHatr', '/tmp/tmpqZ7VYm']' returned non-zero exit status 1
170. + uvt-kvm create bjf-test release=bionic arch=amd64
171. uvt-kvm: error: no images found that match filters ['release=bionic', 'arch=amd64'].
172. + uvt-kvm wait bjf-test --insecure --ssh-private-key-file /home/ubuntu/.ssh/id_rsa
173. uvt-kvm: error: libvirt: Domain not found: no domain with matching name 'bjf-test'
174. ++ uvt-kvm ip bjf-test
175. uvt-kvm: error: libvirt: Domain not found: no domain with matching name 'bjf-test'
176. + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa ubuntu@ uname -a
177. ++ cut '-d ' -f 2
178. +++ uvt-kvm ip bjf-test
179. uvt-kvm: error: libvirt: Domain not found: no domain with matching name 'bjf-test'
180. ++ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa ubuntu@ lsb_release -c
181. + RESULT=
182. + '[' '' '!=' bionic ']'
183. + echo '** ERROR: The codename returned from lsb_release -c was (' ') and we were expecting '\''bionic'\'''
184. + exit 1
185. + cleanup
186. + uvt-kvm destroy bjf-test
187. uvt-kvm: error: domain 'bjf-test' not found.
188. + '[' amd64 = ppc64el ']'