On Thu, Jan 17, 2019 at 10:54 AM Numan Siddique <[email protected]> wrote:
>
> Thanks for the review Han.
> I will address them in v6.
>
>
> On Fri, Jan 18, 2019 at 12:21 AM Han Zhou <[email protected]> wrote:
>>
>> Hi Numan,
>>
>> With v5 the new test case "external logical port" fails.
>> And please see more comments inlined.
>
>
> Can you please share the testsuite.log ? It's passing locally for me.
>
> Thanks
> Numan
>
Here it is:
----------- 8>< ------------------------------------------------ ><8 ----------
# -*- compilation -*-
2761. ovn.at:11622: testing ovn -- external logical port ...
creating ovn-sb database
creating ovn-nb database
starting ovn-northd
starting backup ovn-northd
adding simulator 'main'
adding simulator 'hv1'
adding simulator 'hv2'
./ovn.at:11691: ovn-sbctl dump-flows ls1 | grep "offerip = 10.0.0.6" | \
wc -l
./ovn.at:11694: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.06" | wc -l
./ovn.at:11697: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.06" | wc -l
./ovn.at:11700: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06" | wc -l
./ovn.at:11704: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06" | wc -l
./ovn.at:11715: test $chassis == "[]"
./ovn.at:11722: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.06" | wc -l
./ovn.at:11725: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.06" | wc -l
./ovn.at:11728: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06" | wc -l
./ovn.at:11732: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06" | wc -l
./ovn.at:11749: test $chassis == "$hv1_uuid"
./ovn.at:11752: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.06" | grep reg14=0x$ln_public_key | \
wc -l
./ovn.at:11756: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06" | \
grep reg14=0x$ln_public_key | wc -l
./ovn.at:11763: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.06" | wc -l
./ovn.at:11766: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06" | wc -l
./ovn.at:11773: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.07" | wc -l
./ovn.at:11776: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep "0a.00.00.07" | wc -l
./ovn.at:11779: as hv1 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.07" | wc -l
./ovn.at:11783: as hv2 ovs-ofctl dump-flows br-int | grep table=20 | \
grep controller | grep tp_src=546 | grep \
"ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.07" | wc -l
693ddea5-e6ec-437c-9310-18431f29ff5c
Bridge br-int
fail_mode: secure
Port "ovn-hv2-0"
Interface "ovn-hv2-0"
type: geneve
options: {csum="true", key=flow, remote_ip="192.168.0.2"}
Port patch-br-int-to-ln-public
Interface patch-br-int-to-ln-public
type: patch
options: {peer=patch-ln-public-to-br-int}
Port br-int
Interface br-int
type: internal
Bridge br-phys
Port br-phys
Interface br-phys
type: internal
options:
{rxq_pcap="/home/hzhou/src/ovs/tests/testsuite.dir/2761/hv1/br-phys-rx.pcap",
tx_pcap="/home/hzhou/src/ovs/tests/testsuite.dir/2761/hv1/br-phys-tx.pcap"}
Port "hv1-ext1"
Interface "hv1-ext1"
options: {rxq_pcap="hv1/ext1-rx.pcap",
tx_pcap="hv1/ext1-tx.pcap"}
Port patch-ln-public-to-br-int
Interface patch-ln-public-to-br-int
type: patch
options: {peer=patch-br-int-to-ln-public}
Port "br-phys_n1"
Interface "br-phys_n1"
options:
{rxq_pcap="/home/hzhou/src/ovs/tests/testsuite.dir/2761/hv1/br-phys_n1-rx.pcap",
stream="unix:/home/hzhou/src/ovs/tests/testsuite.dir/2761/main/hv1_br-phys.sock",
tx_pcap="/home/hzhou/src/ovs/tests/testsuite.dir/2761/hv1/br-phys_n1-tx.pcap"}
ovn.at:11950: waiting until test 1 = `cat ofctl_monitor0_hv1.log |
grep -c NXT_RESUME`...
ovn.at:11950: wait succeeded immediately
ovn.at:11953: waiting until test 0 = `cat ofctl_monitor0_hv2.log |
grep -c NXT_RESUME`...
ovn.at:11953: wait succeeded immediately
./ovn.at:11957: cat ext1_v4.packets | cut -c -48
./ovn.at:11960: cat ext1_v4.packets | cut -c 53-
ovn.at:11975: waiting until test 2 = `cat ofctl_monitor0_hv1.log |
grep -c NXT_RESUME`...
ovn.at:11975: wait succeeded immediately
ovn.at:11978: waiting until test 0 = `cat ofctl_monitor0_hv2.log |
grep -c NXT_RESUME`...
ovn.at:11978: wait succeeded immediately
./ovn.at:11983: cat ext1_v6.packets | cut -c -120
./ovn.at:11986: cat ext1_v6.packets | cut -c 125-
./ovn.at:12000: test $chassis == "$hv2_uuid"
./ovn.at:12000: exit code was 1, expected 0
ofctl_monitor0_hv1.log:
> NXT_PACKET_IN2 (xid=0x0): cookie=0x0 total_len=286
> reg11=0x2,reg12=0x1,reg13=0x5,reg14=0x5,metadata=0x1,in_port=2 (via action)
> data_len=286 (unbuffered)
>
> userdata=00.00.00.02.00.00.00.00.00.01.de.10.00.00.00.63.0a.00.00.06.33.04.00.00.0e.10.01.04.ff.ff.ff.00.03.04.0a.00.00.01.36.04.0a.00.00.01
> continuation.bridge=2c65dbbc-a986-4343-a987-d79737ced287
> continuation.actions=unroll_xlate(table=0, cookie=0),resubmit(,21)
> udp,vlan_tci=0x0000,dl_src=f0:00:00:00:00:03,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,nw_tos=16,nw_ecn=0,nw_ttl=128,tp_src=68,tp_dst=67
> udp_csum:0
> send: NXT_RESUME (xid=0x0): cookie=0x0 total_len=286
> reg11=0x2,reg12=0x1,reg13=0x5,reg14=0x5,metadata=0x1,in_port=2 (via action)
> data_len=286 (unbuffered)
> continuation.bridge=2c65dbbc-a986-4343-a987-d79737ced287
> continuation.actions=unroll_xlate(table=0, cookie=0),resubmit(,21)
> udp,vlan_tci=0x0000,dl_src=f0:00:00:00:00:03,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,nw_tos=16,nw_ecn=0,nw_ttl=128,tp_src=68,tp_dst=67
> udp_csum:0
> NXT_PACKET_IN2 (xid=0x0): cookie=0x0 total_len=96
> reg11=0x2,reg12=0x1,reg13=0x5,reg14=0x5,metadata=0x1,in_port=2 (via action)
> data_len=96 (unbuffered)
>
> userdata=00.00.00.05.00.00.00.00.00.01.de.10.00.00.00.63.00.05.00.10.ae.70.00.00.00.00.00.00.00.00.00.00.00.00.00.06.00.02.00.06.00.00.00.10.00.01
> continuation.bridge=2c65dbbc-a986-4343-a987-d79737ced287
> continuation.actions=unroll_xlate(table=0, cookie=0),resubmit(,21)
> udp6,vlan_tci=0x0000,dl_src=f0:00:00:00:00:03,dl_dst=ff:ff:ff:ff:ff:ff,ipv6_src=fe80::f200:ff:fe00:3,ipv6_dst=ff02::1:2,ipv6_label=0x00000,nw_tos=0,nw_ecn=0,nw_ttl=1,tp_src=546,tp_dst=547
> udp_csum:ffff
> send: NXT_RESUME (xid=0x0): cookie=0x0 total_len=96
> reg11=0x2,reg12=0x1,reg13=0x5,reg14=0x5,metadata=0x1,in_port=2 (via action)
> data_len=96 (unbuffered)
> continuation.bridge=2c65dbbc-a986-4343-a987-d79737ced287
> continuation.actions=unroll_xlate(table=0, cookie=0),resubmit(,21)
> udp6,vlan_tci=0x0000,dl_src=f0:00:00:00:00:03,dl_dst=ff:ff:ff:ff:ff:ff,ipv6_src=fe80::f200:ff:fe00:3,ipv6_dst=ff02::1:2,ipv6_label=0x00000,nw_tos=0,nw_ecn=0,nw_ttl=1,tp_src=546,tp_dst=547
> udp_csum:ffff
ofctl_monitor0_hv2.log:
> OFPT_PORT_STATUS (xid=0x0): ADD: 2(patch-br-int-to): addr:f2:9f:47:50:ee:4b
> config: 0
> state: 0
> speed: 0 Mbps now, 0 Mbps max
2761. ovn.at:11622: 2761. ovn -- external logical port (ovn.at:11622):
FAILED (ovn.at:12000)
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev