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