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

verify-kernel-log.sh: guard "xrandr" with a short "timeout" #1200

Merged
merged 1 commit into from
May 23, 2024

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented May 23, 2024

xrandr can hang! Who could have known? See evidence in:

Don't wait for CI to timeout and kill the whole script so we don't lose precious logs.

xrandr can hang! Who could have known? See evidence in:

thesofproject/linux#5009 (comment)

Don't wait for CI to timeout and kill the whole script so we don't lose
precious logs.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb marc-hb marked this pull request as ready for review May 23, 2024 05:42
@marc-hb marc-hb requested a review from a team as a code owner May 23, 2024 05:42
Copy link
Contributor

@ujfalusi ujfalusi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, how does it locks up? anything in dmesg?
What else is going to be broken when xrandr hangs? Is it safe to test display audio for example?

@marc-hb
Copy link
Collaborator Author

marc-hb commented May 23, 2024

Thanks for the review!

Hrm, how does it locks up? anything in dmesg?

There was nothing specific to xrandr but there were some i915 and drm errors, see my comments in thesofproject/linux#5009 (comment)

I think they were related.

The main issue is: I had to use ssh to get these logs - because xrandr hung we were deprived of published logs = what this PR will hopefully fix.

What else is going to be broken when xrandr hangs? Is it safe to test display audio for example?

It looks like the rest of the test in that linux PR passed but who knows - exactly why we need logs.

@marc-hb marc-hb merged commit 3fa4a18 into thesofproject:main May 23, 2024
6 of 7 checks passed
@marc-hb marc-hb deleted the timeout-xrandr branch May 23, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants