canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #07554
[Bug 2111917] Re: ubuntu_kvm_smoke_test fails on trusty due to outdated distro-info-data
I now realize that there's a newer version available in the esm archive,
it just needs to be copied to the kernel-internal esm proposed pocket.
This issue should be easy to resolve, I'll mark the bug as invalid.
** Changed in: ubuntu-kernel-tests
Status: New => Invalid
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2111917
Title:
ubuntu_kvm_smoke_test fails on trusty due to outdated distro-info-data
Status in ubuntu-kernel-tests:
Invalid
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2111917/+subscriptions
References