English
Kernel Test Days
Author Name <giardia@fedoraproject.org> 2019-04-08
During *Kernel Test Days*, contributors are asked to run a _Kernel Regression Test_ which will help to detect and troubleshoot any issue with a new kernel version, before wider usage. It consist in running a series of tests provided by the https://pagure.io/kernel-tests[Kernel Test Suite]
The main goal of a Kernel Test Day is to test a new kernel on many different machines as possible, so every new Kernel Test Day is announced some days in advance with a https://fedoramagazine.org/[fedoramagazine] post.
What to do during Kernel Test Days
The first thing to do is to get the right kernel version to test. There are different ways to get the kernel and test it:
Using a test day image
During test days a dedicated wiki page will provide a link to download a *test day image* which is a live distro of Fedora with the kernel version to test already in it. The test day image also contain the _test suite_, aka the scripts to test the kernel on your machine. The downloaded .iso file must then be written in a bootable USB stick.
Check https://docs.fedoraproject.org/en-US/quick-docs/creating-and-using-a-live-installation-image/#proc_creating-and-using-live-usb[this guide] for creating a bootable USB stick.
You can then boot the live image and run the tests without worries of messing up with your OS.
Using a Virtual Machine
You can also install the required kernel version on a Virtual Machine running an up to date Fedora release and do the test in the VM. In this case you can just add https://copr.fedorainfracloud.org/coprs/jforbes/kernel-stabilization/[this] *Copr repository* on the Fedora distro running in your VM.
Once you added the repository,install the kernel to test:
sudo dnf upgrade && sudo dnf install kernel-5.0.0-200.fc29.x86_64
In the example above we install kernel-5.0.0-200 on fedora 29 with 64 bit architecture.
Reboot and you are ready to test.
Using Koji
During kernel test days, the dedicated wiki page will provide a link to download the newly built kernel version to test, directly from koji builds. This is recommended for secure boot users.
*Disclaimer*: You could also install and test the new kernel on your Workstation/Server installation, on a bare metal machine, but make sure you have no important data on that installation, things might go wrong -- don't do this on your production machine!
Lets prepare for testing (and earn a new Fedora Badge!)