Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: scripts/slave/recipes/cronet.expected/local_test.json

Issue 2402303003: Enable new device monitor everywhere and launch it earlier in the build. (Closed)
Patch Set: With expectations Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 "env": { 297 "env": {
298 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 298 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
299 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 299 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
300 }, 300 },
301 "name": "spawn_logcat_monitor" 301 "name": "spawn_logcat_monitor"
302 }, 302 },
303 { 303 {
304 "cmd": [ 304 "cmd": [
305 "python", 305 "python",
306 "-u", 306 "-u",
307 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
308 "--action",
309 "restart",
310 "--pid-file-path",
311 "/tmp/device_monitor.pid",
312 "--",
313 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
314 "--adb-path",
315 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
316 "--blacklist-file",
317 "[SLAVE_BUILD]/src/out/bad_devices.json"
318 ],
319 "name": "spawn_device_monitor"
320 },
321 {
322 "cmd": [
323 "python",
324 "-u",
307 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 325 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
308 "--verbose", 326 "--verbose",
309 "--adb-path", 327 "--adb-path",
310 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 328 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
311 ], 329 ],
312 "env": { 330 "env": {
313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 331 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
314 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 332 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
315 }, 333 },
316 "name": "authorize_adb_devices" 334 "name": "authorize_adb_devices"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 483 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
466 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 484 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
467 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 485 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
468 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 486 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
469 ] 487 ]
470 }, 488 },
471 { 489 {
472 "cmd": [ 490 "cmd": [
473 "python", 491 "python",
474 "-u", 492 "-u",
475 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
476 "--action",
477 "restart",
478 "--pid-file-path",
479 "/tmp/device_monitor.pid",
480 "--",
481 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
482 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
483 "[\"07a00ca4\"]",
484 "--blacklist-file",
485 "[SLAVE_BUILD]/src/out/bad_devices.json"
486 ],
487 "name": "spawn_device_monitor"
488 },
489 {
490 "cmd": [
491 "python",
492 "-u",
493 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", 493 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
494 "--blacklist-file", 494 "--blacklist-file",
495 "[SLAVE_BUILD]/src/out/bad_devices.json", 495 "[SLAVE_BUILD]/src/out/bad_devices.json",
496 "--verbose", 496 "--verbose",
497 "-t", 497 "-t",
498 "180", 498 "180",
499 "--adb-path", 499 "--adb-path",
500 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 500 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
501 ], 501 ],
502 "env": { 502 "env": {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 655 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
656 "@@@STEP_LOG_END@python.inline@@@" 656 "@@@STEP_LOG_END@python.inline@@@"
657 ] 657 ]
658 }, 658 },
659 { 659 {
660 "name": "$result", 660 "name": "$result",
661 "recipe_result": null, 661 "recipe_result": null,
662 "status_code": 0 662 "status_code": 0
663 } 663 }
664 ] 664 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698