Public bug reported:

This is happening in current resolute

AssertionError: 'en' != 'en_GB.utf8'
- en
+ en_GB.utf8


It's unclear to me what package lead to this failure as nothing changed in 
accountsservice side.


autopkgtest [19:50:45]: testing package accountsservice version 23.13.9-8ubuntu2
autopkgtest [19:50:45]: build not needed
autopkgtest [19:50:46]: test integration.py: preparing testbed
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following NEW packages will be installed:
  accountsservice gir1.2-accountsservice-1.0 libaccountsservice0 libduktape207
  polkitd python3-cap-ng sgml-base xml-core
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 441 kB of archives.
After this operation, 1998 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu resolute/main amd64 libaccountsservice0 
amd64 23.13.9-8ubuntu2 [65.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu resolute/main amd64 accountsservice 
amd64 23.13.9-8ubuntu2 [71.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu resolute/main amd64 
gir1.2-accountsservice-1.0 amd64 23.13.9-8ubuntu2 [5340 B]
Get:4 http://archive.ubuntu.com/ubuntu resolute/main amd64 libduktape207 amd64 
2.7.0+tests-0ubuntu4 [144 kB]
Get:5 http://archive.ubuntu.com/ubuntu resolute/main amd64 sgml-base all 
1.31+nmu1build1 [11.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu resolute/main amd64 xml-core all 
0.19build1 [20.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu resolute/main amd64 polkitd amd64 127-2 
[102 kB]
Get:8 http://archive.ubuntu.com/ubuntu resolute/universe amd64 python3-cap-ng 
amd64 0.8.5-4build5 [20.2 kB]
Fetched 441 kB in 0s (28.0 MB/s)
Selecting previously unselected package libaccountsservice0:amd64.
(Reading database ... 68781 files and directories currently installed.)
Preparing to unpack .../0-libaccountsservice0_23.13.9-8ubuntu2_amd64.deb ...
Unpacking libaccountsservice0:amd64 (23.13.9-8ubuntu2) ...
Selecting previously unselected package accountsservice.
Preparing to unpack .../1-accountsservice_23.13.9-8ubuntu2_amd64.deb ...
Unpacking accountsservice (23.13.9-8ubuntu2) ...
Selecting previously unselected package gir1.2-accountsservice-1.0:amd64.
Preparing to unpack .../2-gir1.2-accountsservice-1.0_23.13.9-8ubuntu2_amd64.deb 
...
Unpacking gir1.2-accountsservice-1.0:amd64 (23.13.9-8ubuntu2) ...
Selecting previously unselected package libduktape207:amd64.
Preparing to unpack .../3-libduktape207_2.7.0+tests-0ubuntu4_amd64.deb ...
Unpacking libduktape207:amd64 (2.7.0+tests-0ubuntu4) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../4-sgml-base_1.31+nmu1build1_all.deb ...
Unpacking sgml-base (1.31+nmu1build1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../5-xml-core_0.19build1_all.deb ...
Unpacking xml-core (0.19build1) ...
Selecting previously unselected package polkitd.
Preparing to unpack .../6-polkitd_127-2_amd64.deb ...
Unpacking polkitd (127-2) ...
Selecting previously unselected package python3-cap-ng.
Preparing to unpack .../7-python3-cap-ng_0.8.5-4build5_amd64.deb ...
Unpacking python3-cap-ng (0.8.5-4build5) ...
Setting up python3-cap-ng (0.8.5-4build5) ...
Setting up libduktape207:amd64 (2.7.0+tests-0ubuntu4) ...
Setting up sgml-base (1.31+nmu1build1) ...
Setting up libaccountsservice0:amd64 (23.13.9-8ubuntu2) ...
Setting up accountsservice (23.13.9-8ubuntu2) ...
Created symlink 
'/etc/systemd/system/graphical.target.wants/accounts-daemon.service' → 
'/usr/lib/systemd/system/accounts-daemon.service'.
Setting up gir1.2-accountsservice-1.0:amd64 (23.13.9-8ubuntu2) ...
Setting up xml-core (0.19build1) ...
Processing triggers for libc-bin (2.43-2ubuntu1) ...
Processing triggers for man-db (2.13.1-1build1) ...
Processing triggers for dbus (1.16.2-2ubuntu4) ...
Processing triggers for dbus-broker (37-4) ...
Processing triggers for sgml-base (1.31+nmu1build1) ...
Setting up polkitd (127-2) ...
Created symlink 
'/etc/systemd/system/sockets.target.wants/polkit-agent-helper.socket' → 
'/usr/lib/systemd/system/polkit-agent-helper.socket'.
autopkgtest [19:50:50]: test integration.py: [-----------------------
Adding 'local diversion of /usr/sbin/usermod to /usr/sbin/usermod.distrib'
Adding 'local diversion of /usr/sbin/chpasswd to /usr/sbin/chpasswd.distrib'
test_library_api (__main__.AccountsServiceTest.test_library_api) ... 
/usr/lib/python3/dist-packages/gi/events.py:803: DeprecationWarning: 
'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in 
Python 3.16
  AbstractEventLoopPolicy = getattr(asyncio, "AbstractEventLoopPolicy", object)
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):

  test_library_api (__main__.AccountsServiceTest.test_library_api) [metadata] 
... FAIL
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):
/usr/lib/python3/dist-packages/gi/events.py:890: DeprecationWarning: 
'asyncio.get_event_loop_policy' is deprecated and slated for removal in Python 
3.16
  if not isinstance(_get_event_loop_policy(), GLibEventLoopPolicy):

======================================================================
FAIL: test_library_api (__main__.AccountsServiceTest.test_library_api) 
[metadata]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.Y7CqR5/build.dxP/src/debian/tests/integration.py", 
line 279, in test_library_api
    self.assertEqual(user2.get_language(), 'en_GB.utf8')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'en' != 'en_GB.utf8'
- en
+ en_GB.utf8


----------------------------------------------------------------------
Ran 1 test in 0.449s

FAILED (failures=1)
system: <AccountsService.User object at 0x75f6a74fe900 (ActUser at 0x13425250)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: ''
        home: '/nonexistent'
        icon file: '/nonexistent/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: True
        language: 'en'
        location: ''
        locked: False
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: ''
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: '_apt'
        saved: False
        session type: ''
        session: ''
        shell: '/usr/sbin/nologin'
        uid: 42
        username: '_apt'
        X session: ''
remote: <AccountsService.User object at 0x75f6a74ff940 (ActUser at 0x1343ad30)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: ''
        home: '/home/r-d1523466bff04ad9b699b4801e5323'
        icon file: '/home/r-d1523466bff04ad9b699b4801e5323/.face'
        is loaded: True
        is local account: False
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: ''
        locked: True
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: ''
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: 'Nicholas Angel'
        saved: True
        session type: ''
        session: ''
        shell: '/bin/bash'
        uid: 6729
        username: 'r-d1523466bff04ad9b699b4801e5323'
        X session: ''
new: <AccountsService.User object at 0x75f6a74ffe80 (ActUser at 0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: ''
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: ''
        locked: True
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: ''
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: 'Aaron A. Aaronson'
        saved: True
        session type: ''
        session: ''
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: ''
new: pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', 
pw_passwd='x', pw_uid=1001, pw_gid=1001, pw_gecos='Aaron A. Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
new: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', sp_pwd='!', 
sp_lstchg=20537, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, sp_expire=0, 
sp_flag=0)
modified: <AccountsService.User object at 0x75f6a74ffe80 (ActUser at 
0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: '[email protected]'
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: 'Sandford'
        locked: True
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: ''
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: 'Aaron Aaronson'
        saved: True
        session type: 'wayland'
        session: 'gnome'
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: 'gnome'
modified: pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', 
pw_passwd='x', pw_uid=1001, pw_gid=1001, pw_gecos='Aaron Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
modified: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', sp_pwd='!', 
sp_lstchg=20537, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, sp_expire=0, 
sp_flag=0)
after set passwordless: <AccountsService.User object at 0x75f6a74ffe80 (ActUser 
at 0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: '[email protected]'
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: 'Sandford'
        locked: False
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: ''
        password mode: <UserPasswordMode.NONE: 2>
        primary session ID: None
        real name: 'Aaron Aaronson'
        saved: True
        session type: 'wayland'
        session: 'gnome'
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: 'gnome'
after set passwordless: 
pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', pw_passwd='x', 
pw_uid=1001, pw_gid=1001, pw_gecos='Aaron Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
after set passwordless: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', 
sp_pwd='', sp_lstchg=20537, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, 
sp_expire=0, sp_flag=0)
after setting password: <AccountsService.User object at 0x75f6a74ffe80 (ActUser 
at 0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: '[email protected]'
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: 'Sandford'
        locked: False
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: 'you know the one'
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: 'Aaron Aaronson'
        saved: True
        session type: 'wayland'
        session: 'gnome'
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: 'gnome'
after setting password: 
pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', pw_passwd='x', 
pw_uid=1001, pw_gid=1001, pw_gecos='Aaron Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
after setting password: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', 
sp_pwd='$y$j9T$2.47sed4p4cBmu.vnOQQs0$DdiJ3Y9e2ldDuMM3yi7aFaKxxMSAgiz2RLPA1Rhl/37',
 sp_lstchg=20537, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, sp_expire=0, 
sp_flag=0)
after locking: <AccountsService.User object at 0x75f6a74ffe80 (ActUser at 
0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: '[email protected]'
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: 'Sandford'
        locked: True
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: 'whatever'
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: 'Aaron Aaronson'
        saved: True
        session type: 'wayland'
        session: 'gnome'
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: 'gnome'
after locking: pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', 
pw_passwd='x', pw_uid=1001, pw_gid=1001, pw_gecos='Aaron Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
after locking: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', 
sp_pwd='!$y$j9T$2.47sed4p4cBmu.vnOQQs0$DdiJ3Y9e2ldDuMM3yi7aFaKxxMSAgiz2RLPA1Rhl/37',
 sp_lstchg=20537, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, sp_expire=0, 
sp_flag=0)
after unlocking: <AccountsService.User object at 0x75f6a74ffe80 (ActUser at 
0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: '[email protected]'
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: 'Sandford'
        locked: False
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: 'whatever'
        password mode: <UserPasswordMode.REGULAR: 0>
        primary session ID: None
        real name: 'Aaron Aaronson'
        saved: True
        session type: 'wayland'
        session: 'gnome'
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: 'gnome'
after unlocking: pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', 
pw_passwd='x', pw_uid=1001, pw_gid=1001, pw_gecos='Aaron Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
after unlocking: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', 
sp_pwd='$y$j9T$2.47sed4p4cBmu.vnOQQs0$DdiJ3Y9e2ldDuMM3yi7aFaKxxMSAgiz2RLPA1Rhl/37',
 sp_lstchg=20537, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, sp_expire=0, 
sp_flag=0)
after set-at-login: <AccountsService.User object at 0x75f6a74ffe80 (ActUser at 
0x1342f480)>
        account type: <UserAccountType.STANDARD: 0>
        automatic login: False
        email: '[email protected]'
        home: '/home/l-51a63377f25840deb869508d6c647b'
        icon file: '/home/l-51a63377f25840deb869508d6c647b/.face'
        is loaded: True
        is local account: True
        is logged in anywhere: False
        is logged in: False
        is nonexistent: False
        is system account: False
        language: 'en'
        location: 'Sandford'
        locked: False
        login frequency: 0
        login time: 0
        number of sessions anywhere: 0
        number of sessions: 0
        password hint: ''
        password mode: <UserPasswordMode.SET_AT_LOGIN: 1>
        primary session ID: None
        real name: 'Aaron Aaronson'
        saved: True
        session type: 'wayland'
        session: 'gnome'
        shell: '/bin/bash'
        uid: 1001
        username: 'l-51a63377f25840deb869508d6c647b'
        X session: 'gnome'
after set-at-login: 
pwd.struct_passwd(pw_name='l-51a63377f25840deb869508d6c647b', pw_passwd='x', 
pw_uid=1001, pw_gid=1001, pw_gecos='Aaron Aaronson', 
pw_dir='/home/l-51a63377f25840deb869508d6c647b', pw_shell='/bin/bash')
after set-at-login: Spwd(sp_nam='l-51a63377f25840deb869508d6c647b', sp_pwd='', 
sp_lstchg=0, sp_min=0, sp_max=99999, sp_warn=7, sp_inact=0, sp_expire=0, 
sp_flag=0)
from log: 'invoked usermod: /sbin/usermod -c Aaron A. Aaronson 
l-51a63377f25840deb869508d6c647b\n'
from log: 'loginuid is 4294967295\n'
from log: 'invoked usermod: /usr/sbin/usermod -c Aaron Aaronson -- 
l-51a63377f25840deb869508d6c647b\n'
from log: 'loginuid is 4294967295\n'
from log: 'invoked chpasswd: /usr/sbin/chpasswd -e\n'
from log: 'loginuid is 4294967295\n'
from log: 'invoked usermod: /usr/sbin/usermod -L -- 
l-51a63377f25840deb869508d6c647b\n'
from log: 'loginuid is 4294967295\n'
from log: 'invoked usermod: /usr/sbin/usermod -U -- 
l-51a63377f25840deb869508d6c647b\n'
from log: 'loginuid is 4294967295\n'
autopkgtest [19:50:51]: test integration.py: -----------------------]
autopkgtest [19:50:52]: test integration.py:  - - - - - - - - - - results - - - 
- - - - - - -
integration.py       FAIL non-zero exit status 1
autopkgtest [19:50:52]:  - - - - - - - - - - running shell - - - - - - - - - -

** Affects: accountsservice (Ubuntu)
     Importance: High
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to accountsservice in Ubuntu.
https://bugs.launchpad.net/bugs/2146367

Title:
  autopkgtests integration.py fails in resolute

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


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to