[ovs-dev] Failed to execute unit test: system-traffic.at: conntrack - floating IP
William Tu
u9012063 at gmail.com
Tue Apr 28 00:42:17 UTC 2020
On Mon, Apr 27, 2020 at 11:54 AM Vasu Dasari <vdasari at gmail.com> wrote:
>
> Hi,
>
> I am running into an error when I try to run the system-traffic test case -
> "conntrack - floating IP". Actually, any test case which is using this in
> the testsuite is failing:
> ADD_VETH(p0, at_ns0, br0, "10.1.1.1/24", "f0:00:00:01:01:01")
>
> Command used to run the test:
> sudo make -C _build-gcc/ check-system-userspace TESTSUITEFLAGS='-k
> "conntrack - floating IP"'
> Ububtu Kernel: 5.3.0-46-generic
> OVS Version: Latest master
>
> Relevant supporting log from system-userspace-testsuite.log
>
> =====
> ../../tests/system-traffic.at:5757: ip netns exec at_ns0 sh <<
> NS_EXEC_HEREDOC
> ip link set dev p0 address "f0:00:00:01:01:01"
> NS_EXEC_HEREDOC
> --- /dev/null 2020-04-27 14:44:02.898140777 -0400
> +++
> /opt/vdasari/Developer/ovs/_build-gcc/tests/system-userspace-testsuite.dir/at-groups/120/stderr
> 2020-04-27 14:44:33.432320411 -0400
> @@ -0,0 +1 @@
> +Invalid address length 6 - must be 42401 bytes
Hi Vasu,
This is due to a bug in iproute2.
Can you update to the latest version?
see
Documentation/topics/testing.rst
"
Many of the kernel tests are dependent on the utilities present in the
iproute2 package, especially the 'ip' command. If there are many
otherwise unexplained errors it may be necessary to update the iproute2
package utilities on the system. It is beyond the scope of this
documentation to explain all that is necessary to build and install
an updated iproute2 utilities package. The package is available from
the Linux kernel organization open source git repositories.
https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
"
> ../../tests/system-traffic.at:5757: exit code was 1, expected 0
> =====
>
> Found a reference to this kind of error at
> https://bugzilla.redhat.com/show_bug.cgi?id=1550097
> This was from last April.
>
> If I execute the command from bash, the same is successful:
> ====
> $ sudo ip netns exec at_ns0 bash
> $ ip link set dev p0 address "f0:00:00:01:01:01"
> $ ip link show p0
> 11: p0 at if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
> UP mode DEFAULT group default qlen 1000
> link/ether f0:00:00:01:01:01 brd ff:ff:ff:ff:ff:ff link-netnsid 0
> ====
>
> Any idea why this command is failing only in OVS environment?
>
> Thanks
> -Vasu
>
> *Vasu Dasari*
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
More information about the dev
mailing list