kvm test does not launch

Bug #1857169 reported by Rod Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Canonical Certification Server
Fix Released
High
Rod Smith

Bug Description

Beginning in Ubuntu 19.10 (?), the virtualization/kvm_check_vm test is not launching, but passes. The results look like this:

DEBUG:root:Executing KVM Test
usage: virtualization [-h] [--debug] {kvm,lxd} ...

Virtualization Test

positional arguments:
  {kvm,lxd}
    kvm Run kvm virtualization test
    lxd Run the LXD validation test

optional arguments:
  -h, --help show this help message and exit
  --debug

It looks like there may be a bad parameter being passed to the "virtualization" script.

Tags: servcert-274
Revision history for this message
Rod Smith (rodsmith) wrote :

The fundamental cause is that lsb_release.get_lsb_information() has been removed and replaced by lsb_release.get_distro_information(). Also, the test seems to pass because of incorrect logic that terminates the test, causing it to return a "0" value when it shouldn't.

Rod Smith (rodsmith)
Changed in plainbox-provider-certification-server:
assignee: nobody → Rod Smith (rodsmith)
importance: Undecided → High
Rod Smith (rodsmith)
Changed in plainbox-provider-certification-server:
status: New → Fix Committed
Changed in plainbox-provider-certification-server:
milestone: none → 0.46.0
Changed in plainbox-provider-certification-server:
status: Fix Committed → Fix Released
Jeff Lane  (bladernr)
tags: added: servcert-274
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.