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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_offline_devices.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: 0@@@", 289 "@@@STEP_TEXT@Online devices: 0@@@",
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 29 matching lines...) Expand all
321 { 321 {
322 "cmd": [ 322 "cmd": [
323 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 323 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
324 "--adb-path", 324 "--adb-path",
325 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 325 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
326 "--blacklist-file", 326 "--blacklist-file",
327 "[SLAVE_BUILD]/src/out/bad_devices.json", 327 "[SLAVE_BUILD]/src/out/bad_devices.json",
328 "--json-output", 328 "--json-output",
329 "/path/to/tmp/json", 329 "/path/to/tmp/json",
330 "--known-devices-file", 330 "--known-devices-file",
331 "[BUILD]/site_config/.known_devices" 331 "[CACHE]/known_android_devices"
332 ], 332 ],
333 "env": { 333 "env": {
334 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 334 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
335 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 335 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
336 }, 336 },
337 "name": "device_status_check (2)", 337 "name": "device_status_check (2)",
338 "~followup_annotations": [ 338 "~followup_annotations": [
339 "@@@STEP_TEXT@Online devices: 1@@@", 339 "@@@STEP_TEXT@Online devices: 1@@@",
340 "@@@STEP_LOG_LINE@json.output@[@@@", 340 "@@@STEP_LOG_LINE@json.output@[@@@",
341 "@@@STEP_LOG_LINE@json.output@ {@@@", 341 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 608 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
609 }, 609 },
610 "name": "stack_tool_for_asan" 610 "name": "stack_tool_for_asan"
611 }, 611 },
612 { 612 {
613 "name": "$result", 613 "name": "$result",
614 "recipe_result": null, 614 "recipe_result": null,
615 "status_code": 0 615 "status_code": 0
616 } 616 }
617 ] 617 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698