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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_no_devices.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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 }, 270 },
271 { 271 {
272 "cmd": [], 272 "cmd": [],
273 "name": "fix_device_file_format" 273 "name": "fix_device_file_format"
274 }, 274 },
275 { 275 {
276 "cmd": [ 276 "cmd": [
277 "python", 277 "python",
278 "-u", 278 "-u",
279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
280 "[BUILD]/site_config/.known_devices", 280 "[CACHE]/known_android_devices",
281 "/path/to/tmp/" 281 "/path/to/tmp/"
282 ], 282 ],
283 "name": "fix_device_file_format.read_device_file", 283 "name": "fix_device_file_format.read_device_file",
284 "~followup_annotations": [ 284 "~followup_annotations": [
285 "@@@STEP_NEST_LEVEL@1@@@", 285 "@@@STEP_NEST_LEVEL@1@@@",
286 "@@@STEP_TEXT@file format is compatible@@@" 286 "@@@STEP_TEXT@file format is compatible@@@"
287 ] 287 ]
288 }, 288 },
289 { 289 {
290 "cmd": [ 290 "cmd": [
291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
292 "--adb-path", 292 "--adb-path",
293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
294 "--blacklist-file", 294 "--blacklist-file",
295 "[SLAVE_BUILD]/src/out/bad_devices.json", 295 "[SLAVE_BUILD]/src/out/bad_devices.json",
296 "--json-output", 296 "--json-output",
297 "/path/to/tmp/json", 297 "/path/to/tmp/json",
298 "--known-devices-file", 298 "--known-devices-file",
299 "[BUILD]/site_config/.known_devices" 299 "[CACHE]/known_android_devices"
300 ], 300 ],
301 "env": { 301 "env": {
302 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 302 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
303 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 303 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
304 }, 304 },
305 "name": "device_status_check", 305 "name": "device_status_check",
306 "~followup_annotations": [ 306 "~followup_annotations": [
307 "step returned non-zero exit code: 1", 307 "step returned non-zero exit code: 1",
308 "@@@STEP_LOG_LINE@json.output@[@@@", 308 "@@@STEP_LOG_LINE@json.output@[@@@",
309 "@@@STEP_LOG_LINE@json.output@ {@@@", 309 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 490 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
491 }, 491 },
492 "name": "stack_tool_for_asan" 492 "name": "stack_tool_for_asan"
493 }, 493 },
494 { 494 {
495 "name": "$result", 495 "name": "$result",
496 "reason": "Infra Failure: Step('device_status_check') returned 1", 496 "reason": "Infra Failure: Step('device_status_check') returned 1",
497 "status_code": 1 497 "status_code": 1
498 } 498 }
499 ] 499 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698