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