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

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

Issue 1370213002: Add explicit compile targets to all Win and ToT Clang builders (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 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_ClangToTLinux.json
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinux.json b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinux.json
index ef7531eba0da0fdb8f42915a2cc97fba8f8a2885..b1de6de8f7b1abe27e62e421018a63ffc4925841 100644
--- a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinux.json
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTLinux.json
@@ -156,22 +156,152 @@
"name": "clean isolated files"
},
{
+ "allow_subannotations": true,
"cmd": [
"python",
"-u",
- "import sys; sys.exit(1)"
+ "[BUILD]/scripts/slave/clang_revision.py",
+ "--src-dir",
+ "[SLAVE_BUILD]/src",
+ "--output-json",
+ "/path/to/tmp/json"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "LLVM_FORCE_HEAD_REVISION": "YES"
+ },
+ "name": "clang_revision",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/compile.py",
+ "--target",
+ "Release",
+ "--src-dir",
+ "[SLAVE_BUILD]/src",
+ "--build-tool",
+ "ninja",
+ "--compiler",
+ "clang",
+ "--",
+ "all",
+ "browser_tests",
+ "browser_tests_run",
+ "chrome"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "LLVM_FORCE_HEAD_REVISION": "YES"
+ },
+ "name": "compile"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py",
+ "--build-dir",
+ "[SLAVE_BUILD]/src/out/Release",
+ "--src-dir",
+ "[SLAVE_BUILD]/src"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "remove_build_metadata"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[isolate]/resources/isolate.py",
+ "[SLAVE_BUILD]/src/tools/swarming_client",
+ "batcharchive",
+ "--dump-json",
+ "/path/to/tmp/json",
+ "--isolate-server",
+ "https://isolateserver.appspot.com",
+ "--verbose",
+ "[SLAVE_BUILD]/src/out/Release/browser_tests.isolated.gen.json"
],
"cwd": "[SLAVE_BUILD]",
- "name": "compile",
+ "name": "isolate tests",
"~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_TEXT@Misconfigured bot: no compile targets@@@",
- "@@@STEP_FAILURE@@@"
+ "@@@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@@@"
]
},
{
- "name": "$final_result",
- "reason": "Step('compile') failed with return_code 1",
- "status_code": 1
+ "allow_subannotations": true,
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/zip_build.py",
+ "--target",
+ "Release",
+ "--build-url",
+ "gs://chromium-fyi-archive/chromium.fyi/ClangToTLinux",
+ "--build_revision",
+ "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
+ "--factory-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"ClangToTLinux\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
+ "--build-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"ClangToTLinux\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "package build"
+ },
+ {
+ "cmd": [],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "trigger",
+ "trigger_specs": [
+ {
+ "builder_name": "ClangToTLinux tester"
+ }
+ ],
+ "~followup_annotations": [
+ "@@@STEP_TEXT@ClangToTLinux tester@@@"
+ ]
+ },
+ {
+ "allow_subannotations": true,
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/runtest.py",
+ "--target",
+ "Release",
+ "--no-xvfb",
+ "--factory-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"ClangToTLinux\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
+ "--build-properties",
+ "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"buildername\": \"ClangToTLinux\", \"buildnumber\": 571, \"mastername\": \"chromium.fyi\", \"parent_buildername\": null, \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}",
+ "--annotate=graphing",
+ "--test-type=sizes",
+ "--builder-name=ClangToTLinux",
+ "--slave-name=TestSlavename",
+ "--build-number=571",
+ "--run-python-script",
+ "--results-url=https://chromeperf.appspot.com",
+ "--perf-dashboard-id=sizes",
+ "--perf-id=ClangToTLinux",
+ "--perf-config={'r_clang_rev': '123456'}",
+ "[BUILD]/scripts/slave/chromium/sizes.py",
+ "--target",
+ "Release",
+ "--platform",
+ "linux"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "sizes"
}
]

Powered by Google App Engine
This is Rietveld 408576698