Screen will not lock when run com.canonical.certification::fingerprint/unlock

Bug #1980475 reported by Kent Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Pierre Equoy

Bug Description

[Summary]
Screen will not lock when run com.canonical.certification::fingerprint/unlock
[Steps to reproduce]
Run all Finger print tests in com.canonical.certification::client-cert-desktop-22-04-manual

[Expected result]
Screen will lock after press "Enter" per test instruction

[Actual result]
Screen will not lock. Nothing happen.

[Failure rate]
100%

[Additional information]
CID:202112-29802
SKU: TRBA-DVT2-C4
Image: canonical-oem-somerville-jammy-amd64-20220425-25+jellyfish-tentacool+X19
system-manufacturer: Dell Inc.
system-product-name: XPS 9320
bios-version: 1.3.0
CPU: 12th Gen Intel(R) Core(TM) i7-1280P (20x)
GPU: 0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:46a6] (rev 08)
kernel-version: 5.15.0-36-generic

[Stage]
Issue reported and logs collected right after it happened

Revision history for this message
Kent Lin (kent-jclin) wrote :

Automatically attached

Changed in plainbox-provider-checkbox:
importance: Undecided → High
Revision history for this message
Kent Lin (kent-jclin) wrote :

Automatically attached

Revision history for this message
Kent Lin (kent-jclin) wrote :

Automatically attached

Revision history for this message
Kent Lin (kent-jclin) wrote :

Automatically attached

Changed in plainbox-provider-checkbox:
assignee: nobody → Pierre Equoy (pieq)
tags: added: jammy-test
Revision history for this message
Pierre Equoy (pieq) wrote :

I could not find anything related to fingerprint in the session you attached (comment #1).

The fingerprint/unlock job [1] runs the following python code:

  from evdev import UInput, ecodes as e
  ui = UInput()
  ui.write(e.EV_KEY, e.KEY_LEFTMETA, 1)
  ui.write(e.EV_KEY, e.KEY_L, 1)
  ui.write(e.EV_KEY, e.KEY_LEFTMETA, 0)
  ui.write(e.EV_KEY, e.KEY_L, 0)
  ui.syn()
  ui.close()

It simply triggers the keyboard shortcut to lock the screen (Super+L).

Unfortunately, this way of doing things does not work on Wayland. We need to update the code to find a way to lock the screen on Wayland.

Workaround: In the meantime, you can just lock the screen manually by pressing Super+L ("Super" = the Windows key).

[1] https://git.launchpad.net/plainbox-provider-checkbox/tree/units/fingerprint/jobs.pxu#n86

Changed in plainbox-provider-checkbox:
status: New → Confirmed
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
milestone: none → 0.66.0
status: Confirmed → In Progress
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
Weichen Wu (weichenwu) wrote :

test on ACS4P-DVT1-C2 with newest version, screen can successfully lock by running the test job

$checkbox-cli run com.canonical.certification::fingerprint/unlock

tags: added: cqa-verified
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
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.