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

Install kernel-devel package in install_ltp #8819

Merged
merged 1 commit into from Nov 19, 2019

Conversation

mdoucha
Copy link
Contributor

@mdoucha mdoucha commented Oct 31, 2019

The KLP test requires kernel-devel package to work. Install it together with kernel in install_ltp job to prevent KLP test from failing due to cleared incident repository. KOTD tests in particular are prone to failing because their incident repo gets cleared more than once a day.

(This will take a while because there are currently no incident repos for some verification runs.)

The KLP test requires kernel-devel package to work. Install it together
with kernel in install_ltp job to prevent KLP test from failing due to cleared
incident repository. KOTD tests in particular are prone to failing because
their incident repo gets cleared more than once a day.
@pevik
Copy link
Contributor

pevik commented Nov 7, 2019

LGTM. It might be needed also in install_ltp in case of git installation (well, that installation is now sort of deprecated).

@mdoucha mdoucha changed the title [WIP] Install kernel-devel package in install_ltp Install kernel-devel package in install_ltp Nov 18, 2019
@mdoucha
Copy link
Contributor Author

mdoucha commented Nov 18, 2019

All verification runs passed, this PR is ready for merge.

@jlausuch jlausuch merged commit 15ce9dc into os-autoinst:master Nov 19, 2019
@mdoucha mdoucha deleted the klp_preinstall_dev branch November 19, 2019 11:11
@pevik
Copy link
Contributor

pevik commented Nov 19, 2019

Unfortunately this breaks tests:
http://quasar.suse.cz/tests/4028 which don't take install_ltp as kernel-devel isn't installed, see:
http://quasar.suse.cz/tests/4028/file/serial_terminal.txt

It might be possible to install, but it's difficult to find the version:

$ uname -r
4.12.14-197.21-default

$ uname -r | sed 's/-default//'
4.12.14-197.21

$ zypper se -s kernel-default-devel |grep $(uname -r | sed 's/-default//') | awk '{print $6}'
4.12.14-197.21.1

So, not sure how to fix it.

@pevik
Copy link
Contributor

pevik commented Nov 19, 2019

OK, maybe this could work
rpm -qf /boot/config-$(uname -r) | sed 's/-default-/-default-devel-/'

@mdoucha
Copy link
Contributor Author

mdoucha commented Nov 19, 2019

Unfortunately this breaks tests:
http://quasar.suse.cz/tests/4028 which don't take install_ltp as kernel-devel isn't installed, see:
http://quasar.suse.cz/tests/4028/file/serial_terminal.txt

Where did the disk image for that test come from?

@pevik
Copy link
Contributor

pevik commented Nov 19, 2019

OK, resolved with mdoucha as temporary issue (image was created before merge so kernel-devel isn't installed. Will be fixed for next KOTD, that one will install kernel devel together with LTP).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants