Please do not use uml fakemachine backend in the DEP-8 test

Bug #1940077 reported by Simon Chopin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debos (Debian)
Fix Released
Unknown
debos (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/989145:

Package: debos
Version: 1.0.0+git20201203.e939090-4
Severity: wishlist

Dear maintainer,

The DEP-8 test recently added to src:debos, called build-chroot, makes
use of the user-mode-linux package (the fakemachine backend used).
However, user-mode-linux is not available in Ubuntu as in Debian which
leads to a test failure. I kindly ask to use a different fakemachine
backend allowing the execution of this test also in Ubuntu.

Thanks for considering this request.

Cheers!
Lucas Kanashiro.

Simon Chopin (schopin)
tags: added: update-excuse
Changed in debos (Debian):
importance: Undecided → Unknown
Revision history for this message
Steve Langasek (vorlon) wrote :

I've investigated this further, and the Debian bug report as originally scoped isn't helpful for resolving the Ubuntu problem, because we can't use the kvm backend either for autopkgtests.

My current suggestion, on the Debian bug report, is:
- ask for an additional autopkgtest in Debian that runs with debos
  --disable-fakemachine (instead of replacing the current autopkgtest)
- introduce an Ubuntu delta that drops the autopkgtest which depends on
  fakemachine
- optionally, patch debos in Ubuntu to use --disable-fakemachine by default

But the alternative approach would be to remove and blacklist this package from Ubuntu.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Since we did not get a reply from the Debian maintainers I am proposing the attached debdiff to fix this issue. As Steve suggested, I patched the failing test to use --disable-fakemachine and adjusted the test dependencies and added the needs-root restrictions.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

I did run autopkgtest locally using the proposed packages and it indeed fixes the test failure. The log is attached.

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debos - 1.0.0+git20210707.c66a48d-2ubuntu1

---------------
debos (1.0.0+git20210707.c66a48d-2ubuntu1) kinetic; urgency=medium

  * d/tests: disable fakemachine and adjust test dependencies (LP: #1940077)
    - d/t/build-chroot: use --disable-fakemachine instead of
      --fakemachine-backend=uml.
    - d/t/control: remove linux-image-amd64 and user-mode-linux test
      dependencies and add needs-root restriction to be able to run debootstrap
      as root.

 -- Lucas Kanashiro <email address hidden> Mon, 23 May 2022 16:13:25 -0300

Changed in debos (Ubuntu):
status: New → Fix Released
Changed in debos (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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