| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| actions: [ |
| { |
| type: "expect_failure", |
| matchers: [ |
| // Netstack3 does not support SO_REUSEADDR and SO_REUSEPORT on bound sockets. |
| "AllUDPSockets/UDPSocketPairTest.SetReuseAddr/*", |
| "AllUDPSockets/UDPSocketPairTest.SetReuseAddrReusePort/*", |
| "AllUDPSockets/UDPSocketPairTest.SetReusePort/*", |
| ], |
| }, |
| { |
| type: "skip", |
| matchers: [ |
| // Tests that flake in Fuchsia's CQ. |
| // https://fxbug.dev/42067218 |
| "AllInetTests/UdpSocketTest.SendToAddressOtherThanConnected/*", |
| |
| // Cases are either skipped entirely (0, 1) or fail (2) |
| "AllInetTests/UdpSocketControlMessagesTest.SendAndReceiveTOSorTClass/*", |
| |
| // Tests that hang in Fuchsia's CQ due to indefinite poll for ICMP response. |
| // TODO(https://fxbug.dev/42124055): Implement ICMP sockets in Netstack3. |
| "AllInetTests/UdpSocketTest.ConnectWriteToInvalidPort/*", |
| "AllInetTests/UdpSocketTest.ConnectAndSendNoReceiver/*", |
| ], |
| }, |
| { |
| type: "expect_failure", |
| matchers: [ |
| // Fails because ZXIO disallows binding to an address with |
| // family `AF_UNSPEC`. |
| "AllInetTests/UdpSocketTest.DisconnectAfterBindToUnspecAndConnect/*", |
| |
| // Comment to keep this block separated from the above one. |
| "AllInetTests/UdpSocketTest.FIONREADShutdown/*", |
| "AllInetTests/UdpSocketTest.FIONREADWriteShutdown/*", |
| "AllInetTests/UdpSocketTest.FIONREADZeroLengthPacket/*", |
| "AllInetTests/UdpSocketTest.FIONREADZeroLengthWriteShutdown/*", |
| "AllInetTests/UdpSocketTest.Fionread/*", |
| "AllInetTests/UdpSocketTest.ReadShutdownNonblockPendingData/*", |
| "AllInetTests/UdpSocketTest.RecvBufLimits/*", |
| "AllInetTests/UdpSocketTest.SoNoCheck/*", |
| "AllInetTests/UdpSocketTest.SoNoCheckOffByDefault/*", |
| |
| // SO_TIMESTAMP is implemented, but the test depends on ioctl(SIOCGSTAMP). |
| "AllInetTests/UdpSocketTest.SoTimestamp/*", |
| "AllInetTests/UdpSocketTest.TimestampIoctl/*", |
| "AllInetTests/UdpSocketTest.TimestampIoctlNothingRead/*", |
| "AllInetTests/UdpSocketTest.TimestampIoctlPersistence/*", |
| |
| // Netstack3 does not support many UDP socket options or operations |
| "AllUDPSockets/AllSocketPairTest.BasicRecvmmsg/*", |
| "AllUDPSockets/AllSocketPairTest.BasicSendmmsg/*", |
| "AllUDPSockets/AllSocketPairTest.GetSocketOutOfBandInlineOption/*", |
| "AllUDPSockets/AllSocketPairTest.GetSocketRcvbufOption/*", |
| "AllUDPSockets/AllSocketPairTest.KeepAliveSocketOption/*", |
| "AllUDPSockets/AllSocketPairTest.RecvmmsgInvalidTimeout/*", |
| "AllUDPSockets/AllSocketPairTest.RecvmmsgTimeoutBeforeRecv/*", |
| "AllUDPSockets/AllSocketPairTest.RecvmsgMsghdrFlagsCleared/*", |
| "AllUDPSockets/AllSocketPairTest.SendmmsgIsLimitedByMAXIOV/*", |
| "AllUDPSockets/AllSocketPairTest.RecvmsgPeekMsghdrFlagsCleared/*", |
| "AllUDPSockets/AllSocketPairTest.SetAndGetBooleanSocketOptions/*", |
| "AllUDPSockets/UDPSocketPairTest.GetSocketAcceptConn/*", |
| "AllUDPSockets/UDPSocketPairTest.IPPKTINFODefault/*", |
| "AllUDPSockets/UDPSocketPairTest.RecvTosDefault/*", |
| "AllInetTests/UdpSocketControlMessagesTest.SendAndReceiveTTLOrHopLimit/*", |
| "AllInetTests/UdpSocketControlMessagesTest.SetAndReceiveTOSOrTClass/*", |
| "AllInetTests/UdpSocketControlMessagesTest.SetAndReceiveTTLOrHopLimit/*", |
| "AllUDPSockets/UDPSocketPairTest.TOSRecvMismatch/*", |
| |
| // TODO(https://fxbug.dev/326281908): Support IP_PKTINFO. |
| "AllInetTests/UdpSocketControlMessagesTest.SetAndReceivePktInfo/0", |
| "AllInetTests/UdpSocketControlMessagesTest.SetAndReceivePktInfo/2", |
| |
| // Netstack3 does not have complete support for multicast UDP sockets. |
| "AllUDPSockets/UDPSocketPairTest.MulticastLoopDefault/*", |
| "AllUDPSockets/UDPSocketPairTest.SetMulticastLoop/*", |
| "AllUDPSockets/UDPSocketPairTest.SetMulticastLoopChar/*", |
| "AllUDPSockets/UDPSocketPairTest.SetUDPMulticastTTLMin/*", |
| "AllUDPSockets/UDPSocketPairTest.SetEmptyIPAddMembership/0", |
| "AllUDPSockets/UDPSocketPairTest.SetEmptyIPAddMembership/2", |
| "AllUDPSockets/UDPSocketPairTest.SetEmptyIPAddMembership/3", |
| "AllUDPSockets/UDPSocketPairTest.SetEmptyIPAddMembership/5", |
| |
| // Uncategorized |
| "AllUDPSockets/UDPSocketPairTest.ReceiveOrigDstAddrDefault/[0235]", |
| "AllUDPSockets/UDPSocketPairTest.SetAndGetIPPKTINFO/*", |
| "AllUDPSockets/UDPSocketPairTest.SetAndGetReceiveOrigDstAddr/[0235]", |
| "AllUDPSockets/UDPSocketPairTest.SetAndGetSocketLinger/*", |
| "AllUDPSockets/UDPSocketPairTest.SetRecvTos/*", |
| |
| // https://fxbug.dev/42154343 |
| "AllUDPSockets/AllSocketPairTest.GetSetSocketRcvlowatOption/*", |
| ], |
| }, |
| ], |
| } |