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

Side by Side Diff: scripts/slave/recipes/cronet.expected/cronet_try.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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 "env": { 347 "env": {
348 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 348 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
349 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 349 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
350 }, 350 },
351 "name": "spawn_logcat_monitor" 351 "name": "spawn_logcat_monitor"
352 }, 352 },
353 { 353 {
354 "cmd": [ 354 "cmd": [
355 "python", 355 "python",
356 "-u", 356 "-u",
357 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
358 "--action",
359 "restart",
360 "--pid-file-path",
361 "/tmp/device_monitor.pid",
362 "--",
363 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
364 "--adb-path",
365 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
366 "--blacklist-file",
367 "[SLAVE_BUILD]/src/out/bad_devices.json"
368 ],
369 "name": "spawn_device_monitor"
370 },
371 {
372 "cmd": [
373 "python",
374 "-u",
357 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 375 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
358 "--verbose", 376 "--verbose",
359 "--adb-path", 377 "--adb-path",
360 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 378 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
361 ], 379 ],
362 "env": { 380 "env": {
363 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 381 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
364 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 382 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
365 }, 383 },
366 "name": "authorize_adb_devices" 384 "name": "authorize_adb_devices"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 533 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
516 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 534 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
517 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 535 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
518 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 536 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
519 ] 537 ]
520 }, 538 },
521 { 539 {
522 "cmd": [ 540 "cmd": [
523 "python", 541 "python",
524 "-u", 542 "-u",
525 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
526 "--action",
527 "restart",
528 "--pid-file-path",
529 "/tmp/device_monitor.pid",
530 "--",
531 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
532 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
533 "[\"07a00ca4\"]",
534 "--blacklist-file",
535 "[SLAVE_BUILD]/src/out/bad_devices.json"
536 ],
537 "name": "spawn_device_monitor"
538 },
539 {
540 "cmd": [
541 "python",
542 "-u",
543 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", 543 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
544 "--blacklist-file", 544 "--blacklist-file",
545 "[SLAVE_BUILD]/src/out/bad_devices.json", 545 "[SLAVE_BUILD]/src/out/bad_devices.json",
546 "--verbose", 546 "--verbose",
547 "-t", 547 "-t",
548 "180", 548 "180",
549 "--adb-path", 549 "--adb-path",
550 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 550 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
551 ], 551 ],
552 "env": { 552 "env": {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 707 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
708 "@@@STEP_LOG_END@python.inline@@@" 708 "@@@STEP_LOG_END@python.inline@@@"
709 ] 709 ]
710 }, 710 },
711 { 711 {
712 "name": "$result", 712 "name": "$result",
713 "recipe_result": null, 713 "recipe_result": null,
714 "status_code": 0 714 "status_code": 0
715 } 715 }
716 ] 716 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698