blob: b6891339f8b16058c1da683a8b727b12dc709d36 [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",
Tobias Thierer27ef7c32020-03-16 20:42:19 +000027 names: ["org.apache.harmony.tests.java.net.MulticastSocketTest",
Neil Fuller4a3e4272019-05-24 09:38:25 +010028 "libcore.java.net.MulticastSocketTest#testGroupReceiveIPv6",
29 "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinAnySource_IPv4",
30 "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinAnySource_multicastLoopOption_IPv4"
Guang Zhu1dcc53e2017-04-13 12:16:14 -070031 ],
32 bug: 35922755
Adam Vartanian5c554e162018-05-25 09:42:17 +010033},
34{
Neil Fuller4a3e4272019-05-24 09:38:25 +010035 description: "DNS lookups of {1.2.3.4.} do not reliably fail on GCE networks",
36 names: ["libcore.java.net.InetAddressTest#test_getByName_invalid[1]"],
37 bug: 35922755
38},
39{
Adam Vartanian5c554e162018-05-25 09:42:17 +010040 description: "Kernels between 4.4 and 4.9 interpret the backlog parameter differently than we
41 expect, causing this test to fail, and our emulators currently use those kernel
42 versions. See b/31960002 for a full discussion and references to the upstream
43 changes.",
44 name: "libcore.javax.net.ServerSocketFactoryTest#testCreateServerSocketWithPortNoBacklog",
45 bug: 73535217
Guang Zhu77d74a12016-09-22 18:40:31 -070046}
47]