Add DIAG userspace functional validation testcase #510
Merged
Conversation
Srikanth Muppandam (smuppand)
commented
Jul 13, 2026
Contributor
- Add a new DIAG functional validation testcase for Qualcomm Linux platforms.
- The change introduces reusable DIAG helpers and a System/Logging testcase that validates diag-router, normal and non-real-time diag_mdlog sessions, mask handling, output generation, process cleanup, artifacts, and LAVA-compatible results.
- This is needed to verify that the DIAG userspace stack is available, can capture non-empty logs, and operates safely without disrupting existing DIAG processes.
Add DIAG tool discovery, safe process ownership, diag-router lifecycle handling, normal and non-real-time diag_mdlog validation, mask-aware output checks, cleanup helpers, and tabular result reporting. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add a System/Logging testcase covering DIAG capability discovery, router readiness, normal and non-real-time diag_mdlog capture, mask handling, output validation, artifacts, and LAVA result reporting. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
requested a review
from Bhargav-qcom (bhargav0610)
July 13, 2026 17:09
Contributor
Author
|
Bhargav-qcom (@bhargav0610) FYI, this test needs to be enabled in CI so overlay can validate diag functionality. |
Contributor
ack |
Bhargav-qcom (bhargav0610)
self-requested a review
July 15, 2026 16:15
Bhargav-qcom (bhargav0610)
approved these changes
Jul 15, 2026
Bhargav-qcom (bhargav0610)
merged commit Jul 15, 2026
4fec918
into
qualcomm-linux:main
12 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.