Public bug reported:

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.

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ubiquity

** Description changed:

  Description:  Ubuntu 20.04.3 LTS
  Release:      20.04
  
  When trying to build ubiquity from source,
  
- <code>sudo apt update
+ ```
+ 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</code>
+ dpkg-buildpackage -us -uc
+ ```
  
- 
- <code>
  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))
+   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
- </code>
  
  It keeps failing regardless of release.

** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951519

Title:
  ubiquity fails to build (test_timezone)

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to