blob: c1fa62acdbd8a8c5c54dc6ff2cf5b72c0e97a845 [file] [log] [blame]
Guang Zhu77d74a12016-09-22 18:40:31 -07001/*
Tobias Thierer7fc188b2017-02-28 18:33:04 +00002 * List of test cases known to fail on a virtual device.
Neil Fuller4a3e4272019-05-24 09:38:25 +01003 *
4 * Many are because of the network environment used by some or all of the
5 * virtual devices during CTS runs.
6 *
7 * See: https://cloud.google.com/vpc/docs/vpc
8 * As of 2019-05: "VPC networks only support IPv4 unicast traffic. They do not
9 * support broadcast, multicast, or IPv6 traffic within the network: VMs in the
10 * VPC network can only send to IPv4 destinations and only receive traffic from
11 * IPv4 sources.
Guang Zhu77d74a12016-09-22 18:40:31 -070012 */
13[
14{
15 description: "IPv6 connectivity not yet supported in virtual device testing infra",
16 result: EXEC_FAILED,
17 name: "libcore.java.net.SocketTest#testSocketTestAllAddresses",
18 bug: 30965313
Tobias Thierer7fc188b2017-02-28 18:33:04 +000019},
20{
21 description: "Virtual devices do not implement the SELinux policy (forbid hard link) asserted by this test",
22 name: "libcore.java.nio.file.Files2Test#test_createLink",
23 bug: 35670953
Guang Zhu1dcc53e2017-04-13 12:16:14 -070024},
25{
26 description: "multicast not supported in virtual device testing infra",
27 names: ["org.apache.harmony.tests.java.net.MulticastSocketTest#test_joinGroupLjava_net_InetAddress_IPv4",
Neil Fuller5e19c302019-05-29 13:07:13 +010028 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_joinGroupLjava_net_InetAddress_IPv6",
Guang Zhu1dcc53e2017-04-13 12:16:14 -070029 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_IPv4_nullInterface",
Neil Fuller4a3e4272019-05-24 09:38:25 +010030 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_IPv6_nullInterface",
Guang Zhu1dcc53e2017-04-13 12:16:14 -070031 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_leaveGroupLjava_net_InetAddress_IPv4",
32 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_sendLjava_net_DatagramPacketB_IPv4",
Neil Fuller4a3e4272019-05-24 09:38:25 +010033 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_sendLjava_net_DatagramPacketB_IPv6",
34 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_setLoopbackModeSendReceive_IPv4",
35 "org.apache.harmony.tests.java.net.MulticastSocketTest#test_setLoopbackModeSendReceive_IPv6",
36 "libcore.java.net.MulticastSocketTest#testGroupReceiveIPv6",
37 "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinAnySource_IPv4",
38 "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinAnySource_multicastLoopOption_IPv4"
Guang Zhu1dcc53e2017-04-13 12:16:14 -070039 ],
40 bug: 35922755
Adam Vartanian5c554e162018-05-25 09:42:17 +010041},
42{
Neil Fuller4a3e4272019-05-24 09:38:25 +010043 description: "DNS lookups of {1.2.3.4.} do not reliably fail on GCE networks",
44 names: ["libcore.java.net.InetAddressTest#test_getByName_invalid[1]"],
45 bug: 35922755
46},
47{
Adam Vartanian5c554e162018-05-25 09:42:17 +010048 description: "Kernels between 4.4 and 4.9 interpret the backlog parameter differently than we
49 expect, causing this test to fail, and our emulators currently use those kernel
50 versions. See b/31960002 for a full discussion and references to the upstream
51 changes.",
52 name: "libcore.javax.net.ServerSocketFactoryTest#testCreateServerSocketWithPortNoBacklog",
53 bug: 73535217
Guang Zhu77d74a12016-09-22 18:40:31 -070054}
55]