| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | |
| 7 "[BUILDER_CACHE]/linux_layout", | |
| 8 "511" | |
| 9 ], | |
| 10 "name": "makedirs checkout path", | |
| 11 "~followup_annotations": [ | |
| 12 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
| 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
| 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
| 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
| 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
| 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
| 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
| 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
| 21 "@@@STEP_LOG_END@python.inline@@@" | |
| 22 ] | |
| 23 }, | |
| 24 { | |
| 25 "cmd": [ | |
| 26 "python", | |
| 27 "-u", | |
| 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
| 29 "--spec", | |
| 30 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]", | |
| 31 "--patch_root", | |
| 32 "src", | |
| 33 "--revision_mapping_file", | |
| 34 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision
\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g
ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/
tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_
revision\"}", | |
| 35 "--git-cache-dir", | |
| 36 "[GIT_CACHE]", | |
| 37 "--output_json", | |
| 38 "/path/to/tmp/json", | |
| 39 "--revision", | |
| 40 "src@HEAD", | |
| 41 "--output_manifest" | |
| 42 ], | |
| 43 "cwd": "[BUILDER_CACHE]/linux_layout", | |
| 44 "env": { | |
| 45 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 46 }, | |
| 47 "name": "bot_update", | |
| 48 "~followup_annotations": [ | |
| 49 "@@@STEP_TEXT@Some step text@@@", | |
| 50 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 51 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
| 52 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
| 53 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | |
| 54 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 55 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
| 56 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
| 57 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
| 58 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
| 59 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 60 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", | |
| 61 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/buildtools.git\", @@@", | |
| 62 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635
3cb994259692140934\"@@@", | |
| 63 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 64 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
| 65 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
| 66 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
| 67 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 68 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
| 69 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
| 70 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
| 71 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 72 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
| 73 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
| 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
| 75 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 76 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
| 77 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
| 78 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
| 79 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 80 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
| 81 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
| 82 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
| 83 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 84 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 85 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
| 86 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
| 87 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
| 88 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
| 89 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
| 90 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328
b2809876916353cb994259692140934\", @@@", | |
| 91 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h
eads/master@{#182578}\", @@@", | |
| 92 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
| 93 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
| 94 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
| 95 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
| 96 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
| 97 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
| 98 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
| 99 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
| 100 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
| 101 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
| 102 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 103 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
| 104 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
| 105 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 106 "@@@STEP_LOG_END@json.output@@@", | |
| 107 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
| 108 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
| 109 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18
2578}\"@@@", | |
| 110 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
| 111 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
| 112 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
| 113 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
| 114 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
| 115 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
| 116 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
| 117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
| 118 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
| 119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | |
| 120 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | |
| 121 ] | |
| 122 }, | |
| 123 { | |
| 124 "cmd": [], | |
| 125 "name": "ensure_goma" | |
| 126 }, | |
| 127 { | |
| 128 "cmd": [ | |
| 129 "python", | |
| 130 "-u", | |
| 131 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | |
| 132 "--platform", | |
| 133 "linux-amd64", | |
| 134 "--dest-directory", | |
| 135 "[SLAVE_BUILD]/cipd", | |
| 136 "--json-output", | |
| 137 "/path/to/tmp/json" | |
| 138 ], | |
| 139 "name": "ensure_goma.install cipd", | |
| 140 "~followup_annotations": [ | |
| 141 "@@@STEP_NEST_LEVEL@1@@@", | |
| 142 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
| 143 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 144 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
| 145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
| 146 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 147 "@@@STEP_LOG_END@json.output@@@" | |
| 148 ] | |
| 149 }, | |
| 150 { | |
| 151 "cmd": [ | |
| 152 "[SLAVE_BUILD]/cipd/cipd", | |
| 153 "ensure", | |
| 154 "--root", | |
| 155 "[CACHE]/cipd/goma", | |
| 156 "--list", | |
| 157 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma
/client/linux-amd64 release", | |
| 158 "--json-output", | |
| 159 "/path/to/tmp/json", | |
| 160 "--service-account-json", | |
| 161 "/creds/service_accounts/service-account-goma-client.json" | |
| 162 ], | |
| 163 "name": "ensure_goma.ensure_installed", | |
| 164 "~followup_annotations": [ | |
| 165 "@@@STEP_NEST_LEVEL@1@@@", | |
| 166 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 167 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
| 168 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 169 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-goma_recipe_modu\", @@@", | |
| 170 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l
inux-amd64\"@@@", | |
| 171 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 172 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 173 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
| 174 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", | |
| 175 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 176 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 177 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 178 "@@@STEP_LOG_END@json.output@@@" | |
| 179 ] | |
| 180 }, | |
| 181 { | |
| 182 "cmd": [ | |
| 183 "python", | |
| 184 "-u", | |
| 185 "[BUILDER_CACHE]/linux_layout/src/tools/swarming_client/swarming.py", | |
| 186 "--version" | |
| 187 ], | |
| 188 "name": "swarming.py --version", | |
| 189 "stdout": "/path/to/tmp/", | |
| 190 "~followup_annotations": [ | |
| 191 "@@@STEP_TEXT@0.8.6@@@" | |
| 192 ] | |
| 193 }, | |
| 194 { | |
| 195 "cmd": [ | |
| 196 "python", | |
| 197 "-u", | |
| 198 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
| 199 "runhooks" | |
| 200 ], | |
| 201 "cwd": "[BUILDER_CACHE]/linux_layout/src", | |
| 202 "env": { | |
| 203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 204 "GYP_CHROMIUM_NO_ACTION": "1", | |
| 205 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 test_isolation_mode=prepare use_goma=1", | |
| 206 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 207 }, | |
| 208 "name": "gclient runhooks" | |
| 209 }, | |
| 210 { | |
| 211 "cmd": [ | |
| 212 "python", | |
| 213 "-u", | |
| 214 "[BUILDER_CACHE]/linux_layout/src/testing/scripts/get_compile_targets.py", | |
| 215 "--output", | |
| 216 "/path/to/tmp/json", | |
| 217 "--", | |
| 218 "--build-config-fs", | |
| 219 "Release", | |
| 220 "--paths", | |
| 221 "{\"checkout\": \"[BUILDER_CACHE]/linux_layout/src\", \"runit.py\": \"RECI
PE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAG
E_REPO[build]/scripts/slave/runtest.py\"}", | |
| 222 "--properties", | |
| 223 "{\"buildername\": \"WebKit Linux Precise\", \"buildnumber\": 571, \"maste
rname\": \"chromium.webkit\", \"slavename\": \"TestSlavename\", \"target_platfor
m\": \"linux\"}" | |
| 224 ], | |
| 225 "name": "get compile targets for scripts", | |
| 226 "~followup_annotations": [ | |
| 227 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
| 228 "@@@STEP_LOG_END@json.output@@@" | |
| 229 ] | |
| 230 }, | |
| 231 { | |
| 232 "cmd": [ | |
| 233 "python", | |
| 234 "-u", | |
| 235 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 236 "[BUILDER_CACHE]/linux_layout/src/testing/buildbot/chromium.webkit.json", | |
| 237 "/path/to/tmp/json" | |
| 238 ], | |
| 239 "name": "read test spec (chromium.webkit.json)", | |
| 240 "~followup_annotations": [ | |
| 241 "@@@STEP_TEXT@path: [BUILDER_CACHE]/linux_layout/src/testing/buildbot/chro
mium.webkit.json@@@", | |
| 242 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 243 "@@@STEP_LOG_LINE@json.output@ \"WebKit Linux Precise\": {@@@", | |
| 244 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | |
| 245 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 246 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | |
| 247 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | |
| 248 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 249 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | |
| 250 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 251 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 252 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 253 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 254 "@@@STEP_LOG_END@json.output@@@" | |
| 255 ] | |
| 256 }, | |
| 257 { | |
| 258 "cmd": [ | |
| 259 "python", | |
| 260 "-u", | |
| 261 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
| 262 "--show-path", | |
| 263 "python", | |
| 264 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
| 265 ], | |
| 266 "name": "cleanup_temp" | |
| 267 }, | |
| 268 { | |
| 269 "cmd": [ | |
| 270 "python", | |
| 271 "-u", | |
| 272 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | |
| 273 "--build-dir", | |
| 274 "[BUILDER_CACHE]/linux_layout/src/out/Release", | |
| 275 "--clean-isolated-files" | |
| 276 ], | |
| 277 "name": "clean isolated files" | |
| 278 }, | |
| 279 { | |
| 280 "cmd": [ | |
| 281 "python", | |
| 282 "-u", | |
| 283 "[BUILDER_CACHE]/linux_layout/src/tools/mb/mb.py", | |
| 284 "gen", | |
| 285 "-m", | |
| 286 "chromium.webkit", | |
| 287 "-b", | |
| 288 "WebKit Linux Precise", | |
| 289 "--config-file", | |
| 290 "[BUILDER_CACHE]/linux_layout/src/tools/mb/mb_config.pyl", | |
| 291 "--goma-dir", | |
| 292 "[CACHE]/cipd/goma", | |
| 293 "--swarming-targets-file", | |
| 294 "browser_tests\n", | |
| 295 "//out/Release" | |
| 296 ], | |
| 297 "cwd": "[BUILDER_CACHE]/linux_layout/src", | |
| 298 "env": { | |
| 299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 300 }, | |
| 301 "name": "generate_build_files", | |
| 302 "~followup_annotations": [ | |
| 303 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@", | |
| 304 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" | |
| 305 ] | |
| 306 }, | |
| 307 { | |
| 308 "cmd": [ | |
| 309 "python", | |
| 310 "-u", | |
| 311 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
| 312 "--show-path", | |
| 313 "python", | |
| 314 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
| 315 "--gsutil-py-path", | |
| 316 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 317 "--ninja-path", | |
| 318 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
| 319 "--target", | |
| 320 "Release", | |
| 321 "--src-dir", | |
| 322 "[BUILDER_CACHE]/linux_layout/src", | |
| 323 "--goma-cache-dir", | |
| 324 "[GOMA_CACHE]", | |
| 325 "--buildbot-buildername", | |
| 326 "WebKit Linux Precise", | |
| 327 "--buildbot-mastername", | |
| 328 "chromium.webkit", | |
| 329 "--buildbot-slavename", | |
| 330 "TestSlavename", | |
| 331 "--goma-deps-cache-file", | |
| 332 "WebKit_Linux_Precise.gomadeps", | |
| 333 "--build-data-dir", | |
| 334 "[ROOT]/build_data_dir", | |
| 335 "--compiler", | |
| 336 "goma", | |
| 337 "--goma-jsonstatus", | |
| 338 "/path/to/tmp/json", | |
| 339 "--goma-service-account-json-file", | |
| 340 "/creds/service_accounts/service-account-goma-client.json", | |
| 341 "--goma-dir", | |
| 342 "[CACHE]/cipd/goma", | |
| 343 "--ninja-ensure-up-to-date", | |
| 344 "--", | |
| 345 "blink_tests", | |
| 346 "browser_tests", | |
| 347 "browser_tests_run" | |
| 348 ], | |
| 349 "env": { | |
| 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 351 }, | |
| 352 "name": "compile", | |
| 353 "~followup_annotations": [ | |
| 354 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
| 355 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
| 356 ] | |
| 357 }, | |
| 358 { | |
| 359 "cmd": [ | |
| 360 "python", | |
| 361 "-u", | |
| 362 "[BUILDER_CACHE]/linux_layout/src/tools/determinism/remove_build_metadata.
py", | |
| 363 "--build-dir", | |
| 364 "[BUILDER_CACHE]/linux_layout/src/out/Release" | |
| 365 ], | |
| 366 "cwd": "[SLAVE_BUILD]", | |
| 367 "name": "remove_build_metadata" | |
| 368 }, | |
| 369 { | |
| 370 "cmd": [ | |
| 371 "python", | |
| 372 "-u", | |
| 373 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
| 374 "[BUILDER_CACHE]/linux_layout/src/tools/swarming_client", | |
| 375 "batcharchive", | |
| 376 "--dump-json", | |
| 377 "/path/to/tmp/json", | |
| 378 "--isolate-server", | |
| 379 "https://isolateserver.appspot.com", | |
| 380 "--verbose", | |
| 381 "[BUILDER_CACHE]/linux_layout/src/out/Release/browser_tests.isolated.gen.j
son" | |
| 382 ], | |
| 383 "name": "isolate tests", | |
| 384 "~followup_annotations": [ | |
| 385 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 386 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows
er_tests]\"@@@", | |
| 387 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 388 "@@@STEP_LOG_END@json.output@@@" | |
| 389 ] | |
| 390 }, | |
| 391 { | |
| 392 "cmd": [ | |
| 393 "python", | |
| 394 "-u", | |
| 395 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | |
| 396 "--build-dir", | |
| 397 "[BUILDER_CACHE]/linux_layout/src/out/Release", | |
| 398 "--output-json", | |
| 399 "/path/to/tmp/json" | |
| 400 ], | |
| 401 "cwd": "[BUILDER_CACHE]/linux_layout", | |
| 402 "env": { | |
| 403 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 404 }, | |
| 405 "name": "find isolated tests", | |
| 406 "~followup_annotations": [ | |
| 407 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 408 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
| 409 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
| 410 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 411 "@@@STEP_LOG_END@json.output@@@", | |
| 412 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
| 413 ] | |
| 414 }, | |
| 415 { | |
| 416 "cmd": [ | |
| 417 "python", | |
| 418 "-u", | |
| 419 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | |
| 420 "browser_tests" | |
| 421 ], | |
| 422 "cwd": "[BUILDER_CACHE]/linux_layout", | |
| 423 "env": { | |
| 424 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 425 }, | |
| 426 "name": "[error] browser_tests", | |
| 427 "~followup_annotations": [ | |
| 428 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 429 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 430 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | |
| 431 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | |
| 432 "@@@STEP_LOG_END@python.inline@@@" | |
| 433 ] | |
| 434 }, | |
| 435 { | |
| 436 "cmd": [ | |
| 437 "python", | |
| 438 "-u", | |
| 439 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
| 440 "--target", | |
| 441 "Release", | |
| 442 "--no-xvfb", | |
| 443 "--factory-properties", | |
| 444 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"WebKit Linux Pre
cise\", \"buildnumber\": 571, \"gs_acl\": \"public-read\", \"mastername\": \"chr
omium.webkit\", \"parent_buildername\": null, \"path_config\": \"kitchen\", \"re
cipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/
workdir/TestSlavename\"}", | |
| 445 "--build-properties", | |
| 446 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"WebKit Linux Pre
cise\", \"buildnumber\": 571, \"gs_acl\": \"public-read\", \"mastername\": \"chr
omium.webkit\", \"parent_buildername\": null, \"path_config\": \"kitchen\", \"re
cipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/
workdir/TestSlavename\"}", | |
| 447 "--step-name=webkit_tests", | |
| 448 "--builder-name=WebKit Linux Precise", | |
| 449 "--slave-name=TestSlavename", | |
| 450 "--build-number=571", | |
| 451 "--run-python-script", | |
| 452 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/layout_test_wrapper.py"
, | |
| 453 "--target", | |
| 454 "Release", | |
| 455 "-o", | |
| 456 "[SLAVE_BUILD]/layout-test-results", | |
| 457 "--build-dir", | |
| 458 "[BUILDER_CACHE]/linux_layout/src/out", | |
| 459 "--json-test-results", | |
| 460 "/path/to/tmp/json", | |
| 461 "--test-results-server", | |
| 462 "test-results.appspot.com", | |
| 463 "--build-number", | |
| 464 "571", | |
| 465 "--builder-name", | |
| 466 "WebKit Linux Precise", | |
| 467 "--step-name", | |
| 468 "webkit_tests" | |
| 469 ], | |
| 470 "cwd": "[BUILDER_CACHE]/linux_layout", | |
| 471 "env": { | |
| 472 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 473 }, | |
| 474 "name": "webkit_tests", | |
| 475 "~followup_annotations": [ | |
| 476 "@@@STEP_TEXT@<br/>Total executed: 9001<br/>@@@" | |
| 477 ] | |
| 478 }, | |
| 479 { | |
| 480 "cmd": [ | |
| 481 "python", | |
| 482 "-u", | |
| 483 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/archive_layout_test_res
ults.py", | |
| 484 "--results-dir", | |
| 485 "[SLAVE_BUILD]/layout-test-results", | |
| 486 "--build-dir", | |
| 487 "[BUILDER_CACHE]/linux_layout/src/out", | |
| 488 "--build-number", | |
| 489 "571", | |
| 490 "--builder-name", | |
| 491 "WebKit Linux Precise", | |
| 492 "--gs-bucket", | |
| 493 "gs://chromium-layout-test-archives", | |
| 494 "--staging-dir", | |
| 495 "[CACHE]/chrome_staging", | |
| 496 "--gs-acl", | |
| 497 "public-read" | |
| 498 ], | |
| 499 "cwd": "[BUILDER_CACHE]/linux_layout", | |
| 500 "env": { | |
| 501 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 502 }, | |
| 503 "name": "archive_webkit_tests_results", | |
| 504 "~followup_annotations": [ | |
| 505 "@@@STEP_LINK@layout_test_results@https://storage.googleapis.com/chromium-
layout-test-archives/WebKit_Linux_Precise/571/layout-test-results/results.html@@
@", | |
| 506 "@@@STEP_LINK@(zip)@https://storage.googleapis.com/chromium-layout-test-ar
chives/WebKit_Linux_Precise/571/layout-test-results.zip@@@" | |
| 507 ] | |
| 508 }, | |
| 509 { | |
| 510 "cmd": [ | |
| 511 "python", | |
| 512 "-u", | |
| 513 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | |
| 514 "browser_tests" | |
| 515 ], | |
| 516 "cwd": "[BUILDER_CACHE]/linux_layout", | |
| 517 "env": { | |
| 518 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 519 }, | |
| 520 "name": "[collect error] browser_tests", | |
| 521 "~followup_annotations": [ | |
| 522 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 523 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 524 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | |
| 525 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | |
| 526 "@@@STEP_LOG_END@python.inline@@@" | |
| 527 ] | |
| 528 }, | |
| 529 { | |
| 530 "name": "$result", | |
| 531 "recipe_result": null, | |
| 532 "status_code": 0 | |
| 533 } | |
| 534 ] | |
| OLD | NEW |