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

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

Issue 2103503002: adb: move known devices file under cache so it works with remote_run (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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 }, 299 },
300 { 300 {
301 "cmd": [], 301 "cmd": [],
302 "name": "fix_device_file_format" 302 "name": "fix_device_file_format"
303 }, 303 },
304 { 304 {
305 "cmd": [ 305 "cmd": [
306 "python", 306 "python",
307 "-u", 307 "-u",
308 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 308 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
309 "[BUILD]/site_config/.known_devices", 309 "[CACHE]/known_android_devices",
310 "/path/to/tmp/" 310 "/path/to/tmp/"
311 ], 311 ],
312 "name": "fix_device_file_format.read_device_file", 312 "name": "fix_device_file_format.read_device_file",
313 "~followup_annotations": [ 313 "~followup_annotations": [
314 "@@@STEP_NEST_LEVEL@1@@@", 314 "@@@STEP_NEST_LEVEL@1@@@",
315 "@@@STEP_TEXT@file format is compatible@@@" 315 "@@@STEP_TEXT@file format is compatible@@@"
316 ] 316 ]
317 }, 317 },
318 { 318 {
319 "cmd": [ 319 "cmd": [
320 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 320 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
321 "--adb-path", 321 "--adb-path",
322 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 322 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
323 "--blacklist-file", 323 "--blacklist-file",
324 "[SLAVE_BUILD]/src/out/bad_devices.json", 324 "[SLAVE_BUILD]/src/out/bad_devices.json",
325 "--json-output", 325 "--json-output",
326 "/path/to/tmp/json", 326 "/path/to/tmp/json",
327 "--known-devices-file", 327 "--known-devices-file",
328 "[BUILD]/site_config/.known_devices" 328 "[CACHE]/known_android_devices"
329 ], 329 ],
330 "env": { 330 "env": {
331 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 331 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
332 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 332 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
333 }, 333 },
334 "name": "device_status_check", 334 "name": "device_status_check",
335 "~followup_annotations": [ 335 "~followup_annotations": [
336 "@@@STEP_TEXT@Online devices: 1@@@", 336 "@@@STEP_TEXT@Online devices: 1@@@",
337 "@@@STEP_LOG_LINE@json.output@[@@@", 337 "@@@STEP_LOG_LINE@json.output@[@@@",
338 "@@@STEP_LOG_LINE@json.output@ {@@@", 338 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 }, 449 },
450 { 450 {
451 "cmd": [], 451 "cmd": [],
452 "name": "fix_device_file_format (2)" 452 "name": "fix_device_file_format (2)"
453 }, 453 },
454 { 454 {
455 "cmd": [ 455 "cmd": [
456 "python", 456 "python",
457 "-u", 457 "-u",
458 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 458 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
459 "[BUILD]/site_config/.known_devices", 459 "[CACHE]/known_android_devices",
460 "/path/to/tmp/" 460 "/path/to/tmp/"
461 ], 461 ],
462 "name": "fix_device_file_format.read_device_file (2)", 462 "name": "fix_device_file_format.read_device_file (2)",
463 "~followup_annotations": [ 463 "~followup_annotations": [
464 "@@@STEP_NEST_LEVEL@1@@@", 464 "@@@STEP_NEST_LEVEL@1@@@",
465 "@@@STEP_TEXT@file format is compatible@@@" 465 "@@@STEP_TEXT@file format is compatible@@@"
466 ] 466 ]
467 }, 467 },
468 { 468 {
469 "cmd": [ 469 "cmd": [
470 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 470 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
471 "--adb-path", 471 "--adb-path",
472 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 472 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
473 "--blacklist-file", 473 "--blacklist-file",
474 "[SLAVE_BUILD]/src/out/bad_devices.json", 474 "[SLAVE_BUILD]/src/out/bad_devices.json",
475 "--json-output", 475 "--json-output",
476 "/path/to/tmp/json", 476 "/path/to/tmp/json",
477 "--known-devices-file", 477 "--known-devices-file",
478 "[BUILD]/site_config/.known_devices" 478 "[CACHE]/known_android_devices"
479 ], 479 ],
480 "env": { 480 "env": {
481 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 481 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
482 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 482 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
483 }, 483 },
484 "name": "device_status_check (2)", 484 "name": "device_status_check (2)",
485 "~followup_annotations": [ 485 "~followup_annotations": [
486 "@@@STEP_TEXT@Online devices: 1@@@", 486 "@@@STEP_TEXT@Online devices: 1@@@",
487 "@@@STEP_LOG_LINE@json.output@[@@@", 487 "@@@STEP_LOG_LINE@json.output@[@@@",
488 "@@@STEP_LOG_LINE@json.output@ {@@@", 488 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 755 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
756 }, 756 },
757 "name": "stack_tool_for_asan" 757 "name": "stack_tool_for_asan"
758 }, 758 },
759 { 759 {
760 "name": "$result", 760 "name": "$result",
761 "recipe_result": null, 761 "recipe_result": null,
762 "status_code": 0 762 "status_code": 0
763 } 763 }
764 ] 764 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698