Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera/roundtrip-qrcode doesn't find libmmal.so library #1720

Open
1 task
omar-selo opened this issue Feb 12, 2025 · 1 comment
Open
1 task

camera/roundtrip-qrcode doesn't find libmmal.so library #1720

omar-selo opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@omar-selo
Copy link
Contributor

Bug Description

camera/roundtrip-qrcode job fails because of OSError: libmmal.so: cannot open shared object file: No such file or directory.

Cert-blocker Test Case

  • cert-blocker

To Reproduce

Rerun http://10.102.156.15:8080/job/cert-rpi3aplus-arm64-core22-beta/

Expected Result

The test should've passed.

Actual Result

The test errors out because it can't find a particular library.

Environment

See this submission https://certification.canonical.com/hardware/201907-27199/submission/411144/

Relevant log output

Testing device name: vchiq

Input string: NlGGPCJAtc
Generating QR code...
Displaying on screen
Capture image of screen
Traceback (most recent call last):
  File "/tmp/nest-sb4_fxrb.16427a450e537741fc47ed5c55f4b9235c8cabe69831215cfcd65732683b2462/roundtrip_qr.py", line 128, in <module>
    main()
  File "/tmp/nest-sb4_fxrb.16427a450e537741fc47ed5c55f4b9235c8cabe69831215cfcd65732683b2462/roundtrip_qr.py", line 113, in main
    file = capture_rpi(name)
  File "/tmp/nest-sb4_fxrb.16427a450e537741fc47ed5c55f4b9235c8cabe69831215cfcd65732683b2462/roundtrip_qr.py", line 34, in capture_rpi
    import picamera
  File "/snap/checkbox/12338/checkbox-runtime/lib/python3.10/site-packages/picamera/__init__.py", line 72, in <module>
    from picamera.exc import (
  File "/snap/checkbox/12338/checkbox-runtime/lib/python3.10/site-packages/picamera/exc.py", line 41, in <module>
    import picamera.mmal as mmal
  File "/snap/checkbox/12338/checkbox-runtime/lib/python3.10/site-packages/picamera/mmal.py", line 49, in <module>
    _lib = ct.CDLL('libmmal.so')
  File "/snap/checkbox/12338/checkbox-runtime/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libmmal.so: cannot open shared object file: No such file or directory

Additional context

No response

@omar-selo omar-selo added the bug Something isn't working label Feb 12, 2025
Copy link

Thank you for reporting your feedback to us!

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

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant