Bionic KVM test in checkbox-dev picks up wrong release name

Bug #1931586 reported by Ike Panhc
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Rod Smith

Bug Description

The bionic checkbox installed from ppa:checkbox-dev/ppa for arm64 uses wrong release name and can not sync the image. This issue only happens on bionic with checkbox-dev/ppa.

DEBUG:root:Executing UVT KVM Test
WARNING:root:UVT_IMAGE_OR_SOURCE is not set
DEBUG:root:uvt-simplestreams-libvirt sync
ERROR:root:Command uvt-simplestreams-libvirt sync release=Bionic Beaver arch=arm64 returnd a code of 1
ERROR:root: STDOUT:
ERROR:root: STDERR: Traceback (most recent call last):
  File "/usr/bin/uvt-simplestreams-libvirt", line 27, in <module>
    uvtool.libvirt.simplestreams.main()
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 329, in main
    args.func(args)
  File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/simplestreams.py", line 266, in main_sync
    ['datatype=image-downloads', 'ftype=disk1.img'] + args.filters
  File "/usr/lib/python2.7/dist-packages/simplestreams/filters.py", line 62, in get_filters
    flist.append(ItemFilter(f, noneval=noneval))
  File "/usr/lib/python2.7/dist-packages/simplestreams/filters.py", line 29, in __init__
    raise ValueError("Unable to parse expression %s" % content)
ValueError: Unable to parse expression Beaver

Rod Smith (rodsmith)
tags: added: hwcert-server
Rod Smith (rodsmith)
Changed in plainbox-provider-checkbox:
importance: Undecided → High
assignee: nobody → Rod Smith (rodsmith)
Revision history for this message
Rod Smith (rodsmith) wrote :

Verified on AMD64 as well as ARM64.

Revision history for this message
Rod Smith (rodsmith) wrote :

I've submitted an MR to fix this bug; however, there are at least two follow-on problems:

1) The uvtool-libvirt package is only half-configured upon system
   deployment. This can be fixed manually by re-installing it or
   doing "sudo apt dist-upgrade"; and
2) Bug #1932550 is causing failures because the test can't SSH in to
   the KVM session;

The uvtool-libvirt manual workaround is ugly and the underlying issue should be corrected. Bug #1932550 is proving difficult to resolve, and its fix may interact with an in-flight MR from jocave (https://code.launchpad.net/~jocave/plainbox-provider-checkbox/+git/plainbox-provider-checkbox/+merge/403636), which fixes an unrelated problem, but touches code that may need to be changed. (Or not; the solution might lie elsewhere, like in the virtual machine configuration.)

All of which is to say: The bug is now fixed, but the test will still fail on Bionic. See bug #1932550 for further developments....

Rod Smith (rodsmith)
Changed in plainbox-provider-checkbox:
status: New → Fix Committed
Revision history for this message
Ike Panhc (ikepanhc) wrote :

Thanks Rod, checkbox run on 23th Jun with checkbox-dev/ppa works fine. Thanks.

Jeff Lane  (bladernr)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
Matias Piipari (mz2)
tags: added: cbox-11
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.