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

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

Issue 2103803002: adb: move known devices file under cache so it works with remote_run (attempt #2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 5 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 | Annotate | Revision Log
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 { 290 {
291 "cmd": [ 291 "cmd": [
292 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 292 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
293 "--adb-path", 293 "--adb-path",
294 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 294 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
295 "--blacklist-file", 295 "--blacklist-file",
296 "[SLAVE_BUILD]/src/out/bad_devices.json", 296 "[SLAVE_BUILD]/src/out/bad_devices.json",
297 "--json-output", 297 "--json-output",
298 "/path/to/tmp/json", 298 "/path/to/tmp/json",
299 "--known-devices-file", 299 "--known-devices-file",
300 "[BUILD]/site_config/.known_devices" 300 "[CACHE]/known_android_devices"
301 ], 301 ],
302 "env": { 302 "env": {
303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
304 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 304 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
305 }, 305 },
306 "name": "device_status_check", 306 "name": "device_status_check",
307 "~followup_annotations": [ 307 "~followup_annotations": [
308 "@@@STEP_TEXT@Online devices: 1@@@", 308 "@@@STEP_TEXT@Online devices: 1@@@",
309 "@@@STEP_LOG_LINE@json.output@[@@@", 309 "@@@STEP_LOG_LINE@json.output@[@@@",
310 "@@@STEP_LOG_LINE@json.output@ {@@@", 310 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 { 422 {
423 "cmd": [ 423 "cmd": [
424 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 424 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
425 "--adb-path", 425 "--adb-path",
426 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 426 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
427 "--blacklist-file", 427 "--blacklist-file",
428 "[SLAVE_BUILD]/src/out/bad_devices.json", 428 "[SLAVE_BUILD]/src/out/bad_devices.json",
429 "--json-output", 429 "--json-output",
430 "/path/to/tmp/json", 430 "/path/to/tmp/json",
431 "--known-devices-file", 431 "--known-devices-file",
432 "[BUILD]/site_config/.known_devices", 432 "[CACHE]/known_android_devices",
433 "--restart-usb" 433 "--restart-usb"
434 ], 434 ],
435 "env": { 435 "env": {
436 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 436 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
437 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 437 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
438 }, 438 },
439 "name": "device_status_check (2)", 439 "name": "device_status_check (2)",
440 "~followup_annotations": [ 440 "~followup_annotations": [
441 "@@@STEP_TEXT@Online devices: 1@@@", 441 "@@@STEP_TEXT@Online devices: 1@@@",
442 "@@@STEP_LOG_LINE@json.output@[@@@", 442 "@@@STEP_LOG_LINE@json.output@[@@@",
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
711 }, 711 },
712 "name": "stack_tool_for_asan" 712 "name": "stack_tool_for_asan"
713 }, 713 },
714 { 714 {
715 "name": "$result", 715 "name": "$result",
716 "recipe_result": null, 716 "recipe_result": null,
717 "status_code": 0 717 "status_code": 0
718 } 718 }
719 ] 719 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698