ACK: [J/hwe-5.17][OEM-5.17][K][SRU][PATCH 0/1] Fix cleanup in net/arp_ndisc_evict_nocarrier test

Luke Nowakowski-Krijger luke.nowakowskikrijger at canonical.com
Tue Feb 21 21:50:35 UTC 2023


Acked-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger at canonical.com>

On Tue, Feb 7, 2023 at 2:16 AM Po-Hsu Lin <po-hsu.lin at canonical.com> wrote:

> [Impact]
> In selftests: net: arp_ndisc_evict_nocarrier.sh, even all of the
> sub-tests from this script have passed, the overall test result
> is still a fail.
>
>   # selftests: net: arp_ndisc_evict_nocarrier.sh
>   # run arp_evict_nocarrier=1 test
>   # ok
>   # run arp_evict_nocarrier=0 test
>   # ok
>   # run all.arp_evict_nocarrier=0 test
>   # ok
>   # run ndisc_evict_nocarrier=1 test
>   # ok
>   # run ndisc_evict_nocarrier=0 test
>   # ok
>   # run all.ndisc_evict_nocarrier=0 test
>   # ok
>   not ok 1 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255
>
> This is caused by the cleanup() in the script, as it's trying to
> access a non-existing file.
>
> [Fix]
> * 9c4d7f45d6 selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier
>
> This patch can be cherry-picked into all affected kernels.
>
> [Test]
> Run the patched test and the test will pass.
>
> [Where problems could occur]
> Change limited to testing tools, no impact to real kernel function
> or test performances.
>
> Po-Hsu Lin (1):
>   selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier
>
>  tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230221/9d82cb04/attachment.html>


More information about the kernel-team mailing list