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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_tester.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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 "env": { 339 "env": {
340 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 340 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
341 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 341 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
342 }, 342 },
343 "name": "spawn_logcat_monitor" 343 "name": "spawn_logcat_monitor"
344 }, 344 },
345 { 345 {
346 "cmd": [ 346 "cmd": [
347 "python", 347 "python",
348 "-u", 348 "-u",
349 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
350 "--action",
351 "restart",
352 "--pid-file-path",
353 "/tmp/device_monitor.pid",
354 "--",
355 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
356 "--adb-path",
357 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
358 "--blacklist-file",
359 "[SLAVE_BUILD]/src/out/bad_devices.json"
360 ],
361 "name": "spawn_device_monitor"
362 },
363 {
364 "cmd": [
365 "python",
366 "-u",
349 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 367 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
350 "--verbose", 368 "--verbose",
351 "--adb-path", 369 "--adb-path",
352 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 370 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
353 ], 371 ],
354 "env": { 372 "env": {
355 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 373 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
356 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 374 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
357 }, 375 },
358 "name": "authorize_adb_devices" 376 "name": "authorize_adb_devices"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 525 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
508 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 526 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
509 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 527 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
510 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 528 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
511 ] 529 ]
512 }, 530 },
513 { 531 {
514 "cmd": [ 532 "cmd": [
515 "python", 533 "python",
516 "-u", 534 "-u",
517 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
518 "--action",
519 "restart",
520 "--pid-file-path",
521 "/tmp/device_monitor.pid",
522 "--",
523 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
524 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
525 "[\"07a00ca4\"]",
526 "--blacklist-file",
527 "[SLAVE_BUILD]/src/out/bad_devices.json"
528 ],
529 "name": "spawn_device_monitor"
530 },
531 {
532 "cmd": [
533 "python",
534 "-u",
535 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", 535 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
536 "--blacklist-file", 536 "--blacklist-file",
537 "[SLAVE_BUILD]/src/out/bad_devices.json", 537 "[SLAVE_BUILD]/src/out/bad_devices.json",
538 "--verbose", 538 "--verbose",
539 "-t", 539 "-t",
540 "180", 540 "180",
541 "--adb-path", 541 "--adb-path",
542 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 542 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
543 ], 543 ],
544 "env": { 544 "env": {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 697 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
698 "@@@STEP_LOG_END@python.inline@@@" 698 "@@@STEP_LOG_END@python.inline@@@"
699 ] 699 ]
700 }, 700 },
701 { 701 {
702 "name": "$result", 702 "name": "$result",
703 "recipe_result": null, 703 "recipe_result": null,
704 "status_code": 0 704 "status_code": 0
705 } 705 }
706 ] 706 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698