| Index: scripts/slave/recipes/skia/ct_skps.expected/CT_DM_10k_SKPs_Trybot.json
|
| diff --git a/scripts/slave/recipes/skia/ct_skps.expected/CT_DM_10k_SKPs_Trybot.json b/scripts/slave/recipes/skia/ct_skps.expected/CT_DM_10k_SKPs_Trybot.json
|
| index 733602cc4e616f2e31bafdfe9855facb317003f9..b8fc5a0953ff1ad3d30e164cc1657029dcdda4cd 100644
|
| --- a/scripts/slave/recipes/skia/ct_skps.expected/CT_DM_10k_SKPs_Trybot.json
|
| +++ b/scripts/slave/recipes/skia/ct_skps.expected/CT_DM_10k_SKPs_Trybot.json
|
| @@ -6,8 +6,9 @@
|
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
| "config",
|
| "--spec",
|
| - "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
|
| + "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -17,10 +18,11 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py",
|
| + "[BUILD]/scripts/slave/gclient_safe_revert.py",
|
| ".",
|
| - "[ROOT]/b/depot_tools/gclient"
|
| + "[DEPOT_TOOLS]/gclient"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "gclient revert"
|
| },
|
| {
|
| @@ -40,6 +42,7 @@
|
| "--output-json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -65,10 +68,11 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[CWD]/swarming.client",
|
| + "[SLAVE_BUILD]/swarming.client",
|
| "--url",
|
| "https://chromium.googlesource.com/external/swarming.client.git"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup (swarming_client)"
|
| },
|
| {
|
| @@ -79,7 +83,7 @@
|
| "origin",
|
| "master"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "git fetch (swarming_client)"
|
| },
|
| {
|
| @@ -89,7 +93,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "git checkout (swarming_client)"
|
| },
|
| {
|
| @@ -98,7 +102,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -113,7 +117,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "git clean (swarming_client)"
|
| },
|
| {
|
| @@ -122,7 +126,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "submodule sync (swarming_client)"
|
| },
|
| {
|
| @@ -133,16 +137,17 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[CWD]/swarming.client",
|
| + "cwd": "[SLAVE_BUILD]/swarming.client",
|
| "name": "submodule update (swarming_client)"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]/swarming.client/swarming.py",
|
| + "[SLAVE_BUILD]/swarming.client/swarming.py",
|
| "--version"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "swarming.py --version",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -158,8 +163,9 @@
|
| "--bucket",
|
| "chromium-luci",
|
| "-d",
|
| - "[CWD]/src/tools/luci-go/linux64"
|
| + "[SLAVE_BUILD]/src/tools/luci-go/linux64"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "download luci-go linux"
|
| },
|
| {
|
| @@ -171,8 +177,9 @@
|
| "--bucket",
|
| "chromium-luci",
|
| "-d",
|
| - "[CWD]/src/tools/luci-go/mac64"
|
| + "[SLAVE_BUILD]/src/tools/luci-go/mac64"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "download luci-go mac"
|
| },
|
| {
|
| @@ -184,8 +191,9 @@
|
| "--bucket",
|
| "chromium-luci",
|
| "-d",
|
| - "[CWD]/src/tools/luci-go/win64"
|
| + "[SLAVE_BUILD]/src/tools/luci-go/win64"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "download luci-go win"
|
| },
|
| {
|
| @@ -193,8 +201,9 @@
|
| "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",
|
| - "[CWD]/luci-go"
|
| + "[SLAVE_BUILD]/luci-go"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree Go binary dir",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -212,19 +221,20 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n",
|
| - "[CWD]/src/tools/luci-go",
|
| - "[CWD]/luci-go",
|
| + "[SLAVE_BUILD]/src/tools/luci-go",
|
| + "[SLAVE_BUILD]/luci-go",
|
| "0"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "Copy Go binary"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[ROOT]/b/depot_tools/apply_issue.py",
|
| + "[DEPOT_TOOLS]/apply_issue.py",
|
| "-r",
|
| - "[CWD]/skia",
|
| + "[SLAVE_BUILD]/skia",
|
| "-i",
|
| "1499623002",
|
| "-p",
|
| @@ -233,6 +243,7 @@
|
| "codereview.chromium.org",
|
| "--no-auth"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "apply_issue",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@Applied issue 1499623002@1499623002@@@"
|
| @@ -244,7 +255,7 @@
|
| "dm",
|
| "BUILDTYPE=Debug"
|
| ],
|
| - "cwd": "[CWD]/skia",
|
| + "cwd": "[SLAVE_BUILD]/skia",
|
| "name": "build dm",
|
| "~followup_annotations": [
|
| "@@@SET_BUILD_PROPERTY@Location of SKPs@\"https://pantheon.corp.google.com/storage/browser/cluster-telemetry/skps/All/57259e0-05dcb4c/\"@@@"
|
| @@ -255,8 +266,9 @@
|
| "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",
|
| - "[CWD]/swarming_temp_dir"
|
| + "[SLAVE_BUILD]/swarming_temp_dir"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree swarming temp dir",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -274,9 +286,10 @@
|
| "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",
|
| - "[CWD]/skps/slave1",
|
| + "[SLAVE_BUILD]/skps/slave1",
|
| "511"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "makedirs SKPs dir",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -297,15 +310,16 @@
|
| "-u",
|
| "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
|
| "--",
|
| - "[ROOT]/b/depot_tools/gsutil.py",
|
| + "[DEPOT_TOOLS]/gsutil.py",
|
| "----",
|
| "-m",
|
| "rsync",
|
| "-d",
|
| "-r",
|
| "gs://cluster-telemetry/skps/All/57259e0-05dcb4c/slave1",
|
| - "[CWD]/skps/slave1"
|
| + "[SLAVE_BUILD]/skps/slave1"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "gsutil rsync"
|
| },
|
| {
|
| @@ -313,9 +327,10 @@
|
| "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",
|
| - "[CWD]/swarming_temp_dir",
|
| + "[SLAVE_BUILD]/swarming_temp_dir",
|
| "511"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "makedirs swarming tmp dir",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -335,9 +350,10 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "{\n \"args\": [\n \"--isolate\", \n \"[CWD]/src/chrome/ct_skps.isolate\", \n \"--isolated\", \n \"[CWD]/swarming_temp_dir/skia-task-ct-dm-1.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Debug\", \n \"--extra-variable\", \n \"GIT_HASH\", \n 164710, \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"1\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"dm\"\n ], \n \"dir\": \"[CWD]/src/chrome\", \n \"version\": 1\n}",
|
| - "[CWD]/swarming_temp_dir/ct-dm-1.isolated.gen.json"
|
| + "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/src/chrome/ct_skps.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]/swarming_temp_dir/skia-task-ct-dm-1.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Debug\", \n \"--extra-variable\", \n \"GIT_HASH\", \n 164710, \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"1\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"dm\"\n ], \n \"dir\": \"[SLAVE_BUILD]/src/chrome\", \n \"version\": 1\n}",
|
| + "[SLAVE_BUILD]/swarming_temp_dir/ct-dm-1.isolated.gen.json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "Write ct-dm-1.isolated.gen.json"
|
| },
|
| {
|
| @@ -345,15 +361,16 @@
|
| "python",
|
| "-u",
|
| "RECIPE_MODULE[build::isolate]/resources/isolate.py",
|
| - "[CWD]/swarming.client",
|
| + "[SLAVE_BUILD]/swarming.client",
|
| "batcharchive",
|
| "--dump-json",
|
| "/path/to/tmp/json",
|
| "--isolate-server",
|
| "https://isolateserver.appspot.com",
|
| "--verbose",
|
| - "[CWD]/swarming_temp_dir/ct-dm-1.isolated.gen.json"
|
| + "[SLAVE_BUILD]/swarming_temp_dir/ct-dm-1.isolated.gen.json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "isolate tests",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -367,7 +384,7 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]/swarming.client/swarming.py",
|
| + "[SLAVE_BUILD]/swarming.client/swarming.py",
|
| "trigger",
|
| "--swarming",
|
| "https://chromium-swarm.appspot.com",
|
| @@ -410,6 +427,7 @@
|
| "stepname:ct-dm-1 on Ubuntu-14.04",
|
| "[dummy hash for ct-dm-1]"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "[trigger] ct-dm-1 on Ubuntu-14.04",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -430,7 +448,7 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]/swarming.client/swarming.py",
|
| + "[SLAVE_BUILD]/swarming.client/swarming.py",
|
| "collect",
|
| "--swarming",
|
| "https://chromium-swarm.appspot.com",
|
| @@ -442,8 +460,9 @@
|
| "--task-summary-json",
|
| "/path/to/tmp/json",
|
| "--task-output-dir",
|
| - "[CWD]/swarming_temp_dir/outputs/ct-dm-1"
|
| + "[SLAVE_BUILD]/swarming_temp_dir/outputs/ct-dm-1"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ct-dm-1 on Ubuntu-14.04",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@swarming pending 71s@@@",
|
|
|