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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/perf_tests_failure.json

Issue 815213002: Cause chromium_android recipe to consume device_status_check's json. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Add missing files Created 6 years 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 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 260 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
261 "[SLAVE_BUILD]/src/out/logcat" 261 "[SLAVE_BUILD]/src/out/logcat"
262 ], 262 ],
263 "env": { 263 "env": {
264 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 264 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
265 }, 265 },
266 "name": "spawn_logcat_monitor" 266 "name": "spawn_logcat_monitor"
267 }, 267 },
268 { 268 {
269 "cmd": [ 269 "cmd": [
270 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 270 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
271 "--json-output",
272 "/path/to/tmp/json"
271 ], 273 ],
272 "env": { 274 "env": {
273 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 275 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
274 }, 276 },
275 "name": "device_status_check" 277 "name": "device_status_check",
278 "~followup_annotations": [
279 "@@@STEP_LOG_LINE@json.output@[@@@",
280 "@@@STEP_LOG_LINE@json.output@ {@@@",
281 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
282 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
283 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
284 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
285 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
286 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
287 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
288 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
289 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
290 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
291 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
292 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
293 "@@@STEP_LOG_LINE@json.output@ }, @@@",
294 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
295 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
296 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
297 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
298 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
299 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
300 "@@@STEP_LOG_LINE@json.output@ }@@@",
301 "@@@STEP_LOG_LINE@json.output@]@@@",
302 "@@@STEP_LOG_END@json.output@@@"
303 ]
276 }, 304 },
277 { 305 {
278 "cmd": [ 306 "cmd": [
279 "python", 307 "python",
280 "-u", 308 "-u",
281 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 309 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
282 "-t", 310 "-t",
283 "Release" 311 "Release"
284 ], 312 ],
285 "env": { 313 "env": {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 528 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
501 }, 529 },
502 "name": "stack_tool_for_asan" 530 "name": "stack_tool_for_asan"
503 }, 531 },
504 { 532 {
505 "name": "$final_result", 533 "name": "$final_result",
506 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]", 534 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]",
507 "status_code": 1 535 "status_code": 1
508 } 536 }
509 ] 537 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698