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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 "env": { 291 "env": {
292 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 292 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
293 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 293 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
294 }, 294 },
295 "name": "spawn_logcat_monitor" 295 "name": "spawn_logcat_monitor"
296 }, 296 },
297 { 297 {
298 "cmd": [ 298 "cmd": [
299 "python", 299 "python",
300 "-u", 300 "-u",
301 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
302 "--action",
303 "restart",
304 "--pid-file-path",
305 "/tmp/device_monitor.pid",
306 "--",
307 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
308 "--adb-path",
309 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
310 "--blacklist-file",
311 "[SLAVE_BUILD]/src/out/bad_devices.json"
312 ],
313 "name": "spawn_device_monitor"
314 },
315 {
316 "cmd": [
317 "python",
318 "-u",
301 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 319 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
302 "--verbose", 320 "--verbose",
303 "--adb-path", 321 "--adb-path",
304 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 322 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
305 ], 323 ],
306 "env": { 324 "env": {
307 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 325 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
308 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 326 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
309 }, 327 },
310 "name": "authorize_adb_devices" 328 "name": "authorize_adb_devices"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 477 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
460 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 478 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
461 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 479 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
462 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 480 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
463 ] 481 ]
464 }, 482 },
465 { 483 {
466 "cmd": [ 484 "cmd": [
467 "python", 485 "python",
468 "-u", 486 "-u",
469 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
470 "--action",
471 "restart",
472 "--pid-file-path",
473 "/tmp/device_monitor.pid",
474 "--",
475 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
476 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
477 "[\"07a00ca4\"]",
478 "--blacklist-file",
479 "[SLAVE_BUILD]/src/out/bad_devices.json"
480 ],
481 "name": "spawn_device_monitor"
482 },
483 {
484 "cmd": [
485 "python",
486 "-u",
487 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", 487 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
488 "--blacklist-file", 488 "--blacklist-file",
489 "[SLAVE_BUILD]/src/out/bad_devices.json", 489 "[SLAVE_BUILD]/src/out/bad_devices.json",
490 "--verbose", 490 "--verbose",
491 "-t", 491 "-t",
492 "180", 492 "180",
493 "--adb-path", 493 "--adb-path",
494 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 494 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
495 ], 495 ],
496 "env": { 496 "env": {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 649 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
650 "@@@STEP_LOG_END@python.inline@@@" 650 "@@@STEP_LOG_END@python.inline@@@"
651 ] 651 ]
652 }, 652 },
653 { 653 {
654 "name": "$result", 654 "name": "$result",
655 "recipe_result": null, 655 "recipe_result": null,
656 "status_code": 0 656 "status_code": 0
657 } 657 }
658 ] 658 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698