Issue metadata
Sign in to add a comment
|
UDPSocketTest.JoinMulticastGroup fails under Fuchsia |
||||||||||||||||||||||
Issue descriptionSince migrating to the network-index-based version of the API, this test always fails (e.g. see run https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/fuchsia-fyi-x64-rel/543) with: [ RUN ] UDPSocketTest.JoinMulticastGroup ../../net/socket/udp_socket_unittest.cc:647: Failure Value of: socket.JoinGroup(group_ip) Expected: net::OK Actual: -109, net::ERR_ADDRESS_UNREACHABLE Stack trace: bt#00: pc 0x1579d430e426 (app:/pkg/bin/app,0x2825426) bt#01: pc 0x1579d430ddcb (app:/pkg/bin/app,0x2824dcb) bt#02: pc 0x1579d394d7c5 (app:/pkg/bin/app,0x1e647c5) bt#03: end ../../net/socket/udp_socket_unittest.cc:650: Failure Value of: socket.LeaveGroup(group_ip) Expected: net::OK Actual: -109, net::ERR_ADDRESS_UNREACHABLE Stack trace: bt#00: pc 0x1579d430e426 (app:/pkg/bin/app,0x2825426) bt#01: pc 0x1579d430ddcb (app:/pkg/bin/app,0x2824dcb) bt#02: pc 0x1579d394da30 (app:/pkg/bin/app,0x1e64a30) bt#03: end [ FAILED ] UDPSocketTest.JoinMulticastGroup (26 ms) ERR_ADDRESS_UNREACHABLE appears to be the catch-all return-code used for both bogus interface Ids, bogus or unreachable target addresses, etc, so this is likely a bug in the actual network stack.
,
Jul 27
,
Jul 30
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d21eb85bd5326d1e5f6a58ef0ec409baab00b40d commit d21eb85bd5326d1e5f6a58ef0ec409baab00b40d Author: Wez <wez@chromium.org> Date: Mon Jul 30 22:48:04 2018 Migrate UDPSocket::LeaveGroup IPv4 case to include interface Id. LeaveGroup() previously used ip_mreq, which does not allow the interface to which the operation applies to be specified by Id. Since no interface IP address is specified in the call, it fails if the network stack expects the interface to be explicitly specified (i.e. under Fuchsia). Bug: 864450 Change-Id: Idff67518387d80c6c91f96bfd774db4a11a310f8 Reviewed-on: https://chromium-review.googlesource.com/1152903 Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#579212} [modify] https://crrev.com/d21eb85bd5326d1e5f6a58ef0ec409baab00b40d/net/socket/udp_socket_posix.cc
,
Jul 30
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by w...@chromium.org
, Jul 17