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

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

Powered by Google App Engine
This is Rietveld 408576698