No edit summary |
(Added note that test reporting has known issues) |
||
Line 34: | Line 34: | ||
</pre> | </pre> | ||
Look for lines with "'''submit='''" and "'''username='''" and set these settings to "submit=authenticated" and "username=<your FAS login without quotes>".<br> | Look for lines with "'''submit='''" and "'''username='''" and set these settings to "submit=authenticated" and "username=<your FAS login without quotes>".<br> | ||
Optionally, if you use the proprietary Nvidia driver, look for the line "'''thirdparty=y'''" and uncomment it. | Optionally, if you use the proprietary Nvidia driver, look for the line "'''thirdparty=y'''" and uncomment it.<br> | ||
'''Note:''' uploading the results is not working as intended. See bug report on pagure: https://pagure.io/kernel-tests/issue/50. Submitting anonymously should work. | |||
</li> | </li> | ||
</ol> | </ol> |
Revision as of 01:34, 27 May 2024
Description
This test case tests kernel
using the kernel regression test suite. For details about the test suite, see https://fedoraproject.org/wiki/KernelTestingInitiative.
Setup
- Ensure the
gcc
,git
andpython3-fedora
packages are installed. For submission of test results make sure you have the package python3-fedora installed. - Clone the kernel-tests repository:
$ git clone https://pagure.io/kernel-tests.git
- You need
make
,libtirpc
,libtirpc-devel
andpolicycoreutils-python-utils
in order to run the tests, if it is not already installed.$ sudo dnf install make libtirpc libtirpc-devel policycoreutils-python-utils
- Allow testsuite to make their heap memory executable
$ sudo semanage boolean -m --on selinuxuser_execheap
- cd into the kernel-tests directory
$ cd kernel-tests
- Configure automatic submission of the test results and your FAS username:
$ cp config.example .config $ nano .config
Look for lines with "submit=" and "username=" and set these settings to "submit=authenticated" and "username=<your FAS login without quotes>".
Optionally, if you use the proprietary Nvidia driver, look for the line "thirdparty=y" and uncomment it.
Note: uploading the results is not working as intended. See bug report on pagure: https://pagure.io/kernel-tests/issue/50. Submitting anonymously should work.
$ sudo dnf install gcc git python3-fedora
How to test
- Run the default test suite:
$ sudo ./runtests.sh
- Optionally, run the performance test suite:
$ sudo ./runtests.sh -t performance
- Turn SELinux boolean selinuxuser_execheap back to default state.
$ sudo semanage boolean -m --off selinuxuser_execheap
Expected Results
- Both runs of the test suite should result in PASS.