Guang Zhu | 77d74a1 | 2016-09-22 18:40:31 -0700 | [diff] [blame] | 1 | /* |
Tobias Thierer | 7fc188b | 2017-02-28 18:33:04 +0000 | [diff] [blame] | 2 | * List of test cases known to fail on a virtual device. |
Neil Fuller | 4a3e427 | 2019-05-24 09:38:25 +0100 | [diff] [blame] | 3 | * |
| 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 Zhu | 77d74a1 | 2016-09-22 18:40:31 -0700 | [diff] [blame] | 12 | */ |
| 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 Thierer | 7fc188b | 2017-02-28 18:33:04 +0000 | [diff] [blame] | 19 | }, |
| 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 Zhu | 1dcc53e | 2017-04-13 12:16:14 -0700 | [diff] [blame] | 24 | }, |
| 25 | { |
| 26 | description: "multicast not supported in virtual device testing infra", |
Tobias Thierer | 27ef7c3 | 2020-03-16 20:42:19 +0000 | [diff] [blame] | 27 | names: ["org.apache.harmony.tests.java.net.MulticastSocketTest", |
Neil Fuller | 4a3e427 | 2019-05-24 09:38:25 +0100 | [diff] [blame] | 28 | "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 Zhu | 1dcc53e | 2017-04-13 12:16:14 -0700 | [diff] [blame] | 31 | ], |
| 32 | bug: 35922755 |
Adam Vartanian | 5c554e16 | 2018-05-25 09:42:17 +0100 | [diff] [blame] | 33 | }, |
| 34 | { |
Neil Fuller | 4a3e427 | 2019-05-24 09:38:25 +0100 | [diff] [blame] | 35 | 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 Vartanian | 5c554e16 | 2018-05-25 09:42:17 +0100 | [diff] [blame] | 40 | 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 Zhu | 77d74a1 | 2016-09-22 18:40:31 -0700 | [diff] [blame] | 46 | } |
| 47 | ] |