containers / containers/netavark
CI: enable sctp testing
- Dominant language
- Rust
- Stars
- 794
- Forks
- 161
- Avg merge
- 8d 17h
- Merged PRs (30d)
- 3
Description
Since the switch to testing farm it seem the kernel there does not have the sctp module preinstalled.
It should be part of `kernel-modules`, however we cannot just install that because the dnf repo may ship a newer version than the booted kernel so a direct install does not work.
```
+ uname -r
7.1.4-202.fc44.x86_64
+ rpm -q aardvark-dns netavark netavark-tests
aardvark-dns-2.0.0-1.20260730125906909950.main.23.g233afe5.fc44.x86_64
netavark-2.0.0-1.20260731150424188956.pr1483.23.g64f67186.fc44.x86_64
netavark-tests-2.0.0-1.20260731150424188956.pr1483.23.g64f67186.fc44.x86_64
++ uname -r
+ dnf install kernel-modules-7.1.4-202.fc44.x86_64
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: kernel-modules-7.1.4-202.fc44.x86_64
You can try to add to command line:
--skip-unavailable to skip unavailable packages
```
Based on the fedora CI discussion the modules will not be included by default so to fix that we must install the latest kernel and modules and then use tmt reboot mechanism in order for the tests to be able to use sctp.
cc @lsm5
Contributor guide
Research direction
Start by locating the Testing Farm CI setup and its tmt test configuration, then review how kernel packages are installed and how tmt handles reboots. Update the setup so the latest kernel and matching modules are available before testing; done means SCTP tests run successfully with the required kernel module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- ci-cd, operating-systems, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100