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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.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@}@@@",
165 "@@@STEP_LOG_END@json.output@@@",
166 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"base_unittests\": \"[dummy hash for base_unittests]\"}@@@"
167 ]
168 },
169 {
155 "allow_subannotations": true, 170 "allow_subannotations": true,
156 "always_run": true, 171 "always_run": true,
157 "cmd": [ 172 "cmd": [
158 "python", 173 "python",
159 "-u", 174 "-u",
160 "[BUILD]/scripts/slave/runtest.py", 175 "[BUILD]/scripts/slave/runtest.py",
161 "--target", 176 "--target",
162 "Release", 177 "Release",
163 "--xvfb", 178 "--xvfb",
164 "--factory-properties", 179 "--factory-properties",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "--builder-name=linux_chromium_rel", 214 "--builder-name=linux_chromium_rel",
200 "--slave-name=TestSlavename", 215 "--slave-name=TestSlavename",
201 "--build-number=571", 216 "--build-number=571",
202 "--run-python-script", 217 "--run-python-script",
203 "[SLAVE_BUILD]/src/tools/perf/run_tests", 218 "[SLAVE_BUILD]/src/tools/perf/run_tests",
204 "--browser=release" 219 "--browser=release"
205 ], 220 ],
206 "name": "telemetry_perf_unittests" 221 "name": "telemetry_perf_unittests"
207 }, 222 },
208 { 223 {
224 "always_run": true,
225 "cmd": [
226 "python",
227 "-u",
228 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
229 "trigger",
230 "--swarming",
231 "https://chromium-swarm.appspot.com",
232 "--isolate-server",
233 "https://isolateserver.appspot.com",
234 "--priority",
235 "200",
236 "--shards",
237 "1",
238 "--task-name",
239 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571",
240 "--dimension",
241 "os",
242 "Linux",
243 "[dummy hash for base_unittests]",
244 "--",
245 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json"
246 ],
247 "name": "[trigger] base_unittests (with patch)"
248 },
249 {
250 "always_run": true,
251 "cmd": [
252 "python",
253 "-u",
254 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
255 "browser_tests"
256 ],
257 "name": "[error] browser_tests (with patch)",
258 "~followup_annotations": [
259 "@@@STEP_LOG_LINE@python.inline@@@@",
260 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
261 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
262 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
263 "@@@STEP_LOG_END@python.inline@@@"
264 ]
265 },
266 {
209 "can_fail_build": false, 267 "can_fail_build": false,
210 "cmd": [ 268 "cmd": [
211 "python", 269 "python",
212 "-u", 270 "-u",
213 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py", 271 "[SLAVE_BUILD]/src/tools/checkdeps/checkdeps.py",
214 "--json", 272 "--json",
215 "/path/to/tmp/json" 273 "/path/to/tmp/json"
216 ], 274 ],
217 "name": "checkdeps (with patch)", 275 "name": "checkdeps (with patch)",
218 "~followup_annotations": [ 276 "~followup_annotations": [
(...skipping 29 matching lines...) Expand all
248 "cmd": [ 306 "cmd": [
249 "python", 307 "python",
250 "-u", 308 "-u",
251 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py", 309 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py",
252 "--gitless", 310 "--gitless",
253 "[SLAVE_BUILD]/src/.DEPS.git" 311 "[SLAVE_BUILD]/src/.DEPS.git"
254 ], 312 ],
255 "name": "deps2submodules" 313 "name": "deps2submodules"
256 }, 314 },
257 { 315 {
258 "allow_subannotations": true,
259 "always_run": true,
260 "can_fail_build": false, 316 "can_fail_build": false,
261 "cmd": [ 317 "cmd": [
262 "python", 318 "python",
263 "-u", 319 "-u",
264 "[BUILD]/scripts/slave/runtest.py", 320 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
265 "--target", 321 "--mode",
266 "Release", 322 "Release",
267 "--xvfb", 323 "--json_build_results_output_file",
268 "--factory-properties", 324 "/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 ], 325 ],
281 "name": "base_unittests (with patch)" 326 "name": "nacl_integration (with patch)",
327 "~followup_annotations": [
328 "@@@STEP_LOG_LINE@json.output@[]@@@",
329 "@@@STEP_LOG_END@json.output@@@"
330 ]
282 }, 331 },
283 { 332 {
284 "allow_subannotations": true, 333 "allow_subannotations": true,
285 "always_run": true, 334 "always_run": true,
286 "can_fail_build": false, 335 "can_fail_build": false,
287 "cmd": [ 336 "cmd": [
288 "python", 337 "python",
289 "-u", 338 "-u",
290 "[BUILD]/scripts/slave/runtest.py", 339 "[BUILD]/scripts/slave/recipe_modules/swarming/resources/collect_gtest_tas k.py",
291 "--target", 340 "--swarming-client-dir",
292 "Release", 341 "[SLAVE_BUILD]/src/tools/swarming_client",
293 "--xvfb", 342 "--temp-root-dir",
294 "--factory-properties", 343 "[TMP_BASE]",
295 "{\"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\"}", 344 "--merged-test-output",
296 "--build-properties",
297 "{\"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\"}",
298 "--annotate=gtest",
299 "--test-launcher-summary-output",
300 "/path/to/tmp/json", 345 "/path/to/tmp/json",
301 "--builder-name=linux_chromium_rel", 346 "--",
302 "--slave-name=TestSlavename", 347 "collect",
303 "--build-number=571", 348 "--swarming",
304 "--parallel", 349 "https://chromium-swarm.appspot.com",
305 "mojo_common_unittests" 350 "--shards",
351 "1",
352 "--decorate",
353 "--print-status-updates",
354 "base_unittests (with patch)/Linux/[dummy hash for base_unittests]/linux_c hromium_rel/571"
306 ], 355 ],
307 "name": "mojo_common_unittests (with patch)" 356 "name": "[swarming] base_unittests (with patch)"
308 }, 357 },
309 { 358 {
310 "allow_subannotations": true,
311 "always_run": true, 359 "always_run": true,
312 "can_fail_build": false,
313 "cmd": [ 360 "cmd": [
314 "python", 361 "python",
315 "-u", 362 "-u",
316 "[BUILD]/scripts/slave/runtest.py", 363 "\nimport sys\nprint 'TEST RESULTS WERE INVALID'\nsys.exit(1)\n"
317 "--target",
318 "Release",
319 "--xvfb",
320 "--factory-properties",
321 "{\"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\"}",
322 "--build-properties",
323 "{\"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\"}",
324 "--annotate=gtest",
325 "--test-launcher-summary-output",
326 "/path/to/tmp/json",
327 "--builder-name=linux_chromium_rel",
328 "--slave-name=TestSlavename",
329 "--build-number=571",
330 "--parallel",
331 "browser_tests"
332 ], 364 ],
333 "name": "browser_tests (with patch)" 365 "name": "browser_tests",
334 },
335 {
336 "can_fail_build": false,
337 "cmd": [
338 "python",
339 "-u",
340 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
341 "--mode",
342 "Release",
343 "--json_build_results_output_file",
344 "/path/to/tmp/json"
345 ],
346 "name": "nacl_integration (with patch)",
347 "~followup_annotations": [ 366 "~followup_annotations": [
348 "@@@STEP_LOG_LINE@json.output@[]@@@", 367 "@@@STEP_LOG_LINE@python.inline@@@@",
349 "@@@STEP_LOG_END@json.output@@@" 368 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
369 "@@@STEP_LOG_LINE@python.inline@print 'TEST RESULTS WERE INVALID'@@@",
370 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
371 "@@@STEP_LOG_END@python.inline@@@"
350 ] 372 ]
351 } 373 }
352 ] 374 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698