[ovs-dev] Failed to execute unit test: system-traffic.at: conntrack - floating IP

Vasu Dasari vdasari at gmail.com
Mon Apr 27 18:53:48 UTC 2020


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
../../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*


More information about the dev mailing list