aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots')
-rw-r--r--infra/bots/recipe_modules/builder_name_schema/api.py4
-rw-r--r--infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py5
-rw-r--r--infra/bots/recipe_modules/swarming/api.py80
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-Arm64-Release-Android.json476
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json464
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json476
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug-GN.json464
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json464
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json464
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json469
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json488
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json476
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json463
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit-Presubmit.json463
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json711
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json463
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json992
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs.json460
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json735
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android.json989
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json989
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json989
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json977
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json507
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN.json762
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json977
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json977
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json735
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json986
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json989
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json974
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json992
-rw-r--r--infra/bots/recipes/swarm_trigger.py777
-rw-r--r--infra/bots/recipes/swarmbucket_wrapper.expected/trigger_recipe.json112
-rw-r--r--infra/bots/recipes/swarmbucket_wrapper.py119
35 files changed, 7 insertions, 21461 deletions
diff --git a/infra/bots/recipe_modules/builder_name_schema/api.py b/infra/bots/recipe_modules/builder_name_schema/api.py
index 09228aa4b7..edfd683140 100644
--- a/infra/bots/recipe_modules/builder_name_schema/api.py
+++ b/infra/bots/recipe_modules/builder_name_schema/api.py
@@ -29,10 +29,10 @@ class BuilderNameSchemaApi(recipe_api.RecipeApi):
self.TRYBOT_NAME_SUFFIX = builder_name_schema.TRYBOT_NAME_SUFFIX
- def MakeBuilderName(self, *args, **kwargs):
+ def MakeBuilderName(self, *args, **kwargs): # pragma: no cover
return builder_name_schema.MakeBuilderName(*args, **kwargs)
- def IsTrybot(self, *args, **kwargs):
+ def IsTrybot(self, *args, **kwargs): # pragma: no cover
return builder_name_schema.IsTrybot(*args, **kwargs)
def DictForBuilderName(self, *args, **kwargs):
diff --git a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py
index 125a51061e..8319789154 100644
--- a/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py
+++ b/infra/bots/recipe_modules/builder_name_schema/builder_name_schema.py
@@ -79,7 +79,8 @@ def _LoadSchema():
_LoadSchema()
-def MakeBuilderName(role, extra_config=None, is_trybot=False, **kwargs):
+def MakeBuilderName(role, extra_config=None, is_trybot=False,
+ **kwargs): # pragma: no cover
schema = BUILDER_NAME_SCHEMA.get(role)
if not schema: # pragma: no cover
raise ValueError('%s is not a recognized role.' % role)
@@ -100,7 +101,7 @@ def MakeBuilderName(role, extra_config=None, is_trybot=False, **kwargs):
return BUILDER_NAME_SEP.join(name_parts)
-def IsTrybot(builder_name):
+def IsTrybot(builder_name): # pragma: no cover
""" Returns true if builder_name refers to a trybot (as opposed to a
waterfall bot). """
return builder_name.endswith(TRYBOT_NAME_SUFFIX)
diff --git a/infra/bots/recipe_modules/swarming/api.py b/infra/bots/recipe_modules/swarming/api.py
index 8f602bd179..0a2377fe7f 100644
--- a/infra/bots/recipe_modules/swarming/api.py
+++ b/infra/bots/recipe_modules/swarming/api.py
@@ -66,41 +66,6 @@ class SkiaSwarmingApi(recipe_api.RecipeApi):
source=luci_go_dir,
dest=dest)
- def isolate_and_trigger_task(
- self, isolate_path, isolate_base_dir, task_name, isolate_vars,
- swarm_dimensions, isolate_blacklist=None, extra_isolate_hashes=None,
- idempotent=False, store_output=True, extra_args=None, expiration=None,
- hard_timeout=None, io_timeout=None, cipd_packages=None):
- """Isolate inputs and trigger the task to run."""
- os_type = swarm_dimensions.get('os', 'linux')
- isolated_hash = self.isolate_task(
- isolate_path, isolate_base_dir, os_type, task_name, isolate_vars,
- blacklist=isolate_blacklist, extra_hashes=extra_isolate_hashes)
- tasks = self.trigger_swarming_tasks([(task_name, isolated_hash)],
- swarm_dimensions,
- idempotent=idempotent,
- store_output=store_output,
- extra_args=extra_args,
- expiration=expiration,
- hard_timeout=hard_timeout,
- io_timeout=io_timeout,
- cipd_packages=cipd_packages)
- assert len(tasks) == 1
- return tasks[0]
-
- def isolate_task(self, isolate_path, base_dir, os_type, task_name,
- isolate_vars, blacklist=None, extra_hashes=None):
- """Isolate inputs for the given task."""
- self.create_isolated_gen_json(isolate_path, base_dir, os_type,
- task_name, isolate_vars,
- blacklist=blacklist)
- hashes = self.batcharchive([task_name])
- assert len(hashes) == 1
- isolated_hash = hashes[0][1]
- if extra_hashes:
- isolated_hash = self.add_isolated_includes(task_name, extra_hashes)
- return isolated_hash
-
def create_isolated_gen_json(self, isolate_path, base_dir, os_type,
task_name, extra_variables, blacklist=None):
"""Creates an isolated.gen.json file (used by the isolate recipe module).
@@ -123,7 +88,7 @@ class SkiaSwarmingApi(recipe_api.RecipeApi):
'--isolated', isolated_path,
'--config-variable', 'OS', os_type,
]
- if blacklist:
+ if blacklist: # pragma: no cover
for b in blacklist:
isolate_args.extend(['--blacklist', b])
for k, v in extra_variables.iteritems():
@@ -156,36 +121,6 @@ class SkiaSwarmingApi(recipe_api.RecipeApi):
build_dir=self.swarming_temp_dir,
targets=targets).presentation.properties['swarm_hashes'].items()
- def add_isolated_includes(self, task_name, include_hashes):
- """Add the hashes to the task's .isolated file, return new .isolated hash.
-
- Args:
- task: str. Name of the task to which to add the given hash.
- include_hashes: list of str. Hashes of the new includes.
- Returns:
- Updated hash of the .isolated file.
- """
- isolated_file = self.isolated_file_path(task_name)
- self.m.python.inline('add_isolated_input', program="""
- import json
- import sys
- with open(sys.argv[1]) as f:
- isolated = json.load(f)
- if not isolated.get('includes'):
- isolated['includes'] = []
- for h in sys.argv[2:]:
- isolated['includes'].append(h)
- with open(sys.argv[1], 'w') as f:
- json.dump(isolated, f, sort_keys=True)
- """, args=[isolated_file] + include_hashes)
- isolateserver = self.m.swarming_client.path.join('isolateserver.py')
- r = self.m.python('upload new .isolated file for %s' % task_name,
- script=isolateserver,
- args=['archive', '--isolate-server',
- self.m.isolate.isolate_server, isolated_file],
- stdout=self.m.raw_io.output())
- return shlex.split(r.stdout)[0]
-
def trigger_swarming_tasks(
self, swarm_hashes, dimensions, idempotent=False, store_output=True,
extra_args=None, expiration=None, hard_timeout=None, io_timeout=None,
@@ -227,7 +162,7 @@ class SkiaSwarmingApi(recipe_api.RecipeApi):
hard_timeout if hard_timeout else DEFAULT_TASK_TIMEOUT)
swarming_task.io_timeout = (
io_timeout if io_timeout else DEFAULT_IO_TIMEOUT)
- if extra_args:
+ if extra_args: # pragma: no cover
swarming_task.extra_args = extra_args
revision = self.m.properties.get('revision')
if revision:
@@ -264,17 +199,6 @@ class SkiaSwarmingApi(recipe_api.RecipeApi):
self._add_log_links(step_result)
return rv
- def collect_swarming_task_isolate_hash(self, swarming_task):
- """Wait for the given swarming task to finish and return its output hash.
-
- Args:
- swarming_task: An instance of swarming.SwarmingTask.
- Returns:
- the hash of the isolate output of the task.
- """
- res = self.collect_swarming_task(swarming_task)
- return res.json.output['shards'][0]['isolated_out']['isolated']
-
def _add_log_links(self, step_result):
"""Add Milo log links to all shards in the step."""
ids = []
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
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
deleted file mode 100644
index 386f5237d8..0000000000
--- a/infra/bots/recipes/swarm_trigger.py
+++ /dev/null
@@ -1,777 +0,0 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-
-# Recipe module for Skia Swarming trigger.
-
-
-import os
-import json
-
-
-DEPS = [
- 'build/file',
- 'build/gsutil',
- 'builder_name_schema',
- 'core',
- 'depot_tools/git',
- 'recipe_engine/json',
- 'recipe_engine/path',
- 'recipe_engine/properties',
- 'recipe_engine/python',
- 'recipe_engine/raw_io',
- 'recipe_engine/step',
- 'recipe_engine/time',
- 'run',
- 'swarming',
- 'vars',
-]
-
-
-TEST_BUILDERS = {
- 'client.skia': {
- 'skiabot-linux-swarm-000': [
- 'Build-Mac-Clang-Arm64-Release-Android',
- 'Build-Mac-Clang-x86_64-Release',
- 'Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan',
- 'Build-Ubuntu-GCC-x86_64-Debug',
- 'Build-Ubuntu-GCC-x86_64-Debug-GN',
- 'Build-Ubuntu-GCC-x86_64-Release-RemoteRun',
- 'Build-Ubuntu-GCC-x86_64-Release-Trybot',
- 'Build-Win-MSVC-x86_64-Release',
- 'Build-Win-MSVC-x86_64-Release-Vulkan',
- 'Housekeeper-Nightly-RecreateSKPs_Canary',
- 'Housekeeper-PerCommit',
- 'Housekeeper-PerCommit-Presubmit',
- 'Infra-PerCommit',
- 'Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot',
- 'Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs',
- 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
- 'Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android',
- 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan',
- 'Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release',
- 'Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release',
- 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot',
- 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN',
- 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug',
- 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared',
- 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
- 'Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release',
- 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release',
- 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release',
- ],
- },
-}
-
-
-UPLOAD_DIMENSIONS = {
- 'pool': 'Skia',
- 'os': 'Linux',
- 'cpu': 'x86-64-avx2',
- 'gpu': 'none',
-}
-
-
-def derive_compile_bot_name(api):
- builder_name = api.properties['buildername']
- builder_cfg = api.builder_name_schema.DictForBuilderName(builder_name)
- if builder_cfg['role'] == 'Housekeeper':
- return 'Build-Ubuntu-GCC-x86_64-Release-Shared'
- if builder_cfg['role'] in ('Test', 'Perf'):
- task_os = builder_cfg['os']
- extra_config = builder_cfg.get('extra_config', '')
- if task_os == 'Android':
- if extra_config == 'Vulkan':
- extra_config = '%s_%s' % (task_os, 'Vulkan')
- elif 'GN_Android' in extra_config:
- pass # i.e. extra_config stays GN_Android or GN_Android_Vulkan
- else:
- extra_config = task_os
- task_os = 'Ubuntu'
- elif task_os == 'iOS':
- extra_config = task_os
- task_os = 'Mac'
- elif 'Win' in task_os:
- task_os = 'Win'
- return api.builder_name_schema.MakeBuilderName(
- role=api.builder_name_schema.BUILDER_ROLE_BUILD,
- os=task_os,
- compiler=builder_cfg['compiler'],
- target_arch=builder_cfg['arch'],
- configuration=builder_cfg['configuration'],
- extra_config=extra_config,
- is_trybot=api.builder_name_schema.IsTrybot(builder_name))
- return builder_name
-
-
-def swarm_dimensions(builder_cfg):
- """Return a dict of keys and values to be used as Swarming bot dimensions."""
- dimensions = {
- 'pool': 'Skia',
- }
- dimensions['os'] = builder_cfg.get('os', 'Ubuntu')
- if builder_cfg.get('extra_config', '').startswith('CT_'):
- dimensions['pool'] = 'SkiaCT'
- return dimensions # Do not need any more dimensions for CT builders.
- if 'Win' in builder_cfg.get('os', ''):
- dimensions['os'] = 'Windows'
- if builder_cfg['role'] in ('Test', 'Perf'):
- if 'Android' in builder_cfg['os']:
- # For Android, the device type is a better dimension than CPU or GPU.
- device_type, device_os = {
- 'AndroidOne': ('sprout', 'MOB30Q'),
- 'GalaxyS7': ('heroqlteatt','MMB29M'),
- 'NVIDIA_Shield': ('foster', 'MRA58K'),
- 'Nexus10': ('manta', 'LMY49J'),
- 'Nexus5': ('hammerhead', 'MOB31E'),
- 'Nexus6': ('shamu', 'M'),
- 'Nexus6p': ('angler', 'NMF26C'),
- 'Nexus7': ('grouper', 'LMY47V'),
- 'Nexus7v2': ('flo', 'M'),
- 'Nexus9': ('flounder', 'NRD91D'),
- 'NexusPlayer': ('fugu', 'NRD90R'),
- 'Pixel': ('sailfish', 'NMF25'),
- 'PixelC': ('dragon', 'NMF26C'),
- 'PixelXL': ('marlin', 'NMF25'),
- }[builder_cfg['model']]
- dimensions['device_type'] = device_type
- dimensions['device_os'] = device_os
- elif 'iOS' in builder_cfg['os']:
- # For iOS, the device type is a better dimension than CPU or GPU.
- dimensions['device'] = {
- # TODO(stephana): Remove this temporary discrepancy between the bot name
- # and device. When we expand iOS testing names and devices need to match
- # again.
- 'iPad4': 'iPad5,1',
- }[builder_cfg['model']]
- # TODO(borenet): Replace this hack with something better.
- dimensions['os'] = 'iOS-9.3.1'
- elif builder_cfg['cpu_or_gpu'] == 'CPU':
- dimensions['gpu'] = 'none'
- dimensions['cpu'] = {
- 'AVX': 'x86-64',
- 'AVX2': 'x86-64-avx2',
- 'SSE4': 'x86-64',
- }[builder_cfg['cpu_or_gpu_value']]
- if ('Win' in builder_cfg['os'] and
- builder_cfg['cpu_or_gpu_value'] == 'AVX2'):
- # AVX2 is not correctly detected on Windows. Fall back on other
- # dimensions to ensure that we correctly target machines which we know
- # have AVX2 support.
- dimensions['cpu'] = 'x86-64'
- dimensions['os'] = 'Windows-2008ServerR2-SP1'
- else:
- dimensions['gpu'] = {
- 'GeForce320M': '10de:08a4',
- 'GT610': '10de:104a',
- 'GTX550Ti': '10de:1244',
- 'GTX660': '10de:11c0',
- 'GTX960': '10de:1401',
- 'HD4000': '8086:0a2e',
- 'HD4600': '8086:0412',
- 'HD7770': '1002:683d',
- 'iHD530': '8086:1912',
- 'IntelIris6100': '8086:162b',
- }[builder_cfg['cpu_or_gpu_value']]
- else:
- dimensions['gpu'] = 'none'
- return dimensions
-
-
-def fix_filemodes(api, path):
- """Set all filemodes to 644 or 755 in the given directory path."""
- api.python.inline(
- name='fix filemodes',
- program='''import os
-for r, _, files in os.walk(os.getcwd()):
- for fname in files:
- f = os.path.join(r, fname)
- if os.path.isfile(f):
- if os.access(f, os.X_OK):
- os.chmod(f, 0755)
- else:
- os.chmod(f, 0644)
-''',
- cwd=path)
-
-
-def trigger_task(api, task_name, builder, master, slave, buildnumber,
- builder_cfg, got_revision, infrabots_dir, idempotent=False,
- store_output=True, extra_isolate_hashes=None, expiration=None,
- hard_timeout=None, io_timeout=None, cipd_packages=None,
- recipe_name=None, isolate_file=None, dimensions=None):
- """Trigger the given bot to run as a Swarming task."""
- # TODO(borenet): We're using Swarming directly to run the recipe through
- # recipes.py. Once it's possible to track the state of a Buildbucket build,
- # we should switch to use the trigger recipe module instead.
-
- properties = {
- 'buildername': builder,
- 'mastername': master,
- 'buildnumber': buildnumber,
- 'reason': 'Triggered by Skia swarm_trigger Recipe',
- 'revision': got_revision,
- 'slavename': slave,
- 'swarm_out_dir': '${ISOLATED_OUTDIR}',
- }
- if builder_cfg['is_trybot']:
- if api.properties.get('patch_storage') == 'gerrit':
- properties['repository'] = api.properties['repository']
- for prop in api.properties:
- if prop.startswith('patch_'):
- properties[prop] = api.properties[prop]
- else:
- properties['issue'] = str(api.properties['issue'])
- properties['patchset'] = str(api.properties['patchset'])
- properties['rietveld'] = api.properties['rietveld']
-
- extra_args = [
- '--workdir', '../../..',
- recipe_name or 'swarm_%s' % task_name,
- ]
- for k, v in properties.iteritems():
- extra_args.append('%s=%s' % (k, v))
-
- isolate_base_dir = api.path['start_dir']
- dimensions = dimensions or swarm_dimensions(builder_cfg)
- isolate_blacklist = ['.git', 'out', '*.pyc', '.recipe_deps']
- isolate_vars = {
- 'WORKDIR': api.path['start_dir'],
- }
-
- isolate_file = isolate_file or '%s_skia.isolate' % task_name
- if 'Coverage' == builder_cfg.get('configuration'):
- isolate_file = 'coverage_skia.isolate'
- if 'RecreateSKPs' in builder:
- isolate_file = 'compile_skia.isolate'
- return api.swarming.isolate_and_trigger_task(
- infrabots_dir.join(isolate_file),
- isolate_base_dir,
- '%s_skia' % task_name,
- isolate_vars,
- dimensions,
- isolate_blacklist=isolate_blacklist,
- extra_isolate_hashes=extra_isolate_hashes,
- idempotent=idempotent,
- store_output=store_output,
- extra_args=extra_args,
- expiration=expiration,
- hard_timeout=hard_timeout,
- io_timeout=io_timeout,
- cipd_packages=cipd_packages)
-
-
-def checkout_steps(api):
- """Run the steps to obtain a checkout of Skia."""
- # In this case, we're already running inside a checkout of Skia, so just
- # report the currently-checked-out commit.
- checkout_path = api.path['start_dir'].join('skia')
- got_revision = api.git(
- 'rev-parse', 'HEAD', cwd=checkout_path,
- stdout=api.raw_io.output(),
- step_test_data=lambda: api.raw_io.test_api.stream_output('abc123\n'),
- ).stdout.rstrip()
- cmd = ['python', '-c', '"print \'%s\'"' % got_revision]
- res = api.step('got_revision', cmd=cmd)
- res.presentation.properties['got_revision'] = got_revision
- api.path['checkout'] = checkout_path
-
- # Write a fake .gclient file if none exists. This is required by .isolates.
- dot_gclient = api.path['start_dir'].join('.gclient')
- if not api.path.exists(dot_gclient):
- api.run.writefile(dot_gclient, '')
-
- fix_filemodes(api, api.path['checkout'])
- return got_revision
-
-
-def housekeeper_swarm(api, builder_cfg, got_revision, infrabots_dir,
- extra_isolate_hashes):
- task = trigger_task(
- api,
- 'housekeeper',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=False,
- store_output=False,
- extra_isolate_hashes=extra_isolate_hashes,
- cipd_packages=[cipd_pkg(api, infrabots_dir, 'go')],
- )
- return api.swarming.collect_swarming_task(task)
-
-
-def presubmit_swarm(api, builder_cfg, got_revision, infrabots_dir):
- task = trigger_task(
- api,
- 'presubmit',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=False,
- store_output=False,
- cipd_packages=None)
- api.swarming.collect_swarming_task(task)
-
-
-def recreate_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
- extra_isolate_hashes):
- task = trigger_task(
- api,
- 'RecreateSKPs',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=False,
- store_output=False,
- extra_isolate_hashes=extra_isolate_hashes)
- return api.swarming.collect_swarming_task(task)
-
-
-def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
- extra_isolate_hashes):
- expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
- task = trigger_task(
- api,
- 'ct_skps',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=False,
- store_output=False,
- extra_isolate_hashes=extra_isolate_hashes,
- expiration=expiration,
- hard_timeout=hard_timeout,
- io_timeout=io_timeout)
- return api.swarming.collect_swarming_task(task)
-
-
-def infra_swarm(api, got_revision, infrabots_dir, extra_isolate_hashes):
- # Fake the builder cfg.
- builder_cfg = {
- 'role': 'Infra',
- 'is_trybot': api.builder_name_schema.IsTrybot(
- api.properties['buildername'])
- }
- task = trigger_task(
- api,
- 'infra',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=False,
- store_output=False,
- extra_isolate_hashes=extra_isolate_hashes)
- return api.swarming.collect_swarming_task(task)
-
-
-def compile_steps_swarm(api, builder_cfg, got_revision, infrabots_dir):
- builder_name = derive_compile_bot_name(api)
- compile_builder_cfg = api.builder_name_schema.DictForBuilderName(builder_name)
-
- cipd_packages = []
-
- # Android bots require a toolchain.
- if 'Android' in builder_name:
- if 'Mac' in builder_name:
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_darwin'))
- else:
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_linux'))
- elif 'Ubuntu' in builder_name and 'Clang' in builder_name:
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'clang_linux'))
-
- # Windows bots require a toolchain.
- if 'Win' in builder_name:
- version_file = infrabots_dir.join('assets', 'win_toolchain', 'VERSION')
- version = api.run.readfile(version_file,
- name='read win_toolchain VERSION',
- test_data='0').rstrip()
- version = 'version:%s' % version
- pkg = ('t', 'skia/bots/win_toolchain', version)
- cipd_packages.append(pkg)
-
- if 'Vulkan' in builder_name:
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'win_vulkan_sdk'))
-
- # Fake these properties for compile tasks so that they can be de-duped.
- master = 'client.skia.compile'
- slave = 'skiabot-dummy-compile-slave'
- buildnumber = 1
-
- task = trigger_task(
- api,
- 'compile',
- builder_name,
- master,
- slave,
- buildnumber,
- compile_builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=True,
- store_output=False,
- cipd_packages=cipd_packages)
-
- # Wait for compile to finish, record the results hash.
- return api.swarming.collect_swarming_task_isolate_hash(task)
-
-
-def get_timeouts(builder_cfg):
- """Some builders require longer than the default timeouts.
-
- Returns tuple of (expiration, hard_timeout, io_timeout). If those values are
- none then default timeouts should be used.
- """
- expiration = None
- hard_timeout = None
- io_timeout = None
- if 'Valgrind' in builder_cfg.get('extra_config', ''):
- expiration = 2*24*60*60
- hard_timeout = 9*60*60
- io_timeout = 60*60
- if builder_cfg.get('extra_config', '').startswith('CT_'):
- hard_timeout = 24*60*60
- io_timeout = 60*60
- if 'MSAN' in builder_cfg.get('extra_config', ''):
- hard_timeout = 9*60*60
- return expiration, hard_timeout, io_timeout
-
-
-def perf_steps_trigger(api, builder_cfg, got_revision, infrabots_dir,
- extra_hashes, cipd_packages):
- """Trigger perf tests via Swarming."""
-
- expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
- return trigger_task(
- api,
- 'perf',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- extra_isolate_hashes=extra_hashes,
- expiration=expiration,
- hard_timeout=hard_timeout,
- io_timeout=io_timeout,
- cipd_packages=cipd_packages,
- store_output=False)
-
-
-def perf_steps_collect(api, task, builder_cfg, got_revision, infrabots_dir):
- """Wait for perf steps to finish and upload results."""
- # Wait for nanobench to finish, download the results.
- if not api.vars.upload_perf_results: # pragma: nocover
- api.swarming.collect_swarming_task(task)
- return
-
- perf_hash = api.swarming.collect_swarming_task_isolate_hash(task)
-
- # Upload the results.
- task = trigger_task(
- api,
- 'upload_nano_results',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=True,
- store_output=False,
- cipd_packages=None,
- extra_isolate_hashes=[perf_hash],
- recipe_name='upload_nano_results',
- isolate_file='upload_nano_results.isolate',
- dimensions=UPLOAD_DIMENSIONS)
-
- return api.swarming.collect_swarming_task(task)
-
-
-def test_steps_trigger(api, builder_cfg, got_revision, infrabots_dir,
- extra_hashes, cipd_packages):
- """Trigger DM via Swarming."""
- expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
- return trigger_task(
- api,
- 'test',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- extra_isolate_hashes=extra_hashes,
- expiration=expiration,
- hard_timeout=hard_timeout,
- io_timeout=io_timeout,
- cipd_packages=cipd_packages,
- store_output=False)
-
-
-def test_steps_collect(api, task, builder_cfg, got_revision, infrabots_dir):
- """Collect the test results from Swarming."""
- # Wait for tests to finish, download the results.
- if not api.vars.upload_dm_results: # pragma: nocover
- api.swarming.collect_swarming_task(task)
- return
-
- dm_hash = api.swarming.collect_swarming_task_isolate_hash(task)
-
- # Upload the results.
- task = trigger_task(
- api,
- 'upload_dm_results',
- api.properties['buildername'],
- api.properties['mastername'],
- api.properties['slavename'],
- api.properties['buildnumber'],
- builder_cfg,
- got_revision,
- infrabots_dir,
- idempotent=True,
- store_output=False,
- cipd_packages=None,
- extra_isolate_hashes=[dm_hash],
- recipe_name='upload_dm_results',
- isolate_file='upload_dm_results.isolate',
- dimensions=UPLOAD_DIMENSIONS)
-
- return api.swarming.collect_swarming_task(task)
-
-
-def cipd_pkg(api, infrabots_dir, asset_name):
- """Find and return the CIPD package info for the given asset."""
- version_file = infrabots_dir.join('assets', asset_name, 'VERSION')
- version = api.run.readfile(version_file,
- name='read %s VERSION' % asset_name,
- test_data='0').rstrip()
- version = 'version:%s' % version
- return (asset_name, 'skia/bots/%s' % asset_name, version)
-
-
-def print_properties(api):
- """Dump out all properties for debugging purposes."""
- props = {}
- for k, v in api.properties.iteritems():
- props[k] = v
- api.python.inline(
- 'print properties',
- '''
-import json
-import sys
-
-with open(sys.argv[1]) as f:
- content = json.load(f)
-
-print json.dumps(content, indent=2)
-''',
- args=[api.json.input(props)])
-
-
-def RunSteps(api):
- # TODO(borenet): Remove this once SwarmBucket is working.
- print_properties(api)
-
- got_revision = checkout_steps(api)
- infrabots_dir = api.path['checkout'].join('infra', 'bots')
- api.swarming.setup(
- infrabots_dir.join('tools', 'luci-go'),
- swarming_rev='')
-
- # Run gsutil.py to ensure that it's installed.
- api.gsutil(['help'])
-
- extra_hashes = []
-
- builder_name = api.properties['buildername']
-
- # Get ready to compile.
- infrabots_dir = api.path['checkout'].join('infra', 'bots')
- if 'Infra' in builder_name:
- return infra_swarm(api, got_revision, infrabots_dir, extra_hashes)
-
- builder_cfg = api.builder_name_schema.DictForBuilderName(builder_name)
-
- if 'Presubmit' in builder_name:
- return presubmit_swarm(api, builder_cfg, got_revision, infrabots_dir)
-
- if 'RecreateSKPs' in builder_name:
- recreate_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
- extra_hashes)
- return
-
- if '-CT_' in builder_name:
- ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir, extra_hashes)
- return
-
- # Compile.
- do_compile_steps = True
- if 'Coverage' in builder_name:
- do_compile_steps = False
- if do_compile_steps:
- extra_hashes.append(compile_steps_swarm(
- api, builder_cfg, got_revision, infrabots_dir))
-
- if builder_cfg['role'] == 'Housekeeper':
- housekeeper_swarm(api, builder_cfg, got_revision, infrabots_dir,
- extra_hashes)
- return
-
- # Get ready to test/perf.
-
- # CIPD packages needed by test/perf.
- cipd_packages = []
-
- do_test_steps = (
- builder_cfg['role'] == api.builder_name_schema.BUILDER_ROLE_TEST)
- do_perf_steps = (
- builder_cfg['role'] == api.builder_name_schema.BUILDER_ROLE_PERF)
-
- if not (do_test_steps or do_perf_steps):
- return
-
- # SKPs, SkImages, SVGs.
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'skp'))
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'skimage'))
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'svg'))
-
- # To find llvm-symbolizer and/or MSAN-compiled libc++.
- if 'Ubuntu' in builder_name and 'SAN' in builder_name:
- cipd_packages.append(cipd_pkg(api, infrabots_dir, 'clang_linux'))
-
- # Trigger test and perf tasks.
- test_task = None
- perf_task = None
- if do_test_steps:
- test_task = test_steps_trigger(api, builder_cfg, got_revision,
- infrabots_dir, extra_hashes, cipd_packages)
- if do_perf_steps:
- perf_task = perf_steps_trigger(api, builder_cfg, got_revision,
- infrabots_dir, extra_hashes, cipd_packages)
-
- # Wait for results, then upload them if necessary.
-
- if test_task:
- test_steps_collect(api, test_task, builder_cfg,
- got_revision, infrabots_dir)
-
- if perf_task:
- perf_steps_collect(api, perf_task, builder_cfg,
- got_revision, infrabots_dir)
-
-
-def test_for_bot(api, builder, mastername, slavename, testname=None):
- """Generate a test for the given bot."""
- testname = testname or builder
- test = (
- api.test(testname) +
- api.properties(buildername=builder,
- mastername=mastername,
- slavename=slavename,
- buildnumber=5,
- path_config='kitchen',
- revision='abc123')
- )
- paths = [
- api.path['start_dir'].join('skia'),
- api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt'),
- ]
- if 'Trybot' in builder:
- test += api.properties(issue=500,
- patchset=1,
- rietveld='https://codereview.chromium.org')
- if 'Test' in builder and 'Coverage' not in builder:
- test += api.step_data(
- 'upload new .isolated file for test_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated'))
- if not 'Valgrind' in builder and not 'MSAN' in builder:
- test += api.step_data(
- 'upload new .isolated file for upload_dm_results_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated'))
- if 'Perf' in builder and '-CT_' not in builder:
- test += api.step_data(
- 'upload new .isolated file for perf_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated'))
- if 'Valgrind' not in builder:
- test += api.step_data(
- 'upload new .isolated file for upload_nano_results_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated'))
- if ('Housekeeper' in builder and
- 'RecreateSKPs' not in builder and
- 'Presubmit' not in builder):
- test += api.step_data(
- 'upload new .isolated file for housekeeper_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated'))
- if 'Win' in builder:
- paths.append(api.path['start_dir'].join(
- 'skia', 'infra', 'bots', 'assets', 'win_toolchain', 'VERSION'))
- paths.append(api.path['start_dir'].join(
- 'skia', 'infra', 'bots', 'assets', 'win_vulkan_sdk', 'VERSION'))
- paths.append(api.path['start_dir'].join(
- 'skia', 'infra', 'bots', 'assets', 'skimage', 'VERSION'))
- paths.append(api.path['start_dir'].join(
- 'skia', 'infra', 'bots', 'assets', 'skp', 'VERSION'))
- paths.append(api.path['start_dir'].join(
- 'skia', 'infra', 'bots', 'assets', 'svg', 'VERSION'))
-
- test += api.path.exists(*paths)
-
- return test
-
-
-def GenTests(api):
- for mastername, slaves in TEST_BUILDERS.iteritems():
- for slavename, builders_by_slave in slaves.iteritems():
- for builder in builders_by_slave:
- yield test_for_bot(api, builder, mastername, slavename)
-
- gerrit_kwargs = {
- 'patch_storage': 'gerrit',
- 'repository': 'skia',
- 'patch_ref': 'refs/changes/00/2100/2',
- 'patch_issue': '2100',
- 'patch_set': '2',
- }
- yield (
- api.test('recipe_with_gerrit_patch') +
- api.properties(
- buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot',
- mastername='client.skia',
- slavename='skiabot-linux-swarm-000',
- buildnumber=5,
- path_config='kitchen',
- revision='abc123',
- **gerrit_kwargs) +
- api.step_data(
- 'upload new .isolated file for test_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated')) +
- api.step_data(
- 'upload new .isolated file for upload_dm_results_skia',
- stdout=api.raw_io.output('def456 XYZ.isolated'))
- )
diff --git a/infra/bots/recipes/swarmbucket_wrapper.expected/trigger_recipe.json b/infra/bots/recipes/swarmbucket_wrapper.expected/trigger_recipe.json
deleted file mode 100644
index 5034ae231e..0000000000
--- a/infra/bots/recipes/swarmbucket_wrapper.expected/trigger_recipe.json
+++ /dev/null
@@ -1,112 +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\": \"Some-Builder\", \"buildnumber\": 5, \"mastername\": \"client.skia.fyi\", \"path_config\": \"swarmbucket\", \"recipe\": \"swarmbucket_wrapper\", \"slavename\": \"some-slave\"}"
- ],
- "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": [
- "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",
- "[B]/work",
- "511"
- ],
- "name": "makedirs workdir",
- "~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",
- "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
- "--spec",
- "cache_dir = '[B]/cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
- "--patch_root",
- "skia",
- "--revision_mapping_file",
- "{\"skia\": \"got_revision\"}",
- "--git-cache-dir",
- "[B]/cache",
- "--output_json",
- "/path/to/tmp/json",
- "--revision",
- "skia@origin/master"
- ],
- "cwd": "[B]/work",
- "env": {
- "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
- },
- "name": "bot_update",
- "~followup_annotations": [
- "@@@STEP_TEXT@Some step text@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"skia\": \"origin/master\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
- "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
- ]
- },
- {
- "allow_subannotations": true,
- "cmd": [
- "python",
- "[B]/work/skia/infra/bots/recipes.py",
- "run",
- "--workdir",
- "[B]/work",
- "swarm_trigger",
- "path_config=kitchen",
- "buildername=Some-Builder",
- "recipe=swarmbucket_wrapper",
- "mastername=client.skia.fyi",
- "buildnumber=5",
- "slavename=some-slave",
- "path_config=swarmbucket"
- ],
- "name": "run recipe"
- },
- {
- "name": "$result",
- "recipe_result": null,
- "status_code": 0
- }
-] \ No newline at end of file
diff --git a/infra/bots/recipes/swarmbucket_wrapper.py b/infra/bots/recipes/swarmbucket_wrapper.py
deleted file mode 100644
index 79379c5df9..0000000000
--- a/infra/bots/recipes/swarmbucket_wrapper.py
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-
-# Recipe wrapper used in SwarmBucket.
-
-
-DEPS = [
- 'build/file',
- 'depot_tools/bot_update',
- 'depot_tools/gclient',
- 'recipe_engine/json',
- 'recipe_engine/path',
- 'recipe_engine/properties',
- 'recipe_engine/python',
- 'recipe_engine/step',
-]
-
-
-def checkout_steps(api):
- """Run the steps to obtain a checkout of Skia."""
- # Find the workdir and cache dir.
- workdir = api.path['b'].join('work')
- if not api.path.exists(workdir):
- api.file.makedirs('workdir', workdir, infra_step=True)
- cache_dir = api.path['b'].join('cache')
-
- # Set up gclient config.
- api.gclient.use_mirror = True
- gclient_cfg = api.gclient.make_config(GIT_MODE=True, CACHE_DIR=cache_dir)
- soln = gclient_cfg.solutions.add()
- soln.name = 'skia'
- soln.url = 'https://skia.googlesource.com/skia.git'
- soln.revision = api.properties.get('revision', 'origin/master')
- api.gclient.c = gclient_cfg
- api.gclient.c.got_revision_mapping['skia'] = 'got_revision'
-
- # Set up options for bot_update based on properties. In general, these will
- # all take the default value.
- patch = api.properties.get('patch', True)
- clobber = True if api.properties.get('clobber') else False
- no_shallow = True if api.properties.get('no_shallow') else False
- output_manifest = api.properties.get('output_manifest', False)
- with_branch_heads = api.properties.get('with_branch_heads', False)
- refs = api.properties.get('refs', [])
- oauth2 = api.properties.get('oauth2', False)
- root_solution_revision = api.properties.get('root_solution_revision')
- suffix = api.properties.get('suffix')
- gerrit_no_reset = True if api.properties.get('gerrit_no_reset') else False
-
- # Run bot_update to sync the code and apply a patch if necessary.
- api.bot_update.ensure_checkout(no_shallow=no_shallow,
- patch=patch,
- with_branch_heads=with_branch_heads,
- output_manifest=output_manifest,
- refs=refs, patch_oauth2=oauth2,
- clobber=clobber,
- root_solution_revision=root_solution_revision,
- suffix=suffix,
- gerrit_no_reset=gerrit_no_reset,
- cwd=workdir)
-
- # Ensure that we ended up with the desired revision.
- got_revision = api.step.active_result.presentation.properties['got_revision']
- if soln.revision != 'origin/master': # pragma: no cover
- assert got_revision == soln.revision
- return got_revision
-
-
-def forward_to_recipe_in_repo(api):
- workdir = api.path['b'].join('work')
- recipes_py = workdir.join('skia', 'infra', 'bots', 'recipes.py')
- cmd = ['python', recipes_py, 'run',
- '--workdir', workdir,
- 'swarm_trigger', 'path_config=kitchen']
- for k, v in api.properties.iteritems():
- cmd.append('%s=%s' % (k, v))
- api.step('run recipe', cmd=cmd, allow_subannotations=True)
-
-
-def print_properties(api):
- """Dump out all properties for debugging purposes."""
- props = {}
- for k, v in api.properties.iteritems():
- props[k] = v
- api.python.inline(
- 'print properties',
- '''
-import json
-import sys
-
-with open(sys.argv[1]) as f:
- content = json.load(f)
-
-print json.dumps(content, indent=2)
-''',
- args=[api.json.input(props)])
-
-
-def RunSteps(api):
- api.path.c.base_paths['b'] = ('/', 'b')
-
- # TODO(borenet): Remove this once SwarmBucket is working.
- print_properties(api)
-
- checkout_steps(api)
- forward_to_recipe_in_repo(api)
-
-
-def GenTests(api):
- yield (
- api.test('trigger_recipe') +
- api.properties(buildername='Some-Builder',
- buildnumber=5,
- mastername='client.skia.fyi',
- slavename='some-slave',
- path_config='swarmbucket')
- )