add Weston runtime preflight test and strengthen Weston runtime handling#404
Merged
bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom Apr 16, 2026
Merged
add Weston runtime preflight test and strengthen Weston runtime handling#404bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom
bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom
Conversation
Improve Weston runtime helper logic in lib_display.sh for dynamic Wayland runtime discovery and stricter runtime health validation. Changes include: - add richer Weston runtime snapshots with service, socket, process, runtime user, uid, and runtime directory details - gate runtime health on systemd weston.service and weston.socket state instead of relying only on socket presence - support optional cleanup and relaunch flow for failed Weston runtime - stop stale weston.service and weston.socket and reset failed systemd state before relaunch - log runtime context before and after relaunch attempts - prefer discovered Weston service user runtime directory such as /run/user/<uid> when available - avoid client probing from runtime helpers so preflight remains a pure runtime check Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Add Weston_Runtime_Preflight under Multimedia/Display as a pure Weston and Wayland runtime health gate before client-level tests. The new test: - validates connected display availability - captures DRM and modetest snapshots for debug - validates Weston process, systemd service, socket, and Wayland runtime health - dynamically discovers Wayland runtime paths without hardcoding - supports strict default execution with optional --allow-relaunch recovery mode - keeps EGL diagnostics separate from client rendering validation - documents usage and adds simple YAML coverage for default and relaunch-enabled execution Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Contributor
Author
manasab-qli
approved these changes
Apr 16, 2026
|
Change Looks Good. Approved!! |
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.
Add Weston_Runtime_Preflight under Runner/suites/Multimedia/Display and enhance shared Weston runtime handling in Runner/utils/lib_display.sh.
Job for reference https://lava.infra.foundries.io/scheduler/job/178825