dbus tests fail with org.freedesktop.DBus.Error.InvalidArgs error
Hello!
I'm trying to build 1.94.2 but can't get tests working in our build env. More interesting, they worked in 1.94.1.
The error is more or less the same:
526/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_no_fingers_while_verifying FAIL 0.44s exit status 1
>>> PAM_WRAPPER=1 PAM_WRAPPER_DEBUGLEVEL=2 G_SLICE=always-malloc TOPSRCDIR=/usr/src/RPM/BUILD/fprintd-1.94.2 TOPBUILDDIR=/usr/src/RPM/BUILD/fprintd-1.94.2/x86_64-alt-linux PAM_WRAPPER_SERVICE_DIR=/usr/src/RPM/BUILD/fprintd-1.94.2/x86_64-alt-linux/tests/pam/services G_DEBUG=fatal-warnings MALLOC_CHECK_=2 MALLOC_PERTURB_=112 LD_PRELOAD=/usr/lib64/gcc/x86_64-alt-linux/11/../../../../lib64/libpam_wrapper.so /usr/bin/python3 /usr/src/RPM/BUILD/fprintd-1.94.2/tests/pam/test_pam_fprintd.py TestPamFprintd.test_pam_fprintd_no_fingers_while_verifying
âââââââââââââââââââââââââââââââââââââ â âââââââââââââââââââââââââââââââââââââ
stdout:
Using template from /usr/src/RPM/BUILD/fprintd-1.94.2/tests/dbusmock-services/fprintd.py
test_pam_fprintd_no_fingers_while_verifying (__main__.TestPamFprintd) ... ERROR
======================================================================
ERROR: test_pam_fprintd_no_fingers_while_verifying (__main__.TestPamFprintd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/RPM/BUILD/fprintd-1.94.2/tests/pam/test_pam_fprintd.py", line 183, in test_pam_fprintd_no_fingers_while_verifying
self.setup_device()
File "/usr/src/RPM/BUILD/fprintd-1.94.2/tests/pam/test_pam_fprintd.py", line 89, in setup_device
device_path = self.obj_fprintd_mock.AddDevice('FDO Trigger Finger Laser Reader', 3, 'swipe')
File "/usr/lib64/python3/site-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
File "/usr/lib64/python3/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.InvalidArgs: Invalid arguments: More items found in D-Bus signature than in Python arguments
----------------------------------------------------------------------
Ran 1 test in 0.299s
FAILED (errors=1)
stderr:
PWRAP_DEBUG[<unknown> (109339)] - pwrap_init: Initialize pam_wrapper
PWRAP_DEBUG[<unknown> (109339)] - copy_confdir: Copy config files from /usr/src/RPM/BUILD/fprintd-1.94.2/x86_64-alt-linux/tests/pam/services to /tmp/pam.u
PWRAP_DEBUG[<unknown> (109339)] - pwrap_init: Successfully initialized pam_wrapper
PWRAP_DEBUG[<unknown> (109341)] - pwrap_init: Initialize pam_wrapper
PWRAP_DEBUG[<unknown> (109341)] - copy_confdir: Copy config files from /usr/src/RPM/BUILD/fprintd-1.94.2/x86_64-alt-linux/tests/pam/services to /tmp/pam.1
PWRAP_DEBUG[<unknown> (109341)] - pwrap_init: Successfully initialized pam_wrapper
PWRAP_DEBUG[<unknown> (109344)] - pwrap_init: Initialize pam_wrapper
PWRAP_DEBUG[<unknown> (109344)] - copy_confdir: Copy config files from /usr/src/RPM/BUILD/fprintd-1.94.2/x86_64-alt-linux/tests/pam/services to /tmp/pam.4
PWRAP_DEBUG[<unknown> (109344)] - pwrap_init: Successfully initialized pam_wrapper
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
I've tried to look into similar errors but can't find anything meaningful, maybe dbus is not running? But I guess it's not needed in mock environment.
Full build log attached.build.log.tmp
Thanks!