Skip to content

RTC_Validation: dmesg scan matches drm_crtc_* and fails the test #721

Description

RTC_Validation fails when the kernel prints a DRM warning whose function name contains drm_crtc_, although every RTC check passes.

Details

Runner/suites/Kernel/Baseport/RTC_Validation/run.sh passes 'rtc[-_0-9 ]|qpnp_rtc|pmic.*rtc|qcom.*rtc' as the module pattern to scan_dmesg_errors. kernel_log_filter_faults matches it anywhere in a fault header, so the rtc_ inside drm_crtc_wait_one_vblank counts as an RTC error:

[PASS] RTC time-read and progression validation passed, reason=rtc-time-progressed
[SKIP] RTC wake-alarm validation is unavailable, reason=wake-alarm-ioctl-unavailable
[PASS] RTC time-set and restoration validation passed
[dmesg] WARNING: drivers/gpu/drm/drm_vblank.c:1329 at drm_crtc_wait_one_vblank+0x198/0x228 [drm], CPU#6: kworker/6:3/184
[FAIL] RTC-related kernel errors were detected
[FAIL] RTC_Validation FAIL: passed=2 failed=1 skipped=1

Seen on Purwa IoT EVK with qcom-next 7.4.0-rc3 and testkit-2026.11.22, LAVA jobs https://lava.infra.foundries.io/scheduler/job/626547 and https://lava.infra.foundries.io/scheduler/job/626553. The DRM warning itself is qualcomm-linux/kernel#1583.

Suggested fix

Keep DRM CRTC lines out of the scan, e.g. add drm_crtc_ to the exclude pattern (the third argument of scan_dmesg_errors).

Activity

  1. smuppand commented on Nov 29, 2026

    @smuppand
    Contributor

    Thanks Christopher Obbard (@obbardc). We validated the fix in #722 (37c14fee812a) on Purwa using the same Debian Forky image build, 45989101207-1, as the reported job 626547.

    Please refer to job 633875. RTC_Validation now reports PASS (passed=3 failed=0 skipped=1). The wake-alarm check remains SKIP because the wake-alarm ioctl is unavailable.

    Once #722 is reviewed and merged, we can create a new Testkit tag if needed.

  2. obbardc commented on Dec 1, 2026

    @obbardc
    Author

    Bhargav-qcom (@bhargav0610) thanks for solving this so quickly; for testing we pin to commits, so we can wait for the regular testkit tag :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions