[Bug 1951519] Re: ubiquity fails to build (test_timezone)

Ark74 1951519 at bugs.launchpad.net
Fri Nov 19 05:44:04 UTC 2021


** Description changed:

  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.

-- 
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/1951519

Title:
  ubiquity fails to build (test_timezone)

Status in ubiquity package in Ubuntu:
  New

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/ubiquity/+bug/1951519/+subscriptions




More information about the foundations-bugs mailing list