blob: 5a02652b933eef482a6e535f4ae61a374dd1e8a3 [file] [log] [blame]
[
{
"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",
"[TMP_BASE]/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",
"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",
"--idempotent",
"--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",
"--",
"--test-launcher-summary-output=${ISOLATED_OUTDIR}/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"
},
{
"allow_subannotations": true,
"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",
"[TMP_BASE]/hello_isolated_world_tmp_1/task_output_dir",
"--merge-script",
"RECIPE_MODULE[build::swarming]/resources/standard_gtest_merge.py",
"--merge-script-stdout-file",
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
"--summary-json-file",
"/path/to/tmp/json",
"--",
"[START_DIR]/swarming.client/tools/luci-go/swarming",
"collect",
"-server",
"https://chromium-swarm-dev.appspot.com",
"-worker",
"100",
"-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"
],
"name": "hello_world on Windows-7-SP1",
"~followup_annotations": [
"step returned non-zero exit code: 1",
"@@@STEP_TEXT@Run on OS: 'Windows-7-SP1'<br>Pending time: 0:01:11<br>Shard duration: 0:01:00<br/>failures:<br/>test-39<br/>test-38<br/>test-37<br/>test-36<br/>test-35<br/>test-34<br/>test-33<br/>test-32<br/>test-31<br/>test-30<br/>test-28<br/>test-29<br/>test-24<br/>test-25<br/>test-26<br/>test-27<br/>test-20<br/>test-21<br/>test-22<br/>test-23<br/>test-19<br/>test-18<br/>test-11<br/>test-10<br/>test-13<br/>test-12<br/>test-15<br/>test-14<br/>test-17<br/>test-16<br/>... 70 more (100 total) ...<br/>@@@",
"@@@STEP_LOG_LINE@swarming.summary@{@@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"shards\": [@@@",
"@@@STEP_LOG_LINE@swarming.summary@ {@@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"abandoned_ts\": null, @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"bot_id\": \"vm30\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"completed_ts\": \"2014-09-25T01:43:11.123\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"duration\": 31.5, @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"exit_code\": \"0\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"failure\": false, @@@",
"@@@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@ \"output\": \"Heart beat succeeded on win32.\\nFoo\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"outputs_ref\": {@@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"isolated\": \"abc123\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
"@@@STEP_LOG_LINE@swarming.summary@ \"namespace\": \"default-gzip\"@@@",
"@@@STEP_LOG_LINE@swarming.summary@ }, @@@",
"@@@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@ \"task_id\": \"148aa78d7aa0000\"@@@",
"@@@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@Gtest merged successfully@@@",
"@@@STEP_LOG_END@Merge script log@@@",
"@@@STEP_LOG_LINE@test-39@:(@@@",
"@@@STEP_LOG_END@test-39@@@",
"@@@STEP_LOG_LINE@test-38@:(@@@",
"@@@STEP_LOG_END@test-38@@@",
"@@@STEP_LOG_LINE@test-37@:(@@@",
"@@@STEP_LOG_END@test-37@@@",
"@@@STEP_LOG_LINE@test-36@:(@@@",
"@@@STEP_LOG_END@test-36@@@",
"@@@STEP_LOG_LINE@test-35@:(@@@",
"@@@STEP_LOG_END@test-35@@@",
"@@@STEP_LOG_LINE@test-34@:(@@@",
"@@@STEP_LOG_END@test-34@@@",
"@@@STEP_LOG_LINE@test-33@:(@@@",
"@@@STEP_LOG_END@test-33@@@",
"@@@STEP_LOG_LINE@test-32@:(@@@",
"@@@STEP_LOG_END@test-32@@@",
"@@@STEP_LOG_LINE@test-31@:(@@@",
"@@@STEP_LOG_END@test-31@@@",
"@@@STEP_LOG_LINE@test-30@:(@@@",
"@@@STEP_LOG_END@test-30@@@",
"@@@STEP_LOG_LINE@test-28@:(@@@",
"@@@STEP_LOG_END@test-28@@@",
"@@@STEP_LOG_LINE@test-29@:(@@@",
"@@@STEP_LOG_END@test-29@@@",
"@@@STEP_LOG_LINE@test-24@:(@@@",
"@@@STEP_LOG_END@test-24@@@",
"@@@STEP_LOG_LINE@test-25@:(@@@",
"@@@STEP_LOG_END@test-25@@@",
"@@@STEP_LOG_LINE@test-26@:(@@@",
"@@@STEP_LOG_END@test-26@@@",
"@@@STEP_LOG_LINE@test-27@:(@@@",
"@@@STEP_LOG_END@test-27@@@",
"@@@STEP_LOG_LINE@test-20@:(@@@",
"@@@STEP_LOG_END@test-20@@@",
"@@@STEP_LOG_LINE@test-21@:(@@@",
"@@@STEP_LOG_END@test-21@@@",
"@@@STEP_LOG_LINE@test-22@:(@@@",
"@@@STEP_LOG_END@test-22@@@",
"@@@STEP_LOG_LINE@test-23@:(@@@",
"@@@STEP_LOG_END@test-23@@@",
"@@@STEP_LOG_LINE@test-19@:(@@@",
"@@@STEP_LOG_END@test-19@@@",
"@@@STEP_LOG_LINE@test-18@:(@@@",
"@@@STEP_LOG_END@test-18@@@",
"@@@STEP_LOG_LINE@test-11@:(@@@",
"@@@STEP_LOG_END@test-11@@@",
"@@@STEP_LOG_LINE@test-10@:(@@@",
"@@@STEP_LOG_END@test-10@@@",
"@@@STEP_LOG_LINE@test-13@:(@@@",
"@@@STEP_LOG_END@test-13@@@",
"@@@STEP_LOG_LINE@test-12@:(@@@",
"@@@STEP_LOG_END@test-12@@@",
"@@@STEP_LOG_LINE@test-15@:(@@@",
"@@@STEP_LOG_END@test-15@@@",
"@@@STEP_LOG_LINE@test-14@:(@@@",
"@@@STEP_LOG_END@test-14@@@",
"@@@STEP_LOG_LINE@test-17@:(@@@",
"@@@STEP_LOG_END@test-17@@@",
"@@@STEP_LOG_LINE@test-16@:(@@@",
"@@@STEP_LOG_END@test-16@@@",
"@@@STEP_LINK@shard #0 isolated out@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"failure": {
"failure": {
"step": "hello_world on Windows-7-SP1"
},
"humanReason": "Step('hello_world on Windows-7-SP1') failed with return_code 1"
},
"name": "$result"
}
]