> On May 22, 2017, at 9:30 AM, Timothy M. Redaelli <[email protected]> wrote: > > Hi, > "ofproto-dpif - select group with dp_hash selection method" test fails > on armv7l. > > I saw the problem during build of openvswitch 2.7.0 Fedora package since > all other architectures builds fine [1]. > > I see, also, that Ubuntu is disabling (all) tests on armhf for the same > problem [2] > > I also replied the issue on bananapi (git version 0b4f83e2d) using > archlinuxarm [3] > > It seems the test expect to have recirc(0x3), but it has recirc(0x2). >
It’s actually the other way around. In general, the actual recirc ID value used is not that important, as long as it is consistent. The allocation of recirc IDs is sequential, so it seems that on the affected platforms there is something unexpected going with regards to reirc ID 2 being allocated in between. Enabling additional debug information might help figure this out. This can be done by inserting the following line to the beginning of the test case: diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index e52ab32b9..213feac18 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -464,6 +464,9 @@ AT_CLEANUP AT_SETUP([ofproto-dpif - select group with dp_hash selection method]) OVS_VSWITCHD_START + +ovs-appctl vlog/set ofproto_dpif_xlate:dbg ofproto_dpif_rid:dbg + add_of_ports br0 1 10 11 AT_CHECK([ovs-ofctl -O OpenFlow15 add-group br0 'group_id=1234,type=select,selection_method=dp_hash,bucket=output:10,bucket=output:11']) AT_CHECK([ovs-ofctl -O OpenFlow15 add-flow br0 'ip,nw_src=192.168.0.1 actions=group:1234']) Jarno > -recirc_id(0),in_port(1),eth_type(0x0800),ipv4(src=192.168.0.1,frag=no), > packets:15, bytes:630, used:0.0s, actions:hash(hash_l4(0)),recirc(0x2) > -recirc_id(0x2),dp_hash(0xXXXX/0x1),in_port(1),eth_type(0x0800),ipv4(frag=no), > packets:15, bytes:630, used:0.0s, actions:11 > +recirc_id(0),in_port(1),eth_type(0x0800),ipv4(src=192.168.0.1,frag=no), > packets:15, bytes:630, used:0.0s, actions:hash(hash_l4(0)),recirc(0x3) > +recirc_id(0x3),dp_hash(0xXXXX/0x1),in_port(1),eth_type(0x0800),ipv4(frag=no), > packets:15, bytes:630, used:0.0s, actions:11 > > I can't replicate the problem on any other architecture supported by > Fedora (x86_64, ppc64le, aarch64, ppc64, i686 and s390x). > > [1]: https://koji.fedoraproject.org/koji/taskinfo?taskID=19676269 > [2]: http://pad.lv/1686406 > [3]: > https://gist.github.com/drizzt/5e8ac80435475b9919907d0779bcc915#file-testsuite-log
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
