| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", |
| "--show-path", |
| "python", |
| "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py" |
| ], |
| "name": "cleanup_temp" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
| "config", |
| "--spec", |
| "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.chromium.org/%(repo)s', 'swarming_revision': '', 'webkit_trunk': 'https://chromium.googlesource.com/chromium/blink.git'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]" |
| ], |
| "env": { |
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient setup" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
| "sync", |
| "--verbose", |
| "--with_branch_heads", |
| "--nohooks", |
| "-j2", |
| "--reset", |
| "--force", |
| "--upstream", |
| "--no-nag-max", |
| "--delete_unversioned_trees", |
| "--revision", |
| "src@204787", |
| "--revision", |
| "src/tools/swarming_client@HEAD", |
| "--output-json", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient sync", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/buildtools/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b2809876916353cb994259692140934\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d9268596da93418c623137f4\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a35f03975671d43e399\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aeeefc1b9b50\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4c759c837980b63b99566\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da93418c623137f4\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671d43e399\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb994259692140934\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
| "recurse", |
| "git", |
| "config", |
| "user.name", |
| "local_bot" |
| ], |
| "env": { |
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient recurse (git config user.name)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
| "recurse", |
| "git", |
| "config", |
| "user.email", |
| "local_bot@example.com" |
| ], |
| "env": { |
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient recurse (git config user.email)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", |
| "--version" |
| ], |
| "name": "swarming.py --version", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@0.8.6@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
| "runhooks" |
| ], |
| "cwd": "[SLAVE_BUILD]\\src", |
| "env": { |
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json", |
| "GYP_DEFINES": "component=static_library fastbuild=1 gomadir='[BUILD]\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
| "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient runhooks" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::isolate]\\resources\\find_isolated_tests.py", |
| "--build-dir", |
| "[SLAVE_BUILD]\\src\\out\\Release", |
| "--clean-isolated-files" |
| ], |
| "name": "clean isolated files" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", |
| "--show-path", |
| "python", |
| "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\compile.py", |
| "--gsutil-py-path", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\gsutil.py", |
| "--ninja-path", |
| "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", |
| "--target", |
| "Release", |
| "--src-dir", |
| "[SLAVE_BUILD]\\src", |
| "--goma-cache-dir", |
| "[GOMA_CACHE]", |
| "--compiler", |
| "goma", |
| "--goma-jsonstatus", |
| "/path/to/tmp/json", |
| "--goma-service-account-json-file", |
| "C:\\creds\\service_accounts\\service-account-goma-client.json", |
| "--goma-dir", |
| "[BUILD]\\goma", |
| "--", |
| "chromium_swarm_tests" |
| ], |
| "env": { |
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json" |
| }, |
| "name": "compile", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]\\src\\tools\\determinism\\remove_build_metadata.py", |
| "--build-dir", |
| "[SLAVE_BUILD]\\src\\out\\Release" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "name": "remove_build_metadata" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n", |
| "/path/to/tmp/", |
| "[SLAVE_BUILD]\\src\\out\\Release\\*.isolated.gen.json" |
| ], |
| "name": "find isolated targets" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::isolate]\\resources\\isolate.py", |
| "[SLAVE_BUILD]\\src\\tools\\swarming_client", |
| "batcharchive", |
| "--dump-json", |
| "/path/to/tmp/json", |
| "--isolate-server", |
| "https://isolateserver-dev.appspot.com", |
| "--verbose", |
| "[SLAVE_BUILD]\\src\\out\\Release\\dummy_target_1.isolated.gen.json", |
| "[SLAVE_BUILD]\\src\\out\\Release\\dummy_target_2.isolated.gen.json" |
| ], |
| "env": { |
| "SWARMING_PROFILE": "1" |
| }, |
| "name": "isolate tests", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", |
| "trigger", |
| "--swarming", |
| "https://chromium-swarm-dev.appspot.com", |
| "--isolate-server", |
| "https://isolateserver-dev.appspot.com", |
| "--priority", |
| "20", |
| "--shards", |
| "2", |
| "--task-name", |
| "dummy_target_1/Windows/[dummy has/TestBuilder/571", |
| "--dump-json", |
| "/path/to/tmp/json", |
| "--expiration", |
| "3600", |
| "--io-timeout", |
| "1200", |
| "--hard-timeout", |
| "3600", |
| "--dimension", |
| "cpu", |
| "x86-64", |
| "--dimension", |
| "gpu", |
| "none", |
| "--dimension", |
| "os", |
| "Windows", |
| "--dimension", |
| "pool", |
| "Chrome", |
| "--tag", |
| "buildername:TestBuilder", |
| "--tag", |
| "buildnumber:571", |
| "--tag", |
| "data:[dummy hash for dummy_target_1]", |
| "--tag", |
| "master:chromium.testing.master", |
| "--tag", |
| "name:dummy_target_1", |
| "--tag", |
| "os:Windows", |
| "--tag", |
| "project:chromium", |
| "--tag", |
| "purpose:staging", |
| "--tag", |
| "slavename:TestSlavename", |
| "--tag", |
| "stepname:dummy_target_1 on Windows", |
| "--verbose", |
| "--idempotent", |
| "[dummy hash for dummy_target_1]", |
| "--", |
| "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
| ], |
| "name": "[trigger] dummy_target_1 on Windows", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"dummy_target_1/Windows/[dummy has/TestBuilder/571\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1/Windows/[dummy has/TestBuilder/571:2:0\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10000\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1/Windows/[dummy has/TestBuilder/571:2:1\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 1, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10100\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10100\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@shard #0@https://chromium-swarm-dev.appspot.com/user/task/10000@@@", |
| "@@@STEP_LINK@shard #1@https://chromium-swarm-dev.appspot.com/user/task/10100@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", |
| "trigger", |
| "--swarming", |
| "https://chromium-swarm-dev.appspot.com", |
| "--isolate-server", |
| "https://isolateserver-dev.appspot.com", |
| "--priority", |
| "20", |
| "--shards", |
| "2", |
| "--task-name", |
| "dummy_target_2/Windows/[dummy has/TestBuilder/571", |
| "--dump-json", |
| "/path/to/tmp/json", |
| "--expiration", |
| "3600", |
| "--io-timeout", |
| "1200", |
| "--hard-timeout", |
| "3600", |
| "--dimension", |
| "cpu", |
| "x86-64", |
| "--dimension", |
| "gpu", |
| "none", |
| "--dimension", |
| "os", |
| "Windows", |
| "--dimension", |
| "pool", |
| "Chrome", |
| "--tag", |
| "buildername:TestBuilder", |
| "--tag", |
| "buildnumber:571", |
| "--tag", |
| "data:[dummy hash for dummy_target_2]", |
| "--tag", |
| "master:chromium.testing.master", |
| "--tag", |
| "name:dummy_target_2", |
| "--tag", |
| "os:Windows", |
| "--tag", |
| "project:chromium", |
| "--tag", |
| "purpose:staging", |
| "--tag", |
| "slavename:TestSlavename", |
| "--tag", |
| "stepname:dummy_target_2 on Windows", |
| "--verbose", |
| "--idempotent", |
| "[dummy hash for dummy_target_2]", |
| "--", |
| "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" |
| ], |
| "name": "[trigger] dummy_target_2 on Windows", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"dummy_target_2/Windows/[dummy has/TestBuilder/571\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2/Windows/[dummy has/TestBuilder/571:2:0\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10000\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2/Windows/[dummy has/TestBuilder/571:2:1\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 1, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10100\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10100\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@shard #0@https://chromium-swarm-dev.appspot.com/user/task/10000@@@", |
| "@@@STEP_LINK@shard #1@https://chromium-swarm-dev.appspot.com/user/task/10100@@@" |
| ] |
| }, |
| { |
| "allow_subannotations": true, |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", |
| "python", |
| "RECIPE_MODULE[build::swarming]\\resources\\collect_gtest_task.py", |
| "--swarming-client-dir", |
| "[SLAVE_BUILD]\\src\\tools\\swarming_client", |
| "--temp-root-dir", |
| "[TMP_BASE]", |
| "--merged-test-output", |
| "/path/to/tmp/json", |
| "--", |
| "collect", |
| "--swarming", |
| "https://chromium-swarm-dev.appspot.com", |
| "--decorate", |
| "--print-status-updates", |
| "--verbose", |
| "--json", |
| "{\"base_task_name\": \"dummy_target_1/Windows/[dummy has/TestBuilder/571\", \"tasks\": {\"dummy_target_1/Windows/[dummy has/TestBuilder/571:2:0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10000\"}, \"dummy_target_1/Windows/[dummy has/TestBuilder/571:2:1\": {\"shard_index\": 1, \"task_id\": \"10100\", \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10100\"}}}" |
| ], |
| "name": "dummy_target_1 on Windows", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@shard #0 isolated out@blah@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::test_results]\\resources\\upload_gtest_test_results.py", |
| "--input-gtest-json", |
| "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Three\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Two\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}]}], \"swarming_summary\": {\"shards\": [{\"outputs_ref\": {\"view_url\": \"blah\"}}]}}", |
| "--master-name", |
| "chromium.testing.master", |
| "--builder-name", |
| "TestBuilder", |
| "--build-number", |
| "571", |
| "--test-type", |
| "dummy_target_1", |
| "--test-results-server", |
| "test-results-test.appspot.com", |
| "--chrome-revision", |
| "0" |
| ], |
| "name": "Upload to test-results [dummy_target_1]" |
| }, |
| { |
| "allow_subannotations": true, |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", |
| "python", |
| "RECIPE_MODULE[build::swarming]\\resources\\collect_gtest_task.py", |
| "--swarming-client-dir", |
| "[SLAVE_BUILD]\\src\\tools\\swarming_client", |
| "--temp-root-dir", |
| "[TMP_BASE]", |
| "--merged-test-output", |
| "/path/to/tmp/json", |
| "--", |
| "collect", |
| "--swarming", |
| "https://chromium-swarm-dev.appspot.com", |
| "--decorate", |
| "--print-status-updates", |
| "--verbose", |
| "--json", |
| "{\"base_task_name\": \"dummy_target_2/Windows/[dummy has/TestBuilder/571\", \"tasks\": {\"dummy_target_2/Windows/[dummy has/TestBuilder/571:2:0\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10000\"}, \"dummy_target_2/Windows/[dummy has/TestBuilder/571:2:1\": {\"shard_index\": 1, \"task_id\": \"10100\", \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10100\"}}}" |
| ], |
| "name": "dummy_target_2 on Windows", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@shard #0 isolated out@blah@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::test_results]\\resources\\upload_gtest_test_results.py", |
| "--input-gtest-json", |
| "{\"per_iteration_data\": [{\"Test.One\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Three\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}], \"Test.Two\": [{\"elapsed_time_ms\": 0, \"output_snippet\": \"\", \"status\": \"SUCCESS\"}]}], \"swarming_summary\": {\"shards\": [{\"outputs_ref\": {\"view_url\": \"blah\"}}]}}", |
| "--master-name", |
| "chromium.testing.master", |
| "--builder-name", |
| "TestBuilder", |
| "--build-number", |
| "571", |
| "--test-type", |
| "dummy_target_2", |
| "--test-results-server", |
| "test-results-test.appspot.com", |
| "--chrome-revision", |
| "0" |
| ], |
| "name": "Upload to test-results [dummy_target_2]" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |