ubuntu-image autopkgtests failing since python-debian 0.1.38
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-debian (Debian) |
Fix Released
|
Unknown
|
|||
python-debian (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
ubuntu-image (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
In the tests it seems that since some - yet to be found - change ~20th Nov the tests of ubuntu-image fail.
Tests all list those three sub-tests as failing:
unittests.sh FAIL non-zero exit status 1
qa FAIL non-zero exit status 1
coverage.sh FAIL non-zero exit status 1
Fails all seem to be related to some python/pytest/py* change that might have slipped in without gating on this test.
Ubuntu-image itself also isn't new - still the same as in groovy
ubuntu-image | 1.10+20.10ubuntu2 | groovy | source, all
ubuntu-image | 1.10+20.10ubuntu2 | hirsute | source, all
=======
Obtaining file://
ERROR: Command errored out with exit status 1:
command: /tmp/autopkgtes
cwd: /tmp/autopkgtes
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/autopkgte
__version__ = str(Changelog(
AttributeError: 'Changelog' object has no attribute 'get_version'
---
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
=======
The issue reproducible in local KVM-autopkgtest against hirsute-proposed and hirsute-release for me (I mistyped before).
Example:
sudo ~/work/
In terms of similar bug signatures I found
https:/
Fixed by:
https:/
Looking for the same issue in ubuntu-image has shown an entry in setup.py
setup.py:49: __version__ = str(Changelog(
And now that we know all that we see
https:/
New version in since
2020-11-20 02:23:27 CET
That is a perfect match to our bug.
$ diff -Naur python-
...
- def get_version(self):
- # type: () -> Version
+ def _get_version(self):
+ # type: () -> Optional[Version]
"""Return a Version object for the last version"""
- return self._blocks[
+ return self._blocks[
...
tags: | added: update-excuse |
summary: |
- autopkgtests failing since 20th Nov + ubuntu-image autopkgtests failing since pytohn-debian 0.1.38 |
description: | updated |
summary: |
- ubuntu-image autopkgtests failing since pytohn-debian 0.1.38 + ubuntu-image autopkgtests failing since python-debian 0.1.38 |
Changed in ubuntu-image (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in python-debian (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: rls-hh-incoming |
Changed in python-debian (Debian): | |
status: | Unknown → Fix Released |
Changed in python-debian (Ubuntu): | |
status: | Fix Committed → Fix Released |
PPA: https:/ /launchpad. net/~ci- train-ppa- service/ +archive/ ubuntu/ 4353/
...
killing the rest as I've seen seb128 to do the same ...