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-boot-log.sh hotfix: do not override EXIT handler! #1189

Merged
merged 1 commit into from
May 7, 2024

Conversation

marc-hb
Copy link
Collaborator

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

Fixes commit 7c2ede0 ("Explicitly invoke start_test() in every test-case/*.sh") which already did the TODO but without removing _start_test(). We want one or the other, not a strange and unpredictable mix of both!

A future commit will actually replace start_test().

Fixes commit 7c2ede0 ("Explicitly invoke start_test() in every
test-case/*.sh") which already did the TODO but _without_ removing
_start_test(). We want one or the other, not a strange and unpredictable
mix of both!

A future commit will actually replace `start_test()`.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented May 6, 2024

Among others, this gets rid of this error message in the test running immediately after verify-kernel-boot-log.sh:

https://sof-ci.01.org/linuxpr/PR4977/build2732/devicetest/index.html?model=LNLM_RVP_NOCODEC&testcase=verify-kernel-module-load-probe

framework load: ssh  [email protected]  'nohup bash -c "TPLG=/lib/firmware/intel/development/sof-lnl-nocodec.tplg MODEL=LNLM_RVP_NOCODEC SOF_TEST_INTERVAL=5 ~/sof-test/test-case/verify-kernel-module-load-probe.sh 2>&1 | nc -N 10.54.29.142 50169" >/dev/null &'
====================
framework run: 'netcat -l -k 50169'
====================
ln: failed to create hard link '/tmp/sof-test-card0.lock': File exists
2024-05-06 20:36:27 UTC [REMOTE_ERROR] ktime=183 sof-test PID=1860: /tmp/sof-test-card0.lock 
                       already taken by PID 1619! Stealing it...
2024-05-06 20:36:27 UTC [REMOTE_INFO] ktime=183 sof-test PID=1860: starting

@marc-hb marc-hb marked this pull request as ready for review May 6, 2024 22:17
@marc-hb marc-hb requested a review from a team as a code owner May 6, 2024 22:17
@marc-hb
Copy link
Collaborator Author

marc-hb commented May 7, 2024

@marc-hb
Copy link
Collaborator Author

marc-hb commented May 7, 2024

Much worse, WITHOUT this hotfix, all kernel logs in verify-kernel-boot-log are MISSING!

https://sof-ci.01.org/linuxpr/PR4977/build2732/devicetest/index.html?model=LNLM_RVP_NOCODEC&testcase=verify-kernel-boot-log

@marc-hb marc-hb added type:bug Something doesn't work as expected P1 Blocker bugs or important features P0 urgent Call for attention for urgent issues labels May 7, 2024
Copy link

@ssavati ssavati left a comment

Choose a reason for hiding this comment

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

Look Good.

@marc-hb marc-hb merged commit 8ab2af8 into thesofproject:main May 7, 2024
3 checks passed
@marc-hb marc-hb deleted the boot-log-hotfix branch May 7, 2024 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 urgent Call for attention for urgent issues P1 Blocker bugs or important features type:bug Something doesn't work as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants