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

Missing kernel module netdevsim #10134

Open
3 of 14 tasks
thediveo opened this issue Jun 27, 2024 · 1 comment
Open
3 of 14 tasks

Missing kernel module netdevsim #10134

thediveo opened this issue Jun 27, 2024 · 1 comment

Comments

@thediveo
Copy link

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:

  • netdevsim
  • ptp_mock
  • psample

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

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
Copy link
Contributor

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

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

No branches or pull requests

3 participants