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

RTC operation not permitted causes suspend/suspend_advanced_auto failed sometime #1211

Open
baconYao opened this issue Apr 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@baconYao
Copy link
Contributor

baconYao commented Apr 26, 2024

Bug Description

I found the suspend failed sometimes because of "rtcwake: /dev/rtc0: unable to find device: Operation not permitted".

This problem was observed before, See Checkbox issue: #857

At that moment, This problem could reproduced easily on G700 UC22 image. And there was a PR to fix this issue: #979

However, I can still run into this problem sometime, not 100% on G1200-evk

[Failure Rate]
60% (3/5)

[Test Submissions]

To Reproduce

  1. Install checkbox22 via command $ sudo snap install checkbox22 --beta
  2. Install checkbox via command $ sudo snap install checkbox --channel="uc22/beta" --devmode
  3. Install bluez via command $ sudo snap install bluez
  4. Connect checkbox and bluez via command $sudo snap connect checkbox:bluez bluez:service
  5. Reboot DUT and make sure there's no connection such as SSH, serial console to it.
  6. Start testing via Checkbox Control on Host $ checkbox.checkbox-cli control
  7. Choose IoT Client Certification for 22.04 classic images (Automated Tests) test plan
  8. Choose bluetooth/detect-output and suspend/suspend_advanced_auto jobs
  9. Execute testing

Environment

Image: Ubuntucore
Checkbox: Snap
Version:

ceqa@ubuntu:~$ snap list
Name Version Rev Tracking Publisher Notes
bluez 5.64-5 368 22/stable canonical✓ -
checkbox-baoshan 0.5dev-jammy 128 latest/edge ce-certification-qa devmode
checkbox-ce-oem 1.0-jammy 209 latest/edge ce-certification-qa devmode
checkbox22 4.0.0-dev226 886 latest/beta ce-certification-qa -

CID: 202307-31864, 202307-31859
Image: genio-core-22-20240418-101.img
kernel-version: 5.15.0-1030-mtk
dtbo: display-dsilvds.dtbo

Relevant log output

No response

Additional context

No response

@baconYao baconYao added the bug Something isn't working label Apr 26, 2024
Copy link

Thank you for reporting us your feedback!

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

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