[ovs-dev] [PATCH] tests: Try harder to figure out whether IPv6 is supported.

Ben Pfaff blp at ovn.org
Tue Nov 14 18:09:48 UTC 2017


On Tue, Nov 14, 2017 at 10:08:54AM -0800, Ben Pfaff wrote:
> On Mon, Nov 13, 2017 at 07:36:39PM -0800, Gregory Rose wrote:
> > On 11/13/2017 4:58 PM, Ben Pfaff wrote:
> > >Until now, the tests have tried to create an IPv6 socket to figure out
> > >whether the system under test supports IPv6.  Recently we've seen test
> > >failures on Travis which appear to be because, although the system supports
> > >IPv6, test programs are not allowed to connect or bind IPv6 addresses.
> > >This commit refines the test for IPv6 to also try to bind the IPv6
> > >localhost address, which should convert the test failures to "skip"s.
> > >
> > >CC: William Tu <u9012063 at gmail.com>
> > >CC: Greg Rose <gvrose8192 at gmail.com>
> > >Reported-at: https://github.com/travis-ci/travis-ci/issues/8711
> > >Signed-off-by: Ben Pfaff <blp at ovn.org>
> > >---
> > >  tests/atlocal.in | 7 ++++++-
> > >  1 file changed, 6 insertions(+), 1 deletion(-)
> > 
> > Much better.  Thanks!!!
> > 
> > https://travis-ci.org/gvrose8192/ovs-experimental
> > 
> > Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
> 
> Thanks Greg and William, I applied this to master.

I backported this as far as branch-2.5 since it seems best to have all
the branches' tests work.


More information about the dev mailing list