fprintd ftbfs in the jammy release pocket

Bug #1976256 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fprintd (Debian)
Fix Released
Unknown
fprintd (Ubuntu)
Fix Committed
High
Marco Trevisan (Treviño)
Jammy
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

fprintd tests do not pass with current jammy release pocket

[ Test case ]

Rebuild the new package, it should be compiled and tested

[ Regression potential ]

None, the fix only affects the test suite and implies no code changes.

=====

as seen in a test rebuild, this package fails to build in the jammy release pocket (note the log behind the link might go away):

https://launchpadlibrarian.net/604216188/buildlog_ubuntu-jammy-amd64.fprintd_1.94.2-1_BUILDING.txt.gz

[...]

======================================================================
ERROR: test_pam_timeout (__main__.TestPamFprintd)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/pam/test_pam_fprintd.py", line 327, in test_pam_timeout
    self.setup_device()
  File "/<<PKGBUILDDIR>>/tests/pam/test_pam_fprintd.py", line 85, in setup_device
    device_path = self.obj_fprintd_mock.AddDevice('FDO Trigger Finger Laser Reader', 3, 'swipe')
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-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.251s

FAILED (errors=1)
stderr:
PWRAP_DEBUG[<unknown> (19455)] - pwrap_init: Initialize pam_wrapper
PWRAP_DEBUG[<unknown> (19455)] - copy_confdir: Copy config files from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/pam/services to /tmp/pam.q
PWRAP_DEBUG[<unknown> (19455)] - pwrap_init: Successfully initialized pam_wrapper
PWRAP_DEBUG[<unknown> (19457)] - pwrap_init: Initialize pam_wrapper
PWRAP_DEBUG[<unknown> (19457)] - copy_confdir: Copy config files from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/pam/services to /tmp/pam.s
PWRAP_DEBUG[<unknown> (19457)] - pwrap_init: Successfully initialized pam_wrapper
PWRAP_DEBUG[<unknown> (19460)] - pwrap_init: Initialize pam_wrapper
PWRAP_DEBUG[<unknown> (19460)] - copy_confdir: Copy config files from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/pam/services to /tmp/pam.0
PWRAP_DEBUG[<unknown> (19460)] - pwrap_init: Successfully initialized pam_wrapper
------------------------------------------------------------------------------

531/531 fprintd:dist / check-translations OK 0.17s
08:35:21 G_SLICE=always-malloc MALLOC_CHECK_=2 MALLOC_PERTURB_=96 /<<PKGBUILDDIR>>/po/check-translations.sh
----------------------------------- output -----------------------------------
------------------------------------------------------------------------------

Summary of Failures:

496/531 fprintd:+test_fprintd_utils+TestFprintdUtils / TestFprintdUtils.test_fprintd_delete FAIL 0.33s exit status 1
498/531 fprintd:+test_fprintd_utils+TestFprintdUtils / TestFprintdUtils.test_fprintd_enroll FAIL 0.33s exit status 1
499/531 fprintd:+test_fprintd_utils+TestFprintdUtils / TestFprintdUtils.test_fprintd_list FAIL 0.31s exit status 1
504/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_list_all_fingers FAIL 0.31s exit status 1
505/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_multiple_verify_fails FAIL 0.32s exit status 1
506/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify FAIL 0.31s exit status 1
507/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify_any_finger_identification FAIL 0.31s exit status 1
508/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify_any_finger_no_identification FAIL 0.32s exit status 1
510/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify_enrolled_fingers FAIL 0.33s exit status 1
511/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify_no_enrolled_fingers FAIL 0.32s exit status 1
512/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify_not_enrolled_fingers FAIL 0.32s exit status 1
513/531 fprintd:+test_fprintd_utils+TestFprintdUtilsVerify / TestFprintdUtilsVerify.test_fprintd_verify_script FAIL 0.32s exit status 1
514/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_already_claimed FAIL 0.32s exit status 1
515/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_auth FAIL 0.31s exit status 1
516/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_blocks_unexpected_auth FAIL 0.31s exit status 1
517/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_blocks_unexpected_auth2 FAIL 0.32s exit status 1
518/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_dual_reader_auth FAIL 0.31s exit status 1
519/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_failed_auth FAIL 0.31s exit status 1
520/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_identify_error FAIL 0.31s exit status 1
521/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_identify_error2 FAIL 0.32s exit status 1
522/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_identify_error3 FAIL 0.31s exit status 1
523/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_last_try_auth FAIL 0.31s exit status 1
524/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_multi_reader_not_all_enrolled FAIL 0.31s exit status 1
525/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_no_fingers FAIL 0.32s exit status 1
526/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_no_fingers_while_verifying FAIL 0.31s exit status 1
527/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_fprintd_retry FAIL 0.31s exit status 1
529/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_notices_fprintd_disappearing FAIL 0.31s exit status 1
530/531 fprintd:PAM+test_pam_fprintd+TestPamFprintd / TestPamFprintd.test_pam_timeout FAIL 0.31s exit status 1

Ok: 503
Expected Fail: 0
Fail: 28
Unexpected Pass: 0
Skipped: 0
Timeout: 0

Matthias Klose (doko)
tags: added: ftbfs rls-jj-incoming
Changed in fprintd (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → High
status: New → Triaged
Changed in fprintd (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
tags: added: dt-376
Jeremy Bícha (jbicha)
Changed in fprintd (Ubuntu):
status: Triaged → Fix Committed
Changed in fprintd (Debian):
status: Unknown → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

There is a NMU uploaded to Debian which is probably why Jeremy marked it as fix commited

tags: removed: rls-jj-incoming
Changed in fprintd (Debian):
status: Confirmed → Fix Released
Changed in fprintd (Ubuntu Jammy):
status: Triaged → In Progress
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted fprintd into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/fprintd/1.94.2-1ubuntu0.22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in fprintd (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Andy Chi (andch) wrote :

Cloned from https://code.launchpad.net/ubuntu/+source/fprintd and checkout branch to ubuntu/jammy-devel. Using pbuilder to build this package and every thing works fine on version 1.94.2-1ubuntu0.22.04.1.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fprintd - 1.94.2-1ubuntu0.22.04.1

---------------
fprintd (1.94.2-1ubuntu0.22.04.1) jammy; urgency=medium

  * debian: Update references to jammy branching
  * debian/patches: Fix build issue with newer dbusmock (LP: #1976256)

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 15 Jul 2022 23:35:23 +0200

Changed in fprintd (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for fprintd has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.