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

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

Powered by Google App Engine
This is Rietveld 408576698