Skip to content

verify-sof-firmware-load: fix dmesg.txt collection + better logs + fix -help - #873

Merged
marc-hb merged 2 commits into
thesofproject:mainfrom
marc-hb:fix-empty-dmesg-in-verify-load
Mar 3, 2022
Merged

verify-sof-firmware-load: fix dmesg.txt collection + better logs + fix -help#873
marc-hb merged 2 commits into
thesofproject:mainfrom
marc-hb:fix-empty-dmesg-in-verify-load

Conversation

@marc-hb

Copy link
Copy Markdown
Collaborator

2 commits

Both ktimes and wallclock timestamps are useful but using sometimes the former
and other times the latter can make troubleshooting failures more
difficult. In this case print both. It is especially useful here
considering this test PASSes after unloading the driver.
Also update the -help message that was out of date with recent changes
and move logs after journalctl status in case of failure.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hbmarc-hb changed the title verify-sof-firmware-load: fix dmesg.txt collection in case of failure + better logsverify-sof-firmware-load: fix dmesg.txt collection in case of failure + better logs + fixed -helpMar 1, 2022
setup_kernel_check_point() was causing the collected dmesg.txt to be
empty. Replace it with disable_kernel_check_point(). This test makes
sense only immediately after boot so for sure we want the full logs
since boot.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hbmarc-hb changed the title verify-sof-firmware-load: fix dmesg.txt collection in case of failure + better logs + fixed -helpverify-sof-firmware-load: fix dmesg.txt collection + better logs + fixed -helpMar 1, 2022
@marc-hbmarc-hb changed the title verify-sof-firmware-load: fix dmesg.txt collection + better logs + fixed -helpverify-sof-firmware-load: fix dmesg.txt collection + better logs + fix -helpMar 1, 2022
@marc-hb
marc-hbforce-pushed the fix-empty-dmesg-in-verify-load branch from 46084a8 to 5fabfdaCompareMarch 2, 2022 03:07
@marc-hb

Copy link
Copy Markdown
CollaboratorAuthor

@marc-hb
marc-hb marked this pull request as ready for review March 2, 2022 03:11
@marc-hb
marc-hb requested a review from a team as a code ownerMarch 2, 2022 03:11
@marc-hb

Copy link
Copy Markdown
CollaboratorAuthor

Thanks @greg-intel

All failures in https://sof-ci.01.org/softestpr/PR873/build1001/devicetest/ happened in other tests than this one. dmesg.txt is now collected successfully.

@marc-hb
marc-hb merged commit 464a6fc into thesofproject:mainMar 3, 2022
@marc-hb
marc-hb deleted the fix-empty-dmesg-in-verify-load branch March 3, 2022 01:07
Sign up for freeto 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

@marc-hb@greg-intel