APPLIED[Unstable]: [F/G/H/Unstable][SRU][PATCH 0/1] selftests: test_vxlan_under_vrf: mute unnecessary error message

Andrea Righi andrea.righi at canonical.com
Fri Dec 18 07:24:51 UTC 2020


On Wed, Dec 16, 2020 at 12:22:02PM +0800, Po-Hsu Lin wrote:
> [Impact]
> The cleanup function in the selftests/net/test_vxlan_under_vrf.sh
> script that tries to delete hv-1 / hv-2 and vm-1 / vm-2 netns will
> generate some unnecessary error messages:
> 
> Cannot remove namespace file "/run/netns/hv-2": No such file or directory
> Cannot remove namespace file "/run/netns/vm-1": No such file or directory
> Cannot remove namespace file "/run/netns/vm-2": No such file or directory
> 
> Redirect it to /dev/null like other commands in the cleanup function
> to reduce confusion.
> 
> [Fix]
> * 0e12c0271887f1 ("selftests: test_vxlan_under_vrf: mute unnecessary error message")
> 
> This script exists in selftests/net since Focal, and this patch can be
> cherry-picked into all affected series.
> 
> [Test]
> Run this script directly, these unnecessary error message won't be
> printed anymore.
> 
> [Where problems could occur]
> As this change is quite straightforward, I don't think anything bad
> would happen. And even it did happen, this change is limited to testing
> tool so it should be fine.
> 
> Po-Hsu Lin (1):
>   selftests: test_vxlan_under_vrf: mute unnecessary error message
> 
>  tools/testing/selftests/net/test_vxlan_under_vrf.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Added linux-next after the sha1 (as pointed out by Kleber) and applied
to unstable. Thanks!

-Andrea



More information about the kernel-team mailing list