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]/Cast_Linux_Trusty", |
| 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]/Cast_Linux_Trusty", |
| 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 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 186 "runhooks" |
| 187 ], |
| 188 "cwd": "[BUILDER_CACHE]/Cast_Linux_Trusty/src", |
| 189 "env": { |
| 190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 191 "GYP_CHROMIUM_NO_ACTION": "1", |
| 192 "GYP_DEFINES": "chromecast=1 clang=1 component=static_library gomadir='[CA
CHE]/cipd/goma' target_arch=x64 use_goma=1", |
| 193 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 194 }, |
| 195 "name": "gclient runhooks" |
| 196 }, |
| 197 { |
| 198 "cmd": [ |
| 199 "python", |
| 200 "-u", |
| 201 "[BUILDER_CACHE]/Cast_Linux_Trusty/src/testing/scripts/get_compile_targets
.py", |
| 202 "--output", |
| 203 "/path/to/tmp/json", |
| 204 "--", |
| 205 "--build-config-fs", |
| 206 "Release", |
| 207 "--use-src-side-runtest-py", |
| 208 "--paths", |
| 209 "{\"checkout\": \"[BUILDER_CACHE]/Cast_Linux_Trusty/src\", \"runit.py\": \
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_P
ACKAGE_REPO[build]/scripts/slave/runtest.py\"}", |
| 210 "--properties", |
| 211 "{\"buildername\": \"Cast Linux Trusty\", \"buildnumber\": 571, \"masterna
me\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\":
\"linux\"}" |
| 212 ], |
| 213 "name": "get compile targets for scripts", |
| 214 "~followup_annotations": [ |
| 215 "@@@STEP_LOG_LINE@json.output@{}@@@", |
| 216 "@@@STEP_LOG_END@json.output@@@" |
| 217 ] |
| 218 }, |
| 219 { |
| 220 "cmd": [ |
| 221 "python", |
| 222 "-u", |
| 223 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 224 "[BUILDER_CACHE]/Cast_Linux_Trusty/src/testing/buildbot/chromium.linux.jso
n", |
| 225 "/path/to/tmp/json" |
| 226 ], |
| 227 "name": "read test spec (chromium.linux.json)", |
| 228 "~followup_annotations": [ |
| 229 "@@@STEP_TEXT@path: [BUILDER_CACHE]/Cast_Linux_Trusty/src/testing/buildbot
/chromium.linux.json@@@", |
| 230 "@@@STEP_LOG_LINE@json.output@{}@@@", |
| 231 "@@@STEP_LOG_END@json.output@@@" |
| 232 ] |
| 233 }, |
| 234 { |
| 235 "cmd": [ |
| 236 "python", |
| 237 "-u", |
| 238 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 239 "--show-path", |
| 240 "python", |
| 241 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
| 242 ], |
| 243 "name": "cleanup_temp" |
| 244 }, |
| 245 { |
| 246 "cmd": [ |
| 247 "python", |
| 248 "-u", |
| 249 "[BUILDER_CACHE]/Cast_Linux_Trusty/src/tools/mb/mb.py", |
| 250 "gen", |
| 251 "-m", |
| 252 "chromium.linux", |
| 253 "-b", |
| 254 "Cast Linux Trusty", |
| 255 "--config-file", |
| 256 "[BUILDER_CACHE]/Cast_Linux_Trusty/src/tools/mb/mb_config.pyl", |
| 257 "--goma-dir", |
| 258 "[CACHE]/cipd/goma", |
| 259 "//out/Release" |
| 260 ], |
| 261 "cwd": "[BUILDER_CACHE]/Cast_Linux_Trusty/src", |
| 262 "env": { |
| 263 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 264 }, |
| 265 "name": "generate_build_files" |
| 266 }, |
| 267 { |
| 268 "allow_subannotations": true, |
| 269 "cmd": [ |
| 270 "python", |
| 271 "-u", |
| 272 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
| 273 "--src-dir", |
| 274 "[BUILDER_CACHE]/Cast_Linux_Trusty/src", |
| 275 "--output-json", |
| 276 "/path/to/tmp/json" |
| 277 ], |
| 278 "env": { |
| 279 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 280 }, |
| 281 "name": "clang_revision", |
| 282 "~followup_annotations": [ |
| 283 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 284 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 285 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 286 "@@@STEP_LOG_END@json.output@@@" |
| 287 ] |
| 288 }, |
| 289 { |
| 290 "cmd": [ |
| 291 "python", |
| 292 "-u", |
| 293 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 294 "--show-path", |
| 295 "python", |
| 296 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
| 297 "--gsutil-py-path", |
| 298 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| 299 "--ninja-path", |
| 300 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 301 "--target", |
| 302 "Release", |
| 303 "--src-dir", |
| 304 "[BUILDER_CACHE]/Cast_Linux_Trusty/src", |
| 305 "--goma-cache-dir", |
| 306 "[GOMA_CACHE]", |
| 307 "--buildbot-buildername", |
| 308 "Cast Linux Trusty", |
| 309 "--buildbot-mastername", |
| 310 "chromium.linux", |
| 311 "--buildbot-slavename", |
| 312 "TestSlavename", |
| 313 "--goma-deps-cache-file", |
| 314 "Cast_Linux_Trusty.gomadeps", |
| 315 "--build-data-dir", |
| 316 "[ROOT]/build_data_dir", |
| 317 "--compiler", |
| 318 "goma-clang", |
| 319 "--goma-jsonstatus", |
| 320 "/path/to/tmp/json", |
| 321 "--goma-service-account-json-file", |
| 322 "/creds/service_accounts/service-account-goma-client.json", |
| 323 "--goma-dir", |
| 324 "[CACHE]/cipd/goma", |
| 325 "--ninja-ensure-up-to-date", |
| 326 "--", |
| 327 "cast_shell" |
| 328 ], |
| 329 "env": { |
| 330 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 331 }, |
| 332 "name": "compile", |
| 333 "~followup_annotations": [ |
| 334 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 335 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 336 ] |
| 337 }, |
| 338 { |
| 339 "name": "$result", |
| 340 "recipe_result": null, |
| 341 "status_code": 0 |
| 342 } |
| 343 ] |
OLD | NEW |