Re: selftests/net/fcnal-test.sh: ipv6_ping test failed

From: David Ahern
Date: Tue Dec 07 2021 - 22:20:31 EST


On 12/7/21 8:58 AM, Jakub Kicinski wrote:
> Adding David and Zhijian.
>
> On Tue, 7 Dec 2021 07:07:40 +0000 Zhou, Jie2X wrote:
>> hi,
>>
>> I test ipv6_ping by "./fcnal-test.sh -v -t ipv6_ping".
>> There are two tests failed.
>>
>> TEST: ping out, VRF bind - ns-B IPv6 LLA [FAIL]
>> TEST: ping out, VRF bind - multicast IP [FAIL]
>>
>> While in fcnal-test.sh the expected command result is 2, the result is 1, so the test failed.
>> ipv6_ping_vrf()
>> {
>> ......
>> for a in ${NSB_LINKIP6}%${VRF} ${MCAST}%${VRF}
>> do
>> log_start
>> show_hint "Fails since VRF device does not support linklocal or multicast"
>> run_cmd ${ping6} -c1 -w1 ${a}
>> log_test_addr ${a} $? 2 "ping out, VRF bind"
>> done
>>
>> The ipv6_ping test output is attached.
>> Did I set something wrong result that these tests failed?
>>
>> best regards,

ping6 is failing as it should. Can you send a patch to change the
expected rc from 2 to 1?