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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/clobber_analyze.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "linux_chromium_clobber_rel_ng", 10 "linux_chromium_clobber_rel_ng",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]", 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
19 "--issue", 19 "--issue",
20 "12853011", 20 "12853011",
21 "--patchset", 21 "--patchset",
22 "1", 22 "1",
23 "--rietveld_server", 23 "--rietveld_server",
24 "https://codereview.chromium.org", 24 "https://codereview.chromium.org",
25 "--output_json", 25 "--output_json",
26 "/path/to/tmp/json", 26 "/path/to/tmp/json",
27 "--revision", 27 "--revision",
28 "src@HEAD" 28 "src@HEAD"
29 ], 29 ],
30 "cwd": "[SLAVE_BUILD]",
30 "name": "bot_update", 31 "name": "bot_update",
31 "~followup_annotations": [ 32 "~followup_annotations": [
32 "@@@STEP_TEXT@Some step text@@@", 33 "@@@STEP_TEXT@Some step text@@@",
33 "@@@STEP_LOG_LINE@json.output@{@@@", 34 "@@@STEP_LOG_LINE@json.output@{@@@",
34 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 36 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 37 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 38 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
38 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 39 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 40 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 26 matching lines...) Expand all
66 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 67 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
67 ] 68 ]
68 }, 69 },
69 { 70 {
70 "cmd": [ 71 "cmd": [
71 "python", 72 "python",
72 "-u", 73 "-u",
73 "[DEPOT_TOOLS]/gclient.py", 74 "[DEPOT_TOOLS]/gclient.py",
74 "runhooks" 75 "runhooks"
75 ], 76 ],
77 "cwd": "[SLAVE_BUILD]",
76 "env": { 78 "env": {
77 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1" 79 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
78 }, 80 },
79 "name": "gclient runhooks (with patch)" 81 "name": "gclient runhooks (with patch)"
80 }, 82 },
81 { 83 {
82 "cmd": [ 84 "cmd": [
83 "python", 85 "python",
84 "-u", 86 "-u",
85 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 87 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
86 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", 88 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json",
87 "/path/to/tmp/json" 89 "/path/to/tmp/json"
88 ], 90 ],
91 "cwd": "[SLAVE_BUILD]",
89 "name": "read test spec", 92 "name": "read test spec",
90 "~followup_annotations": [ 93 "~followup_annotations": [
91 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@ @", 94 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@ @",
92 "@@@STEP_LOG_LINE@json.output@{}@@@", 95 "@@@STEP_LOG_LINE@json.output@{}@@@",
93 "@@@STEP_LOG_END@json.output@@@" 96 "@@@STEP_LOG_END@json.output@@@"
94 ] 97 ]
95 }, 98 },
96 { 99 {
97 "cmd": [ 100 "cmd": [
98 "python", 101 "python",
99 "-u", 102 "-u",
100 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 103 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
101 "--output", 104 "--output",
102 "/path/to/tmp/json", 105 "/path/to/tmp/json",
103 "--", 106 "--",
104 "--build-config-fs", 107 "--build-config-fs",
105 "Release", 108 "Release",
106 "--paths", 109 "--paths",
107 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 110 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
108 "--properties", 111 "--properties",
109 "{\"buildername\": \"linux_chromium_clobber_rel_ng\", \"buildnumber\": 571 , \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\" , \"target_platform\": \"linux\"}" 112 "{\"buildername\": \"linux_chromium_clobber_rel_ng\", \"buildnumber\": 571 , \"mastername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\" , \"target_platform\": \"linux\"}"
110 ], 113 ],
114 "cwd": "[SLAVE_BUILD]",
111 "name": "get compile targets for scripts", 115 "name": "get compile targets for scripts",
112 "~followup_annotations": [ 116 "~followup_annotations": [
113 "@@@STEP_LOG_LINE@json.output@{}@@@", 117 "@@@STEP_LOG_LINE@json.output@{}@@@",
114 "@@@STEP_LOG_END@json.output@@@" 118 "@@@STEP_LOG_END@json.output@@@"
115 ] 119 ]
116 }, 120 },
117 { 121 {
118 "cmd": [ 122 "cmd": [
119 "git", 123 "git",
120 "diff", 124 "diff",
121 "--cached", 125 "--cached",
122 "--name-only" 126 "--name-only"
123 ], 127 ],
124 "cwd": "[SLAVE_BUILD]/src", 128 "cwd": "[SLAVE_BUILD]/src",
125 "name": "git diff to analyze patch", 129 "name": "git diff to analyze patch",
126 "stdout": "/path/to/tmp/", 130 "stdout": "/path/to/tmp/",
127 "~followup_annotations": [ 131 "~followup_annotations": [
128 "@@@STEP_LOG_LINE@files@foo.cc@@@", 132 "@@@STEP_LOG_LINE@files@foo.cc@@@",
129 "@@@STEP_LOG_END@files@@@" 133 "@@@STEP_LOG_END@files@@@"
130 ] 134 ]
131 }, 135 },
132 { 136 {
133 "cmd": [ 137 "cmd": [
134 "python", 138 "python",
135 "-u", 139 "-u",
136 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 140 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
137 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", 141 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
138 "/path/to/tmp/json" 142 "/path/to/tmp/json"
139 ], 143 ],
144 "cwd": "[SLAVE_BUILD]",
140 "name": "read filter exclusion spec", 145 "name": "read filter exclusion spec",
141 "~followup_annotations": [ 146 "~followup_annotations": [
142 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", 147 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
143 "@@@STEP_LOG_LINE@json.output@{@@@", 148 "@@@STEP_LOG_LINE@json.output@{@@@",
144 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@", 149 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
145 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 150 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
146 "@@@STEP_LOG_LINE@json.output@ }, @@@", 151 "@@@STEP_LOG_LINE@json.output@ }, @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@", 152 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
148 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 153 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
149 "@@@STEP_LOG_LINE@json.output@ }, @@@", 154 "@@@STEP_LOG_LINE@json.output@ }, @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@", 155 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
151 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 156 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
152 "@@@STEP_LOG_LINE@json.output@ }@@@", 157 "@@@STEP_LOG_LINE@json.output@ }@@@",
153 "@@@STEP_LOG_LINE@json.output@}@@@", 158 "@@@STEP_LOG_LINE@json.output@}@@@",
154 "@@@STEP_LOG_END@json.output@@@" 159 "@@@STEP_LOG_END@json.output@@@"
155 ] 160 ]
156 }, 161 },
157 { 162 {
158 "cmd": [ 163 "cmd": [
159 "python", 164 "python",
160 "-u", 165 "-u",
161 "[SLAVE_BUILD]/src/build/gyp_chromium", 166 "[SLAVE_BUILD]/src/build/gyp_chromium",
162 "--analyzer", 167 "--analyzer",
163 "{\"files\": [\"foo.cc\"], \"targets\": []}", 168 "{\"files\": [\"foo.cc\"], \"targets\": []}",
164 "/path/to/tmp/json" 169 "/path/to/tmp/json"
165 ], 170 ],
171 "cwd": "[SLAVE_BUILD]",
166 "env": { 172 "env": {
167 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1" 173 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
168 }, 174 },
169 "name": "analyze", 175 "name": "analyze",
170 "~followup_annotations": [ 176 "~followup_annotations": [
171 "@@@STEP_LOG_LINE@json.output@{@@@", 177 "@@@STEP_LOG_LINE@json.output@{@@@",
172 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 178 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
173 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\", @@@", 179 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\", @@@",
174 "@@@STEP_LOG_LINE@json.output@ \"net_unittests\"@@@", 180 "@@@STEP_LOG_LINE@json.output@ \"net_unittests\"@@@",
175 "@@@STEP_LOG_LINE@json.output@ ], @@@", 181 "@@@STEP_LOG_LINE@json.output@ ], @@@",
(...skipping 18 matching lines...) Expand all
194 "@@@STEP_LOG_LINE@analyze_details@}@@@", 200 "@@@STEP_LOG_LINE@analyze_details@}@@@",
195 "@@@STEP_LOG_END@analyze_details@@@" 201 "@@@STEP_LOG_END@analyze_details@@@"
196 ] 202 ]
197 }, 203 },
198 { 204 {
199 "cmd": [ 205 "cmd": [
200 "python", 206 "python",
201 "-u", 207 "-u",
202 "[BUILD]/scripts/slave/cleanup_temp.py" 208 "[BUILD]/scripts/slave/cleanup_temp.py"
203 ], 209 ],
210 "cwd": "[SLAVE_BUILD]",
204 "name": "cleanup_temp" 211 "name": "cleanup_temp"
205 }, 212 },
206 { 213 {
207 "cmd": [ 214 "cmd": [
208 "python", 215 "python",
209 "-u", 216 "-u",
210 "[BUILD]/scripts/slave/compile.py", 217 "[BUILD]/scripts/slave/compile.py",
211 "--target", 218 "--target",
212 "Release", 219 "Release",
213 "--src-dir", 220 "--src-dir",
214 "[SLAVE_BUILD]/src", 221 "[SLAVE_BUILD]/src",
215 "--build-tool", 222 "--build-tool",
216 "ninja", 223 "ninja",
217 "--compiler", 224 "--compiler",
218 "goma", 225 "goma",
219 "--goma-dir", 226 "--goma-dir",
220 "[BUILD]/goma", 227 "[BUILD]/goma",
221 "--ninja-ensure-up-to-date", 228 "--ninja-ensure-up-to-date",
222 "--clobber", 229 "--clobber",
223 "--", 230 "--",
224 "base_unittests", 231 "base_unittests",
225 "net_unittests" 232 "net_unittests"
226 ], 233 ],
234 "cwd": "[SLAVE_BUILD]",
227 "name": "compile (with patch)" 235 "name": "compile (with patch)"
228 } 236 }
229 ] 237 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698