Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: scripts/slave/recipes/android/appurify.expected/Android_Tests__amp__dbg__test_failure.json

Issue 954743003: Make step status EXCEPTION when test runner has infrastructure failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Moved exit code dict to test_runner function. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.fyi", 8 "chromium.fyi",
9 "--builder", 9 "--builder",
10 "Android Tests (amp)(dbg)", 10 "Android Tests (amp)(dbg)",
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 "--remote-device-timeout", 1053 "--remote-device-timeout",
1054 "60", 1054 "60",
1055 "--collect", 1055 "--collect",
1056 "[TMP_BASE]/amp_trigger_tmp_1/base_unittests.json", 1056 "[TMP_BASE]/amp_trigger_tmp_1/base_unittests.json",
1057 "--results-path", 1057 "--results-path",
1058 "[TMP_BASE]/amp_results_tmp_2/base_unittests/results.zip", 1058 "[TMP_BASE]/amp_results_tmp_2/base_unittests/results.zip",
1059 "--verbose" 1059 "--verbose"
1060 ], 1060 ],
1061 "name": "[collect] base_unittests", 1061 "name": "[collect] base_unittests",
1062 "~followup_annotations": [ 1062 "~followup_annotations": [
1063 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@" 1063 "step returned non-zero exit code: 87",
1064 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@",
1065 "@@@STEP_EXCEPTION@@@"
1064 ] 1066 ]
1065 }, 1067 },
1066 { 1068 {
1069 "cmd": [
1070 "python",
1071 "-u",
1072 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
1073 "[TMP_BASE]/amp_trigger_tmp_1/base_unittests.json",
1074 "/path/to/tmp/json"
1075 ],
1076 "name": "[upload logcat] load base_unittests data",
1077 "~followup_annotations": [
1078 "@@@STEP_LOG_LINE@json.output@{@@@",
1079 "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
1080 "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
1081 "@@@STEP_LOG_LINE@json.output@ }@@@",
1082 "@@@STEP_LOG_LINE@json.output@}@@@",
1083 "@@@STEP_LOG_END@json.output@@@"
1084 ]
1085 },
1086 {
1087 "cmd": [
1088 "python",
1089 "-u",
1090 "[BUILD]/scripts/slave/recipe_modules/zip/resources/unzip.py"
1091 ],
1092 "name": "[upload logcat] unzip results for base_unittests",
1093 "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/base_unittests/unzippe d_results\", \"use_python_zip\": false, \"zip_file\": \"[TMP_BASE]/amp_results_t mp_2/base_unittests/results.zip\"}"
1094 },
1095 {
1096 "cmd": [
1097 "python",
1098 "-u",
1099 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
1100 "--",
1101 "[DEPOT_TOOLS]/gsutil.py",
1102 "--force-version",
1103 "3.25",
1104 "--",
1105 "cp",
1106 "[TMP_BASE]/amp_results_tmp_2/base_unittests/unzipped_results/appurify_res ults/logcat.txt",
1107 "gs://chrome-amp-results/logcats/logcat_base_unittests_12345abcde.txt"
1108 ],
1109 "name": "gsutil [upload logcat] base_unittests",
1110 "~followup_annotations": [
1111 "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/l ogcats/logcat_base_unittests_12345abcde.txt@@@"
1112 ]
1113 },
1114 {
1067 "cmd": [ 1115 "cmd": [
1068 "python", 1116 "python",
1069 "-u", 1117 "-u",
1070 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 1118 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
1071 "[TMP_BASE]/amp_trigger_tmp_1/cc_unittests.json", 1119 "[TMP_BASE]/amp_trigger_tmp_1/cc_unittests.json",
1072 "/path/to/tmp/json" 1120 "/path/to/tmp/json"
1073 ], 1121 ],
1074 "name": "[collect] load cc_unittests data", 1122 "name": "[collect] load cc_unittests data",
1075 "~followup_annotations": [ 1123 "~followup_annotations": [
1076 "@@@STEP_LOG_LINE@json.output@{@@@", 1124 "@@@STEP_LOG_LINE@json.output@{@@@",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 "--remote-device-timeout", 1183 "--remote-device-timeout",
1136 "60", 1184 "60",
1137 "--collect", 1185 "--collect",
1138 "[TMP_BASE]/amp_trigger_tmp_1/cc_unittests.json", 1186 "[TMP_BASE]/amp_trigger_tmp_1/cc_unittests.json",
1139 "--results-path", 1187 "--results-path",
1140 "[TMP_BASE]/amp_results_tmp_2/cc_unittests/results.zip", 1188 "[TMP_BASE]/amp_results_tmp_2/cc_unittests/results.zip",
1141 "--verbose" 1189 "--verbose"
1142 ], 1190 ],
1143 "name": "[collect] cc_unittests", 1191 "name": "[collect] cc_unittests",
1144 "~followup_annotations": [ 1192 "~followup_annotations": [
1145 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@" 1193 "step returned non-zero exit code: 88",
1194 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@",
1195 "@@@STEP_WARNINGS@@@"
1146 ] 1196 ]
1147 }, 1197 },
1148 { 1198 {
1199 "cmd": [
1200 "python",
1201 "-u",
1202 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
1203 "[TMP_BASE]/amp_trigger_tmp_1/cc_unittests.json",
1204 "/path/to/tmp/json"
1205 ],
1206 "name": "[upload logcat] load cc_unittests data",
1207 "~followup_annotations": [
1208 "@@@STEP_LOG_LINE@json.output@{@@@",
1209 "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
1210 "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
1211 "@@@STEP_LOG_LINE@json.output@ }@@@",
1212 "@@@STEP_LOG_LINE@json.output@}@@@",
1213 "@@@STEP_LOG_END@json.output@@@"
1214 ]
1215 },
1216 {
1217 "cmd": [
1218 "python",
1219 "-u",
1220 "[BUILD]/scripts/slave/recipe_modules/zip/resources/unzip.py"
1221 ],
1222 "name": "[upload logcat] unzip results for cc_unittests",
1223 "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/cc_unittests/unzipped_ results\", \"use_python_zip\": false, \"zip_file\": \"[TMP_BASE]/amp_results_tmp _2/cc_unittests/results.zip\"}"
1224 },
1225 {
1226 "cmd": [
1227 "python",
1228 "-u",
1229 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
1230 "--",
1231 "[DEPOT_TOOLS]/gsutil.py",
1232 "--force-version",
1233 "3.25",
1234 "--",
1235 "cp",
1236 "[TMP_BASE]/amp_results_tmp_2/cc_unittests/unzipped_results/appurify_resul ts/logcat.txt",
1237 "gs://chrome-amp-results/logcats/logcat_cc_unittests_12345abcde.txt"
1238 ],
1239 "name": "gsutil [upload logcat] cc_unittests",
1240 "~followup_annotations": [
1241 "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/l ogcats/logcat_cc_unittests_12345abcde.txt@@@"
1242 ]
1243 },
1244 {
1149 "cmd": [ 1245 "cmd": [
1150 "python", 1246 "python",
1151 "-u", 1247 "-u",
1152 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 1248 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
1153 "[TMP_BASE]/amp_trigger_tmp_1/events_unittests.json", 1249 "[TMP_BASE]/amp_trigger_tmp_1/events_unittests.json",
1154 "/path/to/tmp/json" 1250 "/path/to/tmp/json"
1155 ], 1251 ],
1156 "name": "[collect] load events_unittests data", 1252 "name": "[collect] load events_unittests data",
1157 "~followup_annotations": [ 1253 "~followup_annotations": [
1158 "@@@STEP_LOG_LINE@json.output@{@@@", 1254 "@@@STEP_LOG_LINE@json.output@{@@@",
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 "[TMP_BASE]/amp_results_tmp_2/ui_touch_selection_unittests/results.zip", 1646 "[TMP_BASE]/amp_results_tmp_2/ui_touch_selection_unittests/results.zip",
1551 "--verbose" 1647 "--verbose"
1552 ], 1648 ],
1553 "name": "[collect] ui_touch_selection_unittests", 1649 "name": "[collect] ui_touch_selection_unittests",
1554 "~followup_annotations": [ 1650 "~followup_annotations": [
1555 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@" 1651 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@"
1556 ] 1652 ]
1557 }, 1653 },
1558 { 1654 {
1559 "name": "$final_result", 1655 "name": "$final_result",
1560 "reason": "2 out of 18 aggregated steps failed. Failures: Step('[trigger] co mponents_unittests') failed with return_code 1, Step('[collect] android_webview_ unittests') failed with return_code 1", 1656 "reason": "4 out of 20 aggregated steps failed. Failures: Step('[trigger] co mponents_unittests') failed with return_code 1, Step('[collect] android_webview_ unittests') failed with return_code 1, Step('[collect] base_unittests') failed w ith return_code 87, Step('[collect] cc_unittests') failed with return_code 88",
1561 "status_code": 1 1657 "status_code": 1
1562 } 1658 }
1563 ] 1659 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698