[ovs-git] [openvswitch/ovs] a050af: tests: Fix some ofproto-dpif.at conntrack tests

GitHub noreply at github.com
Mon Dec 4 20:35:03 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: a050afae6ea3b2674f6255d9b8b0832109ca523e
      https://github.com/openvswitch/ovs/commit/a050afae6ea3b2674f6255d9b8b0832109ca523e
  Author: Alin Gabriel Serdean <aserdean at ovn.org>
  Date:   2017-12-04 (Mon, 04 Dec 2017)

  Changed paths:
    M tests/ofproto-dpif.at

  Log Message:
  -----------
  tests: Fix some ofproto-dpif.at conntrack tests

The tests:
ofproto-dpif - conntrack - controller
ofproto-dpif - conntrack - force commit
ofproto-dpif - conntrack - recirc,commit

are broken on branch-2.8, because they are missing "ip," in the receive packet.

i.e.:
-NXT_PACKET_IN (xid=0x0): table_id=6 cookie=0x0 total_len=42
ct_state=new|trk,ct_zone=1,ct_nw_src=10.1.1.1,ct_nw_dst=10.1.1.2,ct_nw_proto=17,
ct_tp_src=1,ct_tp_dst=2,
reg0=0x1,reg1=0x4d2,reg2=0x1,reg3=0x1,
reg4=0x1,in_port=1 (via action) data_len=42 (unbuffered)
+NXT_PACKET_IN (xid=0x0): table_id=6 cookie=0x0 total_len=42
ct_state=new|trk,ct_zone=1,ct_nw_src=10.1.1.1,ct_nw_dst=10.1.1.2,ct_nw_proto=17,
ct_tp_src=1,ct_tp_dst=2,
ip,reg0=0x1,reg1=0x4d2,reg2=0x1,reg3=0x1,reg4=0x1,in_port=1 (via action)
data_len=42 (unbuffered)

Found while running tests on branch-2.8.

Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list