| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 7 "--show-path", | 7 "--show-path", |
| 8 "python", | 8 "python", |
| 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
| 10 ], | 10 ], |
| 11 "cwd": "[SLAVE_BUILD]", |
| 11 "name": "cleanup_temp" | 12 "name": "cleanup_temp" |
| 12 }, | 13 }, |
| 13 { | 14 { |
| 14 "cmd": [ | 15 "cmd": [ |
| 15 "python", | 16 "python", |
| 16 "-u", | 17 "-u", |
| 17 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 18 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 18 "--master", | 19 "--master", |
| 19 "chromium.swarm", | 20 "chromium.swarm", |
| 20 "--builder", | 21 "--builder", |
| 21 "Linux deterministic", | 22 "Linux deterministic", |
| 22 "--slave", | 23 "--slave", |
| 23 "TestSlavename", | 24 "TestSlavename", |
| 24 "--spec", | 25 "--spec", |
| 25 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\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.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.c
hromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src',
'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]", | 26 "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'}]", |
| 26 "--root", | 27 "--root", |
| 27 "src", | 28 "src", |
| 28 "--revision_mapping_file", | 29 "--revision_mapping_file", |
| 29 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", | 30 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", |
| 30 "--git-cache-dir", | 31 "--git-cache-dir", |
| 31 "[ROOT]/b/build/slave/cache_dir", | 32 "[GIT_CACHE]", |
| 32 "--output_json", | 33 "--output_json", |
| 33 "/path/to/tmp/json", | 34 "/path/to/tmp/json", |
| 34 "--revision", | 35 "--revision", |
| 35 "src@204787", | 36 "src@204787", |
| 36 "--force", | 37 "--force", |
| 37 "--output_manifest" | 38 "--output_manifest" |
| 38 ], | 39 ], |
| 40 "cwd": "[SLAVE_BUILD]", |
| 39 "env": { | 41 "env": { |
| 40 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 42 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 41 }, | 43 }, |
| 42 "name": "bot_update", | 44 "name": "bot_update", |
| 43 "~followup_annotations": [ | 45 "~followup_annotations": [ |
| 44 "@@@STEP_TEXT@Some step text@@@", | 46 "@@@STEP_TEXT@Some step text@@@", |
| 45 "@@@STEP_LOG_LINE@json.output@{@@@", | 47 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 46 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 48 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 47 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 49 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 48 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", | 50 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 109 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
| 108 ] | 110 ] |
| 109 }, | 111 }, |
| 110 { | 112 { |
| 111 "cmd": [ | 113 "cmd": [ |
| 112 "python", | 114 "python", |
| 113 "-u", | 115 "-u", |
| 114 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 116 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 115 "runhooks" | 117 "runhooks" |
| 116 ], | 118 ], |
| 119 "cwd": "[SLAVE_BUILD]", |
| 117 "env": { | 120 "env": { |
| 118 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 121 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 119 "GYP_DEFINES": "component=static_library gomadir='[ROOT]/b/build/goma' tar
get_arch=ia32 test_isolation_mode=prepare use_goma=1", | 122 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc
h=ia32 test_isolation_mode=prepare use_goma=1", |
| 120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 123 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 121 }, | 124 }, |
| 122 "name": "gclient runhooks" | 125 "name": "gclient runhooks" |
| 123 }, | 126 }, |
| 124 { | 127 { |
| 125 "cmd": [ | 128 "cmd": [ |
| 126 "python", | 129 "python", |
| 127 "-u", | 130 "-u", |
| 128 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 131 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 129 "--show-path", | 132 "--show-path", |
| 130 "python", | 133 "python", |
| 131 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 134 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
| 132 "--gsutil-py-path", | 135 "--gsutil-py-path", |
| 133 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 136 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| 134 "--ninja-path", | 137 "--ninja-path", |
| 135 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 138 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 136 "--target", | 139 "--target", |
| 137 "Release", | 140 "Release", |
| 138 "--src-dir", | 141 "--src-dir", |
| 139 "[CWD]/src", | 142 "[SLAVE_BUILD]/src", |
| 140 "--goma-cache-dir", | 143 "--goma-cache-dir", |
| 141 "[ROOT]/b/build/slave/goma_cache", | 144 "[GOMA_CACHE]", |
| 142 "--build-tool", | 145 "--build-tool", |
| 143 "ninja", | 146 "ninja", |
| 144 "--compiler", | 147 "--compiler", |
| 145 "goma", | 148 "goma", |
| 146 "--goma-jsonstatus", | 149 "--goma-jsonstatus", |
| 147 "/path/to/tmp/json", | 150 "/path/to/tmp/json", |
| 148 "--goma-service-account-json-file", | 151 "--goma-service-account-json-file", |
| 149 "/creds/service_accounts/service-account-goma-client.json", | 152 "/creds/service_accounts/service-account-goma-client.json", |
| 150 "--goma-dir", | 153 "--goma-dir", |
| 151 "[ROOT]/b/build/goma", | 154 "[BUILD]/goma", |
| 152 "--clobber", | 155 "--clobber", |
| 153 "--", | 156 "--", |
| 154 "all" | 157 "all" |
| 155 ], | 158 ], |
| 159 "cwd": "[SLAVE_BUILD]", |
| 156 "env": { | 160 "env": { |
| 157 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 158 }, | 162 }, |
| 159 "name": "First build", | 163 "name": "First build", |
| 160 "~followup_annotations": [ | 164 "~followup_annotations": [ |
| 161 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 165 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 162 "@@@STEP_LOG_END@json.output (invalid)@@@" | 166 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 163 ] | 167 ] |
| 164 }, | 168 }, |
| 165 { | 169 { |
| 166 "cmd": [ | 170 "cmd": [ |
| 167 "python", | 171 "python", |
| 168 "-u", | 172 "-u", |
| 169 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 173 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
| 170 "--build-dir", | 174 "--build-dir", |
| 171 "[CWD]/src/out/Release", | 175 "[SLAVE_BUILD]/src/out/Release", |
| 172 "--src-dir", | 176 "--src-dir", |
| 173 "[CWD]/src" | 177 "[SLAVE_BUILD]/src" |
| 174 ], | 178 ], |
| 175 "cwd": "[CWD]", | 179 "cwd": "[SLAVE_BUILD]", |
| 176 "name": "remove_build_metadata", | 180 "name": "remove_build_metadata", |
| 177 "~followup_annotations": [ | 181 "~followup_annotations": [ |
| 178 "step returned non-zero exit code: 1", | 182 "step returned non-zero exit code: 1", |
| 179 "@@@STEP_WARNINGS@@@" | 183 "@@@STEP_WARNINGS@@@" |
| 180 ] | 184 ] |
| 181 }, | 185 }, |
| 182 { | 186 { |
| 183 "cmd": [ | 187 "cmd": [ |
| 184 "python", | 188 "python", |
| 185 "-u", | 189 "-u", |
| 186 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | 190 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", |
| 187 "/path/to/tmp/", | 191 "/path/to/tmp/", |
| 188 "[CWD]/src/out/Release/*.isolated.gen.json" | 192 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" |
| 189 ], | 193 ], |
| 194 "cwd": "[SLAVE_BUILD]", |
| 190 "name": "find isolated targets" | 195 "name": "find isolated targets" |
| 191 }, | 196 }, |
| 192 { | 197 { |
| 193 "cmd": [ | 198 "cmd": [ |
| 194 "python", | 199 "python", |
| 195 "-u", | 200 "-u", |
| 196 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 201 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
| 197 "[CWD]/src/tools/swarming_client", | 202 "[SLAVE_BUILD]/src/tools/swarming_client", |
| 198 "batcharchive", | 203 "batcharchive", |
| 199 "--dump-json", | 204 "--dump-json", |
| 200 "/path/to/tmp/json", | 205 "/path/to/tmp/json", |
| 201 "--isolate-server", | 206 "--isolate-server", |
| 202 "https://isolateserver.appspot.com", | 207 "https://isolateserver.appspot.com", |
| 203 "[CWD]/src/out/Release/dummy_target_1.isolated.gen.json", | 208 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", |
| 204 "[CWD]/src/out/Release/dummy_target_2.isolated.gen.json" | 209 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" |
| 205 ], | 210 ], |
| 211 "cwd": "[SLAVE_BUILD]", |
| 206 "name": "isolate tests", | 212 "name": "isolate tests", |
| 207 "~followup_annotations": [ | 213 "~followup_annotations": [ |
| 208 "@@@STEP_LOG_LINE@json.output@{@@@", | 214 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 209 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 215 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
| 210 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 216 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
| 211 "@@@STEP_LOG_LINE@json.output@}@@@", | 217 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 212 "@@@STEP_LOG_END@json.output@@@", | 218 "@@@STEP_LOG_END@json.output@@@", |
| 213 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 219 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
| 214 ] | 220 ] |
| 215 }, | 221 }, |
| 216 { | 222 { |
| 217 "cmd": [ | 223 "cmd": [ |
| 218 "python", | 224 "python", |
| 219 "-u", | 225 "-u", |
| 220 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | 226 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
| 221 "[CWD]/src/out/Release", | 227 "[SLAVE_BUILD]/src/out/Release", |
| 222 "[CWD]/src/out/Release.1" | 228 "[SLAVE_BUILD]/src/out/Release.1" |
| 223 ], | 229 ], |
| 224 "name": "Move [CWD]/src/out/Release to [CWD]/src/out/Release.1", | 230 "cwd": "[SLAVE_BUILD]", |
| 231 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", |
| 225 "~followup_annotations": [ | 232 "~followup_annotations": [ |
| 226 "@@@STEP_LOG_LINE@python.inline@@@@", | 233 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 227 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 234 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 228 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 235 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
| 229 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 236 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 230 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 237 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
| 231 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 238 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
| 232 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 239 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
| 233 "@@@STEP_LOG_END@python.inline@@@" | 240 "@@@STEP_LOG_END@python.inline@@@" |
| 234 ] | 241 ] |
| 235 }, | 242 }, |
| 236 { | 243 { |
| 237 "cmd": [ | 244 "cmd": [ |
| 238 "python", | 245 "python", |
| 239 "-u", | 246 "-u", |
| 240 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 247 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 241 "runhooks" | 248 "runhooks" |
| 242 ], | 249 ], |
| 250 "cwd": "[SLAVE_BUILD]", |
| 243 "env": { | 251 "env": { |
| 244 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 252 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 245 "GYP_DEFINES": "component=static_library gomadir='[ROOT]/b/build/goma' tar
get_arch=ia32 test_isolation_mode=prepare use_goma=1", | 253 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc
h=ia32 test_isolation_mode=prepare use_goma=1", |
| 246 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 254 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 247 }, | 255 }, |
| 248 "name": "gclient runhooks (2)" | 256 "name": "gclient runhooks (2)" |
| 249 }, | 257 }, |
| 250 { | 258 { |
| 251 "cmd": [ | 259 "cmd": [ |
| 252 "python", | 260 "python", |
| 253 "-u", | 261 "-u", |
| 254 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 262 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| 255 "--show-path", | 263 "--show-path", |
| 256 "python", | 264 "python", |
| 257 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
| 258 "--gsutil-py-path", | 266 "--gsutil-py-path", |
| 259 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 267 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| 260 "--ninja-path", | 268 "--ninja-path", |
| 261 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 269 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 262 "--target", | 270 "--target", |
| 263 "Release", | 271 "Release", |
| 264 "--src-dir", | 272 "--src-dir", |
| 265 "[CWD]/src", | 273 "[SLAVE_BUILD]/src", |
| 266 "--goma-cache-dir", | 274 "--goma-cache-dir", |
| 267 "[ROOT]/b/build/slave/goma_cache", | 275 "[GOMA_CACHE]", |
| 268 "--build-tool", | 276 "--build-tool", |
| 269 "ninja", | 277 "ninja", |
| 270 "--compiler", | 278 "--compiler", |
| 271 "goma", | 279 "goma", |
| 272 "--goma-jsonstatus", | 280 "--goma-jsonstatus", |
| 273 "/path/to/tmp/json", | 281 "/path/to/tmp/json", |
| 274 "--goma-service-account-json-file", | 282 "--goma-service-account-json-file", |
| 275 "/creds/service_accounts/service-account-goma-client.json", | 283 "/creds/service_accounts/service-account-goma-client.json", |
| 276 "--goma-dir", | 284 "--goma-dir", |
| 277 "[ROOT]/b/build/goma", | 285 "[BUILD]/goma", |
| 278 "--clobber", | 286 "--clobber", |
| 279 "--", | 287 "--", |
| 280 "all" | 288 "all" |
| 281 ], | 289 ], |
| 290 "cwd": "[SLAVE_BUILD]", |
| 282 "env": { | 291 "env": { |
| 283 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 292 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 284 }, | 293 }, |
| 285 "name": "Second build", | 294 "name": "Second build", |
| 286 "~followup_annotations": [ | 295 "~followup_annotations": [ |
| 287 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 296 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 288 "@@@STEP_LOG_END@json.output (invalid)@@@" | 297 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 289 ] | 298 ] |
| 290 }, | 299 }, |
| 291 { | 300 { |
| 292 "cmd": [ | 301 "cmd": [ |
| 293 "python", | 302 "python", |
| 294 "-u", | 303 "-u", |
| 295 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 304 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
| 296 "--build-dir", | 305 "--build-dir", |
| 297 "[CWD]/src/out/Release", | 306 "[SLAVE_BUILD]/src/out/Release", |
| 298 "--src-dir", | 307 "--src-dir", |
| 299 "[CWD]/src" | 308 "[SLAVE_BUILD]/src" |
| 300 ], | 309 ], |
| 301 "cwd": "[CWD]", | 310 "cwd": "[SLAVE_BUILD]", |
| 302 "name": "remove_build_metadata (2)" | 311 "name": "remove_build_metadata (2)" |
| 303 }, | 312 }, |
| 304 { | 313 { |
| 305 "cmd": [ | 314 "cmd": [ |
| 306 "python", | 315 "python", |
| 307 "-u", | 316 "-u", |
| 308 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | 317 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", |
| 309 "/path/to/tmp/", | 318 "/path/to/tmp/", |
| 310 "[CWD]/src/out/Release/*.isolated.gen.json" | 319 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" |
| 311 ], | 320 ], |
| 321 "cwd": "[SLAVE_BUILD]", |
| 312 "name": "find isolated targets (2)" | 322 "name": "find isolated targets (2)" |
| 313 }, | 323 }, |
| 314 { | 324 { |
| 315 "cmd": [ | 325 "cmd": [ |
| 316 "python", | 326 "python", |
| 317 "-u", | 327 "-u", |
| 318 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 328 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
| 319 "[CWD]/src/tools/swarming_client", | 329 "[SLAVE_BUILD]/src/tools/swarming_client", |
| 320 "batcharchive", | 330 "batcharchive", |
| 321 "--dump-json", | 331 "--dump-json", |
| 322 "/path/to/tmp/json", | 332 "/path/to/tmp/json", |
| 323 "--isolate-server", | 333 "--isolate-server", |
| 324 "https://isolateserver.appspot.com", | 334 "https://isolateserver.appspot.com", |
| 325 "[CWD]/src/out/Release/dummy_target_1.isolated.gen.json", | 335 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", |
| 326 "[CWD]/src/out/Release/dummy_target_2.isolated.gen.json" | 336 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" |
| 327 ], | 337 ], |
| 338 "cwd": "[SLAVE_BUILD]", |
| 328 "name": "isolate tests (2)", | 339 "name": "isolate tests (2)", |
| 329 "~followup_annotations": [ | 340 "~followup_annotations": [ |
| 330 "@@@STEP_LOG_LINE@json.output@{@@@", | 341 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 331 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 342 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
| 332 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 343 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
| 333 "@@@STEP_LOG_LINE@json.output@}@@@", | 344 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 334 "@@@STEP_LOG_END@json.output@@@", | 345 "@@@STEP_LOG_END@json.output@@@", |
| 335 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 346 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
| 336 ] | 347 ] |
| 337 }, | 348 }, |
| 338 { | 349 { |
| 339 "cmd": [ | 350 "cmd": [ |
| 340 "python", | 351 "python", |
| 341 "-u", | 352 "-u", |
| 342 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | 353 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
| 343 "[CWD]/src/out/Release", | 354 "[SLAVE_BUILD]/src/out/Release", |
| 344 "[CWD]/src/out/Release.2" | 355 "[SLAVE_BUILD]/src/out/Release.2" |
| 345 ], | 356 ], |
| 346 "name": "Move [CWD]/src/out/Release to [CWD]/src/out/Release.2", | 357 "cwd": "[SLAVE_BUILD]", |
| 358 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", |
| 347 "~followup_annotations": [ | 359 "~followup_annotations": [ |
| 348 "@@@STEP_LOG_LINE@python.inline@@@@", | 360 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 349 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 361 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 350 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 362 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
| 351 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 363 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 352 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 364 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
| 353 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 365 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
| 354 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 366 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
| 355 "@@@STEP_LOG_END@python.inline@@@" | 367 "@@@STEP_LOG_END@python.inline@@@" |
| 356 ] | 368 ] |
| 357 }, | 369 }, |
| 358 { | 370 { |
| 359 "cmd": [ | 371 "cmd": [ |
| 360 "python", | 372 "python", |
| 361 "-u", | 373 "-u", |
| 362 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", | 374 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", |
| 363 "--first-build-dir", | 375 "--first-build-dir", |
| 364 "[CWD]/src/out/Release.1", | 376 "[SLAVE_BUILD]/src/out/Release.1", |
| 365 "--second-build-dir", | 377 "--second-build-dir", |
| 366 "[CWD]/src/out/Release.2", | 378 "[SLAVE_BUILD]/src/out/Release.2", |
| 367 "--target-platform", | 379 "--target-platform", |
| 368 "linux" | 380 "linux" |
| 369 ], | 381 ], |
| 370 "cwd": "[CWD]", | 382 "cwd": "[SLAVE_BUILD]", |
| 371 "name": "compare_build_artifacts" | 383 "name": "compare_build_artifacts" |
| 372 }, | 384 }, |
| 373 { | 385 { |
| 374 "name": "$result", | 386 "name": "$result", |
| 375 "recipe_result": null, | 387 "recipe_result": null, |
| 376 "status_code": 0 | 388 "status_code": 0 |
| 377 } | 389 } |
| 378 ] | 390 ] |
| OLD | NEW |