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 "[SLAVE_BUILD]" |
8 ], | 8 ], |
9 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 "--perf-id=android_cronet_armv6_builder", | 340 "--perf-id=android_cronet_armv6_builder", |
341 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", | 341 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", |
342 "--target", | 342 "--target", |
343 "Release", | 343 "Release", |
344 "--platform", | 344 "--platform", |
345 "android-cronet" | 345 "android-cronet" |
346 ], | 346 ], |
347 "name": "sizes" | 347 "name": "sizes" |
348 }, | 348 }, |
349 { | 349 { |
350 "cmd": [ | |
351 "python", | |
352 "-u", | |
353 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
354 "perf", | |
355 "--release", | |
356 "--verbose", | |
357 "--steps", | |
358 "{\"steps\": {\"resource_sizes\": {\"archive_output_dir\": true, \"cmd\":
\"build/android/resource_sizes.py '[SLAVE_BUILD]/src/out/Release/apks/CronetSamp
le.apk'\", \"device_affinity\": null}}, \"version\": 1}", | |
359 "--blacklist-file", | |
360 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
361 "--adb-path", | |
362 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
363 ], | |
364 "cwd": "[SLAVE_BUILD]/src", | |
365 "env": { | |
366 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
367 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
368 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
369 }, | |
370 "name": "Sharded Perf Tests" | |
371 }, | |
372 { | |
373 "cmd": [ | |
374 "python", | |
375 "-u", | |
376 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
377 "perf", | |
378 "--steps", | |
379 "{\"steps\": {\"resource_sizes\": {\"archive_output_dir\": true, \"cmd\":
\"build/android/resource_sizes.py '[SLAVE_BUILD]/src/out/Release/apks/CronetSamp
le.apk'\", \"device_affinity\": null}}, \"version\": 1}", | |
380 "--output-json-list", | |
381 "/path/to/tmp/json", | |
382 "--blacklist-file", | |
383 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
384 "--adb-path", | |
385 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
386 ], | |
387 "env": { | |
388 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
389 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
390 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
391 }, | |
392 "name": "get perf test list", | |
393 "~followup_annotations": [ | |
394 "@@@STEP_LOG_LINE@json.output@[@@@", | |
395 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
396 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
397 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", | |
398 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", | |
399 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", | |
400 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
401 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
402 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | |
403 "@@@STEP_LOG_LINE@json.output@ \"test\": \"page_cycler.foo\"@@@", | |
404 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
405 "@@@STEP_LOG_LINE@json.output@]@@@", | |
406 "@@@STEP_LOG_END@json.output@@@" | |
407 ] | |
408 }, | |
409 { | |
410 "allow_subannotations": true, | 350 "allow_subannotations": true, |
411 "cmd": [ | 351 "cmd": [ |
412 "python", | 352 "python", |
413 "-u", | 353 "-u", |
414 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | 354 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", |
415 "--target", | 355 "--target", |
416 "Release", | 356 "Release", |
417 "--test-platform", | 357 "--test-platform", |
418 "android", | 358 "android", |
419 "--no-xvfb", | 359 "--no-xvfb", |
420 "--factory-properties", | 360 "--factory-properties", |
421 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"master\", \"buildername\": \"Android Cronet ARMv6 Builder\", \"build
number\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\"
, \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/ch
romium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slav
ename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", | 361 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"master\", \"buildername\": \"Android Cronet ARMv6 Builder\", \"build
number\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\"
, \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/ch
romium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slav
ename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", |
422 "--build-properties", | 362 "--build-properties", |
423 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"master\", \"buildername\": \"Android Cronet ARMv6 Builder\", \"build
number\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\"
, \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/ch
romium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slav
ename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", | 363 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"master\", \"buildername\": \"Android Cronet ARMv6 Builder\", \"build
number\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\"
, \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/ch
romium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slav
ename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", |
424 "--annotate=graphing", | 364 "--annotate=graphing", |
425 "--results-url=https://chromeperf.appspot.com", | 365 "--results-url=https://chromeperf.appspot.com", |
426 "--perf-dashboard-id=page_cycler.foo", | 366 "--perf-dashboard-id=java_method_count", |
427 "--perf-id=android_cronet_armv6_builder", | 367 "--perf-id=android_cronet_armv6_builder", |
428 "--test-type=page_cycler.foo", | 368 "--test-type=java_method_count", |
429 "--step-name=page_cycler.foo", | 369 "--step-name=method_count", |
430 "--builder-name=Android Cronet ARMv6 Builder", | 370 "--builder-name=Android Cronet ARMv6 Builder", |
431 "--slave-name=TestSlavename", | 371 "--slave-name=TestSlavename", |
432 "--build-number=571", | 372 "--build-number=571", |
433 "--run-python-script", | 373 "--run-python-script", |
434 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 374 "[SLAVE_BUILD]/src/build/android/method_count.py", |
435 "perf", | 375 "[SLAVE_BUILD]/src/out/Release/apks/CronetSample.apk" |
436 "--print-step", | |
437 "page_cycler.foo", | |
438 "--verbose", | |
439 "--adb-path", | |
440 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
441 "--blacklist-file", | |
442 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
443 ], | 376 ], |
444 "env": { | 377 "name": "method_count" |
445 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
446 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
447 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
448 }, | |
449 "name": "page_cycler.foo", | |
450 "~followup_annotations": [ | |
451 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
452 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
453 "@@@STEP_LOG_END@device affinity@@@" | |
454 ] | |
455 }, | |
456 { | |
457 "allow_subannotations": true, | |
458 "cmd": [ | |
459 "python", | |
460 "-u", | |
461 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
462 "--target", | |
463 "Release", | |
464 "--test-platform", | |
465 "android", | |
466 "--no-xvfb", | |
467 "--factory-properties", | |
468 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"master\", \"buildername\": \"Android Cronet ARMv6 Builder\", \"build
number\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\"
, \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/ch
romium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slav
ename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", | |
469 "--build-properties", | |
470 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
branch\": \"master\", \"buildername\": \"Android Cronet ARMv6 Builder\", \"build
number\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\"
, \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/ch
romium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slav
ename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", | |
471 "--annotate=graphing", | |
472 "--results-url=https://chromeperf.appspot.com", | |
473 "--perf-dashboard-id=perf_test.foo", | |
474 "--perf-id=android_cronet_armv6_builder", | |
475 "--test-type=perf_test.foo", | |
476 "--step-name=perf_test.foo", | |
477 "--builder-name=Android Cronet ARMv6 Builder", | |
478 "--slave-name=TestSlavename", | |
479 "--build-number=571", | |
480 "--run-python-script", | |
481 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
482 "perf", | |
483 "--print-step", | |
484 "perf_test.foo", | |
485 "--verbose", | |
486 "--adb-path", | |
487 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
488 "--blacklist-file", | |
489 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
490 ], | |
491 "env": { | |
492 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | |
493 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
494 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
495 }, | |
496 "name": "perf_test.foo", | |
497 "~followup_annotations": [ | |
498 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | |
499 "@@@STEP_LOG_LINE@device affinity@0@@@", | |
500 "@@@STEP_LOG_END@device affinity@@@" | |
501 ] | |
502 }, | 378 }, |
503 { | 379 { |
504 "cmd": [ | 380 "cmd": [ |
505 "python", | 381 "python", |
506 "-u", | 382 "-u", |
507 "[SLAVE_BUILD]/src/build/symlink.py", | 383 "[SLAVE_BUILD]/src/build/symlink.py", |
508 "-f", | 384 "-f", |
509 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 385 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
510 "~/adb" | 386 "~/adb" |
511 ], | 387 ], |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 756 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
881 "@@@STEP_LOG_END@python.inline@@@" | 757 "@@@STEP_LOG_END@python.inline@@@" |
882 ] | 758 ] |
883 }, | 759 }, |
884 { | 760 { |
885 "name": "$result", | 761 "name": "$result", |
886 "recipe_result": null, | 762 "recipe_result": null, |
887 "status_code": 0 | 763 "status_code": 0 |
888 } | 764 } |
889 ] | 765 ] |
OLD | NEW |