| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| "--path", |
| "[START_DIR]/swarming.client", |
| "--url", |
| "https://chromium.googlesource.com/infra/luci/client-py.git" |
| ], |
| "name": "git setup (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "retry", |
| "fetch", |
| "origin", |
| "master", |
| "--progress" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "env": { |
| "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" |
| }, |
| "infra_step": true, |
| "name": "git fetch (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "infra_step": true, |
| "name": "git checkout (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "infra_step": true, |
| "name": "read revision", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "infra_step": true, |
| "name": "git clean (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "infra_step": true, |
| "name": "submodule sync (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "infra_step": true, |
| "name": "submodule update (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/swarming.client/swarming.py", |
| "--version" |
| ], |
| "name": "swarming.py --version", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@0.8.6@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/swarming.client/isolate.py", |
| "archive", |
| "--isolate", |
| "[START_DIR]/swarming.client/example/payload/hello_world.isolate", |
| "--isolated", |
| "[CLEANUP]/hello_isolated_world_tmp_1/hello_world.isolated", |
| "--isolate-server", |
| "https://isolateserver-dev.appspot.com", |
| "--config-variable", |
| "OS", |
| "win", |
| "--verbose" |
| ], |
| "name": "archive for win", |
| "stdout": "/path/to/tmp/" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/swarming.client/swarming.py", |
| "trigger", |
| "--swarming", |
| "https://chromium-swarm-dev.appspot.com", |
| "--isolate-server", |
| "https://isolateserver-dev.appspot.com", |
| "--priority", |
| "30", |
| "--shards", |
| "1", |
| "--task-name", |
| "hello_world/Windows-7-SP1/hash_for_w", |
| "--dump-json", |
| "/path/to/tmp/json", |
| "--expiration", |
| "3600", |
| "--io-timeout", |
| "1200", |
| "--hard-timeout", |
| "3600", |
| "--dimension", |
| "cpu", |
| "x86-64", |
| "--dimension", |
| "gpu", |
| "none", |
| "--dimension", |
| "os", |
| "Windows-7-SP1", |
| "--env", |
| "IS_GTEST", |
| "", |
| "--env", |
| "IS_SCRIPTTEST", |
| "True", |
| "--env", |
| "TESTING", |
| "1", |
| "--named-cache", |
| "swarming_module_cache_vpython", |
| ".swarming_module_cache/vpython", |
| "--auth-service-account-json", |
| "/creds/service_accounts/service-account-chromium-builder.json", |
| "--tag", |
| "build_is_experimental:false", |
| "--tag", |
| "data:hash_for_win", |
| "--tag", |
| "master:tryserver", |
| "--tag", |
| "name:hello_world", |
| "--tag", |
| "os:win", |
| "--tag", |
| "stepname:hello_world on Windows-7-SP1", |
| "--verbose", |
| "--user", |
| "joe", |
| "--cipd-package", |
| "bin:super/awesome/pkg:git_revision:deadbeef", |
| "--cipd-package", |
| ".swarming_module:infra/python/cpython/${platform}:TEST_VERSION", |
| "--cipd-package", |
| ".swarming_module:infra/tools/luci/logdog/butler/${platform}:TEST_VERSION", |
| "--cipd-package", |
| ".swarming_module:infra/tools/luci/vpython-native/${platform}:TEST_VERSION", |
| "--cipd-package", |
| ".swarming_module:infra/tools/luci/vpython/${platform}:TEST_VERSION", |
| "--env-prefix", |
| "PATH", |
| ".swarming_module", |
| "--env-prefix", |
| "PATH", |
| ".swarming_module/bin", |
| "--env-prefix", |
| "VPYTHON_VIRTUALENV_ROOT", |
| ".swarming_module_cache/vpython", |
| "--isolated", |
| "hash_for_win", |
| "--", |
| "--isolated-script-test-output=${ISOLATED_OUTDIR}/output.json", |
| "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.json" |
| ], |
| "infra_step": true, |
| "name": "[trigger] hello_world on Windows-7-SP1", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@Run on OS: 'Windows-7-SP1'@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"hello_world/Windows-7-SP1/hash_for_w\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"hello_world/Windows-7-SP1/hash_for_w\": {@@@", |
| "@@@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@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@shard #0@https://chromium-swarm-dev.appspot.com/user/task/10000@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "running something locally" |
| ], |
| "name": "local step" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure swarming" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/swarming_client", |
| "-ensure-file", |
| "infra/tools/luci/swarming/${platform} git_revision:25958d48e89e980e2a97daeddc977fb5e2e1fb8c", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure swarming.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:259\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| "--show-path", |
| "--with-third-party-lib", |
| "--", |
| "python", |
| "RECIPE_MODULE[build::swarming]/resources/collect_task.py", |
| "-o", |
| "/path/to/tmp/json", |
| "--task-output-dir", |
| "[CLEANUP]/hello_isolated_world_tmp_1/task_output_dir", |
| "--merge-script", |
| "RECIPE_MODULE[build::swarming]/resources/standard_isolated_script_merge.py", |
| "--merge-script-stdout-file", |
| "/path/to/tmp/merge_script_log", |
| "--merge-additional-args", |
| "[]", |
| "--use-go-client", |
| "--summary-json-file", |
| "/path/to/tmp/json", |
| "--", |
| "swarming", |
| "collect", |
| "-server", |
| "https://chromium-swarm-dev.appspot.com", |
| "-worker", |
| "50", |
| "-task-summary-python", |
| "-task-output-stdout", |
| "json", |
| "-verbose", |
| "-requests-json", |
| "{\"tasks\": [{\"task_id\": \"10000\"}]}", |
| "-service-account-json", |
| "/creds/service_accounts/service-account-chromium-builder.json" |
| ], |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/swarming_client" |
| ] |
| }, |
| "name": "hello_world on Windows-7-SP1", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@Run on OS: 'Windows-7-SP1'<br>Pending time: 0:01:11@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"interrupted\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"num_failures_by_type\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"FAIL\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"PASS\": 2, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"SKIP\": 1@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path_delimiter\": \".\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"seconds_since_epoch\": 14000000, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tests\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"test1\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Test1\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"actual\": \"PASS\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"expected\": \"PASS\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Test2\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"actual\": \"TIMEOUT\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"expected\": \"PASS TIMEOUT\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Test3\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"actual\": \"SKIP\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"expected\": \"SKIP\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"test_common\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Test1\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"actual\": \"FAIL FAIL PASS\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"expected\": \"PASS\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"version\": 3@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@{@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"shards\": [@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ {@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"abandoned_ts\": \"2014-09-25T01:41:00.123\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"bot_id\": \"vm30\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"completed_ts\": null, @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"duration\": 60, @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"exit_code\": \"1\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"failure\": false, @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"id\": \"148aa78d7aa0100\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"internal_failure\": false, @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"outputs\": [], @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"outputs_ref\": null, @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"state\": \"COMPLETED\", @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"try_number\": null, @@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ \"user\": \"unknown\"@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ }@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@ ]@@@", |
| "@@@STEP_LOG_LINE@swarming.summary@}@@@", |
| "@@@STEP_LOG_END@swarming.summary@@@", |
| "@@@STEP_LOG_LINE@Merge script log@Merged succesfully@@@", |
| "@@@STEP_LOG_END@Merge script log@@@", |
| "@@@STEP_LOG_LINE@outdir_json@{@@@", |
| "@@@STEP_LOG_LINE@outdir_json@ \"summary.json\": \"{\\\"shards\\\": [{\\\"try_number\\\": null, \\\"created_ts\\\": \\\"2014-09-25T01:41:00.123\\\", \\\"name\\\": \\\"heartbeat-canary-2014-09-25_01:41:55-os=Windows\\\", \\\"internal_failure\\\": false, \\\"outputs\\\": [], \\\"outputs_ref\\\": null, \\\"exit_code\\\": \\\"1\\\", \\\"id\\\": \\\"148aa78d7aa0100\\\", \\\"abandoned_ts\\\": \\\"2014-09-25T01:41:00.123\\\", \\\"failure\\\": false, \\\"state\\\": \\\"COMPLETED\\\", \\\"modified_ts\\\": \\\"2014-09-25 01:42:00\\\", \\\"user\\\": \\\"unknown\\\", \\\"duration\\\": 60, \\\"started_ts\\\": \\\"2014-09-25T01:42:11.123\\\", \\\"completed_ts\\\": null, \\\"bot_id\\\": \\\"vm30\\\"}]}\"@@@", |
| "@@@STEP_LOG_LINE@outdir_json@}@@@", |
| "@@@STEP_LOG_END@outdir_json@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": { |
| "step": "There are failed tasks." |
| }, |
| "humanReason": "Step('There are failed tasks.') failed with return_code 0" |
| }, |
| "name": "$result" |
| } |
| ] |