[Bug 2022965] Re: ubiquity: autopkgtest fails in test_city_entry
Nick Rosbrook
2022965 at bugs.launchpad.net
Mon Jun 5 20:25:49 UTC 2023
** Merge proposal linked:
https://code.launchpad.net/~enr0n/ubiquity/+git/ubiquity/+merge/444123
--
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:
New
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