Netdev List
 help / color / mirror / Atom feed
* [ANN] Containers to run Netdev CI tests locally
@ 2026-09-03 16:19 Matthieu Baerts
  2026-09-04  6:59 ` Hangbin Liu
  2026-09-04 14:01 ` Ilya Maximets
  0 siblings, 2 replies; 10+ messages in thread
From: Matthieu Baerts @ 2026-09-03 16:19 UTC (permalink / raw)
  To: Netdev

Hello,

TL;DR: containers are now available with all dependencies to easily
execute all static, unit, and functional tests in an environment closed
to the Netdev CI one:

- https://github.com/orgs/linux-netdev/packages

- https://github.com/linux-netdev/nipa/wiki/Running-Netdev-CI-tests-locally


                             -- ** -- ** --

As already mentioned on this list, and repeated at the last Netdev Conf,
developers are expected to validate the same tests as the ones executed
by the Netdev CI before any submissions. This includes all static, unit
and functional tests linked to the net subsystem -- and impacted by the
modifications --, but also LLM reviews. The goal is to reduce the number
of revisions and general traffic on this mailing list, not to overload
maintainers and reviewers even more.

A wiki page has been added to cover this and explain how to validate the
different tests:

  https://github.com/linux-netdev/nipa/wiki/Running-Netdev-CI-tests-locally

To help developers, containers are now built, packing all the required
dependencies to run these tests in order to run the tests in an
environment that would be as close as possible to the CI one. The goal
is to have an environment that is easy to maintain -- no heavy
optimisations to reduce the images size -- but also easy to use. In
short, people (and non-humans) can continue to use the different tools
as before, but add a prefix to the different commands to execute them
from a container, e.g.

  alias run="${nipa}/docker/selftests/run.sh"
  run vng --build
  run make headers
  (...)


Feedback on this is welcome. Do not hesitate to report issues on the
GitHub project (or here) and share fixes!

Note: currently only 'docker' is supported, but 'podman' can be used,
and plain 'chroot' as well, see the wiki. Patches are welcome!

Also, the following page has been modified to include more tips, visual
improvements, and references to the new containers:


https://github.com/linux-netdev/nipa/wiki/How-to-run-netdev-selftests-CI-style

Cheers,
Matt
--
For the Netdev Foundation

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-09-04 17:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 16:19 [ANN] Containers to run Netdev CI tests locally Matthieu Baerts
2026-09-04  6:59 ` Hangbin Liu
2026-09-04  8:33   ` Matthieu Baerts
2026-09-04 11:44     ` Hangbin Liu
2026-09-04 17:29       ` Matthieu Baerts
2026-09-04 14:01 ` Ilya Maximets
2026-09-04 14:54   ` Matthieu Baerts
2026-09-04 15:25     ` Ilya Maximets
2026-09-04 16:17       ` Matthieu Baerts
2026-09-04 16:37         ` Ilya Maximets

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox