diff options
Diffstat (limited to 'infra/bots/recipes/swarm_trigger.expected')
29 files changed, 0 insertions, 20371 deletions
diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-Arm64-Release-Android.json b/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-Arm64-Release-Android.json deleted file mode 100644 index d1c8892add..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-Arm64-Release-Android.json +++ /dev/null @@ -1,476 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Mac-Clang-Arm64-Release-Android\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/android_ndk_darwin/VERSION", - "/path/to/tmp/" - ], - "name": "read android_ndk_darwin VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Mac/[dummy has/Build-Mac-Clang-Arm64-Release-Android/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Mac", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Mac-Clang-Arm64-Release-Android", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Mac", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Mac", - "--idempotent", - "--cipd-package", - "android_ndk_darwin:skia/bots/android_ndk_darwin:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Mac-Clang-Arm64-Release-Android", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Mac/[dummy has/Build-Mac-Clang-Arm64-Release-Android/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Mac/[dummy has/Build-Mac-Clang-Arm64-Release-Android/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Mac/[dummy has/Build-Mac-Clang-Arm64-Release-Android/5\", \"tasks\": {\"compile_skia/Mac/[dummy has/Build-Mac-Clang-Arm64-Release-Android/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json deleted file mode 100644 index f8ad500ec2..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json +++ /dev/null @@ -1,464 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Mac-Clang-x86_64-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Mac/[dummy has/Build-Mac-Clang-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Mac", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Mac-Clang-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Mac", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Mac", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Mac-Clang-x86_64-Release", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Mac/[dummy has/Build-Mac-Clang-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Mac/[dummy has/Build-Mac-Clang-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Mac/[dummy has/Build-Mac-Clang-x86_64-Release/5\", \"tasks\": {\"compile_skia/Mac/[dummy has/Build-Mac-Clang-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json deleted file mode 100644 index 05838dc8d6..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json +++ /dev/null @@ -1,476 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/android_ndk_linux/VERSION", - "/path/to/tmp/" - ], - "name": "read android_ndk_linux VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "--cipd-package", - "android_ndk_linux:skia/bots/android_ndk_linux:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug-GN.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug-GN.json deleted file mode 100644 index e94140f04a..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug-GN.json +++ /dev/null @@ -1,464 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Ubuntu-GCC-x86_64-Debug-GN\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-GN/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Ubuntu-GCC-x86_64-Debug-GN", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Debug-GN", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-GN/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-GN/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-GN/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-GN/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json deleted file mode 100644 index 609167cdb2..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json +++ /dev/null @@ -1,464 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Ubuntu-GCC-x86_64-Debug\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Ubuntu-GCC-x86_64-Debug", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Debug", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json deleted file mode 100644 index 360ed5d1c2..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json +++ /dev/null @@ -1,464 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Ubuntu-GCC-x86_64-Release-RemoteRun\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-RemoteRun/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Ubuntu-GCC-x86_64-Release-RemoteRun", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Release-RemoteRun", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-RemoteRun/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-RemoteRun/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-RemoteRun/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-RemoteRun/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json deleted file mode 100644 index b4a720fbb4..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json +++ /dev/null @@ -1,469 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Ubuntu-GCC-x86_64-Release-Trybot\", \"buildnumber\": 5, \"issue\": 500, \"mastername\": \"client.skia\", \"patchset\": 1, \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"rietveld\": \"https://codereview.chromium.org\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Ubuntu-GCC-x86_64-Release-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "rietveld:https://codereview.chromium.org/500/#ps1", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "rietveld=https://codereview.chromium.org", - "buildername=Build-Ubuntu-GCC-x86_64-Release-Trybot", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patchset=1", - "issue=500", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-Trybot/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Release-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json b/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json deleted file mode 100644 index 186045a475..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json +++ /dev/null @@ -1,488 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Win-MSVC-x86_64-Release-Vulkan\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/win_toolchain/VERSION", - "/path/to/tmp/" - ], - "name": "read win_toolchain VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/win_vulkan_sdk/VERSION", - "/path/to/tmp/" - ], - "name": "read win_vulkan_sdk VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Windows\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Windows", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Win-MSVC-x86_64-Release-Vulkan", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Windows", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Windows", - "--idempotent", - "--cipd-package", - "t:skia/bots/win_toolchain:version:0", - "--cipd-package", - "win_vulkan_sdk:skia/bots/win_vulkan_sdk:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Win-MSVC-x86_64-Release-Vulkan", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5\", \"tasks\": {\"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json deleted file mode 100644 index 60338d4428..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json +++ /dev/null @@ -1,476 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Build-Win-MSVC-x86_64-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/win_toolchain/VERSION", - "/path/to/tmp/" - ], - "name": "read win_toolchain VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Windows\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Windows", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Build-Win-MSVC-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Windows", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Windows", - "--idempotent", - "--cipd-package", - "t:skia/bots/win_toolchain:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Win-MSVC-x86_64-Release", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release/5\", \"tasks\": {\"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json deleted file mode 100644 index 7583270956..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Housekeeper-Nightly-RecreateSKPs_Canary\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-RecreateSKPs_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/RecreateSKPs_skia.isolated.gen.json" - ], - "name": "Write RecreateSKPs_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/RecreateSKPs_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"RecreateSKPs_skia\": \"[dummy hash for RecreateSKPs_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"RecreateSKPs_skia\": \"[dummy hash for RecreateSKPs_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "RecreateSKPs_skia/Ubuntu/[dummy has/Housekeeper-Nightly-RecreateSKPs_Canary/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Housekeeper-Nightly-RecreateSKPs_Canary", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for RecreateSKPs_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:RecreateSKPs_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:RecreateSKPs_skia on Ubuntu", - "[dummy hash for RecreateSKPs_skia]", - "--", - "--workdir", - "../../..", - "swarm_RecreateSKPs", - "buildername=Housekeeper-Nightly-RecreateSKPs_Canary", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] RecreateSKPs_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"RecreateSKPs_skia/Ubuntu/[dummy has/Housekeeper-Nightly-RecreateSKPs_Canary/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"RecreateSKPs_skia/Ubuntu/[dummy has/Housekeeper-Nightly-RecreateSKPs_Canary/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"RecreateSKPs_skia/Ubuntu/[dummy has/Housekeeper-Nightly-RecreateSKPs_Canary/5\", \"tasks\": {\"RecreateSKPs_skia/Ubuntu/[dummy has/Housekeeper-Nightly-RecreateSKPs_Canary/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "RecreateSKPs_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit-Presubmit.json b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit-Presubmit.json deleted file mode 100644 index 34a2623e35..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit-Presubmit.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Housekeeper-PerCommit-Presubmit\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/presubmit_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-presubmit_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/presubmit_skia.isolated.gen.json" - ], - "name": "Write presubmit_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/presubmit_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"presubmit_skia\": \"[dummy hash for presubmit_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"presubmit_skia\": \"[dummy hash for presubmit_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCommit-Presubmit/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Housekeeper-PerCommit-Presubmit", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for presubmit_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:presubmit_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:presubmit_skia on Ubuntu", - "[dummy hash for presubmit_skia]", - "--", - "--workdir", - "../../..", - "swarm_presubmit", - "buildername=Housekeeper-PerCommit-Presubmit", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] presubmit_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCommit-Presubmit/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCommit-Presubmit/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCommit-Presubmit/5\", \"tasks\": {\"presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCommit-Presubmit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "presubmit_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json deleted file mode 100644 index cbe553b9a2..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json +++ /dev/null @@ -1,711 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Housekeeper-PerCommit\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Housekeeper-PerCommit", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Release-Shared", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/go/VERSION", - "/path/to/tmp/" - ], - "name": "read go VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/housekeeper_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-housekeeper_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/housekeeper_skia.isolated.gen.json" - ], - "name": "Write housekeeper_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/housekeeper_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"housekeeper_skia\": \"[dummy hash for housekeeper_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"housekeeper_skia\": \"[dummy hash for housekeeper_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-housekeeper_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-housekeeper_skia.isolated" - ], - "name": "upload new .isolated file for housekeeper_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Housekeeper-PerCommit", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:housekeeper_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:housekeeper_skia on Ubuntu", - "--cipd-package", - "go:skia/bots/go:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_housekeeper", - "buildername=Housekeeper-PerCommit", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] housekeeper_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5\", \"tasks\": {\"housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "housekeeper_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json b/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json deleted file mode 100644 index de0540023f..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Infra-PerCommit\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/infra_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-infra_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/infra_skia.isolated.gen.json" - ], - "name": "Write infra_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/infra_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"infra_skia\": \"[dummy hash for infra_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"infra_skia\": \"[dummy hash for infra_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Infra-PerCommit", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for infra_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:infra_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:infra_skia on Ubuntu", - "[dummy hash for infra_skia]", - "--", - "--workdir", - "../../..", - "swarm_infra", - "buildername=Infra-PerCommit", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] infra_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5\", \"tasks\": {\"infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "infra_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json deleted file mode 100644 index baf03f3028..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json +++ /dev/null @@ -1,992 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot\", \"buildnumber\": 5, \"issue\": 500, \"mastername\": \"client.skia\", \"patchset\": 1, \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"rietveld\": \"https://codereview.chromium.org\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "rietveld:https://codereview.chromium.org/500/#ps1", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "rietveld=https://codereview.chromium.org", - "buildername=Build-Ubuntu-GCC-x86_64-Release-Trybot", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patchset=1", - "issue=500", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/perf_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-perf_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/perf_skia.isolated.gen.json" - ], - "name": "Write perf_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/perf_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-perf_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-perf_skia.isolated" - ], - "name": "upload new .isolated file for perf_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:perf_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "rietveld:https://codereview.chromium.org/500/#ps1", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:perf_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_perf", - "rietveld=https://codereview.chromium.org", - "buildername=Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patchset=1", - "issue=500", - "revision=abc123" - ], - "name": "[trigger] perf_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\", \"tasks\": {\"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "perf_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_nano_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_nano_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_nano_results_skia.isolated.gen.json" - ], - "name": "Write upload_nano_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_nano_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_nano_results_skia\": \"[dummy hash for upload_nano_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_nano_results_skia\": \"[dummy hash for upload_nano_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_nano_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_nano_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_nano_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_nano_results_skia/Linux/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_nano_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "rietveld:https://codereview.chromium.org/500/#ps1", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_nano_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_nano_results", - "rietveld=https://codereview.chromium.org", - "buildername=Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patchset=1", - "issue=500", - "revision=abc123" - ], - "name": "[trigger] upload_nano_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_nano_results_skia/Linux/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_nano_results_skia/Linux/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_nano_results_skia/Linux/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\", \"tasks\": {\"upload_nano_results_skia/Linux/def456/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_nano_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json deleted file mode 100644 index 8342a53945..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json +++ /dev/null @@ -1,460 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/ct_skps_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-ct_skps_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/ct_skps_skia.isolated.gen.json" - ], - "name": "Write ct_skps_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/ct_skps_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"ct_skps_skia\": \"[dummy hash for ct_skps_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"ct_skps_skia\": \"[dummy hash for ct_skps_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "ct_skps_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "3600", - "--hard-timeout", - "86400", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "SkiaCT", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for ct_skps_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:ct_skps_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:ct_skps_skia on Ubuntu", - "[dummy hash for ct_skps_skia]", - "--", - "--workdir", - "../../..", - "swarm_ct_skps", - "buildername=Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] ct_skps_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct_skps_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"ct_skps_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"ct_skps_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/5\", \"tasks\": {\"ct_skps_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "ct_skps_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json deleted file mode 100644 index fd52755ec6..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json +++ /dev/null @@ -1,735 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Release-Valgrind", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/perf_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-perf_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/perf_skia.isolated.gen.json" - ], - "name": "Write perf_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/perf_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-perf_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-perf_skia.isolated" - ], - "name": "upload new .isolated file for perf_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "172800", - "--io-timeout", - "3600", - "--hard-timeout", - "32400", - "--dimension", - "gpu", - "10de:1244", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:perf_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:perf_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_perf", - "buildername=Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] perf_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", \"tasks\": {\"perf_skia/Ubuntu/def456/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "perf_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android.json b/infra/bots/recipes/swarm_trigger.expected/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android.json deleted file mode 100644 index 0002bfc3f1..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android.json +++ /dev/null @@ -1,989 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/android_ndk_linux/VERSION", - "/path/to/tmp/" - ], - "name": "read android_ndk_linux VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "--cipd-package", - "android_ndk_linux:skia/bots/android_ndk_linux:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-Clang-arm-Debug-GN_Android", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Android\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Android/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "device_os", - "MOB30Q", - "--dimension", - "device_type", - "sprout", - "--dimension", - "os", - "Android", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Android", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Android", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Android", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Android/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Android/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Android/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\", \"tasks\": {\"test_skia/Android/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Android", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json b/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json deleted file mode 100644 index 8c4a849339..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json +++ /dev/null @@ -1,989 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/android_ndk_linux/VERSION", - "/path/to/tmp/" - ], - "name": "read android_ndk_linux VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "--cipd-package", - "android_ndk_linux:skia/bots/android_ndk_linux:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Android\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "device_os", - "MRA58K", - "--dimension", - "device_type", - "foster", - "--dimension", - "os", - "Android", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Android", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Android", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Android", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", \"tasks\": {\"test_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Android", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json deleted file mode 100644 index bb6370f645..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json +++ /dev/null @@ -1,989 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/android_ndk_linux/VERSION", - "/path/to/tmp/" - ], - "name": "read android_ndk_linux VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "--cipd-package", - "android_ndk_linux:skia/bots/android_ndk_linux:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-Arm7-Release-Android", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Android\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Android/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "device_os", - "M", - "--dimension", - "device_type", - "flo", - "--dimension", - "os", - "Android", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Android", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Android", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Android", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Android/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Android/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Android/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", \"tasks\": {\"test_skia/Android/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Android", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json deleted file mode 100644 index dd04941387..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json +++ /dev/null @@ -1,977 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Mac", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Mac", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Mac", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Mac-Clang-x86_64-Release", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", \"tasks\": {\"compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Mac", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Mac", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Mac", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Mac", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", \"tasks\": {\"test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Mac", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json deleted file mode 100644 index 88dd0317b5..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json +++ /dev/null @@ -1,507 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot\", \"buildnumber\": 5, \"issue\": 500, \"mastername\": \"client.skia\", \"patchset\": 1, \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"rietveld\": \"https://codereview.chromium.org\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/coverage_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for test_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "rietveld:https://codereview.chromium.org/500/#ps1", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "[dummy hash for test_skia]", - "--", - "--workdir", - "../../..", - "swarm_test", - "rietveld=https://codereview.chromium.org", - "buildername=Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patchset=1", - "issue=500", - "revision=abc123" - ], - "name": "[trigger] test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\", \"tasks\": {\"test_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN.json deleted file mode 100644 index 5464d4f34b..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN.json +++ /dev/null @@ -1,762 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/clang_linux/VERSION", - "/path/to/tmp/" - ], - "name": "read clang_linux VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "--cipd-package", - "clang_linux:skia/bots/clang_linux:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-Clang-x86_64-Debug-MSAN", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/clang_linux/VERSION", - "/path/to/tmp/" - ], - "name": "read clang_linux VERSION (2)" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "32400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "--cipd-package", - "clang_linux:skia/bots/clang_linux:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\", \"tasks\": {\"test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json deleted file mode 100644 index f67dd899b7..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json +++ /dev/null @@ -1,977 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Debug", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", \"tasks\": {\"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json deleted file mode 100644 index 21fafd3c42..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json +++ /dev/null @@ -1,977 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Release-Shared", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\", \"tasks\": {\"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json deleted file mode 100644 index 19d33e1042..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json +++ /dev/null @@ -1,735 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Ubuntu-GCC-x86_64-Release-Valgrind", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Ubuntu/def456/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "172800", - "--io-timeout", - "3600", - "--hard-timeout", - "32400", - "--dimension", - "gpu", - "10de:1244", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\", \"tasks\": {\"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json deleted file mode 100644 index 96c95276e6..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json +++ /dev/null @@ -1,986 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/win_toolchain/VERSION", - "/path/to/tmp/" - ], - "name": "read win_toolchain VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Windows\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Windows", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Windows", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Windows", - "--idempotent", - "--cipd-package", - "t:skia/bots/win_toolchain:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Win-MSVC-x86_64-Release", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\", \"tasks\": {\"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Windows\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Windows/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "1002:683d", - "--dimension", - "os", - "Windows", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Windows", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Windows", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Windows", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Windows/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Windows/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Windows/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\", \"tasks\": {\"test_skia/Windows/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Windows", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json deleted file mode 100644 index 3aeb0280d7..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json +++ /dev/null @@ -1,989 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/win_toolchain/VERSION", - "/path/to/tmp/" - ], - "name": "read win_toolchain VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Windows\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Windows", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Windows", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Windows", - "--idempotent", - "--cipd-package", - "t:skia/bots/win_toolchain:version:0", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Win-MSVC-x86_64-Release", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", \"tasks\": {\"compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Windows", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Windows-2008ServerR2-SP1\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Windows-2008ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Windows-2008ServerR2-SP1", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Windows-2008ServerR2-SP1", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Windows-2008ServerR2-SP1", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on Windows-2008ServerR2-SP1", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Windows-2008ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Windows-2008ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Windows-2008ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", \"tasks\": {\"test_skia/Windows-2008ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Windows-2008ServerR2-SP1", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json deleted file mode 100644 index 30f64adcba..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json +++ /dev/null @@ -1,974 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Mac", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Mac", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Mac", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "buildername=Build-Mac-Clang-Arm7-Release-iOS", - "mastername=client.skia.compile", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", \"tasks\": {\"compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Mac", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"iOS-9.3.1\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/iOS-9.3.1/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "device", - "iPad5,1", - "--dimension", - "os", - "iOS-9.3.1", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:iOS-9.3.1", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on iOS-9.3.1", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "buildername=Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] test_skia on iOS-9.3.1", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/iOS-9.3.1/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/iOS-9.3.1/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/iOS-9.3.1/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", \"tasks\": {\"test_skia/iOS-9.3.1/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on iOS-9.3.1", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "buildername=Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", - "mastername=client.skia", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file diff --git a/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json b/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json deleted file mode 100644 index cbb1cc6ad1..0000000000 --- a/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json +++ /dev/null @@ -1,992 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = json.load(f)\n\nprint json.dumps(content, indent=2)\n", - "{\"buildername\": \"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot\", \"buildnumber\": 5, \"mastername\": \"client.skia\", \"patch_issue\": \"2100\", \"patch_ref\": \"refs/changes/00/2100/2\", \"patch_set\": \"2\", \"patch_storage\": \"gerrit\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"repository\": \"skia\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" - ], - "name": "print properties", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/skia", - "name": "git rev-parse", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-c", - "\"print 'abc123'\"" - ], - "name": "got_revision", - "~followup_annotations": [ - "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "", - "[START_DIR]/.gclient" - ], - "name": "write .gclient" - }, - { - "cmd": [ - "python", - "-u", - "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)\n" - ], - "cwd": "[START_DIR]/skia", - "name": "fix filemodes", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import os@@@", - "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@@", - "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", - "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", - "@@@STEP_LOG_LINE@python.inline@ else:@@@", - "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", - "--path", - "[START_DIR]/swarming.client", - "--url", - "https://chromium.googlesource.com/external/swarming.client.git" - ], - "name": "git setup (swarming_client)" - }, - { - "cmd": [ - "git", - "retry", - "fetch", - "origin", - "master" - ], - "cwd": "[START_DIR]/swarming.client", - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "git fetch (swarming_client)" - }, - { - "cmd": [ - "git", - "checkout", - "-f", - "FETCH_HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "git checkout (swarming_client)" - }, - { - "cmd": [ - "git", - "rev-parse", - "HEAD" - ], - "cwd": "[START_DIR]/swarming.client", - "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", - "name": "git clean (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "sync" - ], - "cwd": "[START_DIR]/swarming.client", - "name": "submodule sync (swarming_client)" - }, - { - "cmd": [ - "git", - "submodule", - "update", - "--init", - "--recursive" - ], - "cwd": "[START_DIR]/swarming.client", - "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": [ - "download_from_google_storage", - "--no_resume", - "--platform=linux*", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/linux64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go linux" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=darwin", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/mac64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go mac" - }, - { - "cmd": [ - "download_from_google_storage", - "--no_resume", - "--platform=win32", - "--no_auth", - "--bucket", - "chromium-luci", - "-d", - "[START_DIR]/skia/infra/bots/tools/luci-go/win64" - ], - "env": { - "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" - }, - "name": "download luci-go win" - }, - { - "cmd": [ - "python", - "-u", - "\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.RemoveDirectory(sys.argv[1])\n", - "[START_DIR]/luci-go" - ], - "env": { - "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" - }, - "name": "rmtree luci-go", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", - "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", - "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n", - "[START_DIR]/skia/infra/bots/tools/luci-go", - "[START_DIR]/luci-go", - "0" - ], - "name": "Copy Go binary" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", - "--", - "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", - "----", - "help" - ], - "name": "gsutil help" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "Write compile_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/compile_skia.isolated.gen.json" - ], - "name": "isolate tests", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compile_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for compile_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:[dummy hash for compile_skia]", - "--tag", - "master:client.skia", - "--tag", - "name:compile_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:compile_skia on Ubuntu", - "--idempotent", - "[dummy hash for compile_skia]", - "--", - "--workdir", - "../../..", - "swarm_compile", - "patch_set=2", - "repository=skia", - "buildername=Build-Ubuntu-GCC-x86_64-Debug-Trybot", - "mastername=client.skia.compile", - "patch_storage=gerrit", - "patch_ref=refs/changes/00/2100/2", - "buildnumber=1", - "slavename=skiabot-dummy-compile-slave", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patch_issue=2100", - "revision=abc123" - ], - "name": "[trigger] compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "compile_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skp/VERSION", - "/path/to/tmp/" - ], - "name": "read skp VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", - "/path/to/tmp/" - ], - "name": "read skimage VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[START_DIR]/skia/infra/bots/assets/svg/VERSION", - "/path/to/tmp/" - ], - "name": "read svg VERSION" - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "Write test_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/test_skia.isolated.gen.json" - ], - "name": "isolate tests (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated", - "abc123" - ], - "name": "add_isolated_input", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-test_skia.isolated" - ], - "name": "upload new .isolated file for test_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Ubuntu", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:test_skia", - "--tag", - "os:Ubuntu", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:test_skia on Ubuntu", - "--cipd-package", - "skp:skia/bots/skp:version:0", - "--cipd-package", - "skimage:skia/bots/skimage:version:0", - "--cipd-package", - "svg:skia/bots/svg:version:0", - "def456", - "--", - "--workdir", - "../../..", - "swarm_test", - "patch_set=2", - "repository=skia", - "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot", - "mastername=client.skia", - "patch_storage=gerrit", - "patch_ref=refs/changes/00/2100/2", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patch_issue=2100", - "revision=abc123" - ], - "name": "[trigger] test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\", \"tasks\": {\"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "test_skia on Ubuntu", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\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", - "[START_DIR]/swarming_temp_dir", - "511" - ], - "name": "makedirs swarming tmp dir (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", - "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", - "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", - "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", - "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", - "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", - "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "{\n \"args\": [\n \"--isolate\", \n \"[START_DIR]/skia/infra/bots/upload_dm_results.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[START_DIR]\"\n ], \n \"dir\": \"[START_DIR]\", \n \"version\": 1\n}", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "Write upload_dm_results_skia.isolated.gen.json" - }, - { - "cmd": [ - "python", - "-u", - "RECIPE_MODULE[build::isolate]/resources/isolate.py", - "[START_DIR]/swarming.client", - "batcharchive", - "--dump-json", - "/path/to/tmp/json", - "--isolate-server", - "https://isolateserver.appspot.com", - "--verbose", - "[START_DIR]/swarming_temp_dir/upload_dm_results_skia.isolated.gen.json" - ], - "name": "isolate tests (3)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"upload_dm_results_skia\": \"[dummy hash for upload_dm_results_skia]\"}@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated", - "abc123" - ], - "name": "add_isolated_input (2)", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@import json@@@", - "@@@STEP_LOG_LINE@python.inline@import sys@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", - "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", - "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", - "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", - "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", - "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/isolateserver.py", - "archive", - "--isolate-server", - "https://isolateserver.appspot.com", - "[START_DIR]/swarming_temp_dir/skia-task-upload_dm_results_skia.isolated" - ], - "name": "upload new .isolated file for upload_dm_results_skia", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "trigger", - "--swarming", - "https://chromium-swarm.appspot.com", - "--isolate-server", - "https://isolateserver.appspot.com", - "--priority", - "90", - "--shards", - "1", - "--task-name", - "upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5", - "--dump-json", - "/path/to/tmp/json", - "--expiration", - "72000", - "--io-timeout", - "2400", - "--hard-timeout", - "14400", - "--dimension", - "cpu", - "x86-64-avx2", - "--dimension", - "gpu", - "none", - "--dimension", - "os", - "Linux", - "--dimension", - "pool", - "Skia", - "--tag", - "allow_milo:1", - "--tag", - "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot", - "--tag", - "buildnumber:5", - "--tag", - "data:def456", - "--tag", - "master:client.skia", - "--tag", - "name:upload_dm_results_skia", - "--tag", - "os:Linux", - "--tag", - "revision:abc123", - "--tag", - "slavename:skiabot-linux-swarm-000", - "--tag", - "stepname:upload_dm_results_skia on Linux", - "--idempotent", - "def456", - "--", - "--workdir", - "../../..", - "upload_dm_results", - "patch_set=2", - "repository=skia", - "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot", - "mastername=client.skia", - "patch_storage=gerrit", - "patch_ref=refs/changes/00/2100/2", - "buildnumber=5", - "slavename=skiabot-linux-swarm-000", - "reason=Triggered by Skia swarm_trigger Recipe", - "swarm_out_dir=${ISOLATED_OUTDIR}", - "patch_issue=2100", - "revision=abc123" - ], - "name": "[trigger] upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\": {@@@", - "@@@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.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.appspot.com/user/task/10000@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@" - ] - }, - { - "cmd": [ - "python", - "-u", - "[START_DIR]/swarming.client/swarming.py", - "collect", - "--swarming", - "https://chromium-swarm.appspot.com", - "--decorate", - "--print-status-updates", - "--json", - "{\"base_task_name\": \"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\", \"tasks\": {\"upload_dm_results_skia/Linux/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", - "--task-summary-json", - "/path/to/tmp/json" - ], - "name": "upload_dm_results_skia on Linux", - "~followup_annotations": [ - "@@@STEP_TEXT@swarming pending 71s@@@", - "@@@STEP_LOG_LINE@json.output@{@@@", - "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", - "@@@STEP_LOG_LINE@json.output@ {@@@", - "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", - "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", - "@@@STEP_LOG_LINE@json.output@ 31.5@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", - "@@@STEP_LOG_LINE@json.output@ 0, @@@", - "@@@STEP_LOG_LINE@json.output@ 0@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", - "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", - "@@@STEP_LOG_LINE@json.output@ }, @@@", - "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", - "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", - "@@@STEP_LOG_LINE@json.output@ ], @@@", - "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@", - "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", - "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", - "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", - "@@@STEP_LOG_LINE@json.output@ }@@@", - "@@@STEP_LOG_LINE@json.output@ ]@@@", - "@@@STEP_LOG_LINE@json.output@}@@@", - "@@@STEP_LOG_END@json.output@@@", - "@@@STEP_LINK@shard #0 isolated out@blah@@@", - "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@" - ] - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -]
\ No newline at end of file |