blob: 6472c8d8048437295532440b458a43b7cf570d44 [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
3 * to temporary and quickly list failing tests and not break the bots, until the
4 * 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{
12 description: "Assert.java differences between vogar and junit.",
13 result: EXEC_FAILED,
Nicolas Geoffrayea6e2df2015-05-13 21:37:44 +000014 modes: [host],
15 name: "libcore.java.math.RunCSVTests#test_csv"
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +000016},
17{
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000018 description: "Differences between vogar and cts in user directory",
19 result: EXEC_FAILED,
20 modes: [device],
21 name: "libcore.java.lang.SystemTest#testSystemProperties_mutable"
22},
23{
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010024 description: "Differences between vogar and cts. Passes with --mode activity",
Nicolas Geoffray70a998c2014-12-04 17:05:22 +000025 result: EXEC_FAILED,
26 modes: [device],
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010027 names: ["libcore.java.lang.OldSystemTest#test_getProperties"]
Nicolas Geoffray0ccef6d2014-12-11 13:33:12 +000028},
29{
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010030 description: "Differences between vogar and cts. EACCESS when run with vogar.
31 Passes on host, passes with cts. Passes with vogar with su
32 (--invoke-with \"su root\"). Does not pass after setting chmod
33 777 all directories on path to socket (on device without su).",
Nicolas Geoffray0ccef6d2014-12-11 13:33:12 +000034 result: EXEC_FAILED,
35 modes: [device],
Wojciech Staszkiewicz3a75e9d2015-05-21 15:29:30 +010036 names: ["libcore.io.OsTest#testUnixDomainSockets_in_file_system"]
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +000037},
38{
Tobias Thiererbbd5a4e2016-08-03 18:33:33 +010039 description: "TCP_USER_TIMEOUT is not defined on host's tcp.h (glibc-2.15-4.8).",
40 result: EXEC_FAILED,
41 modes: [host],
42 names: ["libcore.android.system.OsConstantsTest#testTcpUserTimeoutIsDefined",
43 "libcore.io.OsTest#test_socket_tcpUserTimeout_setAndGet",
44 "libcore.io.OsTest#test_socket_tcpUserTimeout_doesNotWorkOnDatagramSocket"],
45 bug: 30402085
46},
47{
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010048 description: "Issue with incorrect device time (1970)",
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010049 result: EXEC_FAILED,
50 modes: [device],
51 names: ["libcore.java.util.TimeZoneTest#testDisplayNames",
52 "libcore.java.util.TimeZoneTest#test_useDaylightTime_Taiwan",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010053 "org.apache.harmony.tests.java.util.TimeZoneTest#test_hasSameRules_Ljava_util_TimeZone"],
54 bug: 20879084
55},
56{
57 description: "Issue with incorrect device time (1970). Test assumes that DateTime.now()
58 is greater then a date in 1998.",
59 result: EXEC_FAILED,
60 modes: [device],
61 names: ["org.apache.harmony.tests.java.util.DateTest#test_Constructor"]
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010062},
63{
David Brazdil830d16e2015-02-24 12:36:03 +000064 description: "Failing due to a locale problem on hammerhead.",
65 result: EXEC_FAILED,
66 modes: [device],
67 names: ["libcore.icu.DateIntervalFormatTest#test10089890",
68 "libcore.icu.DateIntervalFormatTest#test10209343_when_not_this_year",
69 "libcore.icu.DateIntervalFormatTest#test10560853_for_single_day_events",
70 "libcore.icu.DateIntervalFormatTest#test10560853_when_time_not_displayed",
71 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeString",
72 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanString",
73 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringAbbrev",
74 "libcore.java.text.OldDateFormatTest#test_parseLString",
75 "libcore.java.text.SimpleDateFormatTest#testDstZoneNameWithNonDstTimestamp",
76 "libcore.java.text.SimpleDateFormatTest#testDstZoneWithNonDstTimestampForNonHourDstZone",
77 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneNameWithDstTimestamp",
Nicolas Geoffraye2307b42015-12-27 23:01:28 +000078 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneWithDstTimestampForNonHourDstZone"]
David Brazdil830d16e2015-02-24 12:36:03 +000079},
80{
David Brazdilb60c58f2015-02-25 09:16:34 +000081 description: "Failing due to missing localhost on hammerhead and volantis.",
82 result: EXEC_FAILED,
83 modes: [device],
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000084 names: ["libcore.javax.crypto.CipherTest#testCipherInitWithCertificate",
85 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithFtpURLConnection",
86 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarFtpURLConnection",
Nicolas Geoffrayd6c1ec52015-03-26 18:08:59 +000087 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithLoggingSocketHandler",
88 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithHttpURLConnection",
89 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarHttpURLConnection",
90 "org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest",
91 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010092 "org.apache.harmony.luni.tests.java.net.URLConnectionTest",
93 "org.apache.harmony.tests.java.util.ScannerTest#test_Constructor_LReadableByteChannel"
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000094 ]
David Brazdilb60c58f2015-02-25 09:16:34 +000095},
96{
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +000097 description: "Test timeouts",
98 result: EXEC_TIMEOUT,
99 modes: [device],
100 names: ["org.apache.harmony.tests.java.util.ScannerTest#testPerformance"]
Nicolas Geoffrayda82d292015-01-21 14:04:31 +0000101},
102{
103 description: "Needs the newest cat version on the device",
104 result: EXEC_FAILED,
105 modes: [device],
106 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_getErrorStream"]
David Brazdil598b2202015-02-24 10:12:06 +0000107},
108{
109 description: "Short date format flag ignored for es_US locale.",
110 result: EXEC_FAILED,
111 name: "libcore.icu.DateIntervalFormatTest#test_formatDateInterval",
112 bug: 18619426
David Brazdile2f28ad2015-02-24 10:44:29 +0000113},
114{
115 description: "Error decoding digital signature bytes.",
116 result: EXEC_FAILED,
117 name: "org.apache.harmony.security.tests.java.security.Signature2Test#test_verify$BII",
118 bug: 18869265
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000119},
120{
Nicolas Geoffrayeb10b682015-06-25 11:40:42 +0100121 description: "Test sometimes timeouts on volantis, and on most modes in debug mode",
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000122 result: EXEC_TIMEOUT,
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000123 names: ["libcore.java.lang.SystemTest#testArrayCopyConcurrentModification"],
124 bug: 19165288
Nicolas Geoffray056ed4a2015-03-13 18:26:43 +0000125},
126{
Nicolas Geoffray46333432015-03-16 13:51:43 +0000127 description: "Needs kernel updates on host/device",
128 result: EXEC_FAILED,
129 names: ["libcore.io.OsTest#test_socketPing"]
Nicolas Geoffray399ff772015-04-25 14:39:59 +0100130},
131{
132 description: "Linker issues in chrooted environment",
133 modes: [device],
134 result: EXEC_FAILED,
135 names: ["org.apache.harmony.tests.java.lang.ProcessManagerTest#testEnvironment"]
Nicolas Geoffray6f3f6c72015-05-12 09:27:19 +0100136},
137{
138 description: "Crypto failures",
139 result: EXEC_FAILED,
140 names: ["libcore.javax.crypto.CipherTest#testCipher_ShortBlock_Failure",
Kenny Rootea556cd2015-09-01 17:35:34 +0000141 "libcore.javax.crypto.CipherTest#testCipher_Success"]
Nicolas Geoffrayd9d014a2015-06-26 09:24:16 +0100142},
143{
144 description: "Flake when running with libartd.so or interpreter",
145 result: EXEC_FAILED,
146 bug:22106064,
147 name: "libcore.java.lang.OldThreadGroupTest#test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ"
Narayan Kamath1eca58a2015-07-03 13:20:51 +0100148},
149{
150 description: "test_xattr fails on arm64 on the buildbots only: needs investigation",
151 result: EXEC_FAILED,
152 modes: [device],
153 names: ["libcore.io.OsTest#test_xattr"],
154 bug: 22258911
Nicolas Geoffrayd6c201e2015-07-16 19:11:54 +0100155},
156{
157 description: "fails on L builds: needs investigation",
158 result: EXEC_FAILED,
159 modes: [device],
160 names: ["org.apache.harmony.tests.java.lang.ClassTest#test_forNameLjava_lang_String"]
Narayan Kamathf874d592015-07-28 16:21:35 +0100161},
162{
163 description: "TimeZoneTest.testAllDisplayNames times out, needs investigation",
Nicolas Geoffray4af48fc2015-08-04 18:16:43 +0100164 result: EXEC_TIMEOUT,
Narayan Kamathf874d592015-07-28 16:21:35 +0100165 modes: [device],
Nicolas Geoffray4af48fc2015-08-04 18:16:43 +0100166 names: ["libcore.java.util.TimeZoneTest#testAllDisplayNames"],
Narayan Kamathf874d592015-07-28 16:21:35 +0100167 bug: 22786792
Nicolas Geoffrayd9486f92015-10-21 13:59:28 +0100168},
169{
Nicolas Geoffraycbec6d92015-10-23 16:06:49 +0100170 description: "Lack of IPv6 on some buildbot slaves",
171 result: EXEC_FAILED,
172 names: ["libcore.io.OsTest#test_byteBufferPositions_sendto_recvfrom_af_inet6",
173 "libcore.io.OsTest#test_sendtoSocketAddress_af_inet6"],
174 bug: 25178637
Roland Levillain32f7a162015-11-11 12:16:52 +0000175},
176{
177 description: "Non-deterministic test because of a dependency on weak ref collection.",
178 result: EXEC_FAILED,
179 names: ["org.apache.harmony.tests.java.util.WeakHashMapTest#test_keySet"],
180 bug: 25437292
Roland Levillain0041acf2015-12-18 16:55:35 +0000181},
182{
Nicolas Geoffrayd4291d62016-01-06 16:33:41 +0000183 description: "Missing resource in classpath",
184 result: EXEC_FAILED,
185 modes: [device],
186 names: ["libcore.java.util.prefs.OldAbstractPreferencesTest#testClear",
187 "libcore.java.util.prefs.OldAbstractPreferencesTest#testExportNode",
188 "libcore.java.util.prefs.OldAbstractPreferencesTest#testExportSubtree",
189 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGet",
190 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetBoolean",
191 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetByteArray",
192 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetDouble",
193 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetFloat",
194 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetInt",
195 "libcore.java.util.prefs.OldAbstractPreferencesTest#testGetLong",
196 "libcore.java.util.prefs.OldAbstractPreferencesTest#testKeys",
197 "libcore.java.util.prefs.OldAbstractPreferencesTest#testNodeExists",
198 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPut",
199 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutBoolean",
200 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutByteArray",
201 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutDouble",
202 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutFloat",
203 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutInt",
204 "libcore.java.util.prefs.OldAbstractPreferencesTest#testPutLong",
205 "libcore.java.util.prefs.OldAbstractPreferencesTest#testRemove",
206 "libcore.java.util.prefs.OldAbstractPreferencesTest#testRemoveNode",
207 "libcore.java.util.prefs.OldAbstractPreferencesTest#testSync",
208 "libcore.java.util.prefs.PreferencesTest#testHtmlEncoding",
209 "libcore.java.util.prefs.PreferencesTest#testPreferencesClobbersExistingFiles",
210 "org.apache.harmony.tests.java.util.PropertiesTest#test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String",
211 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testExportNode",
212 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testExportSubtree",
213 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testFlush",
214 "org.apache.harmony.tests.java.util.prefs.AbstractPreferencesTest#testSync",
215 "org.apache.harmony.tests.java.util.prefs.FilePreferencesImplTest#testPutGet"]
Nicolas Geoffray1c4ae8c2016-01-12 18:21:05 +0000216},
217{
Narayan Kamathae837922016-02-22 13:34:07 +0000218 description: "Only work with --mode=activity",
219 result: EXEC_FAILED,
220 names: [ "libcore.java.io.FileTest#testJavaIoTmpdirMutable" ]
Nicolas Geoffraye434a812016-03-15 23:01:33 +0000221},
222{
Nicolas Geoffray9631f542016-07-13 10:18:48 +0100223 description: "Flaky test",
224 result: EXEC_FAILED,
225 bug: 30107038,
226 modes: [device],
227 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_destroyForcibly"]
Tobias Thierer533b1582016-07-27 16:00:59 +0100228},
229{
Tobias Thierer4f35c7d2016-08-03 19:12:37 +0100230 description: "Flaky failure, native crash in the runtime.
231 Unclear if this relates to the tests running sh as a child process.",
Tobias Thierer533b1582016-07-27 16:00:59 +0100232 result: EXEC_FAILED,
Tobias Thierer4f35c7d2016-08-03 19:12:37 +0100233 bug: 30657148,
Tobias Thierer533b1582016-07-27 16:00:59 +0100234 modes: [device],
Tobias Thierer4f35c7d2016-08-03 19:12:37 +0100235 names: ["libcore.java.lang.ProcessBuilderTest#testRedirectInherit",
236 "libcore.java.lang.ProcessBuilderTest#testRedirect_nullStreams"]
Narayan Kamathfb7658b2016-08-17 19:14:01 +0100237},
238{
239 description: "BigInteger failures due to the BoringSSL upgrade",
240 result: EXEC_FAILED,
241 bug: 30917411,
242 names: [
243 "org.apache.harmony.tests.java.math.BigIntegerModPowTest#testModPowNegExp",
244 "org.apache.harmony.tests.java.math.BigIntegerModPowTest#testmodInversePos1",
245 "org.apache.harmony.tests.java.math.BigIntegerTest#test_modInverseLjava_math_BigInteger"
246 ]
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000247}
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000248]