New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: TestIPv4MulticastListener fails on linux without CONFIG_IP_MULTICAST #11936
Comments
Thanks. Can you show us the output of the following on your node under the test? (Please anonymize IDs in the output if necessary)
Thanks. |
I did some poking at this and basically came to the conclusion that it's a missing kernel feature (the same test fails on my dragonboard 401c). Does /proc/net/igmp exist? |
|
@mwhudson there is no /proc/net/igmp in my system.Do you mean the file is very important for testcase?? |
Well, I think there is some kernel option that's required for this test to work that you do not have enabled -- maybe CONFIG_IP_MULTICAST? I'm not sure. Did you build your own kernel? This test passes on Ubuntu kernels, for example. |
@mwhudson Yes,the kernel is ourselves , CONFIG_IP_MULTICAST is not set in kernel config,i add this and try it again. |
Go should just skip these tests if the kernel can't do multicast. |
Thanks. We use /proc/net/{igmp,igmp6} in network interface APIs instead of scraping rib/fib inside the kernel for convenience, and TestIPv4MulticastListener tests those APIs. Will fix test cases in go1.6. |
1. TestIPv4MulticastListener error
The text was updated successfully, but these errors were encountered: