OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 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", | 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]/Lollipop_Phone_Tester", | 7 "[BUILDER_CACHE]/Nougat_Phone_Tester", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
11 "~followup_annotations": [ | 11 "~followup_annotations": [ |
12 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
(...skipping 15 matching lines...) Expand all Loading... |
33 "--revision_mapping_file", | 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\"}", | 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", | 35 "--git-cache-dir", |
36 "[GIT_CACHE]", | 36 "[GIT_CACHE]", |
37 "--output_json", | 37 "--output_json", |
38 "/path/to/tmp/json", | 38 "/path/to/tmp/json", |
39 "--revision", | 39 "--revision", |
40 "src@1111111", | 40 "src@1111111", |
41 "--output_manifest" | 41 "--output_manifest" |
42 ], | 42 ], |
43 "cwd": "[BUILDER_CACHE]/Lollipop_Phone_Tester", | 43 "cwd": "[BUILDER_CACHE]/Nougat_Phone_Tester", |
44 "env": { | 44 "env": { |
45 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 45 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
46 }, | 46 }, |
47 "name": "bot_update", | 47 "name": "bot_update", |
48 "~followup_annotations": [ | 48 "~followup_annotations": [ |
49 "@@@STEP_TEXT@Some step text@@@", | 49 "@@@STEP_TEXT@Some step text@@@", |
50 "@@@STEP_LOG_LINE@json.output@{@@@", | 50 "@@@STEP_LOG_LINE@json.output@{@@@", |
51 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 51 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
52 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 52 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
53 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@", | 53 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@", |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 "@@@STEP_LOG_LINE@json.output@ }@@@", | 175 "@@@STEP_LOG_LINE@json.output@ }@@@", |
176 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 176 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
177 "@@@STEP_LOG_LINE@json.output@}@@@", | 177 "@@@STEP_LOG_LINE@json.output@}@@@", |
178 "@@@STEP_LOG_END@json.output@@@" | 178 "@@@STEP_LOG_END@json.output@@@" |
179 ] | 179 ] |
180 }, | 180 }, |
181 { | 181 { |
182 "cmd": [ | 182 "cmd": [ |
183 "python", | 183 "python", |
184 "-u", | 184 "-u", |
185 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/tools/swarming_client/swarming.
py", | 185 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/tools/swarming_client/swarming.py
", |
186 "--version" | 186 "--version" |
187 ], | 187 ], |
188 "name": "swarming.py --version", | 188 "name": "swarming.py --version", |
189 "stdout": "/path/to/tmp/", | 189 "stdout": "/path/to/tmp/", |
190 "~followup_annotations": [ | 190 "~followup_annotations": [ |
191 "@@@STEP_TEXT@0.8.6@@@" | 191 "@@@STEP_TEXT@0.8.6@@@" |
192 ] | 192 ] |
193 }, | 193 }, |
194 { | 194 { |
195 "cmd": [ | 195 "cmd": [ |
196 "python", | 196 "python", |
197 "-u", | 197 "-u", |
198 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 198 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
199 "runhooks" | 199 "runhooks" |
200 ], | 200 ], |
201 "cwd": "[BUILDER_CACHE]/Lollipop_Phone_Tester/src", | 201 "cwd": "[BUILDER_CACHE]/Nougat_Phone_Tester/src", |
202 "env": { | 202 "env": { |
203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
204 "GYP_CHROMIUM_NO_ACTION": "1", | 204 "GYP_CHROMIUM_NO_ACTION": "1", |
205 "GYP_CROSSCOMPILE": "1", | 205 "GYP_CROSSCOMPILE": "1", |
206 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", | 206 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm64 test_isolation_mode=prepare use_goma=1", |
207 "PATH": "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Lollipop_Phone_Tester/src/build/android:%(
PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 207 "PATH": "[BUILDER_CACHE]/Nougat_Phone_Tester/src/third_party/android_tools
/sdk/platform-tools:[BUILDER_CACHE]/Nougat_Phone_Tester/src/build/android:%(PATH
)s:RECIPE_PACKAGE_REPO[depot_tools]" |
208 }, | 208 }, |
209 "name": "gclient runhooks" | 209 "name": "gclient runhooks" |
210 }, | 210 }, |
211 { | 211 { |
212 "cmd": [ | 212 "cmd": [ |
213 "python", | 213 "python", |
214 "-u", | 214 "-u", |
215 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/testing/scripts/get_compile_tar
gets.py", | 215 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/testing/scripts/get_compile_targe
ts.py", |
216 "--output", | 216 "--output", |
217 "/path/to/tmp/json", | 217 "/path/to/tmp/json", |
218 "--", | 218 "--", |
219 "--build-config-fs", | 219 "--build-config-fs", |
220 "Debug", | 220 "Debug", |
221 "--paths", | 221 "--paths", |
222 "{\"checkout\": \"[BUILDER_CACHE]/Lollipop_Phone_Tester/src\", \"runit.py\
": \"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECI
PE_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}", | 222 "{\"checkout\": \"[BUILDER_CACHE]/Nougat_Phone_Tester/src\", \"runit.py\":
\"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE
_PACKAGE_REPO[build]/scripts/slave/runtest.py\"}", |
223 "--properties", | 223 "--properties", |
224 "{\"buildername\": \"Lollipop Phone Tester\", \"buildnumber\": 571, \"mast
ername\": \"chromium.android\", \"slavename\": \"TestSlavename\", \"target_platf
orm\": \"android\"}" | 224 "{\"buildername\": \"Nougat Phone Tester\", \"buildnumber\": 571, \"master
name\": \"chromium.android\", \"slavename\": \"TestSlavename\", \"target_platfor
m\": \"android\"}" |
225 ], | 225 ], |
226 "name": "get compile targets for scripts", | 226 "name": "get compile targets for scripts", |
227 "~followup_annotations": [ | 227 "~followup_annotations": [ |
228 "@@@STEP_LOG_LINE@json.output@{}@@@", | 228 "@@@STEP_LOG_LINE@json.output@{}@@@", |
229 "@@@STEP_LOG_END@json.output@@@" | 229 "@@@STEP_LOG_END@json.output@@@" |
230 ] | 230 ] |
231 }, | 231 }, |
232 { | 232 { |
233 "cmd": [ | 233 "cmd": [ |
234 "python", | 234 "python", |
235 "-u", | 235 "-u", |
236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
237 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/testing/buildbot/chromium.andro
id.json", | 237 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/testing/buildbot/chromium.android
.json", |
238 "/path/to/tmp/json" | 238 "/path/to/tmp/json" |
239 ], | 239 ], |
240 "name": "read test spec (chromium.android.json)", | 240 "name": "read test spec (chromium.android.json)", |
241 "~followup_annotations": [ | 241 "~followup_annotations": [ |
242 "@@@STEP_TEXT@path: [BUILDER_CACHE]/Lollipop_Phone_Tester/src/testing/buil
dbot/chromium.android.json@@@", | 242 "@@@STEP_TEXT@path: [BUILDER_CACHE]/Nougat_Phone_Tester/src/testing/buildb
ot/chromium.android.json@@@", |
243 "@@@STEP_LOG_LINE@json.output@{@@@", | 243 "@@@STEP_LOG_LINE@json.output@{@@@", |
244 "@@@STEP_LOG_LINE@json.output@ \"Lollipop Phone Tester\": {@@@", | 244 "@@@STEP_LOG_LINE@json.output@ \"Nougat Phone Tester\": {@@@", |
245 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | 245 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
246 "@@@STEP_LOG_LINE@json.output@ {@@@", | 246 "@@@STEP_LOG_LINE@json.output@ {@@@", |
247 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | 247 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
248 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | 248 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", |
249 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 249 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
250 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | 250 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", |
251 "@@@STEP_LOG_LINE@json.output@ }@@@", | 251 "@@@STEP_LOG_LINE@json.output@ }@@@", |
252 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 252 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
253 "@@@STEP_LOG_LINE@json.output@ }@@@", | 253 "@@@STEP_LOG_LINE@json.output@ }@@@", |
254 "@@@STEP_LOG_LINE@json.output@}@@@", | 254 "@@@STEP_LOG_LINE@json.output@}@@@", |
255 "@@@STEP_LOG_END@json.output@@@" | 255 "@@@STEP_LOG_END@json.output@@@" |
256 ] | 256 ] |
257 }, | 257 }, |
258 { | 258 { |
259 "cmd": [ | 259 "cmd": [ |
260 "python", | 260 "python", |
261 "-u", | 261 "-u", |
262 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 262 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
263 "--show-path", | 263 "--show-path", |
264 "python", | 264 "python", |
265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
266 ], | 266 ], |
267 "name": "cleanup_temp" | 267 "name": "cleanup_temp" |
268 }, | 268 }, |
269 { | 269 { |
270 "cmd": [ | 270 "cmd": [ |
271 "python", | 271 "python", |
272 "-u", | 272 "-u", |
273 "\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", | 273 "\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", |
274 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/out/Debug/debug_info_dumps", | 274 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/out/Debug/debug_info_dumps", |
275 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/out/Debug/test_logs", | 275 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/out/Debug/test_logs", |
276 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/out/build_product.zip", | 276 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/out/build_product.zip", |
277 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src" | 277 "[BUILDER_CACHE]/Nougat_Phone_Tester/src" |
278 ], | 278 ], |
279 "name": "clean local files", | 279 "name": "clean local files", |
280 "~followup_annotations": [ | 280 "~followup_annotations": [ |
281 "@@@STEP_LOG_LINE@python.inline@@@@", | 281 "@@@STEP_LOG_LINE@python.inline@@@@", |
282 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 282 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
283 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 283 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
284 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 284 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
285 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 285 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
286 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 286 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
287 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 287 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
288 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 288 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
289 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 289 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
290 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 290 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
291 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 291 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
292 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 292 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
293 "@@@STEP_LOG_END@python.inline@@@" | 293 "@@@STEP_LOG_END@python.inline@@@" |
294 ] | 294 ] |
295 }, | 295 }, |
296 { | 296 { |
297 "cmd": [ | 297 "cmd": [ |
298 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/build/tree_truth.sh", | 298 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/build/tree_truth.sh", |
299 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src", | 299 "[BUILDER_CACHE]/Nougat_Phone_Tester/src", |
300 "src" | 300 "src" |
301 ], | 301 ], |
302 "name": "tree truth steps" | 302 "name": "tree truth steps" |
303 }, | 303 }, |
304 { | 304 { |
305 "cmd": [ | 305 "cmd": [ |
306 "python", | 306 "python", |
307 "-u", | 307 "-u", |
308 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 308 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
309 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/out/Debug" | 309 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/out/Debug" |
310 ], | 310 ], |
311 "name": "rmtree build directory", | 311 "name": "rmtree build directory", |
312 "~followup_annotations": [ | 312 "~followup_annotations": [ |
313 "@@@STEP_LOG_LINE@python.inline@@@@", | 313 "@@@STEP_LOG_LINE@python.inline@@@@", |
314 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 314 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
315 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 315 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
316 "@@@STEP_LOG_LINE@python.inline@@@@", | 316 "@@@STEP_LOG_LINE@python.inline@@@@", |
317 "@@@STEP_LOG_LINE@python.inline@@@@", | 317 "@@@STEP_LOG_LINE@python.inline@@@@", |
318 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 318 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
319 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 319 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
320 "@@@STEP_LOG_END@python.inline@@@" | 320 "@@@STEP_LOG_END@python.inline@@@" |
321 ] | 321 ] |
322 }, | 322 }, |
323 { | 323 { |
324 "cmd": [ | 324 "cmd": [ |
325 "python", | 325 "python", |
326 "-u", | 326 "-u", |
327 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 327 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
328 "--show-path", | 328 "--show-path", |
329 "python", | 329 "python", |
330 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", | 330 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", |
331 "--gsutil-py-path", | 331 "--gsutil-py-path", |
332 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 332 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
333 "--target", | 333 "--target", |
334 "Debug", | 334 "Debug", |
335 "--src-dir", | 335 "--src-dir", |
336 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src", | 336 "[BUILDER_CACHE]/Nougat_Phone_Tester/src", |
337 "--build-archive-url", | 337 "--build-archive-url", |
338 "gs://test-domain/test-archive.zip", | 338 "gs://test-domain/test-archive.zip", |
339 "--master-name", | 339 "--master-name", |
340 "chromium.android", | 340 "chromium.android", |
341 "--build-number", | 341 "--build-number", |
342 "571" | 342 "571" |
343 ], | 343 ], |
344 "name": "extract build" | 344 "name": "extract build" |
345 }, | 345 }, |
346 { | 346 { |
347 "cmd": [ | 347 "cmd": [ |
348 "python", | 348 "python", |
349 "-u", | 349 "-u", |
350 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 350 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
351 "--build-dir", | 351 "--build-dir", |
352 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/out/Debug", | 352 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/out/Debug", |
353 "--output-json", | 353 "--output-json", |
354 "/path/to/tmp/json" | 354 "/path/to/tmp/json" |
355 ], | 355 ], |
356 "cwd": "[BUILDER_CACHE]/Lollipop_Phone_Tester", | 356 "cwd": "[BUILDER_CACHE]/Nougat_Phone_Tester", |
357 "env": { | 357 "env": { |
358 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 358 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
359 "PATH": "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Lollipop_Phone_Tester/src/build/android:%(
PATH)s" | 359 "PATH": "[BUILDER_CACHE]/Nougat_Phone_Tester/src/third_party/android_tools
/sdk/platform-tools:[BUILDER_CACHE]/Nougat_Phone_Tester/src/build/android:%(PATH
)s" |
360 }, | 360 }, |
361 "name": "find isolated tests", | 361 "name": "find isolated tests", |
362 "~followup_annotations": [ | 362 "~followup_annotations": [ |
363 "@@@STEP_LOG_LINE@json.output@{@@@", | 363 "@@@STEP_LOG_LINE@json.output@{@@@", |
364 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 364 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
365 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 365 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
366 "@@@STEP_LOG_LINE@json.output@}@@@", | 366 "@@@STEP_LOG_LINE@json.output@}@@@", |
367 "@@@STEP_LOG_END@json.output@@@", | 367 "@@@STEP_LOG_END@json.output@@@", |
368 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 368 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
369 ] | 369 ] |
370 }, | 370 }, |
371 { | 371 { |
372 "cmd": [ | 372 "cmd": [ |
373 "python", | 373 "python", |
374 "-u", | 374 "-u", |
375 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | 375 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", |
376 "browser_tests_apk" | 376 "browser_tests_apk" |
377 ], | 377 ], |
378 "cwd": "[BUILDER_CACHE]/Lollipop_Phone_Tester", | 378 "cwd": "[BUILDER_CACHE]/Nougat_Phone_Tester", |
379 "env": { | 379 "env": { |
380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
381 "PATH": "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Lollipop_Phone_Tester/src/build/android:%(
PATH)s" | 381 "PATH": "[BUILDER_CACHE]/Nougat_Phone_Tester/src/third_party/android_tools
/sdk/platform-tools:[BUILDER_CACHE]/Nougat_Phone_Tester/src/build/android:%(PATH
)s" |
382 }, | 382 }, |
383 "name": "[error] browser_tests", | 383 "name": "[error] browser_tests", |
384 "~followup_annotations": [ | 384 "~followup_annotations": [ |
385 "@@@STEP_LOG_LINE@python.inline@@@@", | 385 "@@@STEP_LOG_LINE@python.inline@@@@", |
386 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 386 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
387 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | 387 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", |
388 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 388 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
389 "@@@STEP_LOG_END@python.inline@@@" | 389 "@@@STEP_LOG_END@python.inline@@@" |
390 ] | 390 ] |
391 }, | 391 }, |
392 { | 392 { |
393 "cmd": [ | 393 "cmd": [ |
394 "python", | 394 "python", |
395 "-u", | 395 "-u", |
396 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | 396 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, |
397 "browser_tests" | 397 "browser_tests" |
398 ], | 398 ], |
399 "cwd": "[BUILDER_CACHE]/Lollipop_Phone_Tester", | 399 "cwd": "[BUILDER_CACHE]/Nougat_Phone_Tester", |
400 "env": { | 400 "env": { |
401 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 401 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
402 "PATH": "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Lollipop_Phone_Tester/src/build/android:%(
PATH)s" | 402 "PATH": "[BUILDER_CACHE]/Nougat_Phone_Tester/src/third_party/android_tools
/sdk/platform-tools:[BUILDER_CACHE]/Nougat_Phone_Tester/src/build/android:%(PATH
)s" |
403 }, | 403 }, |
404 "name": "[collect error] browser_tests", | 404 "name": "[collect error] browser_tests", |
405 "~followup_annotations": [ | 405 "~followup_annotations": [ |
406 "@@@STEP_LOG_LINE@python.inline@@@@", | 406 "@@@STEP_LOG_LINE@python.inline@@@@", |
407 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 407 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
408 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | 408 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", |
409 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 409 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
410 "@@@STEP_LOG_END@python.inline@@@" | 410 "@@@STEP_LOG_END@python.inline@@@" |
411 ] | 411 ] |
412 }, | 412 }, |
413 { | 413 { |
414 "cmd": [ | 414 "cmd": [ |
415 "python", | 415 "python", |
416 "-u", | 416 "-u", |
417 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | 417 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
418 "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/out/Debug/test_logs/*.log" | 418 "[BUILDER_CACHE]/Nougat_Phone_Tester/src/out/Debug/test_logs/*.log" |
419 ], | 419 ], |
420 "cwd": "[BUILDER_CACHE]/Lollipop_Phone_Tester", | 420 "cwd": "[BUILDER_CACHE]/Nougat_Phone_Tester", |
421 "env": { | 421 "env": { |
422 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 422 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
423 "PATH": "[BUILDER_CACHE]/Lollipop_Phone_Tester/src/third_party/android_too
ls/sdk/platform-tools:[BUILDER_CACHE]/Lollipop_Phone_Tester/src/build/android:%(
PATH)s" | 423 "PATH": "[BUILDER_CACHE]/Nougat_Phone_Tester/src/third_party/android_tools
/sdk/platform-tools:[BUILDER_CACHE]/Nougat_Phone_Tester/src/build/android:%(PATH
)s" |
424 }, | 424 }, |
425 "name": "test_report", | 425 "name": "test_report", |
426 "~followup_annotations": [ | 426 "~followup_annotations": [ |
427 "@@@STEP_LOG_LINE@python.inline@@@@", | 427 "@@@STEP_LOG_LINE@python.inline@@@@", |
428 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 428 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
429 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 429 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
430 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 430 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
431 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 431 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
432 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 432 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
433 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 433 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
434 "@@@STEP_LOG_END@python.inline@@@" | 434 "@@@STEP_LOG_END@python.inline@@@" |
435 ] | 435 ] |
436 }, | 436 }, |
437 { | 437 { |
438 "name": "$result", | 438 "name": "$result", |
439 "recipe_result": null, | 439 "recipe_result": null, |
440 "status_code": 0 | 440 "status_code": 0 |
441 } | 441 } |
442 ] | 442 ] |
OLD | NEW |