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

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

Issue 313693003: Swarming: conditionally run tests on swarming in chromium_trybot recipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 6 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 "abort_on_failure": true, 3 "abort_on_failure": true,
4 "cmd": [ 4 "cmd": [
5 "python", 5 "python",
6 "-u", 6 "-u",
7 "[BUILD]/scripts/slave/bot_update.py", 7 "[BUILD]/scripts/slave/bot_update.py",
8 "--master", 8 "--master",
9 "tryserver.chromium", 9 "tryserver.chromium",
10 "--builder", 10 "--builder",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "cmd": [ 72 "cmd": [
73 "python", 73 "python",
74 "-u", 74 "-u",
75 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 75 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
76 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json", 76 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json",
77 "/path/to/tmp/json" 77 "/path/to/tmp/json"
78 ], 78 ],
79 "name": "read test spec", 79 "name": "read test spec",
80 "~followup_annotations": [ 80 "~followup_annotations": [
81 "@@@STEP_TEXT@path: testing/buildbot/chromium_trybot.json@@@", 81 "@@@STEP_TEXT@path: testing/buildbot/chromium_trybot.json@@@",
82 "@@@STEP_LOG_LINE@json.output@[@@@", 82 "@@@STEP_LOG_LINE@json.output@{@@@",
83 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\", @@@", 83 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
84 "@@@STEP_LOG_LINE@json.output@ {@@@", 84 "@@@STEP_LOG_LINE@json.output@ {@@@",
85 "@@@STEP_LOG_LINE@json.output@ \"platforms\": [@@@", 85 "@@@STEP_LOG_LINE@json.output@ \"swarming\": true, @@@",
86 "@@@STEP_LOG_LINE@json.output@ \"linux\", @@@", 86 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_unittests\"@@@",
87 "@@@STEP_LOG_LINE@json.output@ \"mac\"@@@", 87 "@@@STEP_LOG_LINE@json.output@ }, @@@",
88 "@@@STEP_LOG_LINE@json.output@ ], @@@", 88 "@@@STEP_LOG_LINE@json.output@ {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"test\": \"mojo_common_unittests\"@@@", 89 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
90 "@@@STEP_LOG_LINE@json.output@ }, @@@", 90 "@@@STEP_LOG_LINE@json.output@ \"platforms\": [@@@",
91 "@@@STEP_LOG_LINE@json.output@ {@@@", 91 "@@@STEP_LOG_LINE@json.output@ \"linux\"@@@",
92 "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@", 92 "@@@STEP_LOG_LINE@json.output@ ]@@@",
93 "@@@STEP_LOG_LINE@json.output@ \"--test-launcher-print-test-stdio=alw ays\"@@@", 93 "@@@STEP_LOG_LINE@json.output@ }, @@@",
94 "@@@STEP_LOG_LINE@json.output@ ], @@@", 94 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
95 "@@@STEP_LOG_LINE@json.output@ \"chromium_configs\": [@@@", 95 "@@@STEP_LOG_LINE@json.output@ }@@@",
96 "@@@STEP_LOG_LINE@json.output@ \"chromium_chromeos\", @@@", 96 "@@@STEP_LOG_LINE@json.output@ ]@@@",
97 "@@@STEP_LOG_LINE@json.output@ \"chromium_chromeos_clang\"@@@", 97 "@@@STEP_LOG_LINE@json.output@}@@@",
98 "@@@STEP_LOG_LINE@json.output@ ], @@@",
99 "@@@STEP_LOG_LINE@json.output@ \"platforms\": [@@@",
100 "@@@STEP_LOG_LINE@json.output@ \"linux\"@@@",
101 "@@@STEP_LOG_LINE@json.output@ ], @@@",
102 "@@@STEP_LOG_LINE@json.output@ \"test\": \"sandbox_linux_unittests\"@@@ ",
103 "@@@STEP_LOG_LINE@json.output@ }, @@@",
104 "@@@STEP_LOG_LINE@json.output@ {@@@",
105 "@@@STEP_LOG_LINE@json.output@ \"exclude_builders\": [@@@",
106 "@@@STEP_LOG_LINE@json.output@ \"tryserver.chromium:win_chromium_x64_ rel\"@@@",
107 "@@@STEP_LOG_LINE@json.output@ ], @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
109 "@@@STEP_LOG_LINE@json.output@ }@@@",
110 "@@@STEP_LOG_LINE@json.output@]@@@",
111 "@@@STEP_LOG_END@json.output@@@" 98 "@@@STEP_LOG_END@json.output@@@"
112 ] 99 ]
113 }, 100 },
114 { 101 {
115 "abort_on_failure": false, 102 "abort_on_failure": false,
116 "can_fail_build": false, 103 "can_fail_build": false,
117 "cmd": [ 104 "cmd": [
118 "python", 105 "python",
119 "-u", 106 "-u",
120 "[DEPOT_TOOLS]/gclient.py", 107 "[DEPOT_TOOLS]/gclient.py",
121 "runhooks" 108 "runhooks"
122 ], 109 ],
123 "env": { 110 "env": {
124 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1" 111 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 test_isolation_mode=archive test_isolation_ outdir=https://isolateserver.appspot.com use_goma=1"
125 }, 112 },
126 "name": "gclient runhooks" 113 "name": "gclient runhooks"
127 }, 114 },
128 { 115 {
116 "cmd": [
117 "python",
118 "-u",
119 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
120 "--version"
121 ],
122 "name": "swarming.py --version",
123 "stdout": "/path/to/tmp/",
124 "~followup_annotations": [
125 "@@@STEP_TEXT@0.4.8@@@"
126 ]
127 },
128 {
129 "abort_on_failure": false, 129 "abort_on_failure": false,
130 "can_fail_build": false, 130 "can_fail_build": false,
131 "cmd": [ 131 "cmd": [
132 "python", 132 "python",
133 "-u", 133 "-u",
134 "[BUILD]/scripts/slave/compile.py", 134 "[BUILD]/scripts/slave/compile.py",
135 "--target", 135 "--target",
136 "Release", 136 "Release",
137 "--src-dir", 137 "--src-dir",
138 "[SLAVE_BUILD]/src", 138 "[SLAVE_BUILD]/src",
139 "--build-tool", 139 "--build-tool",
140 "ninja", 140 "ninja",
141 "--compiler", 141 "--compiler",
142 "goma", 142 "goma",
143 "--goma-dir", 143 "--goma-dir",
144 "[BUILD]/goma", 144 "[BUILD]/goma",
145 "--", 145 "--",
146 "all", 146 "all",
147 "base_unittests", 147 "base_unittests_run",
148 "mojo_common_unittests", 148 "browser_tests_run",
149 "browser_tests",
150 "chrome" 149 "chrome"
151 ], 150 ],
152 "name": "compile (with patch)" 151 "name": "compile (with patch)"
153 }, 152 },
154 { 153 {
154 "abort_on_failure": true,
155 "cmd": [
156 "python",
157 "-u",
158 "[BUILD]/scripts/slave/recipe_modules/isolate/resources/find_isolated_test s.py",
159 "--build-dir",
160 "[SLAVE_BUILD]/src/out/Release",
161 "--output-json",
162 "/path/to/tmp/json"
163 ],
164 "name": "find isolated tests",
165 "~followup_annotations": [
166 "@@@STEP_LOG_LINE@json.output@{@@@",
167 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\": \"[dummy hash for base _unittests]\", @@@",
168 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows er_tests]\"@@@",
169 "@@@STEP_LOG_LINE@json.output@}@@@",
170 "@@@STEP_LOG_END@json.output@@@",
171 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"base_unittests\": \"[dummy hash for base_unittests]\", \"browser_tests\": \"[dummy hash for browser_tests]\"}@@@"
172 ]
173 },
174 {
155 "allow_subannotations": true, 175 "allow_subannotations": true,
156 "always_run": true, 176 "always_run": true,
157 "cmd": [ 177 "cmd": [
158 "python", 178 "python",
159 "-u", 179 "-u",
160 "[BUILD]/scripts/slave/runtest.py", 180 "[BUILD]/scripts/slave/runtest.py",
161 "--target", 181 "--target",
162 "Release", 182 "Release",
163 "--xvfb", 183 "--xvfb",
164 "--factory-properties", 184 "--factory-properties",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "--builder-name=linux_chromium_rel", 219 "--builder-name=linux_chromium_rel",
200 "--slave-name=TestSlavename", 220 "--slave-name=TestSlavename",
201 "--build-number=571", 221 "--build-number=571",
202 "--run-python-script", 222 "--run-python-script",
203 "[SLAVE_BUILD]/src/tools/perf/run_tests", 223 "[SLAVE_BUILD]/src/tools/perf/run_tests",
204 "--browser=release" 224 "--browser=release"
205 ], 225 ],
206 "name": "telemetry_perf_unittests" 226 "name": "telemetry_perf_unittests"
207 }, 227 },
208 { 228 {
229 "always_run": true,
230 "cmd": [
231 "python",
232 "-u",
233 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
234 "trigger",
235 "--swarming",
236 "https://chromium-swarm.appspot.com",
237 "--isolate-server",
238 "https://isolateserver.appspot.com",
239 "--priority",
240 "200",
241 "--shards",
242 "1",
243 "--task-name",
244 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571",
245 "--dimension",
246 "os",
247 "Linux",
248 "[dummy hash for base_unittests]",
249 "--",
250 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
251 ],
252 "name": "[trigger] base_unittests (with patch)"
253 },
254 {
255 "always_run": true,
256 "cmd": [
257 "python",
258 "-u",
259 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
260 "trigger",
261 "--swarming",
262 "https://chromium-swarm.appspot.com",
263 "--isolate-server",
264 "https://isolateserver.appspot.com",
265 "--priority",
266 "200",
267 "--shards",
268 "1",
269 "--task-name",
270 "browser_tests (with patch)/Linux/[dummy hash for browser_tests]/linux_chr omium_rel/571",
271 "--dimension",
272 "os",
273 "Linux",
274 "[dummy hash for browser_tests]",
275 "--",
276 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
277 ],
278 "name": "[trigger] browser_tests (with patch)"
279 },
280 {
209 "can_fail_build": false, 281 "can_fail_build": false,
210 "cmd": [ 282 "cmd": [
211 "python", 283 "python",
212 "-u", 284 "-u",
213 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py", 285 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py",
214 "--json", 286 "--json",
215 "/path/to/tmp/json" 287 "/path/to/tmp/json"
216 ], 288 ],
217 "name": "checkdeps (with patch)", 289 "name": "checkdeps (with patch)",
218 "~followup_annotations": [ 290 "~followup_annotations": [
(...skipping 29 matching lines...) Expand all
248 "cmd": [ 320 "cmd": [
249 "python", 321 "python",
250 "-u", 322 "-u",
251 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py", 323 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py",
252 "--gitless", 324 "--gitless",
253 "[SLAVE_BUILD]/src/.DEPS.git" 325 "[SLAVE_BUILD]/src/.DEPS.git"
254 ], 326 ],
255 "name": "deps2submodules" 327 "name": "deps2submodules"
256 }, 328 },
257 { 329 {
258 "allow_subannotations": true,
259 "always_run": true,
260 "can_fail_build": false, 330 "can_fail_build": false,
261 "cmd": [ 331 "cmd": [
262 "python", 332 "python",
263 "-u", 333 "-u",
264 "[BUILD]/scripts/slave/runtest.py", 334 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
265 "--target", 335 "--mode",
266 "Release", 336 "Release",
267 "--xvfb", 337 "--json_build_results_output_file",
268 "--factory-properties", 338 "/path/to/tmp/json"
269 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
270 "--build-properties",
271 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
272 "--annotate=gtest",
273 "--test-launcher-summary-output",
274 "/path/to/tmp/json",
275 "--builder-name=linux_chromium_rel",
276 "--slave-name=TestSlavename",
277 "--build-number=571",
278 "--parallel",
279 "base_unittests"
280 ], 339 ],
281 "name": "base_unittests (with patch)", 340 "name": "nacl_integration (with patch)",
282 "~followup_annotations": [ 341 "~followup_annotations": [
283 "step returned non-zero exit code: 1", 342 "@@@STEP_LOG_LINE@json.output@[]@@@",
284 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", 343 "@@@STEP_LOG_END@json.output@@@"
285 "@@@STEP_FAILURE@@@"
286 ] 344 ]
287 }, 345 },
288 { 346 {
289 "allow_subannotations": true, 347 "allow_subannotations": true,
290 "always_run": true, 348 "always_run": true,
291 "can_fail_build": false, 349 "can_fail_build": false,
292 "cmd": [ 350 "cmd": [
293 "python", 351 "python",
294 "-u", 352 "-u",
295 "[BUILD]/scripts/slave/runtest.py", 353 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
296 "--target", 354 "--swarming-client-dir",
297 "Release", 355 "[SLAVE_BUILD]/src/tools/swarming_client",
298 "--xvfb", 356 "--temp-root-dir",
299 "--factory-properties", 357 "[TMP_BASE]",
300 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}", 358 "--merged-test-output",
301 "--build-properties",
302 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
303 "--annotate=gtest",
304 "--test-launcher-summary-output",
305 "/path/to/tmp/json", 359 "/path/to/tmp/json",
306 "--builder-name=linux_chromium_rel", 360 "--",
307 "--slave-name=TestSlavename", 361 "collect",
308 "--build-number=571", 362 "--swarming",
309 "--parallel", 363 "https://chromium-swarm.appspot.com",
310 "mojo_common_unittests" 364 "--shards",
365 "1",
366 "--decorate",
367 "--print-status-updates",
368 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571"
311 ], 369 ],
312 "name": "mojo_common_unittests (with patch)" 370 "name": "[swarming] base_unittests (with patch)",
371 "~followup_annotations": [
372 "step returned non-zero exit code: 1",
373 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@",
374 "@@@STEP_FAILURE@@@"
375 ]
313 }, 376 },
314 { 377 {
315 "allow_subannotations": true, 378 "allow_subannotations": true,
316 "always_run": true, 379 "always_run": true,
317 "can_fail_build": false, 380 "can_fail_build": false,
318 "cmd": [ 381 "cmd": [
319 "python", 382 "python",
320 "-u", 383 "-u",
321 "[BUILD]/scripts/slave/runtest.py", 384 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
322 "--target", 385 "--swarming-client-dir",
323 "Release", 386 "[SLAVE_BUILD]/src/tools/swarming_client",
324 "--xvfb", 387 "--temp-root-dir",
325 "--factory-properties", 388 "[TMP_BASE]",
326 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}", 389 "--merged-test-output",
327 "--build-properties",
328 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
329 "--annotate=gtest",
330 "--test-launcher-summary-output",
331 "/path/to/tmp/json", 390 "/path/to/tmp/json",
332 "--builder-name=linux_chromium_rel", 391 "--",
333 "--slave-name=TestSlavename", 392 "collect",
334 "--build-number=571", 393 "--swarming",
335 "--parallel", 394 "https://chromium-swarm.appspot.com",
336 "browser_tests" 395 "--shards",
396 "1",
397 "--decorate",
398 "--print-status-updates",
399 "browser_tests (with patch)/Linux/[dummy hash for browser_tests]/linux_chr omium_rel/571"
337 ], 400 ],
338 "name": "browser_tests (with patch)" 401 "name": "[swarming] browser_tests (with patch)"
339 },
340 {
341 "can_fail_build": false,
342 "cmd": [
343 "python",
344 "-u",
345 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
346 "--mode",
347 "Release",
348 "--json_build_results_output_file",
349 "/path/to/tmp/json"
350 ],
351 "name": "nacl_integration (with patch)",
352 "~followup_annotations": [
353 "@@@STEP_LOG_LINE@json.output@[]@@@",
354 "@@@STEP_LOG_END@json.output@@@"
355 ]
356 }, 402 },
357 { 403 {
358 "abort_on_failure": true, 404 "abort_on_failure": true,
359 "always_run": true, 405 "always_run": true,
360 "cmd": [ 406 "cmd": [
361 "python", 407 "python",
362 "-u", 408 "-u",
363 "[BUILD]/scripts/slave/bot_update.py", 409 "[BUILD]/scripts/slave/bot_update.py",
364 "--master", 410 "--master",
365 "tryserver.chromium", 411 "tryserver.chromium",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 }, 454 },
409 { 455 {
410 "always_run": true, 456 "always_run": true,
411 "cmd": [ 457 "cmd": [
412 "python", 458 "python",
413 "-u", 459 "-u",
414 "[DEPOT_TOOLS]/gclient.py", 460 "[DEPOT_TOOLS]/gclient.py",
415 "runhooks" 461 "runhooks"
416 ], 462 ],
417 "env": { 463 "env": {
418 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1" 464 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 test_isolation_mode=archive test_isolation_ outdir=https://isolateserver.appspot.com use_goma=1"
419 }, 465 },
420 "name": "gclient runhooks (2)", 466 "name": "gclient runhooks (2)"
421 "~followup_annotations": [
422 "step returned non-zero exit code: 1",
423 "@@@STEP_FAILURE@@@"
424 ]
425 }, 467 },
426 { 468 {
427 "abort_on_failure": false, 469 "abort_on_failure": false,
428 "always_run": true, 470 "always_run": true,
429 "can_fail_build": false, 471 "can_fail_build": false,
430 "cmd": [ 472 "cmd": [
431 "python", 473 "python",
432 "-u", 474 "-u",
433 "[BUILD]/scripts/slave/compile.py", 475 "[BUILD]/scripts/slave/compile.py",
434 "--target", 476 "--target",
435 "Release", 477 "Release",
436 "--src-dir", 478 "--src-dir",
437 "[SLAVE_BUILD]/src", 479 "[SLAVE_BUILD]/src",
438 "--build-tool", 480 "--build-tool",
439 "ninja", 481 "ninja",
440 "--compiler", 482 "--compiler",
441 "goma", 483 "goma",
442 "--goma-dir", 484 "--goma-dir",
443 "[BUILD]/goma", 485 "[BUILD]/goma",
444 "--", 486 "--",
445 "base_unittests" 487 "base_unittests_run"
446 ], 488 ],
447 "name": "compile (without patch)" 489 "name": "compile (without patch)"
448 }, 490 },
449 { 491 {
492 "abort_on_failure": true,
493 "always_run": true,
494 "cmd": [
495 "python",
496 "-u",
497 "[BUILD]/scripts/slave/recipe_modules/isolate/resources/find_isolated_test s.py",
498 "--build-dir",
499 "[SLAVE_BUILD]/src/out/Release",
500 "--output-json",
501 "/path/to/tmp/json"
502 ],
503 "name": "find isolated tests (2)",
504 "~followup_annotations": [
505 "@@@STEP_LOG_LINE@json.output@{@@@",
506 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\": \"[dummy hash for base _unittests]\", @@@",
507 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows er_tests]\"@@@",
508 "@@@STEP_LOG_LINE@json.output@}@@@",
509 "@@@STEP_LOG_END@json.output@@@",
510 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"base_unittests\": \"[dummy hash for base_unittests]\", \"browser_tests\": \"[dummy hash for browser_tests]\"}@@@"
511 ]
512 },
513 {
514 "always_run": true,
515 "cmd": [
516 "python",
517 "-u",
518 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
519 "trigger",
520 "--swarming",
521 "https://chromium-swarm.appspot.com",
522 "--isolate-server",
523 "https://isolateserver.appspot.com",
524 "--priority",
525 "200",
526 "--shards",
527 "1",
528 "--task-name",
529 "base_unittests (without patch)/Linux/[dummy hash for base_unittests]/linu x_chromium_rel/571",
530 "--dimension",
531 "os",
532 "Linux",
533 "[dummy hash for base_unittests]",
534 "--",
535 "--gtest_filter=Test.Two",
536 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
537 ],
538 "name": "[trigger] base_unittests (without patch)"
539 },
540 {
450 "allow_subannotations": true, 541 "allow_subannotations": true,
451 "always_run": true, 542 "always_run": true,
452 "can_fail_build": false, 543 "can_fail_build": false,
453 "cmd": [ 544 "cmd": [
454 "python", 545 "python",
455 "-u", 546 "-u",
456 "[BUILD]/scripts/slave/runtest.py", 547 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
457 "--target", 548 "--swarming-client-dir",
458 "Release", 549 "[SLAVE_BUILD]/src/tools/swarming_client",
459 "--xvfb", 550 "--temp-root-dir",
460 "--factory-properties", 551 "[TMP_BASE]",
461 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}", 552 "--merged-test-output",
462 "--build-properties",
463 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromium_tryb ot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \"revisi on\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \"src\" , \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavenam e\"}",
464 "--annotate=gtest",
465 "--test-launcher-summary-output",
466 "/path/to/tmp/json", 553 "/path/to/tmp/json",
467 "--builder-name=linux_chromium_rel", 554 "--",
468 "--slave-name=TestSlavename", 555 "collect",
469 "--build-number=571", 556 "--swarming",
470 "--parallel", 557 "https://chromium-swarm.appspot.com",
471 "base_unittests", 558 "--shards",
472 "Test.Two" 559 "1",
560 "--decorate",
561 "--print-status-updates",
562 "base_unittests (without patch)/Linux/[dummy hash for base_unittests]/linu x_chromium_rel/571"
473 ], 563 ],
474 "name": "base_unittests (without patch)", 564 "name": "[swarming] base_unittests (without patch)"
475 "~followup_annotations": [
476 "step returned non-zero exit code: 1",
477 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@",
478 "@@@STEP_FAILURE@@@"
479 ]
480 }, 565 },
481 { 566 {
482 "always_run": true, 567 "always_run": true,
483 "cmd": [ 568 "cmd": [
484 "python", 569 "python",
485 "-u", 570 "-u",
486 "\nimport sys, json\nfailures = json.load(open(sys.argv[1], 'rb'))\n\nsucc ess = True\n\nif failures['new']:\n success = False\n print 'New failures:'\n for f in failures['new']:\n print f\n\nif failures['ignored']:\n print 'Ign ored failures:'\n for f in failures['ignored']:\n print f\n\nsys.exit(0 if s uccess else 1)\n", 571 "\nimport sys, json\nfailures = json.load(open(sys.argv[1], 'rb'))\n\nsucc ess = True\n\nif failures['new']:\n success = False\n print 'New failures:'\n for f in failures['new']:\n print f\n\nif failures['ignored']:\n print 'Ign ored failures:'\n for f in failures['ignored']:\n print f\n\nsys.exit(0 if s uccess else 1)\n",
487 "{\"ignored\": [\"Test.Two\"], \"new\": []}" 572 "{\"ignored\": [], \"new\": [\"Test.Two\"]}"
488 ], 573 ],
489 "name": "base_unittests", 574 "name": "base_unittests",
490 "~followup_annotations": [ 575 "~followup_annotations": [
491 "@@@STEP_TEXT@<br/>ignored:<br/>Test.Two<br/>@@@", 576 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@",
492 "@@@STEP_LOG_LINE@python.inline@@@@", 577 "@@@STEP_LOG_LINE@python.inline@@@@",
493 "@@@STEP_LOG_LINE@python.inline@import sys, json@@@", 578 "@@@STEP_LOG_LINE@python.inline@import sys, json@@@",
494 "@@@STEP_LOG_LINE@python.inline@failures = json.load(open(sys.argv[1], 'rb '))@@@", 579 "@@@STEP_LOG_LINE@python.inline@failures = json.load(open(sys.argv[1], 'rb '))@@@",
495 "@@@STEP_LOG_LINE@python.inline@@@@", 580 "@@@STEP_LOG_LINE@python.inline@@@@",
496 "@@@STEP_LOG_LINE@python.inline@success = True@@@", 581 "@@@STEP_LOG_LINE@python.inline@success = True@@@",
497 "@@@STEP_LOG_LINE@python.inline@@@@", 582 "@@@STEP_LOG_LINE@python.inline@@@@",
498 "@@@STEP_LOG_LINE@python.inline@if failures['new']:@@@", 583 "@@@STEP_LOG_LINE@python.inline@if failures['new']:@@@",
499 "@@@STEP_LOG_LINE@python.inline@ success = False@@@", 584 "@@@STEP_LOG_LINE@python.inline@ success = False@@@",
500 "@@@STEP_LOG_LINE@python.inline@ print 'New failures:'@@@", 585 "@@@STEP_LOG_LINE@python.inline@ print 'New failures:'@@@",
501 "@@@STEP_LOG_LINE@python.inline@ for f in failures['new']:@@@", 586 "@@@STEP_LOG_LINE@python.inline@ for f in failures['new']:@@@",
502 "@@@STEP_LOG_LINE@python.inline@ print f@@@", 587 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
503 "@@@STEP_LOG_LINE@python.inline@@@@", 588 "@@@STEP_LOG_LINE@python.inline@@@@",
504 "@@@STEP_LOG_LINE@python.inline@if failures['ignored']:@@@", 589 "@@@STEP_LOG_LINE@python.inline@if failures['ignored']:@@@",
505 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@", 590 "@@@STEP_LOG_LINE@python.inline@ print 'Ignored failures:'@@@",
506 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@", 591 "@@@STEP_LOG_LINE@python.inline@ for f in failures['ignored']:@@@",
507 "@@@STEP_LOG_LINE@python.inline@ print f@@@", 592 "@@@STEP_LOG_LINE@python.inline@ print f@@@",
508 "@@@STEP_LOG_LINE@python.inline@@@@", 593 "@@@STEP_LOG_LINE@python.inline@@@@",
509 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@", 594 "@@@STEP_LOG_LINE@python.inline@sys.exit(0 if success else 1)@@@",
510 "@@@STEP_LOG_END@python.inline@@@", 595 "@@@STEP_LOG_END@python.inline@@@",
511 "@@@STEP_WARNINGS@@@" 596 "@@@STEP_FAILURE@@@"
512 ] 597 ]
513 } 598 }
514 ] 599 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698