[LTP] FYI: networking: broken multicast test due upstream bug

Alexey Kodanev alexey.kodanev@oracle.com
Wed Jan 18 11:45:20 CET 2017


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



More information about the ltp mailing list