0482ced2cd
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>
181 lines
4.7 KiB
JSON
181 lines
4.7 KiB
JSON
[
|
|
{
|
|
"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_exparchive\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"test2_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_exparchive\": \"[dummy hash for test1_exparchive]\", @@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@}@@@",
|
|
"@@@STEP_LOG_END@json.output@@@",
|
|
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1_exparchive\": \"[dummy hash for test1_exparchive]\", \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"}@@@"
|
|
]
|
|
},
|
|
{
|
|
"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]/test1_exparchive.isolate",
|
|
"--isolated",
|
|
"RECIPE_PACKAGE_REPO[skia]/test1_exparchive.isolated"
|
|
],
|
|
"name": "isolate test1_exparchive",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@json.output@{@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"test1_exparchive\": \"[dummy hash for test1_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",
|
|
"exparchive",
|
|
"--dump-json",
|
|
"/path/to/tmp/json",
|
|
"--isolate-server",
|
|
"https://isolateserver-dev.appspot.com",
|
|
"--eventlog-endpoint",
|
|
"prod",
|
|
"--isolate",
|
|
"RECIPE_PACKAGE_REPO[skia]/test2_exparchive.isolate",
|
|
"--isolated",
|
|
"RECIPE_PACKAGE_REPO[skia]/test2_exparchive.isolated"
|
|
],
|
|
"name": "isolate test2_exparchive",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@json.output@{@@@",
|
|
"@@@STEP_LOG_LINE@json.output@ \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"@@@",
|
|
"@@@STEP_LOG_LINE@json.output@}@@@",
|
|
"@@@STEP_LOG_END@json.output@@@",
|
|
"@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1_exparchive\": \"[dummy hash for test1_exparchive]\", \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"}@@@"
|
|
]
|
|
},
|
|
{
|
|
"name": "$result",
|
|
"recipe_result": null,
|
|
"status_code": 0
|
|
}
|
|
] |