| OLD | NEW |
| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 263 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 264 ], | 264 ], |
| 265 "env": { | 265 "env": { |
| 266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 268 }, | 268 }, |
| 269 "name": "authorize_adb_devices" | 269 "name": "authorize_adb_devices" |
| 270 }, | 270 }, |
| 271 { | 271 { |
| 272 "cmd": [ | 272 "cmd": [ |
| 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 273 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 274 "--blacklist-file", |
| 275 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 276 "--known-devices-file", |
| 277 "[CACHE]/known_android_devices", |
| 274 "--adb-path", | 278 "--adb-path", |
| 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 279 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 276 "--blacklist-file", | 280 "-v" |
| 277 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 278 "--json-output", | |
| 279 "/path/to/tmp/json", | |
| 280 "--known-devices-file", | |
| 281 "[CACHE]/known_android_devices" | |
| 282 ], | 281 ], |
| 283 "env": { | 282 "env": { |
| 284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 283 "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" | 284 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 286 }, | 285 }, |
| 287 "name": "device_status_check", | 286 "name": "device_recovery" |
| 287 }, |
| 288 { |
| 289 "cmd": [ |
| 290 "python", |
| 291 "-u", |
| 292 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 293 "--adb-path", |
| 294 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 295 "--blacklist-file", |
| 296 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 297 "--output-device-blacklist", |
| 298 "/path/to/tmp/json", |
| 299 "-t", |
| 300 "Release" |
| 301 ], |
| 302 "env": { |
| 303 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 304 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 305 }, |
| 306 "name": "provision_devices" |
| 307 }, |
| 308 { |
| 309 "cmd": [ |
| 310 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 311 "--json-output", |
| 312 "/path/to/tmp/json", |
| 313 "--blacklist-file", |
| 314 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 315 "--known-devices-file", |
| 316 "[CACHE]/known_android_devices", |
| 317 "--buildbot-path", |
| 318 "/home/chrome-bot/.adb_device_info", |
| 319 "--adb-path", |
| 320 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 321 "-v", |
| 322 "--overwrite-known-devices-files" |
| 323 ], |
| 324 "env": { |
| 325 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 326 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 327 }, |
| 328 "name": "device_status", |
| 288 "~followup_annotations": [ | 329 "~followup_annotations": [ |
| 289 "@@@STEP_TEXT@Online devices: 0@@@", | 330 "@@@STEP_TEXT@Online devices: 0@@@", |
| 290 "@@@STEP_LOG_LINE@json.output@[@@@", | 331 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ {}, @@@", | 332 "@@@STEP_LOG_LINE@json.output@ {}, @@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ {}@@@", | 333 "@@@STEP_LOG_LINE@json.output@ {}@@@", |
| 293 "@@@STEP_LOG_LINE@json.output@]@@@", | 334 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 294 "@@@STEP_LOG_END@json.output@@@", | 335 "@@@STEP_LOG_END@json.output@@@", |
| 295 "@@@STEP_LOG_LINE@unknown device 1@{}@@@", | 336 "@@@STEP_LOG_LINE@unknown device 1@{}@@@", |
| 296 "@@@STEP_LOG_END@unknown device 1@@@", | 337 "@@@STEP_LOG_END@unknown device 1@@@", |
| 297 "@@@STEP_LOG_LINE@unknown device 2@{}@@@", | 338 "@@@STEP_LOG_LINE@unknown device 2@{}@@@", |
| 298 "@@@STEP_LOG_END@unknown device 2@@@" | 339 "@@@STEP_LOG_END@unknown device 2@@@" |
| 299 ] | 340 ] |
| 300 }, | 341 }, |
| 301 { | 342 { |
| 302 "cmd": [ | 343 "cmd": [ |
| 303 "python", | 344 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 304 "-u", | 345 "--blacklist-file", |
| 305 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 346 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 347 "--known-devices-file", |
| 348 "[CACHE]/known_android_devices", |
| 306 "--adb-path", | 349 "--adb-path", |
| 307 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 350 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 308 "--blacklist-file", | 351 "-v" |
| 309 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 310 "--output-device-blacklist", | |
| 311 "/path/to/tmp/json", | |
| 312 "-t", | |
| 313 "Release" | |
| 314 ], | 352 ], |
| 315 "env": { | 353 "env": { |
| 316 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 354 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 317 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 355 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 318 }, | 356 }, |
| 319 "name": "provision_devices" | 357 "name": "device_recovery (2)" |
| 320 }, | 358 }, |
| 321 { | 359 { |
| 322 "cmd": [ | 360 "cmd": [ |
| 323 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 361 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 362 "--json-output", |
| 363 "/path/to/tmp/json", |
| 364 "--blacklist-file", |
| 365 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 366 "--known-devices-file", |
| 367 "[CACHE]/known_android_devices", |
| 368 "--buildbot-path", |
| 369 "/home/chrome-bot/.adb_device_info", |
| 324 "--adb-path", | 370 "--adb-path", |
| 325 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 371 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 326 "--blacklist-file", | 372 "-v", |
| 327 "[SLAVE_BUILD]/src/out/bad_devices.json", | 373 "--overwrite-known-devices-files" |
| 328 "--json-output", | |
| 329 "/path/to/tmp/json", | |
| 330 "--known-devices-file", | |
| 331 "[CACHE]/known_android_devices" | |
| 332 ], | 374 ], |
| 333 "env": { | 375 "env": { |
| 334 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 376 "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" | 377 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 336 }, | 378 }, |
| 337 "name": "device_status_check (2)", | 379 "name": "device_status (2)", |
| 338 "~followup_annotations": [ | 380 "~followup_annotations": [ |
| 339 "@@@STEP_TEXT@Online devices: 1@@@", | 381 "@@@STEP_TEXT@Online devices: 1@@@", |
| 340 "@@@STEP_LOG_LINE@json.output@[@@@", | 382 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 341 "@@@STEP_LOG_LINE@json.output@ {@@@", | 383 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 342 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 384 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 343 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 385 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 344 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 386 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 345 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 387 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 346 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 388 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 347 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 389 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 650 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 609 }, | 651 }, |
| 610 "name": "stack_tool_for_asan" | 652 "name": "stack_tool_for_asan" |
| 611 }, | 653 }, |
| 612 { | 654 { |
| 613 "name": "$result", | 655 "name": "$result", |
| 614 "recipe_result": null, | 656 "recipe_result": null, |
| 615 "status_code": 0 | 657 "status_code": 0 |
| 616 } | 658 } |
| 617 ] | 659 ] |
| OLD | NEW |