Unable get the current resolution cause max resolution job fail

Bug #1974258 reported by PeiYao Chang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Confirmed
Critical
Sylvain Pineau

Bug Description

[Summary]

graphics/1_maximum_resolution_PCI_ID_0x46a6 test failed

I/O logs:

<string>:1: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '4.0') before import to ensure that the right version gets loaded.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 32, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gdk' object has no attribute 'Screen'
Maximum resolution: 1920x1200
Current resolution: \nPlease switch to the maximum resolution \nfor every graphic tests

[Steps to reproduce]
1. Boot into OS
2. Run "checkbox-cli"
3. Choose "com.canonical.certification::client-cert-desktop-22-04-manual"
4. Run "graphics/1_maximum_resolution_UHD_Graphics_620" job in Graphics set

[Expected result]
Can get current resolution and test pass

[Actual result]
Test failed

[Failure rate]
2/2

[Additional information]
CID: 202112-29802
SKU: TRBA-DVT2-C4
Base Image: dell-bto-jammy-jellyfish-tentacool-X17-20220428-16
Product Name: XPS 13 9320
BIOS Version: 0.2.15
kernel-version: 5.15.0-23-generic

Tags: jammy-test
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.