| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 }, | 270 }, |
| 271 { | 271 { |
| 272 "cmd": [], | 272 "cmd": [], |
| 273 "name": "fix_device_file_format" | 273 "name": "fix_device_file_format" |
| 274 }, | 274 }, |
| 275 { | 275 { |
| 276 "cmd": [ | 276 "cmd": [ |
| 277 "python", | 277 "python", |
| 278 "-u", | 278 "-u", |
| 279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 280 "[BUILD]/site_config/.known_devices", | 280 "[CACHE]/known_android_devices", |
| 281 "/path/to/tmp/" | 281 "/path/to/tmp/" |
| 282 ], | 282 ], |
| 283 "name": "fix_device_file_format.read_device_file", | 283 "name": "fix_device_file_format.read_device_file", |
| 284 "~followup_annotations": [ | 284 "~followup_annotations": [ |
| 285 "@@@STEP_NEST_LEVEL@1@@@", | 285 "@@@STEP_NEST_LEVEL@1@@@", |
| 286 "@@@STEP_TEXT@file format is compatible@@@" | 286 "@@@STEP_TEXT@file format is compatible@@@" |
| 287 ] | 287 ] |
| 288 }, | 288 }, |
| 289 { | 289 { |
| 290 "cmd": [ | 290 "cmd": [ |
| 291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 292 "--adb-path", | 292 "--adb-path", |
| 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 294 "--blacklist-file", | 294 "--blacklist-file", |
| 295 "[SLAVE_BUILD]/src/out/bad_devices.json", | 295 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 296 "--json-output", | 296 "--json-output", |
| 297 "/path/to/tmp/json", | 297 "/path/to/tmp/json", |
| 298 "--known-devices-file", | 298 "--known-devices-file", |
| 299 "[BUILD]/site_config/.known_devices" | 299 "[CACHE]/known_android_devices" |
| 300 ], | 300 ], |
| 301 "env": { | 301 "env": { |
| 302 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 302 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 303 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 303 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 304 }, | 304 }, |
| 305 "name": "device_status_check", | 305 "name": "device_status_check", |
| 306 "~followup_annotations": [ | 306 "~followup_annotations": [ |
| 307 "@@@STEP_TEXT@Online devices: 1@@@", | 307 "@@@STEP_TEXT@Online devices: 1@@@", |
| 308 "@@@STEP_LOG_LINE@json.output@[@@@", | 308 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 309 "@@@STEP_LOG_LINE@json.output@ {@@@", | 309 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 }, | 420 }, |
| 421 { | 421 { |
| 422 "cmd": [], | 422 "cmd": [], |
| 423 "name": "fix_device_file_format (2)" | 423 "name": "fix_device_file_format (2)" |
| 424 }, | 424 }, |
| 425 { | 425 { |
| 426 "cmd": [ | 426 "cmd": [ |
| 427 "python", | 427 "python", |
| 428 "-u", | 428 "-u", |
| 429 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 429 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 430 "[BUILD]/site_config/.known_devices", | 430 "[CACHE]/known_android_devices", |
| 431 "/path/to/tmp/" | 431 "/path/to/tmp/" |
| 432 ], | 432 ], |
| 433 "name": "fix_device_file_format.read_device_file (2)", | 433 "name": "fix_device_file_format.read_device_file (2)", |
| 434 "~followup_annotations": [ | 434 "~followup_annotations": [ |
| 435 "@@@STEP_NEST_LEVEL@1@@@", | 435 "@@@STEP_NEST_LEVEL@1@@@", |
| 436 "@@@STEP_TEXT@file format is compatible@@@" | 436 "@@@STEP_TEXT@file format is compatible@@@" |
| 437 ] | 437 ] |
| 438 }, | 438 }, |
| 439 { | 439 { |
| 440 "cmd": [ | 440 "cmd": [ |
| 441 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 441 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 442 "--adb-path", | 442 "--adb-path", |
| 443 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 443 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 444 "--blacklist-file", | 444 "--blacklist-file", |
| 445 "[SLAVE_BUILD]/src/out/bad_devices.json", | 445 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 446 "--json-output", | 446 "--json-output", |
| 447 "/path/to/tmp/json", | 447 "/path/to/tmp/json", |
| 448 "--known-devices-file", | 448 "--known-devices-file", |
| 449 "[BUILD]/site_config/.known_devices" | 449 "[CACHE]/known_android_devices" |
| 450 ], | 450 ], |
| 451 "env": { | 451 "env": { |
| 452 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 452 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 453 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 453 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 454 }, | 454 }, |
| 455 "name": "device_status_check (2)", | 455 "name": "device_status_check (2)", |
| 456 "~followup_annotations": [ | 456 "~followup_annotations": [ |
| 457 "@@@STEP_TEXT@Online devices: 1@@@", | 457 "@@@STEP_TEXT@Online devices: 1@@@", |
| 458 "@@@STEP_LOG_LINE@json.output@[@@@", | 458 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 459 "@@@STEP_LOG_LINE@json.output@ {@@@", | 459 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 "@@@STEP_TEXT@<br/>unexpected failures:<br/>android.webkit.cts.WebSettings
Test#testUserAgentString_default<br/>@@@", | 820 "@@@STEP_TEXT@<br/>unexpected failures:<br/>android.webkit.cts.WebSettings
Test#testUserAgentString_default<br/>@@@", |
| 821 "@@@STEP_FAILURE@@@" | 821 "@@@STEP_FAILURE@@@" |
| 822 ] | 822 ] |
| 823 }, | 823 }, |
| 824 { | 824 { |
| 825 "name": "$result", | 825 "name": "$result", |
| 826 "reason": "Unexpected Test Failures.", | 826 "reason": "Unexpected Test Failures.", |
| 827 "status_code": 1 | 827 "status_code": 1 |
| 828 } | 828 } |
| 829 ] | 829 ] |
| OLD | NEW |