Re: [PATCH v1 01/11] selftests: forwarding: custom_multipath_hash.sh: add cleanup for SIGTERM sent by timeout
From: Ido Schimmel
Date: Mon Jul 24 2023 - 10:45:59 EST
On Sun, Jul 23, 2023 at 11:37:46PM +0200, Mirsad Todorovac wrote:
> Some tests however exited with error:
>
> marvin@defiant:~/linux/kernel/linux_torvalds$ grep "not ok" ../kselftest-6.5-rc2-net-forwarding-11.log
> not ok 3 selftests: net/forwarding: bridge_mdb.sh # exit=1
> not ok 5 selftests: net/forwarding: bridge_mdb_max.sh # exit=1
> not ok 11 selftests: net/forwarding: bridge_vlan_mcast.sh # exit=1
I can't reproduce these three.
Do you have systemd-networkd running? If so, by default it tries to
take over interfaces unless you tell it not to. For example, on my
system I have:
$ cat /etc/systemd/network/10-ignore.link
[Match]
OriginalName=*
[Link]
MACAddressPolicy=none
This tells systemd not to assign a persistent MAC address on virtual
interfaces.
And (redacted):
$ cat /etc/systemd/network/80-dhcp.network
[Match]
...
This tells systemd to only manage the interfaces matching the match
criteria and ignore the rest.
> not ok 15 selftests: net/forwarding: ethtool_extended_state.sh # exit=1
> not ok 17 selftests: net/forwarding: ethtool.sh # exit=1
> not ok 25 selftests: net/forwarding: hw_stats_l3_gre.sh # exit=1
Fixed these three.
> not ok 26 selftests: net/forwarding: ip6_forward_instats_vrf.sh # exit=1
Fixed.
> not ok 80 selftests: net/forwarding: tc_actions.sh # exit=1
> not ok 83 selftests: net/forwarding: tc_flower.sh # exit=1
> not ok 84 selftests: net/forwarding: tc_flower_l2_miss.sh # exit=1
> not ok 89 selftests: net/forwarding: tc_tunnel_key.sh # exit=1
Can't reproduce these.
Pushed the fixes on top of the fixes from yesterday:
https://github.com/idosch/linux/commits/submit/sefltests_fix_v1