Bug#1038865: accountsservice FTBFS: FAIL: test_languages (__main__.Tests.test_languages)

Adrian Bunk bunk at debian.org
Thu Jun 22 09:47:53 BST 2023


Source: accountsservice
Version: 23.13.9-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=accountsservice&ver=23.13.9-1
(m68k and sh4 are building with nocheck)

...
=================================== 16/18 ====================================
test:         accountsservice:accounts-service+daemon+Tests / Tests.test_languages
start time:   15:06:49
duration:     0.57s
result:       exit status 1
command:      top_srcdir=/<<PKGBUILDDIR>> G_MESSAGES_DEBUG=all GI_TYPELIB_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libaccountsservice top_builddir=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libaccountsservice MALLOC_PERTURB_=218 G_DEBUG=fatal-criticals MOCKLIBC_LD_PRELOAD=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/mocklibc-1.0/src/libmocklibc.so.0.0.0 /usr/bin/python3 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../tests/test-daemon.py Tests.test_languages
----------------------------------- stdout -----------------------------------
(process:2978577): GLib-GIO-DEBUG: 15:06:49.432: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1687360009.656 SetAllowed ["org.freedesktop.accounts.change-own-user-data", "org.freedesktop.accounts.user-administration"]
1687360009.675 GetAll /org/freedesktop/PolicyKit1/Authority org.freedesktop.PolicyKit1.Authority
1687360009.775 CheckAuthorization dbus.Struct((dbus.String('system-bus-name'), dbus.Dictionary({dbus.String('name'): dbus.String(':1.0', variant_level=1)}, signature=dbus.Signature('sv'))), signature=None) "org.freedesktop.accounts.user-administration" {} 0 ""
(process:2978577): GLib-DEBUG: 15:06:49.818: unsetenv() is not thread-safe and should not be used after threads are created
(process:2978577): GLib-DEBUG: 15:06:49.818: unsetenv() is not thread-safe and should not be used after threads are created
(process:2978577): GLib-DEBUG: 15:06:49.818: unsetenv() is not thread-safe and should not be used after threads are created
(process:2978577): GLib-DEBUG: 15:06:49.818: unsetenv() is not thread-safe and should not be used after threads are created
(process:2978577): GLib-DEBUG: 15:06:49.818: unsetenv() is not thread-safe and should not be used after threads are created
Testing binaries from local build tree (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/accounts-daemon)
----------------------------------- stderr -----------------------------------
F
-------------- daemon log: ----------------
** (accounts-daemon:2978611): DEBUG: 15:06:49.667: entering main loop
(accounts-daemon:2978611): GLib-GIO-DEBUG: 15:06:49.669: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
** (accounts-daemon:2978611): DEBUG: 15:06:49.670: Changing permission of /tmp/tmpnnupatsq/var/lib/AccountsService/users/benedict to 0600
** (accounts-daemon:2978611): DEBUG: 15:06:49.670: Changing permission of /tmp/tmpnnupatsq/var/lib/AccountsService/users/rupert to 0600
** (accounts-daemon:2978611): DEBUG: 15:06:49.670: Changing permission of /tmp/tmpnnupatsq/var/lib/AccountsService/users/gdm to 0600
(accounts-daemon:2978611): GLib-GIO-DEBUG: 15:06:49.671: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
** (accounts-daemon:2978611): DEBUG: 15:06:49.671: skipping user: benedict
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: sudo group not found
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: loaded user: rupert
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: skipping user: gdm
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: sudo group not found
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: loaded user: benedict
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: sudo group not found
** (accounts-daemon:2978611): DEBUG: 15:06:49.672: loaded user: gdm
** (accounts-daemon:2978611): DEBUG: 15:06:49.675: failed to load autologin conf file: Unsupported Display Manager
** (accounts-daemon:2978611): DEBUG: 15:06:49.768: user benedict 1000 not excluded
** (accounts-daemon:2978611): DEBUG: 15:06:49.768: user gdm 42 excluded
** (accounts-daemon:2978611): DEBUG: 15:06:49.768: user rupert 1001 not excluded
** (accounts-daemon:2978611): DEBUG: 15:06:49.788: Adding lang 'en_GB.UTF-8' for user benedict to the list (count now 1)
** (accounts-daemon:2978611): DEBUG: 15:06:49.788: Adding lang 'C' for user rupert to the list (count now 1)
------------------------------

======================================================================
FAIL: test_languages (__main__.Tests.test_languages)
test that languages are correctly migrated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../tests/test-daemon.py", line 283, in test_languages
    self.assertEqual(self.proxy.GetUsersLanguages(), ['en_GB.UTF-8', SIMULATED_SYSTEM_LOCALE])
AssertionError: Lists differ: ['C', 'en_GB.UTF-8'] != ['en_GB.UTF-8', 'en_IE.UTF-8']

First differing element 0:
'C'
'en_GB.UTF-8'

- ['C', 'en_GB.UTF-8']
+ ['en_GB.UTF-8', 'en_IE.UTF-8']

----------------------------------------------------------------------
Ran 1 test in 0.395s

FAILED (failures=1)
==============================================================================
...
Summary of Failures:

16/18 accountsservice:accounts-service+daemon+Tests / Tests.test_languages                                                                                                    FAIL            0.57s   exit status 1

Ok:                 17  
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   
dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test returned exit code 1
make: *** [debian/rules:16: build-arch] Error 25



More information about the Pkg-freedesktop-maintainers mailing list