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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 272 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
273 "[SLAVE_BUILD]/src/out/logcat" 273 "[SLAVE_BUILD]/src/out/logcat"
274 ], 274 ],
275 "env": { 275 "env": {
276 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 276 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
277 }, 277 },
278 "name": "spawn_logcat_monitor" 278 "name": "spawn_logcat_monitor"
279 }, 279 },
280 { 280 {
281 "cmd": [ 281 "cmd": [
282 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 282 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
283 "--json-output",
284 "/path/to/tmp/json"
283 ], 285 ],
284 "env": { 286 "env": {
285 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 287 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
286 }, 288 },
287 "name": "device_status_check" 289 "name": "device_status_check",
290 "~followup_annotations": [
291 "@@@STEP_LOG_LINE@json.output@[@@@",
292 "@@@STEP_LOG_LINE@json.output@ {@@@",
293 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
294 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
295 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
296 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
297 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
298 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
299 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
300 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
301 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
302 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
303 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
304 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
305 "@@@STEP_LOG_LINE@json.output@ }, @@@",
306 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
307 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
308 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
309 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
310 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
311 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
312 "@@@STEP_LOG_LINE@json.output@ }@@@",
313 "@@@STEP_LOG_LINE@json.output@]@@@",
314 "@@@STEP_LOG_END@json.output@@@"
315 ]
288 }, 316 },
289 { 317 {
290 "cmd": [ 318 "cmd": [
291 "python", 319 "python",
292 "-u", 320 "-u",
293 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 321 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
294 "-t", 322 "-t",
295 "Release", 323 "Release",
296 "--skip-wipe" 324 "--skip-wipe"
297 ], 325 ],
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 448 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
421 "-l", 449 "-l",
422 "[SLAVE_BUILD]/src/out/Release/full_log" 450 "[SLAVE_BUILD]/src/out/Release/full_log"
423 ], 451 ],
424 "env": { 452 "env": {
425 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 453 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
426 }, 454 },
427 "name": "stack_tool_for_asan" 455 "name": "stack_tool_for_asan"
428 } 456 }
429 ] 457 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698