blob: 12800383567625bc0eeb3cebef32e6aa1a472b7e [file] [log] [blame]
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +00001/*
2 * This file contains expectations for ART's buildbot. The purpose of this file is
Nicolas Geoffray622e2e22017-06-15 09:33:01 +01003 * to temporarily list failing tests and not break the bots, until the
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +00004 * libcore expectation files get properly updated. The script that uses this file
5 * is art/tools/run-libcore-tests.sh.
6 *
7 * It is also used to enable AOSP experiments, and not mess up with CTS's expectations.
8 */
9
10[
11{
Orion Hodsonb89a92e2019-12-13 09:08:25 +000012 description: "Os.memfd_create() only supports bionic-based platforms.",
Tobias Thierer0e33d0e2019-12-10 12:29:32 +000013 result: EXEC_FAILED,
Orion Hodsonb89a92e2019-12-13 09:08:25 +000014 modes: [host],
Tobias Thierer0e33d0e2019-12-10 12:29:32 +000015 names: ["libcore.android.system.OsTest#testMemfdCreate",
16 "libcore.android.system.OsTest#testMemfdCreateErrno",
Orion Hodsonb89a92e2019-12-13 09:08:25 +000017 "libcore.android.system.OsTest#testMemfdCreateFlags"]
Tobias Thierer0e33d0e2019-12-10 12:29:32 +000018},
19{
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +000020 description: "Assert.java differences between vogar and junit.",
21 result: EXEC_FAILED,
Nicolas Geoffrayea6e2df2015-05-13 21:37:44 +000022 modes: [host],
23 name: "libcore.java.math.RunCSVTests#test_csv"
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +000024},
25{
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000026 description: "Differences between vogar and cts in user directory",
27 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000028 modes: [device],
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000029 name: "libcore.java.lang.SystemTest#testSystemProperties_mutable"
30},
31{
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010032 description: "Differences between vogar and cts. Passes with --mode activity",
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000033 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000034 modes: [device],
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010035 names: ["libcore.java.lang.OldSystemTest#test_getProperties"]
Nicolas Geoffray0ccef6d2014-12-11 13:33:12 +000036},
37{
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010038 description: "Differences between vogar and cts. EACCESS when run with vogar.
39 Passes on host, passes with cts. Passes with vogar with su
40 (--invoke-with \"su root\"). Does not pass after setting chmod
41 777 all directories on path to socket (on device without su).",
Nicolas Geoffray0ccef6d2014-12-11 13:33:12 +000042 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000043 modes: [device],
Przemyslaw Szczepaniakf44a60a2017-11-09 09:47:32 +000044 names: ["libcore.libcore.io.OsTest#testUnixDomainSockets_in_file_system"]
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +000045},
46{
Tobias Thiererbbd5a4e2016-08-03 18:33:33 +010047 description: "TCP_USER_TIMEOUT is not defined on host's tcp.h (glibc-2.15-4.8).",
48 result: EXEC_FAILED,
49 modes: [host],
50 names: ["libcore.android.system.OsConstantsTest#testTcpUserTimeoutIsDefined",
Przemyslaw Szczepaniakf44a60a2017-11-09 09:47:32 +000051 "libcore.libcore.io.OsTest#test_socket_tcpUserTimeout_setAndGet",
52 "libcore.libcore.io.OsTest#test_socket_tcpUserTimeout_doesNotWorkOnDatagramSocket"],
Tobias Thiererbbd5a4e2016-08-03 18:33:33 +010053 bug: 30402085
54},
55{
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010056 description: "Issue with incorrect device time (1970)",
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010057 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000058 modes: [device],
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010059 names: ["libcore.java.util.TimeZoneTest#testDisplayNames",
60 "libcore.java.util.TimeZoneTest#test_useDaylightTime_Taiwan",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010061 "org.apache.harmony.tests.java.util.TimeZoneTest#test_hasSameRules_Ljava_util_TimeZone"],
62 bug: 20879084
63},
64{
65 description: "Issue with incorrect device time (1970). Test assumes that DateTime.now()
66 is greater then a date in 1998.",
67 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000068 modes: [device],
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010069 names: ["org.apache.harmony.tests.java.util.DateTest#test_Constructor"]
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010070},
71{
David Brazdil830d16e2015-02-24 12:36:03 +000072 description: "Failing due to a locale problem on hammerhead.",
73 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000074 modes: [device],
David Brazdil830d16e2015-02-24 12:36:03 +000075 names: ["libcore.icu.DateIntervalFormatTest#test10089890",
76 "libcore.icu.DateIntervalFormatTest#test10209343_when_not_this_year",
77 "libcore.icu.DateIntervalFormatTest#test10560853_for_single_day_events",
78 "libcore.icu.DateIntervalFormatTest#test10560853_when_time_not_displayed",
David Brazdil830d16e2015-02-24 12:36:03 +000079 "libcore.java.text.OldDateFormatTest#test_parseLString",
80 "libcore.java.text.SimpleDateFormatTest#testDstZoneNameWithNonDstTimestamp",
81 "libcore.java.text.SimpleDateFormatTest#testDstZoneWithNonDstTimestampForNonHourDstZone",
82 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneNameWithDstTimestamp",
Nicolas Geoffraye2307b42015-12-27 23:01:28 +000083 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneWithDstTimestampForNonHourDstZone"]
David Brazdil830d16e2015-02-24 12:36:03 +000084},
85{
David Brazdilb60c58f2015-02-25 09:16:34 +000086 description: "Failing due to missing localhost on hammerhead and volantis.",
87 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +000088 modes: [device],
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000089 names: ["libcore.javax.crypto.CipherTest#testCipherInitWithCertificate",
90 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithFtpURLConnection",
91 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarFtpURLConnection",
Nicolas Geoffrayd6c1ec52015-03-26 18:08:59 +000092 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithLoggingSocketHandler",
93 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithHttpURLConnection",
Nicolas Geoffrayd6c1ec52015-03-26 18:08:59 +000094 "org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest",
95 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010096 "org.apache.harmony.luni.tests.java.net.URLConnectionTest",
97 "org.apache.harmony.tests.java.util.ScannerTest#test_Constructor_LReadableByteChannel"
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000098 ]
David Brazdilb60c58f2015-02-25 09:16:34 +000099},
100{
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +0000101 description: "Test timeouts",
102 result: EXEC_TIMEOUT,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000103 modes: [device],
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +0000104 names: ["org.apache.harmony.tests.java.util.ScannerTest#testPerformance"]
Nicolas Geoffrayda82d292015-01-21 14:04:31 +0000105},
106{
107 description: "Needs the newest cat version on the device",
108 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000109 modes: [device],
Nicolas Geoffrayda82d292015-01-21 14:04:31 +0000110 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_getErrorStream"]
David Brazdil598b2202015-02-24 10:12:06 +0000111},
112{
Nicolas Geoffray46333432015-03-16 13:51:43 +0000113 description: "Needs kernel updates on host/device",
114 result: EXEC_FAILED,
Przemyslaw Szczepaniakf44a60a2017-11-09 09:47:32 +0000115 names: ["libcore.libcore.io.OsTest#test_socketPing"]
Nicolas Geoffray399ff772015-04-25 14:39:59 +0100116},
117{
118 description: "Linker issues in chrooted environment",
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000119 modes: [device],
Nicolas Geoffray399ff772015-04-25 14:39:59 +0100120 result: EXEC_FAILED,
121 names: ["org.apache.harmony.tests.java.lang.ProcessManagerTest#testEnvironment"]
Nicolas Geoffray6f3f6c72015-05-12 09:27:19 +0100122},
123{
Nicolas Geoffrayd9d014a2015-06-26 09:24:16 +0100124 description: "Flake when running with libartd.so or interpreter",
125 result: EXEC_FAILED,
126 bug:22106064,
127 name: "libcore.java.lang.OldThreadGroupTest#test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ"
Narayan Kamath1eca58a2015-07-03 13:20:51 +0100128},
129{
130 description: "test_xattr fails on arm64 on the buildbots only: needs investigation",
131 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000132 modes: [device],
Przemyslaw Szczepaniakf44a60a2017-11-09 09:47:32 +0000133 names: ["libcore.libcore.io.OsTest#test_xattr"],
Narayan Kamath1eca58a2015-07-03 13:20:51 +0100134 bug: 22258911
Nicolas Geoffrayd6c201e2015-07-16 19:11:54 +0100135},
136{
137 description: "fails on L builds: needs investigation",
138 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000139 modes: [device],
Nicolas Geoffrayd6c201e2015-07-16 19:11:54 +0100140 names: ["org.apache.harmony.tests.java.lang.ClassTest#test_forNameLjava_lang_String"]
Narayan Kamathf874d592015-07-28 16:21:35 +0100141},
142{
Orion Hodsonaacf9772020-07-22 21:51:00 +0100143 description: "Lack of IPv6 on some buildbot workers",
Nicolas Geoffraycbec6d92015-10-23 16:06:49 +0100144 result: EXEC_FAILED,
Przemyslaw Szczepaniakf44a60a2017-11-09 09:47:32 +0000145 names: ["libcore.libcore.io.OsTest#test_byteBufferPositions_sendto_recvfrom_af_inet6",
146 "libcore.libcore.io.OsTest#test_sendtoSocketAddress_af_inet6",
147 "libcore.libcore.io.OsTest#test_recvfrom_EmptyPacket"],
Nicolas Geoffraycbec6d92015-10-23 16:06:49 +0100148 bug: 25178637
Roland Levillain32f7a162015-11-11 12:16:52 +0000149},
150{
Roland Levillainb0226192016-12-06 10:30:55 +0000151 description: "Non-deterministic test because of a dependency on weak ref collection.",
152 result: EXEC_FAILED,
153 names: ["org.apache.harmony.tests.java.util.WeakHashMapTest#test_keySet"],
154 bug: 25437292
155},
156{
Narayan Kamathae837922016-02-22 13:34:07 +0000157 description: "Only work with --mode=activity",
158 result: EXEC_FAILED,
159 names: [ "libcore.java.io.FileTest#testJavaIoTmpdirMutable" ]
Nicolas Geoffraye434a812016-03-15 23:01:33 +0000160},
161{
Nicolas Geoffray9631f542016-07-13 10:18:48 +0100162 description: "Flaky test",
163 result: EXEC_FAILED,
164 bug: 30107038,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000165 modes: [device],
Nicolas Geoffray9631f542016-07-13 10:18:48 +0100166 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_destroyForcibly"]
Tobias Thierer533b1582016-07-27 16:00:59 +0100167},
168{
Tobias Thierer4f35c7d2016-08-03 19:12:37 +0100169 description: "Flaky failure, native crash in the runtime.
170 Unclear if this relates to the tests running sh as a child process.",
Tobias Thierer533b1582016-07-27 16:00:59 +0100171 result: EXEC_FAILED,
Tobias Thierer4f35c7d2016-08-03 19:12:37 +0100172 bug: 30657148,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000173 modes: [device],
Tobias Thierer4f35c7d2016-08-03 19:12:37 +0100174 names: ["libcore.java.lang.ProcessBuilderTest#testRedirectInherit",
175 "libcore.java.lang.ProcessBuilderTest#testRedirect_nullStreams"]
Nicolas Geoffray12d5f3c2017-06-12 15:30:12 +0100176},
177{
Nicolas Geoffray8db9dde2017-07-11 18:07:00 +0100178 description: "java.io.IOException: Error writing ASN.1 encoding",
179 result: EXEC_FAILED,
180 names: ["libcore.javax.crypto.spec.AlgorithmParametersTestGCM#testEncoding"]
David Srbecky4c9b4932018-08-08 11:35:36 +0100181},
182{
Josh Gao7e91d1f2018-08-24 14:04:43 -0700183 description: "fdsan doesn't exist on the host",
184 result: EXEC_FAILED,
185 modes: [host],
186 bug: 113177877,
187 names: ["libcore.libcore.io.FdsanTest#testFileInputStream",
188 "libcore.libcore.io.FdsanTest#testFileOutputStream",
189 "libcore.libcore.io.FdsanTest#testRandomAccessFile",
Josh Gao21ca64e2018-09-20 18:04:08 -0700190 "libcore.libcore.io.FdsanTest#testParcelFileDescriptor",
191 "libcore.libcore.io.FdsanTest#testDatagramSocket",
192 "libcore.libcore.io.FdsanTest#testSocket"]
Roland Levillainedd06c12018-09-24 14:43:19 +0100193},
194{
195 description: "Timeout on heap-poisoning target builds",
196 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000197 modes: [device],
Roland Levillainedd06c12018-09-24 14:43:19 +0100198 bug: 116446372,
199 names: ["libcore.libcore.io.FdsanTest#testSocket"]
Nicolas Geoffray28456082018-12-19 08:57:28 +0000200},
201{
Paul Duffin396ca412018-12-19 10:32:15 +0000202 description: "Host implementation of android_getaddrinfo differs from device implementation",
Nicolas Geoffray28456082018-12-19 08:57:28 +0000203 result: EXEC_FAILED,
Paul Duffin396ca412018-12-19 10:32:15 +0000204 modes: [host],
Nicolas Geoffray28456082018-12-19 08:57:28 +0000205 bug: 121230364,
206 names: [
207 "libcore.libcore.net.InetAddressUtilsTest#parseNumericAddress[8]",
208 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[10]",
209 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[11]",
210 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[12]",
211 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[5]",
212 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[6]",
213 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[7]",
214 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[8]",
215 "libcore.libcore.net.InetAddressUtilsTest#test_isNotNumericAddress[9]",
216 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[10]",
217 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[11]",
218 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[12]",
219 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[5]",
220 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[6]",
221 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[7]",
222 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[8]",
223 "libcore.libcore.net.InetAddressUtilsTest#test_parseNonNumericAddress[9]"
224 ]
Nicolas Geoffraycaf15232019-01-10 13:15:24 +0000225},
226{
Nicolas Geoffrayef9b7182019-02-21 15:30:39 +0000227 description: "Timeout on walleye bots, currenlty on OPM1.171019.019. But test passes on Q, so just mark it fail here.",
228 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000229 modes: [device],
Nicolas Geoffrayef9b7182019-02-21 15:30:39 +0000230 names: [
231 "libcore.libcore.io.OsTest#testCrossFamilyBindConnectSendto"
232 ]
Roland Levillaina0666a92019-06-11 16:07:40 +0100233},
234{
Roland Levillaind2f8ce12019-06-19 17:50:32 +0100235 description: "Test fails on host with `socket failed: EACCES (Permission denied)`",
236 result: EXEC_FAILED,
237 modes: [host],
238 names: ["libcore.android.system.OsTest#test_socketPing"]
Roland Levillainad82a812019-06-19 18:29:32 +0100239},
240{
241 description: "Test fails on host with: `/home/dalvik-prebuild/jaxen/xml/test/tests.xml: open failed: ENOENT (No such file or directory)`",
242 result: EXEC_FAILED,
243 names: ["libcore.xml.JaxenXPathTestSuite#suite"]
244},
245{
246 description: "Test fails on host with: `/home/dalvik-prebuild/OASIS/XSLT-Conformance-TC/TESTS/catalog.xml: open failed: ENOENT (No such file or directory)`",
247 result: EXEC_FAILED,
248 names: ["libcore.xml.XsltXPathConformanceTestSuite#suite"]
Nicolas Geoffray2d8b7f42019-12-02 08:40:03 +0000249},
250{
251 description: "Fails on device",
252 result: EXEC_FAILED,
Nicolas Geoffray31e0dc22020-03-20 15:48:09 +0000253 modes: [device],
Nicolas Geoffray2d8b7f42019-12-02 08:40:03 +0000254 bug: 145348591,
255 names: ["libcore.android.system.OsTest#test_if_nametoindex_if_indextoname"]
Nicolas Geoffray7e1603e2020-02-03 09:36:27 +0000256},
257{
258 description: "Fails on non-Android and Android versions < R",
259 result: EXEC_FAILED,
260 names: ["libcore.android.system.OsTest#test_NetlinkSocket"]
Nicolas Geoffray77773ac2020-08-24 14:32:21 +0100261},
262{
263 description: "Times out on device",
264 result: EXEC_FAILED,
265 modes: [device],
266 bug: 161898207,
267 names: ["libcore.java.util.zip.ZipFileTest#testZipFileWithLotsOfEntries"]
Nicolas Geoffraybc644742020-09-07 09:40:51 +0100268},
269{
270 description: "Times out on device with gcstress and poisoning configurations",
271 result: EXEC_FAILED,
272 modes: [device],
273 bug: 161420453,
274 names: ["libcore.java.text.DecimalFormatTest#testCurrencySymbolSpacing"]
Orion Hodson4d23e512020-10-09 18:02:54 +0100275},
276{
277 description: "Test failures due to mismatch of conscrypt and boringssl versions on host",
278 result: EXEC_FAILED,
279 modes: [host],
280 names: ["libcore.javax.net.ssl.DefaultHostnameVerifierTest#testAltIpOnlyCert",
281 "libcore.javax.net.ssl.DefaultHostnameVerifierTest#testSubjectAltOnlyCert",
282 "libcore.javax.net.ssl.DefaultHostnameVerifierTest#testSubjectWithAltNamesCert",
283 "libcore.javax.net.ssl.DefaultHostnameVerifierTest#testSubjectWithWildAltNamesCert",
284 "libcore.javax.net.ssl.DefaultHostnameVerifierTest#testWildAltNameOnlyCert"],
285 bug: 166619732
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000286}
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000287]