blob: b4f686fde91fba9f2c3e23c2c2f366977baff032 [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{
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010039 description: "Issue with incorrect device time (1970)",
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010040 result: EXEC_FAILED,
41 modes: [device],
42 names: ["libcore.java.util.TimeZoneTest#testDisplayNames",
43 "libcore.java.util.TimeZoneTest#test_useDaylightTime_Taiwan",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010044 "org.apache.harmony.tests.java.util.TimeZoneTest#test_hasSameRules_Ljava_util_TimeZone"],
45 bug: 20879084
46},
47{
48 description: "Issue with incorrect device time (1970). Test assumes that DateTime.now()
49 is greater then a date in 1998.",
50 result: EXEC_FAILED,
51 modes: [device],
52 names: ["org.apache.harmony.tests.java.util.DateTest#test_Constructor"]
Wojciech Staszkiewicza0629d52015-05-21 17:43:09 +010053},
54{
David Brazdil830d16e2015-02-24 12:36:03 +000055 description: "Failing due to a locale problem on hammerhead.",
56 result: EXEC_FAILED,
57 modes: [device],
58 names: ["libcore.icu.DateIntervalFormatTest#test10089890",
59 "libcore.icu.DateIntervalFormatTest#test10209343_when_not_this_year",
60 "libcore.icu.DateIntervalFormatTest#test10560853_for_single_day_events",
61 "libcore.icu.DateIntervalFormatTest#test10560853_when_time_not_displayed",
62 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeString",
63 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanString",
64 "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringAbbrev",
65 "libcore.java.text.OldDateFormatTest#test_parseLString",
66 "libcore.java.text.SimpleDateFormatTest#testDstZoneNameWithNonDstTimestamp",
67 "libcore.java.text.SimpleDateFormatTest#testDstZoneWithNonDstTimestampForNonHourDstZone",
68 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneNameWithDstTimestamp",
David Brazdil18c776e2015-02-24 14:13:05 +000069 "libcore.java.text.SimpleDateFormatTest#testNonDstZoneWithDstTimestampForNonHourDstZone",
70 "org.apache.harmony.tests.java.text.SimpleDateFormatTest#test_parseLjava_lang_StringLjava_text_ParsePosition"]
David Brazdil830d16e2015-02-24 12:36:03 +000071},
72{
David Brazdilb60c58f2015-02-25 09:16:34 +000073 description: "Failing due to missing localhost on hammerhead and volantis.",
74 result: EXEC_FAILED,
75 modes: [device],
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000076 names: ["libcore.javax.crypto.CipherTest#testCipherInitWithCertificate",
77 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithFtpURLConnection",
78 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarFtpURLConnection",
Nicolas Geoffrayd6c1ec52015-03-26 18:08:59 +000079 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithLoggingSocketHandler",
80 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithHttpURLConnection",
81 "libcore.net.NetworkSecurityPolicyTest#testCleartextTrafficPolicyWithJarHttpURLConnection",
82 "org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest",
83 "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest",
Wojciech Staszkiewicz12c56d62015-05-29 11:12:59 +010084 "org.apache.harmony.luni.tests.java.net.URLConnectionTest",
85 "org.apache.harmony.tests.java.util.ScannerTest#test_Constructor_LReadableByteChannel"
Nicolas Geoffray51b1f7b2015-03-25 21:13:05 +000086 ]
David Brazdilb60c58f2015-02-25 09:16:34 +000087},
88{
Nicolas Geoffrayee3d0bd2014-12-17 15:27:14 +000089 description: "Test timeouts",
90 result: EXEC_TIMEOUT,
91 modes: [device],
92 names: ["org.apache.harmony.tests.java.util.ScannerTest#testPerformance"]
Nicolas Geoffrayda82d292015-01-21 14:04:31 +000093},
94{
95 description: "Needs the newest cat version on the device",
96 result: EXEC_FAILED,
97 modes: [device],
98 names: ["org.apache.harmony.tests.java.lang.ProcessTest#test_getErrorStream"]
David Brazdil598b2202015-02-24 10:12:06 +000099},
100{
101 description: "Short date format flag ignored for es_US locale.",
102 result: EXEC_FAILED,
103 name: "libcore.icu.DateIntervalFormatTest#test_formatDateInterval",
104 bug: 18619426
David Brazdile2f28ad2015-02-24 10:44:29 +0000105},
106{
107 description: "Error decoding digital signature bytes.",
108 result: EXEC_FAILED,
109 name: "org.apache.harmony.security.tests.java.security.Signature2Test#test_verify$BII",
110 bug: 18869265
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000111},
112{
Nicolas Geoffrayeb10b682015-06-25 11:40:42 +0100113 description: "Test sometimes timeouts on volantis, and on most modes in debug mode",
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000114 result: EXEC_TIMEOUT,
Nicolas Geoffraye501f772015-02-26 14:53:03 +0000115 names: ["libcore.java.lang.SystemTest#testArrayCopyConcurrentModification"],
116 bug: 19165288
Nicolas Geoffray056ed4a2015-03-13 18:26:43 +0000117},
118{
Nicolas Geoffray46333432015-03-16 13:51:43 +0000119 description: "Needs kernel updates on host/device",
120 result: EXEC_FAILED,
121 names: ["libcore.io.OsTest#test_socketPing"]
Nicolas Geoffray399ff772015-04-25 14:39:59 +0100122},
123{
124 description: "Linker issues in chrooted environment",
125 modes: [device],
126 result: EXEC_FAILED,
127 names: ["org.apache.harmony.tests.java.lang.ProcessManagerTest#testEnvironment"]
Nicolas Geoffray6f3f6c72015-05-12 09:27:19 +0100128},
129{
130 description: "Crypto failures",
131 result: EXEC_FAILED,
132 names: ["libcore.javax.crypto.CipherTest#testCipher_ShortBlock_Failure",
Kenny Rootea556cd2015-09-01 17:35:34 +0000133 "libcore.javax.crypto.CipherTest#testCipher_Success"]
Nicolas Geoffrayd9d014a2015-06-26 09:24:16 +0100134},
135{
136 description: "Flake when running with libartd.so or interpreter",
137 result: EXEC_FAILED,
138 bug:22106064,
139 name: "libcore.java.lang.OldThreadGroupTest#test_enumerateLThreadArrayLZtest_enumerateLThreadArrayLZ"
Narayan Kamath1eca58a2015-07-03 13:20:51 +0100140},
141{
142 description: "test_xattr fails on arm64 on the buildbots only: needs investigation",
143 result: EXEC_FAILED,
144 modes: [device],
145 names: ["libcore.io.OsTest#test_xattr"],
146 bug: 22258911
Nicolas Geoffrayd6c201e2015-07-16 19:11:54 +0100147},
148{
149 description: "fails on L builds: needs investigation",
150 result: EXEC_FAILED,
151 modes: [device],
152 names: ["org.apache.harmony.tests.java.lang.ClassTest#test_forNameLjava_lang_String"]
Narayan Kamathf874d592015-07-28 16:21:35 +0100153},
154{
155 description: "TimeZoneTest.testAllDisplayNames times out, needs investigation",
Nicolas Geoffray4af48fc2015-08-04 18:16:43 +0100156 result: EXEC_TIMEOUT,
Narayan Kamathf874d592015-07-28 16:21:35 +0100157 modes: [device],
Nicolas Geoffray4af48fc2015-08-04 18:16:43 +0100158 names: ["libcore.java.util.TimeZoneTest#testAllDisplayNames"],
Narayan Kamathf874d592015-07-28 16:21:35 +0100159 bug: 22786792
Nicolas Geoffrayd9486f92015-10-21 13:59:28 +0100160},
161{
162 description: "Formatting failures",
163 result: EXEC_FAILED,
164 names: ["libcore.java.text.NumberFormatTest#test_currencyFromLocale",
165 "libcore.java.text.NumberFormatTest#test_currencyWithPatternDigits"],
166 bug: 25136848
Nicolas Geoffrayc3837e42014-12-03 11:30:26 +0000167}
168]