| 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: 1@@@", | 330 "@@@STEP_TEXT@Online devices: 1@@@", |
| 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@ \"adb_status\": \"device\", @@@", | 333 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 293 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 334 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 294 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 335 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 295 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 336 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 296 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 337 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 297 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 338 "@@@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
\", @@@", | 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"adb_status\": \"device
\", @@@", |
| 376 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", | 417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"blacklisted\": true, @
@@", |
| 377 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 418 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 378 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 419 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 379 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 420 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 380 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 421 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 381 ] | 422 ] |
| 382 }, | 423 }, |
| 383 { | 424 { |
| 384 "cmd": [ | 425 "cmd": [ |
| 385 "python", | 426 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 386 "-u", | 427 "--blacklist-file", |
| 387 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 428 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 429 "--known-devices-file", |
| 430 "[CACHE]/known_android_devices", |
| 388 "--adb-path", | 431 "--adb-path", |
| 389 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 432 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 390 "--blacklist-file", | 433 "-v" |
| 391 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 392 "--output-device-blacklist", | |
| 393 "/path/to/tmp/json", | |
| 394 "-t", | |
| 395 "Release" | |
| 396 ], | 434 ], |
| 397 "env": { | 435 "env": { |
| 398 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 436 "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" | 437 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 400 }, | 438 }, |
| 401 "name": "provision_devices" | 439 "name": "device_recovery (2)" |
| 402 }, | 440 }, |
| 403 { | 441 { |
| 404 "cmd": [ | 442 "cmd": [ |
| 405 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 443 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 444 "--json-output", |
| 445 "/path/to/tmp/json", |
| 446 "--blacklist-file", |
| 447 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 448 "--known-devices-file", |
| 449 "[CACHE]/known_android_devices", |
| 450 "--buildbot-path", |
| 451 "/home/chrome-bot/.adb_device_info", |
| 406 "--adb-path", | 452 "--adb-path", |
| 407 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 453 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 408 "--blacklist-file", | 454 "-v", |
| 409 "[SLAVE_BUILD]/src/out/bad_devices.json", | 455 "--overwrite-known-devices-files" |
| 410 "--json-output", | |
| 411 "/path/to/tmp/json", | |
| 412 "--known-devices-file", | |
| 413 "[CACHE]/known_android_devices" | |
| 414 ], | 456 ], |
| 415 "env": { | 457 "env": { |
| 416 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 458 "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" | 459 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 418 }, | 460 }, |
| 419 "name": "device_status_check (2)", | 461 "name": "device_status (2)", |
| 420 "~followup_annotations": [ | 462 "~followup_annotations": [ |
| 421 "@@@STEP_TEXT@Online devices: 1@@@", | 463 "@@@STEP_TEXT@Online devices: 1@@@", |
| 422 "@@@STEP_LOG_LINE@json.output@[@@@", | 464 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 423 "@@@STEP_LOG_LINE@json.output@ {@@@", | 465 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 424 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 466 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 425 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 467 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 426 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 468 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 427 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 469 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 428 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 470 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 429 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 471 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 732 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 691 }, | 733 }, |
| 692 "name": "stack_tool_for_asan" | 734 "name": "stack_tool_for_asan" |
| 693 }, | 735 }, |
| 694 { | 736 { |
| 695 "name": "$result", | 737 "name": "$result", |
| 696 "recipe_result": null, | 738 "recipe_result": null, |
| 697 "status_code": 0 | 739 "status_code": 0 |
| 698 } | 740 } |
| 699 ] | 741 ] |
| OLD | NEW |