[ovs-git] [openvswitch/ovs] 35cfa3: ovn-controller-vtep: occasional failure in "bindin...

GitHub noreply at github.com
Fri Jul 15 17:40:51 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 35cfa3887049de662b354517497ddf5237531d52
      https://github.com/openvswitch/ovs/commit/35cfa3887049de662b354517497ddf5237531d52
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2016-07-15 (Fri, 15 Jul 2016)

  Changed paths:
    M tests/ovn-controller-vtep.at

  Log Message:
  -----------
  ovn-controller-vtep: occasional failure in "binding 1" test case

The ovn-controller-vtep "binding 1" test case fails occasionally
due to a race with the ovs-vtep daemon.  If ovs-vtep happens to
execute handle_physical() after "ovs-vsctl del-port p0", but before
the test script has executed "vtep-ctl del-port br-vtep p0", the
latter command will fail because ovs-vtep will have already deleted
p0 from the vtep db.

Eliminate this race while adding an additional check to verify that
ovs-vtep is working as expected by waiting for ovs-vtep to remove
entries for the deleted physical ports from the vtep db.

Signed-off-by: Lance Richardson <lrichard at redhat.com>
Suggested-by: Darrell Ball <dlu998 at gmail.com>
Acked-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list