| 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/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", | 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 274 "--adb-path", |
| 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 274 "--blacklist-file", | 276 "--blacklist-file", |
| 275 "[SLAVE_BUILD]/src/out/bad_devices.json", | 277 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 278 "--json-output", |
| 279 "/path/to/tmp/json", |
| 276 "--known-devices-file", | 280 "--known-devices-file", |
| 277 "[HOME]/.android/known_devices.json", | 281 "[HOME]/.android/known_devices.json" |
| 278 "--adb-path", | |
| 279 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 280 "-v" | |
| 281 ], | 282 ], |
| 282 "env": { | 283 "env": { |
| 283 "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", |
| 284 "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" |
| 285 }, | 286 }, |
| 286 "name": "device_recovery" | 287 "name": "device_status_check", |
| 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 "[HOME]/.android/known_devices.json", | |
| 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", | |
| 329 "~followup_annotations": [ | 288 "~followup_annotations": [ |
| 330 "step returned non-zero exit code: 1", | 289 "step returned non-zero exit code: 1", |
| 331 "@@@STEP_LOG_LINE@json.output@[@@@", | 290 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 332 "@@@STEP_LOG_LINE@json.output@ {@@@", | 291 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 333 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 292 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 334 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 293 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 335 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 294 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 336 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 295 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 337 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 296 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 338 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 297 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 ], | 468 ], |
| 510 "env": { | 469 "env": { |
| 511 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 470 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
| 512 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 471 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 513 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 472 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 514 }, | 473 }, |
| 515 "name": "stack_tool_for_asan" | 474 "name": "stack_tool_for_asan" |
| 516 }, | 475 }, |
| 517 { | 476 { |
| 518 "name": "$result", | 477 "name": "$result", |
| 519 "reason": "Infra Failure: Step('device_status') returned 1", | 478 "reason": "Infra Failure: Step('device_status_check') returned 1", |
| 520 "recipe_result": null, | 479 "recipe_result": null, |
| 521 "status_code": 1 | 480 "status_code": 1 |
| 522 } | 481 } |
| 523 ] | 482 ] |
| OLD | NEW |