Public bug reported:

Trusty kernels will fail ubuntu_kvm_smoke_test:kvm_smoke_test on
instances that have KVM acceleration available and hence do not skip the
test with the following error:

  + uvt-kvm create bjf-test release=trusty arch=amd64
  ubuntu-distro-info: Distribution data outdated.
  Please check for an update for distro-info-data. See 
/usr/share/doc/distro-info-data/README.Debian for details.
  Traceback (most recent call last):
    File "/usr/bin/uvt-kvm", line 35, in <module>
      uvtool.libvirt.kvm.main_cli_wrapper(sys.argv[1:])
    File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 711, in 
main_cli_wrapper
      main(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 678, in 
main
      default=["release=%s" % get_lts_series()],
    File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 418, in 
get_lts_series
      output = subprocess.check_output(['distro-info', '--lts'], close_fds=True)
    File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
      raise CalledProcessError(retcode, cmd, output=output)
  subprocess.CalledProcessError: Command '[u'distro-info', u'--lts']' returned 
non-zero exit status 1

The test setup installs the latest available distro-info-data package
for trusty [1] which appears to be outdated (last update 2019):

Get:18 https://private-ppa.launchpadcontent.net/canonical-kernel-
esm/proposed/ubuntu/ trusty/main distro-info-data all 0.18ubuntu0.14
[4,488 B]

I assume this package needs an update in order for distro-info to work
again on trusty. The error can be easily reproduced in any trusty vm:

$ uname -a
Linux cloudimg 3.13.0-205-lowlatency #256-Ubuntu SMP PREEMPT Sat Mar 15 
17:43:17 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get install distro-info
...
$ distro-info --lts
ubuntu-distro-info: Distribution data outdated.
Please check for an update for distro-info-data. See 
/usr/share/doc/distro-info-data/README.Debian for details.
$

[1] https://launchpad.net/~canonical-kernel-
esm/+archive/ubuntu/proposed/+packages?field.name_filter=distro-info-
data&field.status_filter=published&field.series_filter=trusty

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Summary changed:

- ubuntu_kvm_smoke_test fails on trusty due to outdated ubuntu-distro-info
+ ubuntu_kvm_smoke_test fails on trusty due to outdated distro-info-data

** Also affects: distro-info-data (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: distro-info-data (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** No longer affects: distro-info-data (Ubuntu Trusty)

** No longer affects: distro-info-data (Ubuntu)

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

Title:
  ubuntu_kvm_smoke_test fails on trusty due to outdated distro-info-data

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2111917/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to