Skip to content

test_igmp_snooping_modified_query fails with absent Mdb entry for port #337

@AndriyLozovyyPLV

Description

@AndriyLozovyyPLV

test_igmp_snooping_modified_query fails due to Mdb entry for router port is absence in Mdb table.

Test case enables mcast_querier=1 on bridge, and it is expected that bridge will send igmp_query packets and Mdb entry for router port will appear in Mdb table, which is not happening despite that bridge actually sends igmp_query packets.

10:04:26.530060 34:ef:b6:ec:26:c3 > 01:00:5e:00:00:01, ethertype IPv4 (0x0800), length 46: (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP (2), length 32, options (RA))
    0.0.0.0 > 224.0.0.1: igmp query v2
        0x0000:  0100 5e00 0001 34ef b6ec 26c3 0800 46c0
        0x0010:  0020 0000 4000 0102 0417 0000 0000 e000
        0x0020:  0001 9404 0000 1164 ee9b 0000 0000

And it also receives igmp_report packets that comes from DUT's IP address, but still no entry is being observed in Mdb table for router port.

Output of bridge -d -s -j mdb show:

[{"mdb":[{"index":67,"dev":"br0","port":"swp2","grp":"227.1.1.1","state":"temp","protocol":"kernel","flags":["offload"],"vid":1,"timer":" 250.74"},{"index":67,"dev":"br0","port":"swp3","grp":"239.2.2.2","state":"temp","protocol":"kernel","flags":["offload"],"vid":1,"timer":" 250.74"}],"router":{}}]

Previous test that was ported:
IGMP_Querier_Basic

Metadata

Metadata

Assignees

Labels

DUTDUT bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions