-
Notifications
You must be signed in to change notification settings - Fork 278
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
LTP: Adapt record_info() output to Micro #19983
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
This error is not caused by changes I did:
|
28c5729
to
9021f8e
Compare
It could use |
But that would require to have |
Yes. |
db5e21a
to
c14f2b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use transactional;
appears to be missing at the top of the file which results in compilation failure due to undefined reference to enter/exit_trup_shell()
.
0dff7fa
to
404a9f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create new verification runs, otherwise LGTM.
Missing purge-kernels can be misleading (it's not e.g. on Micro). Let's check again for the binary before running it (as it was before 7af63e2). Signed-off-by: Petr Vorel <[email protected]>
By using enter_trup_shell and exit_trup_shell. Signed-off-by: Petr Vorel <[email protected]>
404a9f8
to
80bee23
Compare
Restarted jobs, some of them already passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
rpm -qi /tmp/kernel-pkg.txt 2>&1 needs to be in trup_shell for valid rpm packages, but also cannot be in trup shell, because then file is created somewhere else. Therefore instead using trup shell use 'transactional-update -c run' (as was in the original proposal os-autoinst#19983). This fixes error in boot_ltp cat: /tmp/ver_linux_before.txt: Fixes: 80bee23 ("LTP: Adapt record_info() output to Micro") Fixes: https://progress.opensuse.org/issues/165731 Reported-by: Petr Cervinka <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
rpm -qi /tmp/kernel-pkg.txt 2>&1 needs to be in trup_shell for valid rpm packages, but also cannot be in trup shell, because then file is created somewhere else. Therefore instead using trup shell use 'transactional-update -c run' (as was in the original proposal os-autoinst#19983). This fixes error in boot_ltp cat: /tmp/ver_linux_before.txt: Also run ver_linux via 'transactional-update -c run' to get updated packages version. Fixes: 80bee23 ("LTP: Adapt record_info() output to Micro") Fixes: https://progress.opensuse.org/issues/165731 Reported-by: Petr Cervinka <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
First, trup shell should be called after the system rebooted into the latest snapshot, it will print wrong versions. Also using 'rpm -qi /tmp/kernel-pkg.txt 2>&1' inside trup shell did failed (on Micro): This fixes error in boot_ltp cat: /tmp/ver_linux_before.txt: Therefore instead using trup shell use 'transactional-update -c run' (as was in the original proposal os-autoinst#19983). Also run ver_linux via 'transactional-update -c run' to get updated packages version. Fixes: 80bee23 ("LTP: Adapt record_info() output to Micro") Fixes: https://progress.opensuse.org/issues/165731 Reported-by: Petr Cervinka <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
Verification run:
kernel-rt
was visible: