KVM (uvt) test fails because of SSH failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The KVM (UVT) virtualization test is failing on Bionic (but not on Focal), with the following output:
$ sudo ./virtualization.py uvt
WARNING:
ERROR:root:Command uvt-kvm wait tmp2sxuv07r returnd a code of 1
ERROR:root: STDOUT:
ERROR:root: STDERR: ubuntu@
Traceback (most recent call last):
File "/usr/bin/uvt-kvm", line 35, in <module>
uvtool.
File "/usr/lib/
main(*args, **kwargs)
File "/usr/lib/
args.
File "/usr/lib/
main_
File "/usr/lib/
insecure=
File "/usr/lib/
ssh_call, preexec_
File "/usr/lib/
raise CalledProcessEr
subprocess.
FAIL: VM was not started and/or checked
Note that even getting to this point currently requires a change to the script to fix bug #1931586; that fix is provided in the following MR:
Just a heads up:
Joc has a MR in flight that modifies the SSH command and
key-generation stuff to fix this in Snaps. It's probably worth
cloning his branch and testing out his modified virtualization.py to
see if that resolves your SSH bug as well.
https:/ /code.launchpad .net/~jocave/ plainbox- provider- checkbox/ +git/plainbox- provider- checkbox/ +merge/ 403636
Jeff
On Fri, Jun 18, 2021 at 10:50 AM Rod Smith <email address hidden> wrote: /bugs.launchpad .net/bugs/ 1932550 root:UVT_ IMAGE_OR_ SOURCE is not set 192.168. 122.146: Permission denied (publickey). libvirt. kvm.main_ cli_wrapper( sys.argv[ 1:]) python2. 7/dist- packages/ uvtool/ libvirt/ kvm.py" , line 861, in main_cli_wrapper python2. 7/dist- packages/ uvtool/ libvirt/ kvm.py" , line 856, in main python2. 7/dist- packages/ uvtool/ libvirt/ kvm.py" , line 782, in main_wait remote( parser, args) python2. 7/dist- packages/ uvtool/ libvirt/ kvm.py" , line 745, in main_wait_remote args.insecure, python2. 7/dist- packages/ uvtool/ libvirt/ kvm.py" , line 614, in ssh fn=subprocess_ setup, close_fds=True, stdin=stdin python2. 7/subprocess. py", line 190, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '[u'ssh', u'-o', u'UserKnownHost sFile=/ tmp/uvt- kvm.known_ hoststmpJzYIDL' , u'-l', u'ubuntu', u'192.168.122.146', u'env', u'UVTOOL_ WAIT_INTERVAL= 8.0', u'UVTOOL_ WAIT_TIMEOUT= 120.0', u'sh', u'-']' returned non-zero exit status 255 /code.launchpad .net/~rodsmith/ plainbox- provider- checkbox/ +git provider- checkbox/ +merge/ 404396 /bugs.launchpad .net/plainbox- provider- checkbox/ +bug/1932550/ +subscriptions Notification- Type: bug plainbox- provider- checkbox; status=New; importance= Undecided; assignee=None; Bug-Information -Type: Public Bug-Private: no Bug-Security- Vulnerability: no Bug-Commenters: rodsmith Bug-Rep. ..
>
> ** Tags added: hwcert-server
>
> --
> You received this bug notification because you are subscribed to
> Provider for Plainbox - Checkbox.
> Matching subscriptions: Checkbox Project - All, PPC Bugs
> https:/
>
> Title:
> KVM (uvt) test fails because of SSH failure
>
> Status in Provider for Plainbox - Checkbox:
> New
>
> Bug description:
> The KVM (UVT) virtualization test is failing on Bionic (but not on
> Focal), with the following output:
>
> $ sudo ./virtualization.py uvt
> WARNING:
> ERROR:root:Command uvt-kvm wait tmp2sxuv07r returnd a code of 1
> ERROR:root: STDOUT:
> ERROR:root: STDERR: ubuntu@
> Traceback (most recent call last):
> File "/usr/bin/uvt-kvm", line 35, in <module>
> uvtool.
> File "/usr/lib/
> main(*args, **kwargs)
> File "/usr/lib/
> args.func(parser, args)
> File "/usr/lib/
> main_wait_
> File "/usr/lib/
> insecure=
> File "/usr/lib/
> ssh_call, preexec_
> File "/usr/lib/
> raise CalledProcessEr
> subprocess.
>
> FAIL: VM was not started and/or checked
>
> Note that even getting to this point currently requires a change to
> the script to fix bug #1931586; that fix is provided in the following
> MR:
>
> https:/
> /plainbox-
>
> To manage notifications about this bug go to:
> https:/
>
> Launchpad-
> Launchpad-Bug: product=
> Launchpad-Bug-Tags: hwcert-server
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-