[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <41a78a37-6136-ba45-d8fa-c7af4ee772b9@gmail.com>
Date: Tue, 7 Dec 2021 20:14:36 -0700
From: David Ahern <dsahern@...il.com>
To: "lizhijian@...itsu.com" <lizhijian@...itsu.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"shuah@...nel.org" <shuah@...nel.org>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jie2x Zhou <jie2x.zhou@...el.com>,
"Li Zhijian(intel)" <zhijianx.li@...el.com>
Subject: Re: [PATCH v2] selftests: net: Correct case name
On 12/6/21 11:05 PM, lizhijian@...itsu.com wrote:
>> # TESTS=bind6 ./fcnal-test.sh
>>
>> ###########################################################################
>> IPv6 address binds
>> ###########################################################################
>>
>>
>> #################################################################
>> No VRF
>>
>> TEST: Raw socket bind to local address - ns-A IPv6 [FAIL]
This one passes for me.
Can you run the test with '-v -p'? -v will give you the command line
that is failing. -p will pause the tests at the failure. From there you
can do:
ip netns exec ns-A bash
Look at the routing - no VRF is involved so the address should be local
to the device and the loopback. Run the test manually to see if it
really is failing.
>> TEST: Raw socket bind to local address after device bind - ns-A IPv6 [ OK ]
>> TEST: Raw socket bind to local address - ns-A loopback IPv6 [ OK ]
>> TEST: Raw socket bind to local address after device bind - ns-A loopback IPv6 [ OK ]
>> TEST: TCP socket bind to local address - ns-A IPv6 [ OK ]
>> TEST: TCP socket bind to local address after device bind - ns-A IPv6 [ OK ]
>> TEST: TCP socket bind to out of scope local address - ns-A loopback IPv6 [FAIL]
This one seems to be a new problem. The socket is bound to eth1 and the
address bind is to an address on loopback. That should not be working.
>>
>> #################################################################
>> With VRF
>>
>> TEST: Raw socket bind to local address after vrf bind - ns-A IPv6 [ OK ]
>> TEST: Raw socket bind to local address after device bind - ns-A IPv6 [ OK ]
>> TEST: Raw socket bind to local address after vrf bind - VRF IPv6 [ OK ]
>> TEST: Raw socket bind to local address after device bind - VRF IPv6 [ OK ]
>> TEST: Raw socket bind to invalid local address after vrf bind - ns-A loopback IPv6 [ OK ]
>> TEST: TCP socket bind to local address with VRF bind - ns-A IPv6 [ OK ]
>> TEST: TCP socket bind to local address with VRF bind - VRF IPv6 [ OK ]
>> TEST: TCP socket bind to local address with device bind - ns-A IPv6 [ OK ]
>> TEST: TCP socket bind to VRF address with device bind - VRF IPv6 [FAIL]
This failure is similar to the last one. Need to see if a recent commit
changed something.
>> TEST: TCP socket bind to invalid local address for VRF - ns-A loopback IPv6 [ OK ]
>> TEST: TCP socket bind to invalid local address for device bind - ns-A loopback IPv6 [ OK ]
>
>
> Thanks
> Zhijian
>
>
Powered by blists - more mailing lists