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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 { 378 {
379 "cmd": [ 379 "cmd": [
380 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 380 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
381 "--adb-path", 381 "--adb-path",
382 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 382 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
383 "--blacklist-file", 383 "--blacklist-file",
384 "[SLAVE_BUILD]/src/out/bad_devices.json", 384 "[SLAVE_BUILD]/src/out/bad_devices.json",
385 "--json-output", 385 "--json-output",
386 "/path/to/tmp/json", 386 "/path/to/tmp/json",
387 "--known-devices-file", 387 "--known-devices-file",
388 "[BUILD]/site_config/.known_devices" 388 "[CACHE]/known_android_devices"
389 ], 389 ],
390 "env": { 390 "env": {
391 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 391 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
392 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 392 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
393 }, 393 },
394 "name": "device_status_check", 394 "name": "device_status_check",
395 "~followup_annotations": [ 395 "~followup_annotations": [
396 "@@@STEP_TEXT@Online devices: 1@@@", 396 "@@@STEP_TEXT@Online devices: 1@@@",
397 "@@@STEP_LOG_LINE@json.output@[@@@", 397 "@@@STEP_LOG_LINE@json.output@[@@@",
398 "@@@STEP_LOG_LINE@json.output@ {@@@", 398 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 694 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
695 "@@@STEP_LOG_END@python.inline@@@" 695 "@@@STEP_LOG_END@python.inline@@@"
696 ] 696 ]
697 }, 697 },
698 { 698 {
699 "name": "$result", 699 "name": "$result",
700 "recipe_result": null, 700 "recipe_result": null,
701 "status_code": 0 701 "status_code": 0
702 } 702 }
703 ] 703 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698