| 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]/mac_gyp", | |
| 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 "--master", | |
| 30 "chromium.mac", | |
| 31 "--builder", | |
| 32 "Mac GYP", | |
| 33 "--slave", | |
| 34 "TestSlavename", | |
| 35 "--spec", | |
| 36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url'
: 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.
chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr
omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t
runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m
irror.golo.chromium.org/chrome/trunk/src'}]", | |
| 37 "--root", | |
| 38 "src", | |
| 39 "--revision_mapping_file", | |
| 40 "{\"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\"}", | |
| 41 "--git-cache-dir", | |
| 42 "[GIT_CACHE]", | |
| 43 "--output_json", | |
| 44 "/path/to/tmp/json", | |
| 45 "--revision", | |
| 46 "src@HEAD", | |
| 47 "--force", | |
| 48 "--output_manifest" | |
| 49 ], | |
| 50 "cwd": "[BUILDER_CACHE]/mac_gyp", | |
| 51 "env": { | |
| 52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 53 }, | |
| 54 "name": "bot_update", | |
| 55 "~followup_annotations": [ | |
| 56 "@@@STEP_TEXT@Some step text@@@", | |
| 57 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
| 59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
| 60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | |
| 61 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 62 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
| 63 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
| 64 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
| 65 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
| 66 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 67 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", | |
| 68 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/buildtools.git\", @@@", | |
| 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635
3cb994259692140934\"@@@", | |
| 70 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 71 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
| 72 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
| 73 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
| 74 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 75 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
| 76 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
| 77 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
| 78 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 79 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
| 80 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
| 81 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
| 82 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 83 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
| 84 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
| 85 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
| 86 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 87 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
| 88 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
| 89 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
| 90 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 91 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 92 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
| 93 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
| 94 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
| 95 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
| 96 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
| 97 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328
b2809876916353cb994259692140934\", @@@", | |
| 98 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h
eads/master@{#182578}\", @@@", | |
| 99 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
| 100 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
| 101 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
| 102 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
| 103 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
| 104 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
| 105 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
| 106 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
| 107 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
| 108 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
| 109 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 110 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
| 111 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
| 112 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 113 "@@@STEP_LOG_END@json.output@@@", | |
| 114 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
| 115 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
| 116 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18
2578}\"@@@", | |
| 117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
| 118 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
| 119 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
| 120 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
| 121 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
| 122 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
| 123 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
| 124 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
| 125 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
| 126 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | |
| 127 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | |
| 128 ] | |
| 129 }, | |
| 130 { | |
| 131 "cmd": [], | |
| 132 "name": "ensure_goma" | |
| 133 }, | |
| 134 { | |
| 135 "cmd": [ | |
| 136 "python", | |
| 137 "-u", | |
| 138 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", | |
| 139 "--platform", | |
| 140 "mac-amd64", | |
| 141 "--dest-directory", | |
| 142 "[SLAVE_BUILD]/cipd", | |
| 143 "--json-output", | |
| 144 "/path/to/tmp/json" | |
| 145 ], | |
| 146 "name": "ensure_goma.install cipd", | |
| 147 "~followup_annotations": [ | |
| 148 "@@@STEP_NEST_LEVEL@1@@@", | |
| 149 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
| 150 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 151 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
| 152 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
| 153 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 154 "@@@STEP_LOG_END@json.output@@@" | |
| 155 ] | |
| 156 }, | |
| 157 { | |
| 158 "cmd": [ | |
| 159 "[SLAVE_BUILD]/cipd/cipd", | |
| 160 "ensure", | |
| 161 "--root", | |
| 162 "[CACHE]/cipd/goma", | |
| 163 "--list", | |
| 164 "infra_internal/goma/client/mac-amd64 release", | |
| 165 "--json-output", | |
| 166 "/path/to/tmp/json", | |
| 167 "--service-account-json", | |
| 168 "/creds/service_accounts/service-account-goma-client.json" | |
| 169 ], | |
| 170 "name": "ensure_goma.ensure_installed", | |
| 171 "~followup_annotations": [ | |
| 172 "@@@STEP_NEST_LEVEL@1@@@", | |
| 173 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 174 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
| 175 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 176 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
| 177 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/mac-amd64\"@@@", | |
| 178 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 179 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 180 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 181 "@@@STEP_LOG_END@json.output@@@" | |
| 182 ] | |
| 183 }, | |
| 184 { | |
| 185 "cmd": [ | |
| 186 "python", | |
| 187 "-u", | |
| 188 "[BUILDER_CACHE]/mac_gyp/src/tools/swarming_client/swarming.py", | |
| 189 "--version" | |
| 190 ], | |
| 191 "name": "swarming.py --version", | |
| 192 "stdout": "/path/to/tmp/", | |
| 193 "~followup_annotations": [ | |
| 194 "@@@STEP_TEXT@0.8.6@@@" | |
| 195 ] | |
| 196 }, | |
| 197 { | |
| 198 "cmd": [ | |
| 199 "python", | |
| 200 "-u", | |
| 201 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
| 202 "runhooks" | |
| 203 ], | |
| 204 "cwd": "[BUILDER_CACHE]/mac_gyp/src", | |
| 205 "env": { | |
| 206 "FORCE_MAC_TOOLCHAIN": "1", | |
| 207 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 208 "GYP_CHROMIUM_NO_ACTION": "1", | |
| 209 "GYP_DEFINES": "clang=1 component=static_library gomadir='[CACHE]/cipd/gom
a' target_arch=x64 test_isolation_mode=prepare use_goma=1", | |
| 210 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 211 }, | |
| 212 "name": "gclient runhooks" | |
| 213 }, | |
| 214 { | |
| 215 "cmd": [ | |
| 216 "python", | |
| 217 "-u", | |
| 218 "[BUILDER_CACHE]/mac_gyp/src/testing/scripts/get_compile_targets.py", | |
| 219 "--output", | |
| 220 "/path/to/tmp/json", | |
| 221 "--", | |
| 222 "--build-config-fs", | |
| 223 "Release", | |
| 224 "--use-src-side-runtest-py", | |
| 225 "--paths", | |
| 226 "{\"checkout\": \"[BUILDER_CACHE]/mac_gyp/src\", \"runit.py\": \"RECIPE_PA
CKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REP
O[build]/scripts/slave/runtest.py\"}", | |
| 227 "--properties", | |
| 228 "{\"buildername\": \"Mac GYP\", \"buildnumber\": 571, \"mastername\": \"ch
romium.mac\", \"slavename\": \"TestSlavename\", \"target_platform\": \"mac\"}" | |
| 229 ], | |
| 230 "name": "get compile targets for scripts", | |
| 231 "~followup_annotations": [ | |
| 232 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
| 233 "@@@STEP_LOG_END@json.output@@@" | |
| 234 ] | |
| 235 }, | |
| 236 { | |
| 237 "cmd": [ | |
| 238 "python", | |
| 239 "-u", | |
| 240 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 241 "[BUILDER_CACHE]/mac_gyp/src/testing/buildbot/chromium.mac.json", | |
| 242 "/path/to/tmp/json" | |
| 243 ], | |
| 244 "name": "read test spec (chromium.mac.json)", | |
| 245 "~followup_annotations": [ | |
| 246 "@@@STEP_TEXT@path: [BUILDER_CACHE]/mac_gyp/src/testing/buildbot/chromium.
mac.json@@@", | |
| 247 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 248 "@@@STEP_LOG_LINE@json.output@ \"Mac GYP\": {@@@", | |
| 249 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | |
| 250 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| 251 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | |
| 252 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | |
| 253 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 254 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | |
| 255 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 256 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
| 257 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 258 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 259 "@@@STEP_LOG_END@json.output@@@" | |
| 260 ] | |
| 261 }, | |
| 262 { | |
| 263 "cmd": [ | |
| 264 "python", | |
| 265 "-u", | |
| 266 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
| 267 "--show-path", | |
| 268 "python", | |
| 269 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
| 270 ], | |
| 271 "name": "cleanup_temp" | |
| 272 }, | |
| 273 { | |
| 274 "cmd": [ | |
| 275 "python", | |
| 276 "-u", | |
| 277 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | |
| 278 "--build-dir", | |
| 279 "[BUILDER_CACHE]/mac_gyp/src/out/Release", | |
| 280 "--clean-isolated-files" | |
| 281 ], | |
| 282 "name": "clean isolated files" | |
| 283 }, | |
| 284 { | |
| 285 "cmd": [ | |
| 286 "python", | |
| 287 "-u", | |
| 288 "[BUILDER_CACHE]/mac_gyp/src/tools/mb/mb.py", | |
| 289 "gen", | |
| 290 "-m", | |
| 291 "chromium.mac", | |
| 292 "-b", | |
| 293 "Mac GYP", | |
| 294 "--config-file", | |
| 295 "[BUILDER_CACHE]/mac_gyp/src/tools/mb/mb_config.pyl", | |
| 296 "--goma-dir", | |
| 297 "[CACHE]/cipd/goma", | |
| 298 "--swarming-targets-file", | |
| 299 "browser_tests\n", | |
| 300 "//out/Release" | |
| 301 ], | |
| 302 "cwd": "[BUILDER_CACHE]/mac_gyp/src", | |
| 303 "env": { | |
| 304 "FORCE_MAC_TOOLCHAIN": "1", | |
| 305 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 306 }, | |
| 307 "name": "generate_build_files", | |
| 308 "~followup_annotations": [ | |
| 309 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@", | |
| 310 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" | |
| 311 ] | |
| 312 }, | |
| 313 { | |
| 314 "allow_subannotations": true, | |
| 315 "cmd": [ | |
| 316 "python", | |
| 317 "-u", | |
| 318 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | |
| 319 "--src-dir", | |
| 320 "[BUILDER_CACHE]/mac_gyp/src", | |
| 321 "--output-json", | |
| 322 "/path/to/tmp/json" | |
| 323 ], | |
| 324 "env": { | |
| 325 "FORCE_MAC_TOOLCHAIN": "1", | |
| 326 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 327 }, | |
| 328 "name": "clang_revision", | |
| 329 "~followup_annotations": [ | |
| 330 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 331 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | |
| 332 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 333 "@@@STEP_LOG_END@json.output@@@" | |
| 334 ] | |
| 335 }, | |
| 336 { | |
| 337 "cmd": [ | |
| 338 "python", | |
| 339 "-u", | |
| 340 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
| 341 "--show-path", | |
| 342 "python", | |
| 343 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
| 344 "--gsutil-py-path", | |
| 345 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 346 "--ninja-path", | |
| 347 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
| 348 "--target", | |
| 349 "Release", | |
| 350 "--src-dir", | |
| 351 "[BUILDER_CACHE]/mac_gyp/src", | |
| 352 "--goma-cache-dir", | |
| 353 "[GOMA_CACHE]", | |
| 354 "--goma-deps-cache-dir", | |
| 355 "[GOMA_DEPS_CACHE]", | |
| 356 "--build-data-dir", | |
| 357 "[ROOT]/build_data_dir", | |
| 358 "--compiler", | |
| 359 "goma-clang", | |
| 360 "--goma-jsonstatus", | |
| 361 "/path/to/tmp/json", | |
| 362 "--goma-service-account-json-file", | |
| 363 "/creds/service_accounts/service-account-goma-client.json", | |
| 364 "--goma-dir", | |
| 365 "[CACHE]/cipd/goma", | |
| 366 "--", | |
| 367 "browser_tests", | |
| 368 "browser_tests_run" | |
| 369 ], | |
| 370 "env": { | |
| 371 "FORCE_MAC_TOOLCHAIN": "1", | |
| 372 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 373 }, | |
| 374 "name": "compile", | |
| 375 "~followup_annotations": [ | |
| 376 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
| 377 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
| 378 ] | |
| 379 }, | |
| 380 { | |
| 381 "cmd": [ | |
| 382 "python", | |
| 383 "-u", | |
| 384 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | |
| 385 "--build-dir", | |
| 386 "[BUILDER_CACHE]/mac_gyp/src/out/Release", | |
| 387 "--src-dir", | |
| 388 "[BUILDER_CACHE]/mac_gyp/src" | |
| 389 ], | |
| 390 "cwd": "[SLAVE_BUILD]", | |
| 391 "name": "remove_build_metadata" | |
| 392 }, | |
| 393 { | |
| 394 "cmd": [ | |
| 395 "python", | |
| 396 "-u", | |
| 397 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
| 398 "[BUILDER_CACHE]/mac_gyp/src/tools/swarming_client", | |
| 399 "batcharchive", | |
| 400 "--dump-json", | |
| 401 "/path/to/tmp/json", | |
| 402 "--isolate-server", | |
| 403 "https://isolateserver.appspot.com", | |
| 404 "--verbose", | |
| 405 "[BUILDER_CACHE]/mac_gyp/src/out/Release/browser_tests.isolated.gen.json" | |
| 406 ], | |
| 407 "name": "isolate tests", | |
| 408 "~followup_annotations": [ | |
| 409 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 410 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows
er_tests]\"@@@", | |
| 411 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 412 "@@@STEP_LOG_END@json.output@@@" | |
| 413 ] | |
| 414 }, | |
| 415 { | |
| 416 "cmd": [ | |
| 417 "python", | |
| 418 "-u", | |
| 419 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | |
| 420 "--build-dir", | |
| 421 "[BUILDER_CACHE]/mac_gyp/src/out/Release", | |
| 422 "--output-json", | |
| 423 "/path/to/tmp/json" | |
| 424 ], | |
| 425 "cwd": "[BUILDER_CACHE]/mac_gyp", | |
| 426 "env": { | |
| 427 "FORCE_MAC_TOOLCHAIN": "1", | |
| 428 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 429 }, | |
| 430 "name": "find isolated tests", | |
| 431 "~followup_annotations": [ | |
| 432 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 433 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
| 434 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
| 435 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 436 "@@@STEP_LOG_END@json.output@@@", | |
| 437 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
| 438 ] | |
| 439 }, | |
| 440 { | |
| 441 "cmd": [ | |
| 442 "python", | |
| 443 "-u", | |
| 444 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | |
| 445 "browser_tests" | |
| 446 ], | |
| 447 "cwd": "[BUILDER_CACHE]/mac_gyp", | |
| 448 "env": { | |
| 449 "FORCE_MAC_TOOLCHAIN": "1", | |
| 450 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 451 }, | |
| 452 "name": "[error] browser_tests", | |
| 453 "~followup_annotations": [ | |
| 454 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 455 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 456 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | |
| 457 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | |
| 458 "@@@STEP_LOG_END@python.inline@@@" | |
| 459 ] | |
| 460 }, | |
| 461 { | |
| 462 "cmd": [ | |
| 463 "python", | |
| 464 "-u", | |
| 465 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | |
| 466 "browser_tests" | |
| 467 ], | |
| 468 "cwd": "[BUILDER_CACHE]/mac_gyp", | |
| 469 "env": { | |
| 470 "FORCE_MAC_TOOLCHAIN": "1", | |
| 471 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
| 472 }, | |
| 473 "name": "[collect error] browser_tests", | |
| 474 "~followup_annotations": [ | |
| 475 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 476 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 477 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | |
| 478 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | |
| 479 "@@@STEP_LOG_END@python.inline@@@" | |
| 480 ] | |
| 481 }, | |
| 482 { | |
| 483 "name": "$result", | |
| 484 "recipe_result": null, | |
| 485 "status_code": 0 | |
| 486 } | |
| 487 ] | |
| OLD | NEW |