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

Unified Diff: scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win_SyzyAsan__rel_.json

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: rebase Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win_SyzyAsan__rel_.json
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win_SyzyAsan__rel_.json b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win_SyzyAsan__rel_.json
index 41657ede5c73c57f87a9e830f16a7be29ad47fd5..2087af553467d5ce9107542156421f8482f7d522 100644
--- a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win_SyzyAsan__rel_.json
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_Win_SyzyAsan__rel_.json
@@ -277,6 +277,17 @@
"cmd": [
"python",
"-u",
+ "RECIPE_MODULE[build::isolate]\\resources\\find_isolated_tests.py",
+ "--build-dir",
+ "[BUILDER_CACHE]\\win\\src\\out\\Release",
+ "--clean-isolated-files"
+ ],
+ "name": "clean isolated files"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
"[BUILDER_CACHE]\\win\\src\\tools\\mb\\mb.py",
"gen",
"-m",
@@ -287,13 +298,19 @@
"[BUILDER_CACHE]\\win\\src\\tools\\mb\\mb_config.pyl",
"--goma-dir",
"[CACHE]\\cipd\\goma",
+ "--swarming-targets-file",
+ "browser_tests\n",
"//out/Release"
],
"cwd": "[BUILDER_CACHE]\\win\\src",
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
},
- "name": "generate_build_files"
+ "name": "generate_build_files",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@",
+ "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
+ ]
},
{
"cmd": [
@@ -332,6 +349,8 @@
"--goma-dir",
"[CACHE]\\cipd\\goma",
"--",
+ "browser_tests",
+ "browser_tests_run",
"chrome"
],
"env": {
@@ -344,6 +363,117 @@
]
},
{
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILDER_CACHE]\\win\\src\\tools\\determinism\\remove_build_metadata.py",
+ "--build-dir",
+ "[BUILDER_CACHE]\\win\\src\\out\\Release"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "remove_build_metadata"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[build::isolate]\\resources\\isolate.py",
+ "[BUILDER_CACHE]\\win\\src\\tools\\swarming_client",
+ "batcharchive",
+ "--dump-json",
+ "/path/to/tmp/json",
+ "--isolate-server",
+ "https://isolateserver.appspot.com",
+ "--verbose",
+ "[BUILDER_CACHE]\\win\\src\\out\\Release\\browser_tests.isolated.gen.json"
+ ],
+ "name": "isolate tests",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for browser_tests]\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[build::isolate]\\resources\\find_isolated_tests.py",
+ "--build-dir",
+ "[BUILDER_CACHE]\\win\\src\\out\\Release",
+ "--output-json",
+ "/path/to/tmp/json"
+ ],
+ "cwd": "[BUILDER_CACHE]\\win",
+ "env": {
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
+ },
+ "name": "find isolated tests",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@",
+ "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv[1]\nsys.exit(1)\n",
+ "browser_tests"
+ ],
+ "cwd": "[BUILDER_CACHE]\\win",
+ "env": {
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
+ },
+ "name": "[error] browser_tests",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is missing' % sys.argv[1]@@@",
+ "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n",
+ "browser_tests"
+ ],
+ "cwd": "[BUILDER_CACHE]\\win",
+ "env": {
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
+ },
+ "name": "[collect error] browser_tests",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1]@@@",
+ "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\process_dumps.py",
+ "--target",
+ "Release"
+ ],
+ "cwd": "[BUILDER_CACHE]\\win",
+ "env": {
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
+ },
+ "name": "process_dumps"
+ },
+ {
"name": "$result",
"recipe_result": null,
"status_code": 0

Powered by Google App Engine
This is Rietveld 408576698