[Bug 2022965] Re: ubiquity: autopkgtest fails in test_city_entry
Launchpad Bug Tracker
2022965 at bugs.launchpad.net
Thu Jul 13 18:05:02 UTC 2023
This bug was fixed in the package ubiquity - 22.04.20
---------------
ubiquity (22.04.20) jammy; urgency=medium
[ Steve Langasek ]
* Whenever removing packages, use apt-get autoremove --purge instead of
apt-get purge so that no-longer-used dependencies are removed together
with the package in question, and we do not leave behind any packages
that will be reported as autoremovable later. LP: #1925265.
* bin/oem-config-remove-gtk uses aptdaemon to remove packages, not
apt-get. Set the flag to autoremove dependencies here as well.
[ Nick Rosbrook ]
* tests: modify test_city_entry to adapt to tzdata update (LP: #2022965)
[ Shih-Yuan Lee (FourDollars) ]
* Use dpkg-divert /sbin/start-stop-daemon unconditionally instead of just
renaming it conditionally. (LP: #1978931)
-- Steve Langasek <steve.langasek at ubuntu.com> Mon, 05 Jun 2023
14:36:01 -0700
** Changed in: ubiquity (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2022965
Title:
ubiquity: autopkgtest fails in test_city_entry
Status in ubiquity package in Ubuntu:
Fix Released
Status in ubiquity source package in Focal:
Won't Fix
Status in ubiquity source package in Jammy:
Fix Released
Status in ubiquity source package in Kinetic:
Won't Fix
Bug description:
[Impact]
The unit test in ubiquity's autopkgtest are failing for focal, jammy,
and kinetic. This is caused by a tzdata change and has happened in the
past, but in reverse (see bug 1951519). The current failure is:
======================================================================
FAIL: test_city_entry (test_timezone.TimezoneTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in patched
return func(*args, **keywargs)
File "/tmp/autopkgtest.ThYxjs/build.Pwg/src/tests/test_timezone.py", line 58, in test_city_entry
self.assertEqual(set(results), set(expected))
AssertionError: Items in the first set but not the second:
('Eastern', 'Canada')
Items in the second set but not the first:
('Eastern', 'Bahamas')
----------------------------------------------------------------------
Ran 89 tests in 10.662s
FAILED (failures=1, skipped=1)
autopkgtest [22:32:51]: test unit: -----------------------]
unit FAIL non-zero exit status 1
autopkgtest [22:32:52]: test unit: - - - - - - - - - - results - - - - - - - - - -
autopkgtest [22:32:52]: @@@@@@@@@@@@@@@@@@@@ summary
unit FAIL non-zero exit status 1
[Test Plan]
Run autopkgtest for ubiquity.
[Where problems could occur]
The patch modifies expected output in a test file, so any impacts
would be confined to running the test_city_entry unit test.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/2022965/+subscriptions
More information about the foundations-bugs
mailing list