| 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 "--adb-path", | |
| 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 276 "--blacklist-file", | 274 "--blacklist-file", |
| 277 "[SLAVE_BUILD]/src/out/bad_devices.json", | 275 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 278 "--json-output", | |
| 279 "/path/to/tmp/json", | |
| 280 "--known-devices-file", | 276 "--known-devices-file", |
| 281 "[BUILD]/site_config/.known_devices" | 277 "[BUILD]/site_config/.known_devices", |
| 278 "-v" |
| 282 ], | 279 ], |
| 283 "env": { | 280 "env": { |
| 284 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 281 "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" | 282 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 286 }, | 283 }, |
| 287 "name": "device_status_check", | 284 "name": "device_recovery" |
| 285 }, |
| 286 { |
| 287 "cmd": [ |
| 288 "python", |
| 289 "-u", |
| 290 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 291 "--adb-path", |
| 292 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 293 "--blacklist-file", |
| 294 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 295 "--output-device-blacklist", |
| 296 "/path/to/tmp/json", |
| 297 "-t", |
| 298 "Release" |
| 299 ], |
| 300 "env": { |
| 301 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 302 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 303 }, |
| 304 "name": "provision_devices" |
| 305 }, |
| 306 { |
| 307 "cmd": [ |
| 308 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 309 "--json-output", |
| 310 "/path/to/tmp/json", |
| 311 "--blacklist-file", |
| 312 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 313 "--known-devices-file", |
| 314 "[BUILD]/site_config/.known_devices", |
| 315 "--buildbot-path", |
| 316 "/home/chrome-bot/.adb_device_info", |
| 317 "-v", |
| 318 "--overwrite-known-devices-files" |
| 319 ], |
| 320 "env": { |
| 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 322 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 323 }, |
| 324 "name": "device_status", |
| 288 "~followup_annotations": [ | 325 "~followup_annotations": [ |
| 289 "step returned non-zero exit code: 1", | 326 "step returned non-zero exit code: 1", |
| 290 "@@@STEP_LOG_LINE@json.output@[@@@", | 327 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ {@@@", | 328 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 329 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 293 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 330 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 294 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 331 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 295 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 332 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 296 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 333 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 297 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 334 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 ], | 497 ], |
| 461 "env": { | 498 "env": { |
| 462 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 499 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
| 463 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 500 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 464 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 501 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 465 }, | 502 }, |
| 466 "name": "stack_tool_for_asan" | 503 "name": "stack_tool_for_asan" |
| 467 }, | 504 }, |
| 468 { | 505 { |
| 469 "name": "$result", | 506 "name": "$result", |
| 470 "reason": "Infra Failure: Step('device_status_check') returned 1", | 507 "reason": "Infra Failure: Step('device_status') returned 1", |
| 471 "status_code": 1 | 508 "status_code": 1 |
| 472 } | 509 } |
| 473 ] | 510 ] |
| OLD | NEW |