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

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

Issue 211473006: Add GN (the build tool) to the chromium.linux buildbots and try jobs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: initial patch for review Created 6 years, 9 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
(Empty)
1 [
2 {
3 "abort_on_failure": false,
4 "can_fail_build": false,
5 "cmd": [
6 "python",
7 "-u",
8 "[DEPOT_TOOLS]/gclient.py",
9 "config",
10 "--spec",
11 "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'}]"
12 ],
13 "name": "gclient setup"
14 },
15 {
16 "abort_on_failure": false,
17 "can_fail_build": false,
18 "cmd": [
19 "python",
20 "-u",
21 "[BUILD]/scripts/slave/gclient_safe_revert.py",
22 ".",
23 "[DEPOT_TOOLS]/gclient"
24 ],
25 "name": "gclient revert"
26 },
27 {
28 "abort_on_failure": false,
29 "can_fail_build": false,
30 "cmd": [
31 "python",
32 "-u",
33 "[DEPOT_TOOLS]/gclient.py",
34 "sync",
35 "--nohooks",
36 "--delete_unversioned_trees",
37 "--force",
38 "--revision",
39 "src@HEAD",
40 "--output-json",
41 "/path/to/tmp/json"
42 ],
43 "name": "gclient sync",
44 "~followup_annotations": [
45 "@@@STEP_LOG_LINE@json.output@{@@@",
46 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
47 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
48 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
49 "@@@STEP_LOG_LINE@json.output@ }, @@@",
50 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
51 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
52 "@@@STEP_LOG_LINE@json.output@ }, @@@",
53 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@",
54 "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@",
55 "@@@STEP_LOG_LINE@json.output@ }, @@@",
56 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
57 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
58 "@@@STEP_LOG_LINE@json.output@ }, @@@",
59 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarm_client/\": {@@@",
60 "@@@STEP_LOG_LINE@json.output@ \"revision\": 200767@@@",
61 "@@@STEP_LOG_LINE@json.output@ }, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
64 "@@@STEP_LOG_LINE@json.output@ }@@@",
65 "@@@STEP_LOG_LINE@json.output@ }@@@",
66 "@@@STEP_LOG_LINE@json.output@}@@@",
67 "@@@STEP_LOG_END@json.output@@@",
68 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
69 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@",
70 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
71 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
72 "@@@SET_BUILD_PROPERTY@got_revision@170242@@@",
73 "@@@SET_BUILD_PROPERTY@got_swarm_client_revision@200767@@@"
74 ]
75 },
76 {
77 "abort_on_failure": true,
78 "cmd": [
79 "python",
80 "-u",
81 "[DEPOT_TOOLS]/apply_issue.py",
82 "-r",
83 "[SLAVE_BUILD]/src",
84 "-i",
85 "12853011",
86 "-p",
87 "1",
88 "-s",
89 "https://codereview.chromium.org",
90 "--no-auth"
91 ],
92 "name": "apply_issue",
93 "seed_steps": [
94 "apply_issue",
95 "read test spec",
96 "gclient runhooks"
97 ]
98 },
99 {
100 "cmd": [
101 "python",
102 "-u",
103 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
104 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json",
105 "/path/to/tmp/json"
106 ],
107 "name": "read test spec",
108 "~followup_annotations": [
109 "@@@STEP_LOG_LINE@json.output@[]@@@",
110 "@@@STEP_LOG_END@json.output@@@"
111 ]
112 },
113 {
114 "cmd": [
115 "python",
116 "-u",
117 "[DEPOT_TOOLS]/gclient.py",
118 "runhooks"
119 ],
120 "env": {
121 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
122 },
123 "name": "gclient runhooks"
124 },
125 {
126 "abort_on_failure": false,
127 "can_fail_build": false,
128 "cmd": [
129 "python",
130 "-u",
131 "[BUILD]/scripts/slave/compile.py",
132 "--target",
133 "Debug",
134 "--src-dir",
135 "[SLAVE_BUILD]/src",
136 "--build-tool",
137 "ninja",
138 "--compiler",
139 "goma",
140 "--goma-dir",
141 "[BUILD]/goma",
142 "--",
143 "base_unittests",
144 "cacheinvalidation_unittests",
145 "cc_unittests",
146 "chromedriver_unittests",
147 "components_unittests",
148 "content_unittests",
149 "crypto_unittests",
150 "google_apis_unittests",
151 "gpu_unittests",
152 "ipc_tests",
153 "jingle_unittests",
154 "media_unittests",
155 "net_unittests",
156 "ppapi_unittests",
157 "printing_unittests",
158 "remoting_unittests",
159 "sql_unittests",
160 "sync_unit_tests",
161 "ui_unittests",
162 "unit_tests",
163 "browser_tests",
164 "content_browsertests",
165 "interactive_ui_tests",
166 "sync_integration_tests",
167 "chrome"
168 ],
169 "name": "compile (with patch)"
170 },
171 {
172 "cmd": [
173 "python",
174 "-u",
175 "[DEPOT_TOOLS]/gn.py",
176 "gen",
177 "-o",
178 "[SLAVE_BUILD]/Debug_gn",
179 "--args=is_debug=true"
180 ],
181 "name": "gn"
182 },
183 {
184 "cmd": [
185 "[DEPOT_TOOLS]/ninja",
186 "-C",
187 "[SLAVE_BUILD]/Debug_gn"
188 ],
189 "name": "compile (gn with patch)",
190 "~followup_annotations": [
191 "step returned non-zero exit code: 1",
192 "@@@STEP_FAILURE@@@"
193 ]
194 },
195 {
196 "cmd": [
197 "python",
198 "-u",
199 "[DEPOT_TOOLS]/gclient.py",
200 "config",
201 "--spec",
202 "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', 'safesync_url': 'https://bui ld.chromium.org/p/chromium/lkcr-status/lkgr', 'url': 'svn://svn-mirror.golo.chro mium.org/chrome/trunk/src'}]"
203 ],
204 "name": "gclient setup (2)",
205 "skip": true
206 },
207 {
208 "abort_on_failure": true,
209 "cmd": [
210 "python",
211 "-u",
212 "[BUILD]/scripts/slave/gclient_safe_revert.py",
213 ".",
214 "[DEPOT_TOOLS]/gclient"
215 ],
216 "name": "gclient revert (2)",
217 "skip": true
218 },
219 {
220 "abort_on_failure": true,
221 "cmd": [
222 "python",
223 "-u",
224 "[DEPOT_TOOLS]/gclient.py",
225 "sync",
226 "--nohooks",
227 "--delete_unversioned_trees",
228 "--force",
229 "--revision",
230 "src@HEAD",
231 "--output-json",
232 "/path/to/tmp/json"
233 ],
234 "name": "gclient sync (2)",
235 "skip": true
236 },
237 {
238 "abort_on_failure": true,
239 "cmd": [
240 "python",
241 "-u",
242 "[DEPOT_TOOLS]/apply_issue.py",
243 "-r",
244 "[SLAVE_BUILD]/src",
245 "-i",
246 "12853011",
247 "-p",
248 "1",
249 "-s",
250 "https://codereview.chromium.org",
251 "--no-auth"
252 ],
253 "name": "apply_issue (2)",
254 "seed_steps": [
255 "apply_issue (2)",
256 "compile (with patch, lkcr, clobber)"
257 ],
258 "skip": true
259 },
260 {
261 "abort_on_failure": true,
262 "cmd": [
263 "python",
264 "-u",
265 "[BUILD]/scripts/slave/compile.py",
266 "--target",
267 "Debug",
268 "--src-dir",
269 "[SLAVE_BUILD]/src",
270 "--build-tool",
271 "ninja",
272 "--compiler",
273 "goma",
274 "--goma-dir",
275 "[BUILD]/goma",
276 "--clobber",
277 "--",
278 "base_unittests",
279 "cacheinvalidation_unittests",
280 "cc_unittests",
281 "chromedriver_unittests",
282 "components_unittests",
283 "content_unittests",
284 "crypto_unittests",
285 "google_apis_unittests",
286 "gpu_unittests",
287 "ipc_tests",
288 "jingle_unittests",
289 "media_unittests",
290 "net_unittests",
291 "ppapi_unittests",
292 "printing_unittests",
293 "remoting_unittests",
294 "sql_unittests",
295 "sync_unit_tests",
296 "ui_unittests",
297 "unit_tests",
298 "browser_tests",
299 "content_browsertests",
300 "interactive_ui_tests",
301 "sync_integration_tests",
302 "chrome"
303 ],
304 "name": "compile (with patch, lkcr, clobber)",
305 "skip": true
306 },
307 {
308 "cmd": [
309 "python",
310 "-u",
311 "\nimport os, shutil, sys\nfor p in [os.path.join(sys.argv[1], x) for x in os.listdir(sys.argv[1])]:\n if os.path.isdir(p):\n shutil.rmtree(p)\n else :\n os.unlink(p)\n",
312 "[SLAVE_BUILD]/Debug_gn"
313 ],
314 "name": "rmcontents slave gn build directory",
315 "skip": true
316 },
317 {
318 "cmd": [
319 "python",
320 "-u",
321 "[DEPOT_TOOLS]/gn.py",
322 "gen",
323 "-o",
324 "[SLAVE_BUILD]/Debug_gn",
325 "--args=is_debug=true"
326 ],
327 "name": "gn (2)",
328 "skip": true
329 },
330 {
331 "cmd": [
332 "[DEPOT_TOOLS]/ninja",
333 "-C",
334 "[SLAVE_BUILD]/Debug_gn"
335 ],
336 "name": "compile (gn with patch, lkcr, clobber)",
337 "skip": true
338 }
339 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698