canonical / checkbox

Checkbox
https://checkbox.readthedocs.io
GNU General Public License v3.0
30 stars 47 forks source link

Import `gi` error on checkbox24 arm #1288

Closed LiaoU3 closed 3 months ago

LiaoU3 commented 3 months ago

Bug Description

The job graphics/{index}_minimumresolution{product_slug} caused python library gi import error. I tried this test on another amd64 desktop 24.04 machine, I did not observe this issue.

Submission: https://certification.canonical.com/hardware/202311-32348/submission/374565/test/204072/result/41628747/

To Reproduce

  1. Run the job graphics/{index}_minimumresolution{product_slug}

Environment

Relevant log output

Traceback (most recent call last):
  File "/tmp/nest-exa88i62.81db9b9ec044f8b8e5d21ff3570f86a5d3e81043b6f239e30951b5c0c9e3a603/resolution_test.py", line 3, in <module>
    import gi
  File "/snap/checkbox24/current/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
    from . import _gi
ImportError: /snap/checkbox24/current/usr/lib/aarch64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer

Additional context

No response

syncronize-issues-to-jira[bot] commented 3 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1465.

This message was autogenerated

Hook25 commented 3 months ago

Is it possible that this is also due to the fact that you are using checkbox24 on 23.10? Can you try to reproduce this on 24.04?

LiaoU3 commented 3 months ago

I can reproduce this issue on 202406-34099 with 23.10 image. https://certification.canonical.com/hardware/202406-34099/submission/376082/

However, it is not reproducible on 24.04 https://certification.canonical.com/hardware/202406-34099/submission/376108/

Hence, this should because of the fact that we test on 23.10 Close this issue.