[Bug 1886758] Re: [Classic][arm64/armhf] The options combination causes generate_manifests() function failed

Launchpad Bug Tracker 1886758 at bugs.launchpad.net
Tue Apr 30 04:17:12 UTC 2024


[Expired for Ubuntu Image because there has been no activity for 60
days.]

** Changed in: ubuntu-image
       Status: Incomplete => Expired

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

Title:
  [Classic][arm64/armhf] The options combination causes
  generate_manifests() function failed

Status in Ubuntu Image:
  Expired

Bug description:
  When building classic image, if the target arch is arm64/armhf and
  with options "-f cloud-image", ie.

  ---------------------------------
  sudo QEMU_STATIC=qemu-arm-static TARGET_ARCH=armhf ubuntu-image classic -f cloud-image -d --hooks-directory hooks -s bionic -a armhf -O out-tmp -w work gadget/prime
  ---------------------------------

  will cause generate_manifests() function failed. No matter
  with/without option "--hooks-directory hooks" or not.

  
  ## Error message ##
  ---------------------------------
  DEBUG:ubuntu-image:-> [13] generate_manifests
  chroot: failed to run command ‘dpkg-query’: No such file or directory
  ERROR:ubuntu-image:COMMAND FAILED: ['sudo', 'chroot', '/home/vagrant/vasteras/image-builds/work/root', 'dpkg-query', '-W', '--showformat=${Package} ${Version}\n']
  ERROR:ubuntu-image:uncaught exception in state machine step: [13] generate_manifests
  ---------------------------------

  
  ## Other test cases ##

  * If the target arch is amd64 and with options "-f cloud-image", the
  failure will not happened.

  * If the target arch is arm64/armhf and with options "-p ubuntu-cpc"
  without option "--hooks-directory hooks", the failure will not
  happened.

  BUT.. WITH option "--hooks-directory hooks", the failure will
  happened.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1886758/+subscriptions




More information about the foundations-bugs mailing list