Skip to content

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

@baconYao

Description

@baconYao

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 (com.canonical.certification::client-cert-iot-server-22-04-automated)
  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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions