| 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_TEXT@Online devices: 1@@@", | 326 "@@@STEP_TEXT@Online devices: 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", | 412 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", |
| 376 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", | 413 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", |
| 377 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 414 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 378 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 379 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 380 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 417 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 381 ] | 418 ] |
| 382 }, | 419 }, |
| 383 { | 420 { |
| 384 "cmd": [ | 421 "cmd": [ |
| 385 "python", | 422 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 386 "-u", | |
| 387 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 388 "--adb-path", | |
| 389 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 390 "--blacklist-file", | 423 "--blacklist-file", |
| 391 "[SLAVE_BUILD]/src/out/bad_devices.json", | 424 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 392 "--output-device-blacklist", | 425 "--known-devices-file", |
| 393 "/path/to/tmp/json", | 426 "[BUILD]/site_config/.known_devices", |
| 394 "-t", | 427 "-v" |
| 395 "Release" | |
| 396 ], | 428 ], |
| 397 "env": { | 429 "env": { |
| 398 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 430 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 399 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 431 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 400 }, | 432 }, |
| 401 "name": "provision_devices" | 433 "name": "device_recovery (2)" |
| 402 }, | 434 }, |
| 403 { | 435 { |
| 404 "cmd": [ | 436 "cmd": [ |
| 405 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 437 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 406 "--adb-path", | 438 "--json-output", |
| 407 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 439 "/path/to/tmp/json", |
| 408 "--blacklist-file", | 440 "--blacklist-file", |
| 409 "[SLAVE_BUILD]/src/out/bad_devices.json", | 441 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 410 "--json-output", | |
| 411 "/path/to/tmp/json", | |
| 412 "--known-devices-file", | 442 "--known-devices-file", |
| 413 "[BUILD]/site_config/.known_devices" | 443 "[BUILD]/site_config/.known_devices", |
| 444 "--buildbot-path", |
| 445 "/home/chrome-bot/.adb_device_info", |
| 446 "-v", |
| 447 "--overwrite-known-devices-files" |
| 414 ], | 448 ], |
| 415 "env": { | 449 "env": { |
| 416 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 450 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 417 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 451 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 418 }, | 452 }, |
| 419 "name": "device_status_check (2)", | 453 "name": "device_status (2)", |
| 420 "~followup_annotations": [ | 454 "~followup_annotations": [ |
| 421 "@@@STEP_TEXT@Online devices: 1@@@", | 455 "@@@STEP_TEXT@Online devices: 1@@@", |
| 422 "@@@STEP_LOG_LINE@json.output@[@@@", | 456 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 423 "@@@STEP_LOG_LINE@json.output@ {@@@", | 457 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 424 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 458 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 425 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 459 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 426 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 460 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 427 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 461 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 428 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 462 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 429 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 463 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 718 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 685 }, | 719 }, |
| 686 "name": "stack_tool_for_asan" | 720 "name": "stack_tool_for_asan" |
| 687 }, | 721 }, |
| 688 { | 722 { |
| 689 "name": "$result", | 723 "name": "$result", |
| 690 "recipe_result": null, | 724 "recipe_result": null, |
| 691 "status_code": 0 | 725 "status_code": 0 |
| 692 } | 726 } |
| 693 ] | 727 ] |
| OLD | NEW |