This bug was fixed in the package ubiquity - 20.04.15.18

---------------
ubiquity (20.04.15.18) focal; urgency=medium

  * ubi-partman.py: Do not display a restart button in the advanced
    partitioning screen when installing alongside Windows Boot Manager. Thanks
    to Sam van Kampen for the patch. (LP: #1942648)
  * tests/test_timezone.py: The Bahamas moved their DST rules to sync with the
    U.S. in 2007 but tzdata only recently incorporated this change.
    (LP: #1951519)
  * Automatic update of included source packages: shim-signed 1.40.7.

 -- Brian Murray <[email protected]>  Mon, 10 Jan 2022 10:39:31 -0800

** Changed in: ubiquity (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1951519

Title:
  ubiquity 20.04.15.17 fails to build (test_timezone)

Status in tzdata package in Ubuntu:
  Invalid
Status in ubiquity package in Ubuntu:
  Fix Released
Status in tzdata source package in Focal:
  Invalid
Status in ubiquity source package in Focal:
  Fix Released
Status in tzdata source package in Jammy:
  Invalid
Status in ubiquity source package in Jammy:
  Fix Released

Bug description:
  Description:  Ubuntu 20.04.3 LTS
  Release:      20.04

  When trying to build ubiquity from source,

  sudo apt update
  sudo apt -y dist-upgrade
  sudo apt-get build-dep ubiquity
  sudo apt install -y fakeroot
  apt source ubiquity
  cd ubiquity-*
  dpkg-buildpackage -us -uc
  [...]
  test_has_battery (test_upower.UPowerTests) ... ok
  test_check_hostname (test_usersetup.UserSetupTests) ... ok
  test_check_username (test_usersetup.UserSetupTests) ... ok
  test_default_username (test_usersetup.UserSetupTests) ... ok
  test_default_username_strips_invalid_characters 
(test_usersetup.UserSetupTests) ... ok
  test_hostname_check (test_usersetup.UserSetupTests) ... ok
  test_hostname_check_bogus_dns (test_usersetup.UserSetupTests) ... ok
  test_hostname_check_exists (test_usersetup.UserSetupTests) ... ok
  test_unicode (test_usersetup.UserSetupTests) ... ok

  ======================================================================
  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 "/home/ark/ubiquity-20.04.15.17/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', 'Bahamas')
  Items in the second set but not the first:
  ('Eastern', 'Canada')

  ----------------------------------------------------------------------
  Ran 89 tests in 19.319s

  FAILED (failures=1)
  xauth/Xrdb output:
  make: *** [debian/rules:228: tests] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned 
exit status 2

  It keeps failing regardless of release.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1951519/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to