| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 { | 271 { |
| 272 "cmd": [ | 272 "cmd": [ |
| 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 274 "--adb-path", | 274 "--adb-path", |
| 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 276 "--blacklist-file", | 276 "--blacklist-file", |
| 277 "[SLAVE_BUILD]/src/out/bad_devices.json", | 277 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 278 "--json-output", | 278 "--json-output", |
| 279 "/path/to/tmp/json", | 279 "/path/to/tmp/json", |
| 280 "--known-devices-file", | 280 "--known-devices-file", |
| 281 "[CACHE]/known_android_devices" | 281 "[HOME]/.android/known_devices.json" |
| 282 ], | 282 ], |
| 283 "env": { | 283 "env": { |
| 284 "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", |
| 285 "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" |
| 286 }, | 286 }, |
| 287 "name": "device_status_check", | 287 "name": "device_status_check", |
| 288 "~followup_annotations": [ | 288 "~followup_annotations": [ |
| 289 "@@@STEP_TEXT@Online devices: 1@@@", | 289 "@@@STEP_TEXT@Online devices: 1@@@", |
| 290 "@@@STEP_LOG_LINE@json.output@[@@@", | 290 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ {@@@", | 291 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 "-t", | 394 "-t", |
| 395 "Release" | 395 "Release" |
| 396 ], | 396 ], |
| 397 "env": { | 397 "env": { |
| 398 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 398 "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" | 399 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 400 }, | 400 }, |
| 401 "name": "provision_devices" | 401 "name": "provision_devices" |
| 402 }, | 402 }, |
| 403 { | 403 { |
| 404 "cmd": [], |
| 405 "name": "fix_device_file_format" |
| 406 }, |
| 407 { |
| 408 "cmd": [ |
| 409 "python", |
| 410 "-u", |
| 411 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 412 "[HOME]/.android/known_devices.json", |
| 413 "/path/to/tmp/" |
| 414 ], |
| 415 "name": "fix_device_file_format.read_device_file", |
| 416 "~followup_annotations": [ |
| 417 "@@@STEP_NEST_LEVEL@1@@@", |
| 418 "@@@STEP_TEXT@file format is compatible@@@" |
| 419 ] |
| 420 }, |
| 421 { |
| 404 "cmd": [ | 422 "cmd": [ |
| 405 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 423 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 406 "--adb-path", | 424 "--adb-path", |
| 407 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 425 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 408 "--blacklist-file", | 426 "--blacklist-file", |
| 409 "[SLAVE_BUILD]/src/out/bad_devices.json", | 427 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 410 "--json-output", | 428 "--json-output", |
| 411 "/path/to/tmp/json", | 429 "/path/to/tmp/json", |
| 412 "--known-devices-file", | 430 "--known-devices-file", |
| 413 "[CACHE]/known_android_devices" | 431 "[HOME]/.android/known_devices.json" |
| 414 ], | 432 ], |
| 415 "env": { | 433 "env": { |
| 416 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 434 "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" | 435 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 418 }, | 436 }, |
| 419 "name": "device_status_check (2)", | 437 "name": "device_status_check (2)", |
| 420 "~followup_annotations": [ | 438 "~followup_annotations": [ |
| 421 "@@@STEP_TEXT@Online devices: 1@@@", | 439 "@@@STEP_TEXT@Online devices: 1@@@", |
| 422 "@@@STEP_LOG_LINE@json.output@[@@@", | 440 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 423 "@@@STEP_LOG_LINE@json.output@ {@@@", | 441 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 "@@@STEP_TEXT@<br/>unexpected failures:<br/>android.webkit.cts.WebSettings
Test#testUserAgentString_default<br/>@@@", | 802 "@@@STEP_TEXT@<br/>unexpected failures:<br/>android.webkit.cts.WebSettings
Test#testUserAgentString_default<br/>@@@", |
| 785 "@@@STEP_FAILURE@@@" | 803 "@@@STEP_FAILURE@@@" |
| 786 ] | 804 ] |
| 787 }, | 805 }, |
| 788 { | 806 { |
| 789 "name": "$result", | 807 "name": "$result", |
| 790 "reason": "Unexpected Test Failures.", | 808 "reason": "Unexpected Test Failures.", |
| 791 "status_code": 1 | 809 "status_code": 1 |
| 792 } | 810 } |
| 793 ] | 811 ] |
| OLD | NEW |