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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_offline_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_TEXT@Online devices: 0@@@", 307 "@@@STEP_TEXT@Online devices: 0@@@",
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 28 matching lines...) Expand all
338 }, 338 },
339 { 339 {
340 "cmd": [], 340 "cmd": [],
341 "name": "fix_device_file_format (2)" 341 "name": "fix_device_file_format (2)"
342 }, 342 },
343 { 343 {
344 "cmd": [ 344 "cmd": [
345 "python", 345 "python",
346 "-u", 346 "-u",
347 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 347 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
348 "[BUILD]/site_config/.known_devices", 348 "[CACHE]/known_android_devices",
349 "/path/to/tmp/" 349 "/path/to/tmp/"
350 ], 350 ],
351 "name": "fix_device_file_format.read_device_file (2)", 351 "name": "fix_device_file_format.read_device_file (2)",
352 "~followup_annotations": [ 352 "~followup_annotations": [
353 "@@@STEP_NEST_LEVEL@1@@@", 353 "@@@STEP_NEST_LEVEL@1@@@",
354 "@@@STEP_TEXT@file format is compatible@@@" 354 "@@@STEP_TEXT@file format is compatible@@@"
355 ] 355 ]
356 }, 356 },
357 { 357 {
358 "cmd": [ 358 "cmd": [
359 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 359 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
360 "--adb-path", 360 "--adb-path",
361 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 361 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
362 "--blacklist-file", 362 "--blacklist-file",
363 "[SLAVE_BUILD]/src/out/bad_devices.json", 363 "[SLAVE_BUILD]/src/out/bad_devices.json",
364 "--json-output", 364 "--json-output",
365 "/path/to/tmp/json", 365 "/path/to/tmp/json",
366 "--known-devices-file", 366 "--known-devices-file",
367 "[BUILD]/site_config/.known_devices" 367 "[CACHE]/known_android_devices"
368 ], 368 ],
369 "env": { 369 "env": {
370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
371 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 371 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
372 }, 372 },
373 "name": "device_status_check (2)", 373 "name": "device_status_check (2)",
374 "~followup_annotations": [ 374 "~followup_annotations": [
375 "@@@STEP_TEXT@Online devices: 1@@@", 375 "@@@STEP_TEXT@Online devices: 1@@@",
376 "@@@STEP_LOG_LINE@json.output@[@@@", 376 "@@@STEP_LOG_LINE@json.output@[@@@",
377 "@@@STEP_LOG_LINE@json.output@ {@@@", 377 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 644 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
645 }, 645 },
646 "name": "stack_tool_for_asan" 646 "name": "stack_tool_for_asan"
647 }, 647 },
648 { 648 {
649 "name": "$result", 649 "name": "$result",
650 "recipe_result": null, 650 "recipe_result": null,
651 "status_code": 0 651 "status_code": 0
652 } 652 }
653 ] 653 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698