xref: /aosp_15_r20/libcore/expectations/virtualdeviceknownfailures.txt (revision 89a6322812dc8573315e60046e7959c50dad91d4)
1*89a63228SAndroid Build Coastguard Worker/*
2*89a63228SAndroid Build Coastguard Worker * List of test cases known to fail on a virtual device.
3*89a63228SAndroid Build Coastguard Worker *
4*89a63228SAndroid Build Coastguard Worker * Many are because of the network environment used by some or all of the
5*89a63228SAndroid Build Coastguard Worker * virtual devices during CTS runs.
6*89a63228SAndroid Build Coastguard Worker *
7*89a63228SAndroid Build Coastguard Worker * See: https://cloud.google.com/vpc/docs/vpc
8*89a63228SAndroid Build Coastguard Worker * As of 2019-05: "VPC networks only support IPv4 unicast traffic. They do not
9*89a63228SAndroid Build Coastguard Worker * support broadcast, multicast, or IPv6 traffic within the network: VMs in the
10*89a63228SAndroid Build Coastguard Worker * VPC network can only send to IPv4 destinations and only receive traffic from
11*89a63228SAndroid Build Coastguard Worker * IPv4 sources.
12*89a63228SAndroid Build Coastguard Worker */
13*89a63228SAndroid Build Coastguard Worker[
14*89a63228SAndroid Build Coastguard Worker{
15*89a63228SAndroid Build Coastguard Worker  description: "IPv6 connectivity not yet supported in virtual device testing infra",
16*89a63228SAndroid Build Coastguard Worker  result: EXEC_FAILED,
17*89a63228SAndroid Build Coastguard Worker  name: "libcore.java.net.SocketTest#testSocketTestAllAddresses",
18*89a63228SAndroid Build Coastguard Worker  bug: 30965313
19*89a63228SAndroid Build Coastguard Worker},
20*89a63228SAndroid Build Coastguard Worker{
21*89a63228SAndroid Build Coastguard Worker  description: "Virtual devices do not implement the SELinux policy (forbid hard link) asserted by this test",
22*89a63228SAndroid Build Coastguard Worker  name: "libcore.java.nio.file.Files2Test#test_createLink",
23*89a63228SAndroid Build Coastguard Worker  bug: 35670953
24*89a63228SAndroid Build Coastguard Worker},
25*89a63228SAndroid Build Coastguard Worker{
26*89a63228SAndroid Build Coastguard Worker  description: "multicast not supported in virtual device testing infra",
27*89a63228SAndroid Build Coastguard Worker  names: ["org.apache.harmony.tests.java.net.MulticastSocketTest",
28*89a63228SAndroid Build Coastguard Worker          "libcore.java.net.MulticastSocketTest#testGroupReceiveIPv6",
29*89a63228SAndroid Build Coastguard Worker          "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinAnySource_IPv4",
30*89a63228SAndroid Build Coastguard Worker          "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinAnySource_multicastLoopOption_IPv4",
31*89a63228SAndroid Build Coastguard Worker	  "libcore.java.nio.channels.DatagramChannelMulticastTest#test_joinSourceSpecific_anyBind_ipv6"
32*89a63228SAndroid Build Coastguard Worker          ],
33*89a63228SAndroid Build Coastguard Worker  bug: 35922755
34*89a63228SAndroid Build Coastguard Worker},
35*89a63228SAndroid Build Coastguard Worker{
36*89a63228SAndroid Build Coastguard Worker  description: "DNS lookups of {1.2.3.4.} do not reliably fail on GCE networks",
37*89a63228SAndroid Build Coastguard Worker  names: ["libcore.java.net.InetAddressTest#test_getByName_invalid[1]"],
38*89a63228SAndroid Build Coastguard Worker  bug: 35922755
39*89a63228SAndroid Build Coastguard Worker},
40*89a63228SAndroid Build Coastguard Worker{
41*89a63228SAndroid Build Coastguard Worker  description: "Kernels between 4.4 and 4.9 interpret the backlog parameter differently than we
42*89a63228SAndroid Build Coastguard Worker                expect, causing this test to fail, and our emulators currently use those kernel
43*89a63228SAndroid Build Coastguard Worker                versions.  See b/31960002 for a full discussion and references to the upstream
44*89a63228SAndroid Build Coastguard Worker                changes.",
45*89a63228SAndroid Build Coastguard Worker  name: "libcore.javax.net.ServerSocketFactoryTest#testCreateServerSocketWithPortNoBacklog",
46*89a63228SAndroid Build Coastguard Worker  bug: 73535217
47*89a63228SAndroid Build Coastguard Worker}
48*89a63228SAndroid Build Coastguard Worker]
49