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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 { 271 {
272 "cmd": [ 272 "cmd": [
273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
274 "--adb-path", 274 "--adb-path",
275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
276 "--blacklist-file", 276 "--blacklist-file",
277 "[SLAVE_BUILD]/src/out/bad_devices.json", 277 "[SLAVE_BUILD]/src/out/bad_devices.json",
278 "--json-output", 278 "--json-output",
279 "/path/to/tmp/json", 279 "/path/to/tmp/json",
280 "--known-devices-file", 280 "--known-devices-file",
281 "[BUILD]/site_config/.known_devices" 281 "[CACHE]/known_android_devices"
282 ], 282 ],
283 "env": { 283 "env": {
284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
285 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 285 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
286 }, 286 },
287 "name": "device_status_check", 287 "name": "device_status_check",
288 "~followup_annotations": [ 288 "~followup_annotations": [
289 "@@@STEP_TEXT@Online devices: 1@@@", 289 "@@@STEP_TEXT@Online devices: 1@@@",
290 "@@@STEP_LOG_LINE@json.output@[@@@", 290 "@@@STEP_LOG_LINE@json.output@[@@@",
291 "@@@STEP_LOG_LINE@json.output@ {@@@", 291 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 { 403 {
404 "cmd": [ 404 "cmd": [
405 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 405 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
406 "--adb-path", 406 "--adb-path",
407 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 407 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
408 "--blacklist-file", 408 "--blacklist-file",
409 "[SLAVE_BUILD]/src/out/bad_devices.json", 409 "[SLAVE_BUILD]/src/out/bad_devices.json",
410 "--json-output", 410 "--json-output",
411 "/path/to/tmp/json", 411 "/path/to/tmp/json",
412 "--known-devices-file", 412 "--known-devices-file",
413 "[BUILD]/site_config/.known_devices" 413 "[CACHE]/known_android_devices"
414 ], 414 ],
415 "env": { 415 "env": {
416 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 416 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
417 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 417 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
418 }, 418 },
419 "name": "device_status_check (2)", 419 "name": "device_status_check (2)",
420 "~followup_annotations": [ 420 "~followup_annotations": [
421 "@@@STEP_TEXT@Online devices: 1@@@", 421 "@@@STEP_TEXT@Online devices: 1@@@",
422 "@@@STEP_LOG_LINE@json.output@[@@@", 422 "@@@STEP_LOG_LINE@json.output@[@@@",
423 "@@@STEP_LOG_LINE@json.output@ {@@@", 423 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 855 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
856 }, 856 },
857 "name": "stack_tool_for_asan" 857 "name": "stack_tool_for_asan"
858 }, 858 },
859 { 859 {
860 "name": "$result", 860 "name": "$result",
861 "recipe_result": null, 861 "recipe_result": null,
862 "status_code": 0 862 "status_code": 0
863 } 863 }
864 ] 864 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698