[Bug 1915571] Autopkgtest regression report (livecd-rootfs/2.525.54)

Ubuntu SRU Bot 1915571 at bugs.launchpad.net
Thu May 27 15:17:26 UTC 2021


All autopkgtests for the newly accepted livecd-rootfs (2.525.54) for bionic have finished running.
The following regressions have been reported in tests triggered by the package:

livecd-rootfs/unknown (arm64)
ubuntu-image/unknown (arm64)


Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-
migration/bionic/update_excuses.html#livecd-rootfs

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1915571

Title:
  Cannot start bash session for buildd vm images in LXD vm

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Xenial:
  Incomplete
Status in livecd-rootfs source package in Bionic:
  Fix Committed
Status in livecd-rootfs source package in Focal:
  Fix Committed
Status in livecd-rootfs source package in Groovy:
  Fix Committed

Bug description:
  Ubuntu "bootable" buildd vm images, if imported into lxd and booted in
  a VM container, cannot produce an interactive bash session via, e.g.
  `lxd exec <name> bash`.

  This appears to be a problem of the buildd image lacking grub settings
  to produce console output on ttyS0. Lack of console output also
  prevents the required manual install of the lxd agent as detailed in
  this [1] Discourse post about booting Ubuntu in lxd vms.

  
  [Impact] 

   * This negatively impacts the user experience of Ubuntu buildd images
  in lxd, which is one of the target environments for the buildd images

  [Test Case]

   * create a metadata.yaml file for the buildd image (these will soon
  be downloadable from cloud-images.ubuntu.com/buildd):

  {                                                                                                                                                                       
      "architecture": "x86_64",                                                   
      "creation_date": <unix timestamp>,                                                
      "properties": {                                                             
          "architecture": "amd64",                                                
          "description": "Ubuntu buildd focal amd64",                             
          "os": "Ubuntu",                                                         
          "series": "focal"                                                       
      }                                                                           
  }

   * tar the metadata.yaml file into <name>.tar.xz
   * obtain the focal buildd image of your choice, e.g. from [2]
   * import the image into lxd: `lxd image import <name>.tar.xz <buildd-image>.img`
   * follow the "extra steps for official Ubuntu images" in [1] to init, configure, and start a lxd vm using the image by its fingerprint
   * Attempt console log in via `lxc console <vm name>` or a bash session via `lxc exec <vm name> bash`
   * Note that without console output it is not possible to log in via the lxc console to install the lxd agent, and therefore not possible to obtain a bash session via lxc exec

  [Where problems could occur]

   * Turning on console output requires changing grub configs; certain
  values of these configs could break current expectations about buildd
  image behavior

  [Other Info]
   
   * This issue affects buildd images from all suites, but the lxd-agent-loader package is only available for focal+

  [1] https://discuss.linuxcontainers.org/t/running-virtual-machines-with-lxd-4-0/7519
  [2] http://cloud-images.ubuntu.com/buildd/releases/focal/release/focal-server-cloudimg-amd64-disk.img

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1915571/+subscriptions



More information about the foundations-bugs mailing list