actions / runner-images

GitHub Actions runner images
MIT License
9.4k stars 2.91k forks source link

Missing kernel module netdevsim #10134

Open thediveo opened 1 week ago

thediveo commented 1 week ago

Description

The netdevsim kernel module simulates network devices. In contrast to the so-called dummy kind network interfaces, netdevsims are actually virtual devices and not just network interfaces. Kernel netdevsim goes back a long time, before 5.0 IIRC. netdevsim allows testing network interface testing with multiple queues, tc/XDP BPF and limited SR-IOV API aspects, but also PTP devices, without the need for a real physical HW NIC. netdevsims support aspects, dummy network interfaces do not.

In order to run tests relying on netdevsim being available and loadable, please consider adding the following kernel modules to Github runners:

Platforms affected

Runner images affected

Image version and build link

Runner Image Image: ubuntu-22.04 Version: 20240624.1.0 Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240624.1/images/ubuntu/Ubuntu2204-Readme.md Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240624.1

Is it regression?

no

Expected behavior

modprobe netdevsim succeeds

Actual behavior

modprobe: FATAL: Module netdevsim not found in directory /lib/modules/6.5.0-1022-azure

Repro steps

Have a Github action step:

      - name: netdevsim kmodule
        run: sudo modprobe netdevsim
ijunaidm commented 1 week ago

Hi @thediveo, Thank you for bringing this issue to us, we are investigating on this issue and will update you after our findings.