OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[CWD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
9 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
13 "@@@STEP_LOG_LINE@python.inline@@@@", | 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
22 "@@@STEP_LOG_END@python.inline@@@" | 23 "@@@STEP_LOG_END@python.inline@@@" |
23 ] | 24 ] |
24 }, | 25 }, |
25 { | 26 { |
26 "cmd": [ | 27 "cmd": [ |
27 "python", | 28 "python", |
28 "-u", | 29 "-u", |
29 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 30 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
30 "--master", | 31 "--master", |
31 "chromium.swarm", | 32 "chromium.swarm", |
32 "--builder", | 33 "--builder", |
33 "Android deterministic", | 34 "Android deterministic", |
34 "--slave", | 35 "--slave", |
35 "TestSlavename", | 36 "TestSlavename", |
36 "--spec", | 37 "--spec", |
37 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesour
ce.com/chromium/src.git'}]\ntarget_os = ['android']", | 38 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]\ntarget_os = ['android']", |
38 "--root", | 39 "--root", |
39 "src", | 40 "src", |
40 "--revision_mapping_file", | 41 "--revision_mapping_file", |
41 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", | 42 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", |
42 "--git-cache-dir", | 43 "--git-cache-dir", |
43 "[ROOT]/b/build/slave/cache_dir", | 44 "[GIT_CACHE]", |
44 "--output_json", | 45 "--output_json", |
45 "/path/to/tmp/json", | 46 "/path/to/tmp/json", |
46 "--revision", | 47 "--revision", |
47 "src@204787", | 48 "src@204787", |
48 "--force", | 49 "--force", |
49 "--output_manifest" | 50 "--output_manifest" |
50 ], | 51 ], |
| 52 "cwd": "[SLAVE_BUILD]", |
51 "env": { | 53 "env": { |
52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 54 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
53 }, | 55 }, |
54 "name": "bot_update", | 56 "name": "bot_update", |
55 "~followup_annotations": [ | 57 "~followup_annotations": [ |
56 "@@@STEP_TEXT@Some step text@@@", | 58 "@@@STEP_TEXT@Some step text@@@", |
57 "@@@STEP_LOG_LINE@json.output@{@@@", | 59 "@@@STEP_LOG_LINE@json.output@{@@@", |
58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 60 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 61 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", | 62 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 119 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
118 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", | 120 "@@@SET_BUILD_PROPERTY@got_src_revision_cp@\"refs/heads/master@{#170242}\"
@@@", |
119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 121 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
120 ] | 122 ] |
121 }, | 123 }, |
122 { | 124 { |
123 "cmd": [ | 125 "cmd": [ |
124 "python", | 126 "python", |
125 "-u", | 127 "-u", |
126 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 128 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
127 "[CWD]/src/out/Release/debug_info_dumps", | 129 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
128 "[CWD]/src/out/Release/test_logs", | 130 "[SLAVE_BUILD]/src/out/Release/test_logs", |
129 "[CWD]/src/out/build_product.zip", | 131 "[SLAVE_BUILD]/src/out/build_product.zip", |
130 "[CWD]/src" | 132 "[SLAVE_BUILD]/src" |
131 ], | 133 ], |
| 134 "cwd": "[SLAVE_BUILD]", |
132 "name": "clean local files", | 135 "name": "clean local files", |
133 "~followup_annotations": [ | 136 "~followup_annotations": [ |
134 "@@@STEP_LOG_LINE@python.inline@@@@", | 137 "@@@STEP_LOG_LINE@python.inline@@@@", |
135 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 138 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 139 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 140 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
138 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 141 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
139 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 142 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
140 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
141 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
142 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 145 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
143 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 146 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
144 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 147 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
145 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 148 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
146 "@@@STEP_LOG_END@python.inline@@@" | 149 "@@@STEP_LOG_END@python.inline@@@" |
147 ] | 150 ] |
148 }, | 151 }, |
149 { | 152 { |
150 "cmd": [ | 153 "cmd": [ |
151 "python", | 154 "python", |
152 "-u", | 155 "-u", |
153 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 156 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
154 "runhooks" | 157 "runhooks" |
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 "GYP_CROSSCOMPILE": "1", | 162 "GYP_CROSSCOMPILE": "1", |
159 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/goma' target_arch=arm use_goma=1", | 163 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
160 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 164 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
161 }, | 165 }, |
162 "name": "gclient runhooks" | 166 "name": "gclient runhooks" |
163 }, | 167 }, |
164 { | 168 { |
165 "cmd": [ | 169 "cmd": [ |
166 "python", | 170 "python", |
167 "-u", | 171 "-u", |
168 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 172 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
169 "--show-path", | 173 "--show-path", |
170 "python", | 174 "python", |
171 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 175 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
172 "--gsutil-py-path", | 176 "--gsutil-py-path", |
173 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 177 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
174 "--ninja-path", | 178 "--ninja-path", |
175 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 179 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
176 "--target", | 180 "--target", |
177 "Release", | 181 "Release", |
178 "--src-dir", | 182 "--src-dir", |
179 "[CWD]/src", | 183 "[SLAVE_BUILD]/src", |
180 "--goma-cache-dir", | 184 "--goma-cache-dir", |
181 "[ROOT]/b/build/slave/goma_cache", | 185 "[GOMA_CACHE]", |
182 "--build-tool", | 186 "--build-tool", |
183 "ninja", | 187 "ninja", |
184 "--compiler", | 188 "--compiler", |
185 "goma", | 189 "goma", |
186 "--goma-jsonstatus", | 190 "--goma-jsonstatus", |
187 "/path/to/tmp/json", | 191 "/path/to/tmp/json", |
188 "--goma-service-account-json-file", | 192 "--goma-service-account-json-file", |
189 "/creds/service_accounts/service-account-goma-client.json", | 193 "/creds/service_accounts/service-account-goma-client.json", |
190 "--goma-dir", | 194 "--goma-dir", |
191 "[ROOT]/b/build/goma", | 195 "[BUILD]/goma", |
192 "--clobber", | 196 "--clobber", |
193 "--", | 197 "--", |
194 "all" | 198 "all" |
195 ], | 199 ], |
| 200 "cwd": "[SLAVE_BUILD]", |
196 "env": { | 201 "env": { |
197 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
198 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 203 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
199 }, | 204 }, |
200 "name": "First build", | 205 "name": "First build", |
201 "~followup_annotations": [ | 206 "~followup_annotations": [ |
202 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 207 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
203 "@@@STEP_LOG_END@json.output (invalid)@@@" | 208 "@@@STEP_LOG_END@json.output (invalid)@@@" |
204 ] | 209 ] |
205 }, | 210 }, |
206 { | 211 { |
207 "cmd": [ | 212 "cmd": [ |
208 "python", | 213 "python", |
209 "-u", | 214 "-u", |
210 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 215 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
211 "--build-dir", | 216 "--build-dir", |
212 "[CWD]/src/out/Release", | 217 "[SLAVE_BUILD]/src/out/Release", |
213 "--src-dir", | 218 "--src-dir", |
214 "[CWD]/src" | 219 "[SLAVE_BUILD]/src" |
215 ], | 220 ], |
216 "cwd": "[CWD]", | 221 "cwd": "[SLAVE_BUILD]", |
217 "name": "remove_build_metadata", | 222 "name": "remove_build_metadata", |
218 "~followup_annotations": [ | 223 "~followup_annotations": [ |
219 "step returned non-zero exit code: 1", | 224 "step returned non-zero exit code: 1", |
220 "@@@STEP_WARNINGS@@@" | 225 "@@@STEP_WARNINGS@@@" |
221 ] | 226 ] |
222 }, | 227 }, |
223 { | 228 { |
224 "cmd": [ | 229 "cmd": [ |
225 "python", | 230 "python", |
226 "-u", | 231 "-u", |
227 "\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])", | 232 "\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])", |
228 "[CWD]/src/out/Release", | 233 "[SLAVE_BUILD]/src/out/Release", |
229 "[CWD]/src/out/Release.1" | 234 "[SLAVE_BUILD]/src/out/Release.1" |
230 ], | 235 ], |
231 "name": "Move [CWD]/src/out/Release to [CWD]/src/out/Release.1", | 236 "cwd": "[SLAVE_BUILD]", |
| 237 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", |
232 "~followup_annotations": [ | 238 "~followup_annotations": [ |
233 "@@@STEP_LOG_LINE@python.inline@@@@", | 239 "@@@STEP_LOG_LINE@python.inline@@@@", |
234 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 240 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
235 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 241 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
236 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 242 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
237 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 243 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
238 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 244 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
239 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 245 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
240 "@@@STEP_LOG_END@python.inline@@@" | 246 "@@@STEP_LOG_END@python.inline@@@" |
241 ] | 247 ] |
242 }, | 248 }, |
243 { | 249 { |
244 "cmd": [ | 250 "cmd": [ |
245 "python", | 251 "python", |
246 "-u", | 252 "-u", |
247 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 253 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
248 "runhooks" | 254 "runhooks" |
249 ], | 255 ], |
| 256 "cwd": "[SLAVE_BUILD]", |
250 "env": { | 257 "env": { |
251 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 258 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
252 "GYP_CROSSCOMPILE": "1", | 259 "GYP_CROSSCOMPILE": "1", |
253 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/goma' target_arch=arm use_goma=1", | 260 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
254 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 261 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
255 }, | 262 }, |
256 "name": "gclient runhooks (2)" | 263 "name": "gclient runhooks (2)" |
257 }, | 264 }, |
258 { | 265 { |
259 "cmd": [ | 266 "cmd": [ |
260 "python", | 267 "python", |
261 "-u", | 268 "-u", |
262 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 269 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
263 "--show-path", | 270 "--show-path", |
264 "python", | 271 "python", |
265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 272 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
266 "--gsutil-py-path", | 273 "--gsutil-py-path", |
267 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 274 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
268 "--ninja-path", | 275 "--ninja-path", |
269 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 276 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
270 "--target", | 277 "--target", |
271 "Release", | 278 "Release", |
272 "--src-dir", | 279 "--src-dir", |
273 "[CWD]/src", | 280 "[SLAVE_BUILD]/src", |
274 "--goma-cache-dir", | 281 "--goma-cache-dir", |
275 "[ROOT]/b/build/slave/goma_cache", | 282 "[GOMA_CACHE]", |
276 "--build-tool", | 283 "--build-tool", |
277 "ninja", | 284 "ninja", |
278 "--compiler", | 285 "--compiler", |
279 "goma", | 286 "goma", |
280 "--goma-jsonstatus", | 287 "--goma-jsonstatus", |
281 "/path/to/tmp/json", | 288 "/path/to/tmp/json", |
282 "--goma-service-account-json-file", | 289 "--goma-service-account-json-file", |
283 "/creds/service_accounts/service-account-goma-client.json", | 290 "/creds/service_accounts/service-account-goma-client.json", |
284 "--goma-dir", | 291 "--goma-dir", |
285 "[ROOT]/b/build/goma", | 292 "[BUILD]/goma", |
286 "--clobber", | 293 "--clobber", |
287 "--", | 294 "--", |
288 "all" | 295 "all" |
289 ], | 296 ], |
| 297 "cwd": "[SLAVE_BUILD]", |
290 "env": { | 298 "env": { |
291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
292 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 300 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
293 }, | 301 }, |
294 "name": "Second build", | 302 "name": "Second build", |
295 "~followup_annotations": [ | 303 "~followup_annotations": [ |
296 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 304 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
297 "@@@STEP_LOG_END@json.output (invalid)@@@" | 305 "@@@STEP_LOG_END@json.output (invalid)@@@" |
298 ] | 306 ] |
299 }, | 307 }, |
300 { | 308 { |
301 "cmd": [ | 309 "cmd": [ |
302 "python", | 310 "python", |
303 "-u", | 311 "-u", |
304 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 312 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
305 "--build-dir", | 313 "--build-dir", |
306 "[CWD]/src/out/Release", | 314 "[SLAVE_BUILD]/src/out/Release", |
307 "--src-dir", | 315 "--src-dir", |
308 "[CWD]/src" | 316 "[SLAVE_BUILD]/src" |
309 ], | 317 ], |
310 "cwd": "[CWD]", | 318 "cwd": "[SLAVE_BUILD]", |
311 "name": "remove_build_metadata (2)" | 319 "name": "remove_build_metadata (2)" |
312 }, | 320 }, |
313 { | 321 { |
314 "cmd": [ | 322 "cmd": [ |
315 "python", | 323 "python", |
316 "-u", | 324 "-u", |
317 "\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])", | 325 "\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])", |
318 "[CWD]/src/out/Release", | 326 "[SLAVE_BUILD]/src/out/Release", |
319 "[CWD]/src/out/Release.2" | 327 "[SLAVE_BUILD]/src/out/Release.2" |
320 ], | 328 ], |
321 "name": "Move [CWD]/src/out/Release to [CWD]/src/out/Release.2", | 329 "cwd": "[SLAVE_BUILD]", |
| 330 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", |
322 "~followup_annotations": [ | 331 "~followup_annotations": [ |
323 "@@@STEP_LOG_LINE@python.inline@@@@", | 332 "@@@STEP_LOG_LINE@python.inline@@@@", |
324 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 333 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
325 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 334 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
326 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 335 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
327 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 336 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
328 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 337 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
329 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 338 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
330 "@@@STEP_LOG_END@python.inline@@@" | 339 "@@@STEP_LOG_END@python.inline@@@" |
331 ] | 340 ] |
332 }, | 341 }, |
333 { | 342 { |
334 "cmd": [ | 343 "cmd": [ |
335 "python", | 344 "python", |
336 "-u", | 345 "-u", |
337 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", | 346 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", |
338 "--first-build-dir", | 347 "--first-build-dir", |
339 "[CWD]/src/out/Release.1", | 348 "[SLAVE_BUILD]/src/out/Release.1", |
340 "--second-build-dir", | 349 "--second-build-dir", |
341 "[CWD]/src/out/Release.2", | 350 "[SLAVE_BUILD]/src/out/Release.2", |
342 "--target-platform", | 351 "--target-platform", |
343 "android" | 352 "android" |
344 ], | 353 ], |
345 "cwd": "[CWD]", | 354 "cwd": "[SLAVE_BUILD]", |
346 "name": "compare_build_artifacts" | 355 "name": "compare_build_artifacts" |
347 }, | 356 }, |
348 { | 357 { |
349 "name": "$result", | 358 "name": "$result", |
350 "recipe_result": null, | 359 "recipe_result": null, |
351 "status_code": 0 | 360 "status_code": 0 |
352 } | 361 } |
353 ] | 362 ] |
OLD | NEW |