All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] FYI: networking: broken multicast test due upstream bug
@ 2017-01-18  8:31 Petr Vorel
  2017-01-18 10:45 ` Alexey Kodanev
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2017-01-18  8:31 UTC (permalink / raw)
  To: ltp

Hi,

mc_cmds test (runtest net.multicast, LTP networking) is broken when running with network
namespaces due upstream bug in ip (see https://bugzilla.kernel.org/show_bug.cgi?id=192741).
In our case 'ip maddr show ltp_ns_veth2' does not return 'inet  224.0.0.1'.

It has been fixed in master, but it will not work with old distros. I suppose we leave it as it is (don't fix it with any workaround).


Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] FYI: networking: broken multicast test due upstream bug
  2017-01-18  8:31 [LTP] FYI: networking: broken multicast test due upstream bug Petr Vorel
@ 2017-01-18 10:45 ` Alexey Kodanev
  2017-01-18 12:59   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Kodanev @ 2017-01-18 10:45 UTC (permalink / raw)
  To: ltp

Hi,

On 01/18/2017 11:31 AM, Petr Vorel wrote:
> Hi,
>
> mc_cmds test (runtest net.multicast, LTP networking) is broken when running with network
> namespaces due upstream bug in ip (see https://bugzilla.kernel.org/show_bug.cgi?id=192741).
> In our case 'ip maddr show ltp_ns_veth2' does not return 'inet  224.0.0.1'.
>
> It has been fixed in master, but it will not work with old distros. I suppose we leave it as it is (don't fix it with any workaround).

Thanks! May be we should workaround it as it will be skipped without 
doing anything on most distros.

I see two options:
* parse 'ip maddr show' without dev as a workaround if the first attempt 
fails, or
* parse /proc/net/igmp, looking for 0x010000E0 (1.0.0.224).

Best regards,
Alexey


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] FYI: networking: broken multicast test due upstream bug
  2017-01-18 10:45 ` Alexey Kodanev
@ 2017-01-18 12:59   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2017-01-18 12:59 UTC (permalink / raw)
  To: ltp

Hi,

> Thanks! May be we should workaround it as it will be skipped without doing
> anything on most distros.

> I see two options:
> * parse 'ip maddr show' without dev as a workaround if the first attempt
> fails, or
> * parse /proc/net/igmp, looking for 0x010000E0 (1.0.0.224).

Thanks for tips, posted implementation of parsing /proc/net/igmp.


Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-18 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18  8:31 [LTP] FYI: networking: broken multicast test due upstream bug Petr Vorel
2017-01-18 10:45 ` Alexey Kodanev
2017-01-18 12:59   ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.