Thread (10 messages) flat view 10 messages, 3 authors, 1d ago

Re: [ANN] Containers to run Netdev CI tests locally

From: Ilya Maximets <i.maximets@ovn.org>
Date: 2026-09-04 14:01:43

On 9/3/26 6:19 PM, Matthieu Baerts wrote:
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
  (...)
The headers are not used unless the USERCFLAGS="-I$(pwd)/usr/include" is
passed into the actual make command for the selftests.  So, uAPI changes
will not be picked up.  Would be good to fix that in the wiki.

The $(pwd) part is a little tricky since it will be resolved outside of
the container.  I didn't try if that works.

Best regards, Ilya Maximets.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help