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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 "--adb-path", | 262 "--adb-path", |
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": [], | |
273 "name": "fix_device_file_format" | |
274 }, | |
275 { | |
276 "cmd": [ | |
277 "python", | |
278 "-u", | |
279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
280 "[BUILD]/site_config/.known_devices", | |
281 "/path/to/tmp/" | |
282 ], | |
283 "name": "fix_device_file_format.read_device_file", | |
284 "~followup_annotations": [ | |
285 "@@@STEP_NEST_LEVEL@1@@@", | |
286 "@@@STEP_TEXT@file format is compatible@@@" | |
287 ] | |
288 }, | |
289 { | |
290 "cmd": [ | 272 "cmd": [ |
291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
292 "--adb-path", | 274 "--adb-path", |
293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
294 "--blacklist-file", | 276 "--blacklist-file", |
295 "[SLAVE_BUILD]/src/out/bad_devices.json", | 277 "[SLAVE_BUILD]/src/out/bad_devices.json", |
296 "--json-output", | 278 "--json-output", |
297 "/path/to/tmp/json", | 279 "/path/to/tmp/json", |
298 "--known-devices-file", | 280 "--known-devices-file", |
299 "[BUILD]/site_config/.known_devices" | 281 "[BUILD]/site_config/.known_devices" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 "-t", | 394 "-t", |
413 "Release" | 395 "Release" |
414 ], | 396 ], |
415 "env": { | 397 "env": { |
416 "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", |
417 "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" |
418 }, | 400 }, |
419 "name": "provision_devices" | 401 "name": "provision_devices" |
420 }, | 402 }, |
421 { | 403 { |
422 "cmd": [], | |
423 "name": "fix_device_file_format (2)" | |
424 }, | |
425 { | |
426 "cmd": [ | |
427 "python", | |
428 "-u", | |
429 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
430 "[BUILD]/site_config/.known_devices", | |
431 "/path/to/tmp/" | |
432 ], | |
433 "name": "fix_device_file_format.read_device_file (2)", | |
434 "~followup_annotations": [ | |
435 "@@@STEP_NEST_LEVEL@1@@@", | |
436 "@@@STEP_TEXT@file format is compatible@@@" | |
437 ] | |
438 }, | |
439 { | |
440 "cmd": [ | 404 "cmd": [ |
441 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 405 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
442 "--adb-path", | 406 "--adb-path", |
443 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 407 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
444 "--blacklist-file", | 408 "--blacklist-file", |
445 "[SLAVE_BUILD]/src/out/bad_devices.json", | 409 "[SLAVE_BUILD]/src/out/bad_devices.json", |
446 "--json-output", | 410 "--json-output", |
447 "/path/to/tmp/json", | 411 "/path/to/tmp/json", |
448 "--known-devices-file", | 412 "--known-devices-file", |
449 "[BUILD]/site_config/.known_devices" | 413 "[BUILD]/site_config/.known_devices" |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 837 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
874 }, | 838 }, |
875 "name": "stack_tool_for_asan" | 839 "name": "stack_tool_for_asan" |
876 }, | 840 }, |
877 { | 841 { |
878 "name": "$result", | 842 "name": "$result", |
879 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa
iled with return_code 1\",)]", | 843 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa
iled with return_code 1\",)]", |
880 "status_code": 1 | 844 "status_code": 1 |
881 } | 845 } |
882 ] | 846 ] |
OLD | NEW |