Skip to content

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

Merged
marc-hb merged 1 commit into
thesofproject:mainfrom
marc-hb:timeout-xrandr
May 23, 2024
Merged

marc-hb merged 1 commit into
thesofproject:mainfrom
marc-hb:timeout-xrandr

Conversation

@marc-hb

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

Copy link
Copy Markdown
Collaborator

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 <marc.herbert@intel.com>
@marc-hb
marc-hb requested review from kv2019i, plbossart and ujfalusi May 23, 2024 05:35
@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

@ujfalusi ujfalusi left a comment

Copy link
Copy Markdown
Contributor

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

marc-hb commented May 23, 2024

Copy link
Copy Markdown
Collaborator Author

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
@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