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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_builder__dbg_.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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 "env": { 369 "env": {
370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
371 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 371 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
372 }, 372 },
373 "name": "spawn_logcat_monitor" 373 "name": "spawn_logcat_monitor"
374 }, 374 },
375 { 375 {
376 "cmd": [ 376 "cmd": [
377 "python", 377 "python",
378 "-u", 378 "-u",
379 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
380 "--action",
381 "restart",
382 "--pid-file-path",
383 "/tmp/device_monitor.pid",
384 "--",
385 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
386 "--adb-path",
387 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
388 "--blacklist-file",
389 "[SLAVE_BUILD]/src/out/bad_devices.json"
390 ],
391 "name": "spawn_device_monitor"
392 },
393 {
394 "cmd": [
395 "python",
396 "-u",
379 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 397 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
380 "--verbose", 398 "--verbose",
381 "--adb-path", 399 "--adb-path",
382 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 400 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
383 ], 401 ],
384 "env": { 402 "env": {
385 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 403 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
386 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 404 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
387 }, 405 },
388 "name": "authorize_adb_devices" 406 "name": "authorize_adb_devices"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 555 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
538 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 556 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
539 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 557 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
540 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 558 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
541 ] 559 ]
542 }, 560 },
543 { 561 {
544 "cmd": [ 562 "cmd": [
545 "python", 563 "python",
546 "-u", 564 "-u",
547 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
548 "--action",
549 "restart",
550 "--pid-file-path",
551 "/tmp/device_monitor.pid",
552 "--",
553 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
554 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
555 "[\"07a00ca4\"]",
556 "--blacklist-file",
557 "[SLAVE_BUILD]/src/out/bad_devices.json"
558 ],
559 "name": "spawn_device_monitor"
560 },
561 {
562 "cmd": [
563 "python",
564 "-u",
565 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", 565 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
566 "--blacklist-file", 566 "--blacklist-file",
567 "[SLAVE_BUILD]/src/out/bad_devices.json", 567 "[SLAVE_BUILD]/src/out/bad_devices.json",
568 "--verbose", 568 "--verbose",
569 "-t", 569 "-t",
570 "180", 570 "180",
571 "--adb-path", 571 "--adb-path",
572 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 572 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
573 ], 573 ],
574 "env": { 574 "env": {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 727 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
728 "@@@STEP_LOG_END@python.inline@@@" 728 "@@@STEP_LOG_END@python.inline@@@"
729 ] 729 ]
730 }, 730 },
731 { 731 {
732 "name": "$result", 732 "name": "$result",
733 "recipe_result": null, 733 "recipe_result": null,
734 "status_code": 0 734 "status_code": 0
735 } 735 }
736 ] 736 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698