← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2074235] [NEW] autopkgtest-buildvm-ubuntu-cloud crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'qemu-system-aarch64'

 

Public bug reported:

We should check and make sure the required packages (qemu-system-
aarch64) are available before downloading the cloud image.

 $ autopkgtest-buildvm-ubuntu-cloud -a arm64 -r oracular -o /srv/vms/
Downloading https://cloud-images.ubuntu.com/minimal/daily/oracular/current/oracular-minimal-cloudimg-arm64.img...
218.3/219.3 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
Traceback (most recent call last):
  File "/usr/bin/autopkgtest-buildvm-ubuntu-cloud", line 464, in <module>
    boot_image(image, seed, args.arch, args.qemu_command,
  File "/usr/bin/autopkgtest-buildvm-ubuntu-cloud", line 387, in boot_image
    qemu = Qemu(
           ^^^^^
  File "/usr/share/autopkgtest/lib/autopkgtest_qemu.py", line 522, in __init__
    self.subprocess: Optional[subprocess.Popen[bytes]] = subprocess.Popen(
                                                         ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'qemu-system-aarch64'

ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: autopkgtest 5.37ubuntu3~24.04.1
ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
Uname: Linux 6.8.0-39-generic x86_64
NonfreeKernelModules: nvidia_modeset zfs nvidia wl
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 26 15:17:28 2024
ExecutablePath: /usr/bin/autopkgtest-buildvm-ubuntu-cloud
InstallationDate: Installed on 2018-08-10 (2177 days ago)
InstallationMedia: Ubuntu-Server 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InterpreterPath: /usr/bin/python3.12
JournalErrors: -- No entries --
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/autopkgtest-buildvm-ubuntu-cloud -a arm64 -r oracular -o /srv/vms/
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
PythonArgs: ['/usr/bin/autopkgtest-buildvm-ubuntu-cloud', '-a', 'arm64', '-r', 'oracular', '-o', '/srv/vms/']
PythonDetails: N/A
SourcePackage: autopkgtest
Title: autopkgtest-buildvm-ubuntu-cloud crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'qemu-system-aarch64'
UpgradeStatus: Upgraded to noble on 2024-04-16 (101 days ago)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2024-05-24T16:05:14.487339

** Affects: autopkgtest (Ubuntu)
     Importance: Medium
         Status: New


** Tags: amd64 apport-crash noble package-from-proposed

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/2074235

Title:
  autopkgtest-buildvm-ubuntu-cloud crashed with FileNotFoundError in
  _execute_child(): [Errno 2] No such file or directory: 'qemu-system-
  aarch64'

Status in autopkgtest package in Ubuntu:
  New

Bug description:
  We should check and make sure the required packages (qemu-system-
  aarch64) are available before downloading the cloud image.

   $ autopkgtest-buildvm-ubuntu-cloud -a arm64 -r oracular -o /srv/vms/
  Downloading https://cloud-images.ubuntu.com/minimal/daily/oracular/current/oracular-minimal-cloudimg-arm64.img...
  218.3/219.3 MB (100%)
  Download successful.
  Resizing image, adding 20G...
  Image resized.
  Building seed image...
  Booting image to run cloud-init...
  Traceback (most recent call last):
    File "/usr/bin/autopkgtest-buildvm-ubuntu-cloud", line 464, in <module>
      boot_image(image, seed, args.arch, args.qemu_command,
    File "/usr/bin/autopkgtest-buildvm-ubuntu-cloud", line 387, in boot_image
      qemu = Qemu(
             ^^^^^
    File "/usr/share/autopkgtest/lib/autopkgtest_qemu.py", line 522, in __init__
      self.subprocess: Optional[subprocess.Popen[bytes]] = subprocess.Popen(
                                                           ^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'qemu-system-aarch64'

  ProblemType: Crash
  DistroRelease: Ubuntu 24.04
  Package: autopkgtest 5.37ubuntu3~24.04.1
  ProcVersionSignature: Ubuntu 6.8.0-39.39-generic 6.8.8
  Uname: Linux 6.8.0-39-generic x86_64
  NonfreeKernelModules: nvidia_modeset zfs nvidia wl
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Jul 26 15:17:28 2024
  ExecutablePath: /usr/bin/autopkgtest-buildvm-ubuntu-cloud
  InstallationDate: Installed on 2018-08-10 (2177 days ago)
  InstallationMedia: Ubuntu-Server 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  InterpreterPath: /usr/bin/python3.12
  JournalErrors: -- No entries --
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/autopkgtest-buildvm-ubuntu-cloud -a arm64 -r oracular -o /srv/vms/
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1
  PythonArgs: ['/usr/bin/autopkgtest-buildvm-ubuntu-cloud', '-a', 'arm64', '-r', 'oracular', '-o', '/srv/vms/']
  PythonDetails: N/A
  SourcePackage: autopkgtest
  Title: autopkgtest-buildvm-ubuntu-cloud crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'qemu-system-aarch64'
  UpgradeStatus: Upgraded to noble on 2024-04-16 (101 days ago)
  UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo
  modified.conffile..etc.apport.crashdb.conf: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2024-05-24T16:05:14.487339

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2074235/+subscriptions



Follow ups