Revert "Update isolate binaries and update isolate recipe"
This reverts commit 8bc327bffb
.
Reason for revert: Isolate tests step in CT_ bots taking 5x longer.
Original change's description:
> Update isolate binaries and update isolate recipe
>
> Context: Email to skiabot@ from mcgreevy@
>
> Bug: skia:
> Change-Id: Ic3bc19600809bde5adcd9edd23ba4d8b126ec852
> Reviewed-on: https://skia-review.googlesource.com/88540
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Commit-Queue: Ravi Mistry <rmistry@google.com>
TBR=benjaminwagner@google.com,rmistry@google.com,kjlubick@google.com
Change-Id: Ifda029a65bf6414dc40502356870101ac3f88cb8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/89280
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
parent
e3877ce5ce
commit
0482ced2cd
@ -91,7 +91,7 @@ class IsolateApi(recipe_api.RecipeApi):
|
||||
step_result.presentation.status = self.m.step.WARNING
|
||||
|
||||
def isolate_tests(self, build_dir, targets=None, verbose=False,
|
||||
set_swarm_hashes=True, use_exparchive=False,
|
||||
set_swarm_hashes=True, always_use_exparchive=False,
|
||||
**kwargs):
|
||||
"""Archives prepared tests in |build_dir| to isolate server.
|
||||
|
||||
@ -135,10 +135,10 @@ class IsolateApi(recipe_api.RecipeApi):
|
||||
return
|
||||
|
||||
batch_targets = []
|
||||
archive_targets = []
|
||||
exparchive_targets = []
|
||||
for t in targets:
|
||||
if t.endswith('_exparchive'):
|
||||
archive_targets.append(t)
|
||||
if t.endswith('_exparchive') or always_use_exparchive:
|
||||
exparchive_targets.append(t)
|
||||
else:
|
||||
batch_targets.append(t)
|
||||
|
||||
@ -146,13 +146,13 @@ class IsolateApi(recipe_api.RecipeApi):
|
||||
try:
|
||||
args = [
|
||||
self.m.swarming_client.path,
|
||||
'archive',
|
||||
'exparchive',
|
||||
'--dump-json', self.m.json.output(),
|
||||
'--isolate-server', self._isolate_server,
|
||||
'--eventlog-endpoint', 'prod',
|
||||
] + (['--verbose'] if verbose else [])
|
||||
|
||||
for target in archive_targets:
|
||||
for target in exparchive_targets:
|
||||
isolate_steps.append(
|
||||
self.m.python(
|
||||
'isolate %s' % target,
|
||||
|
@ -94,9 +94,9 @@
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
@ -128,7 +128,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
@ -154,18 +154,47 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"name": "isolate test1",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated"
|
||||
],
|
||||
"name": "isolate test2",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
|
@ -131,7 +131,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -131,7 +131,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -128,7 +128,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -126,7 +126,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -129,7 +129,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
@ -155,7 +155,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -126,7 +126,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
@ -152,7 +152,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -124,7 +124,7 @@
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"exparchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -1,180 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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",
|
||||
"--progress"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"env": {
|
||||
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "git fetch (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"checkout",
|
||||
"-f",
|
||||
"FETCH_HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git checkout (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"rev-parse",
|
||||
"HEAD"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "read revision",
|
||||
"stdout": "/path/to/tmp/",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"clean",
|
||||
"-f",
|
||||
"-d",
|
||||
"-x"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "git clean (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"sync"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule sync (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--init",
|
||||
"--recursive"
|
||||
],
|
||||
"cwd": "[START_DIR]/swarming.client",
|
||||
"infra_step": true,
|
||||
"name": "submodule update (swarming_client)"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"cat"
|
||||
],
|
||||
"name": "read test spec",
|
||||
"stdout": "/path/to/tmp/json",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@[@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@]@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
|
||||
"--build-dir",
|
||||
"RECIPE_PACKAGE_REPO[skia]",
|
||||
"--output-json",
|
||||
"/path/to/tmp/json"
|
||||
],
|
||||
"name": "find isolated tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"archive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"--eventlog-endpoint",
|
||||
"prod",
|
||||
"--isolate",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
|
||||
"--isolated",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
|
||||
],
|
||||
"name": "isolate test_exparchive",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"RECIPE_MODULE[skia::isolate]/resources/isolate.py",
|
||||
"[START_DIR]/swarming.client",
|
||||
"batcharchive",
|
||||
"--dump-json",
|
||||
"/path/to/tmp/json",
|
||||
"--isolate-server",
|
||||
"https://isolateserver-dev.appspot.com",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
|
||||
"RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
|
||||
],
|
||||
"name": "isolate tests",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@json.output@{@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test1\": \"[dummy hash for test1]\", @@@",
|
||||
"@@@STEP_LOG_LINE@json.output@ \"test2\": \"[dummy hash for test2]\"@@@",
|
||||
"@@@STEP_LOG_LINE@json.output@}@@@",
|
||||
"@@@STEP_LOG_END@json.output@@@",
|
||||
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
"status_code": 0
|
||||
}
|
||||
]
|
@ -20,14 +20,12 @@ DEPS = [
|
||||
]
|
||||
|
||||
PROPERTIES = {
|
||||
'use_exparchive': Property(
|
||||
kind=int, help="Force usage of exparchive.", default=0),
|
||||
'buildnumber': Property(
|
||||
kind=int, help="Number for the build.", default=100),
|
||||
'always_use_exparchive': Property(
|
||||
kind=bool, help="Force usage of exparchive.", default=False),
|
||||
}
|
||||
|
||||
|
||||
def RunSteps(api, use_exparchive):
|
||||
def RunSteps(api, always_use_exparchive):
|
||||
# 'isolate_tests' step needs swarming checkout.
|
||||
api.swarming_client.checkout('master')
|
||||
|
||||
@ -50,7 +48,8 @@ def RunSteps(api, use_exparchive):
|
||||
# None.
|
||||
if expected_targets is not None:
|
||||
api.isolate.isolate_tests(
|
||||
build_path, expected_targets, use_exparchive=use_exparchive)
|
||||
build_path, expected_targets,
|
||||
always_use_exparchive=always_use_exparchive)
|
||||
|
||||
|
||||
def GenTests(api):
|
||||
@ -142,15 +141,7 @@ def GenTests(api):
|
||||
# Use force-exparchive
|
||||
yield make_test(
|
||||
'always-use-exparchive',
|
||||
['test1', 'test2'],
|
||||
['test_exparchive'],
|
||||
[],
|
||||
['test_exparchive', 'test1', 'test2'],
|
||||
['test_exparchive', 'test1', 'test2']) + api.properties(
|
||||
use_exparchive=True)
|
||||
# Use force-exparchive
|
||||
for i in range(1, 11):
|
||||
yield make_test(
|
||||
'use-exparchive-20percent-build%i' % i,
|
||||
['test1', 'test2'],
|
||||
['test_exparchive'],
|
||||
['test_exparchive', 'test1', 'test2']) + api.properties(
|
||||
use_exparchive=20, buildnumber=i)
|
||||
always_use_exparchive=True)
|
||||
|
@ -1 +1 @@
|
||||
3edf192dfe8e2b9c5e89e3885b7bb27bac3450f0
|
||||
0c5f61171e70fabea55489eccb330687e94a43a3
|
||||
|
@ -1 +1 @@
|
||||
869b8c39e30c2b19fa82be5eb4642f29720ba634
|
||||
f79355e863ef6e67a074ed85b043db81376ffbde
|
||||
|
@ -1 +1 @@
|
||||
dd9791d5ac0e667a17ded140c3bf0bf9673b0da5
|
||||
a7682ca46f9ac393f3e8c3b8feb4aa7cef49693f
|
||||
|
Loading…
Reference in New Issue
Block a user