On Wed, Jul 24, 2024 at 10:44 PM Ilya Maximets <[email protected]> wrote:

> On 7/24/24 08:23, Ales Musil wrote:
> > Fix wrong IPv6 notation which could result in test failures when
> > the DNS server was slow to respond as scapy tried to resolve the
> > IPv6 as hostname.
> >
> > scapy-server | ERR | failed to process payload request: [Errno -2] Name
> or service not known
> >
> > Fixes: 21e85be04226 ("tests: Use fmt_pkt in portsecurity : 3 HVs, 1 LS,
> 3 lports/HV.")
> > Signed-off-by: Ales Musil <[email protected]>
> > ---
> >  tests/ovn.at | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/ovn.at b/tests/ovn.at
> > index 13b393932..2826a03ff 100644
> > --- a/tests/ovn.at
> > +++ b/tests/ovn.at
> > @@ -5882,7 +5882,7 @@ for i in 1 2 3; do
> >      test_icmpv6 ${i}3 f0:00:00:00:0${i}:${i}3 f0:00:00:00:00:21 $sip
> ff02::16:0 "ICMPv6EchoRequest()"
> >
> >      # should be dropped
> > -    sip=ae80::ea2aeafffe2800aa
> > +    sip=ae80::ea2a:eaff:fe28:00aa
> >      test_ipv6 ${i}3 f0:00:00:00:0${i}:${i}3 f0:00:00:00:00:21 $sip $tip
> >  done
> >
>
> Hmm.  Does it return the IP address after DNS lookup fails?
> If not, why the test doesn't fail in this case?
>
> Bets regards, Ilya Maximets.
>
>
It doesn't return IP and the test does't fail because it expects
that nothing gets through anyway in case of this IP.

Regards,
Ales

-- 

Ales Musil

Senior Software Engineer - OVN Core

Red Hat EMEA <https://www.redhat.com>

[email protected]
<https://red.ht/sig>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to