Thread (8 messages) 8 messages, 3 authors, 2024-06-19

Re: [TEST] virtio tests need veth?

From: Matthieu Baerts <matttbe@kernel.org>
Date: 2024-06-18 12:57:31

On 18/06/2024 13:46, Jiri Pirko wrote:
Tue, Jun 18, 2024 at 10:21:54AM CEST, matttbe@kernel.org wrote:
quoted
Hi Jiri,

On 18/06/2024 09:15, Jiri Pirko wrote:
quoted
Tue, Jun 18, 2024 at 08:36:13AM CEST, jiri@resnulli.us wrote:
quoted
Mon, Jun 17, 2024 at 04:26:14PM CEST, kuba@kernel.org wrote:
quoted
Hi Jiri!

I finally hooked up the virtio tests to NIPA.
Looks like they are missing CONFIG options?

https://netdev-3.bots.linux.dev/vmksft-virtio/results/643761/1-basic-features-sh/stdout
Checking that out. Apparently sole config is really missing.
Also, looks like for some reason veth is used instead of virtio_net.
Where do you run this command? Do you have 2 virtio_net interfaces
looped back together on the system?
I guess you have custom
tools/testing/selftests/net/forwarding/forwarding.config.
Can you send it here?
According to the logs from the parent directory [1], the "build/stdout"
file shows that only this config file has been used:

 tools/testing/selftests/drivers/net/virtio_net/config

(see the 'vng -b' command)
quoted
CONFIG_NET_L3_MASTER_DEV=y
CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_NET_VRF=m
CONFIG_BPF_SYSCALL=y
CONFIG_CGROUP_BPF=y
CONFIG_IPV6=y
The "config" file from [1] seems to indicate that all these kconfig are
missing, except the BPF ones.

Note that if you want to check locally, virtme-ng helps to reproduce the
issues reported by the CI, see [2].

[1] https://netdev-3.bots.linux.dev/vmksft-virtio/results/643761/
Hmm, looking here, I see only command outputs. Would be actually good to
see what commands were run to produce those outputs.
I think only the command to launch the VM is missing.

 - In the build logs [1], where we can see 4 commands:
   > TREE CMD: make mrproper
   > TREE CMD: vng -v -b -f
tools/testing/selftests/drivers/net/virtio_net/config
   > TREE CMD: make headers
   > TREE CMD: make -C tools/testing/selftests/drivers/net/virtio_net/

 - In the VM logs [2], we don't see the command to start it. I guess it
is supposed to be closed to what is described in the wiki [3]. At the
end, we see the env vars that are set in the VM.

 - In the test logs [4], we can see the 'make' command at the first line.

I can look at adding the command to start the VM. Do you see anything
else missing?

[1]
https://netdev-3.bots.linux.dev/vmksft-virtio/results/643761/build/stdout
[2]
https://netdev-3.bots.linux.dev/vmksft-virtio/results/643761/vm-start-thr0-0/stdout
[3]
https://github.com/linux-netdev/nipa/wiki/How-to-run-netdev-selftests-CI-style#how-to-run
[4]
https://netdev-3.bots.linux.dev/vmksft-virtio/results/643761/1-basic-features-sh/stdout

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help