Index: scripts/slave/recipes/skia/skia.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json |
diff --git a/scripts/slave/recipes/skia/skia.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json b/scripts/slave/recipes/skia/skia.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json |
index c067044a1969ecb91787fa5042b8707c0db39bb2..460b71ac9d2299b258350fff726f311a9dd69eea 100644 |
--- a/scripts/slave/recipes/skia/skia.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json |
+++ b/scripts/slave/recipes/skia/skia.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json |
@@ -7,7 +7,7 @@ |
"origin", |
"https://skia.googlesource.com/skia.git" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"name": "git remote set-url" |
}, |
{ |
@@ -15,7 +15,7 @@ |
"git", |
"fetch" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"name": "git fetch" |
}, |
{ |
@@ -25,7 +25,7 @@ |
"--hard", |
"abc123" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"name": "git reset" |
}, |
{ |
@@ -35,7 +35,7 @@ |
"-d", |
"-f" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"name": "git clean" |
}, |
{ |
@@ -45,8 +45,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'}]\ntarget_os = ['llvm']" |
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['llvm']" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -67,6 +68,7 @@ |
"--output-json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -87,11 +89,11 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/skia/tools/buildbot_spec.py", |
+ "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
"/path/to/tmp/json", |
"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"name": "exec buildbot_spec.py", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -133,12 +135,12 @@ |
"make", |
"dm" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"env": { |
"BUILDTYPE": "Debug", |
"CHROME_PATH": "[HOME]/src", |
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0", |
- "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
+ "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
}, |
"name": "build dm" |
}, |
@@ -147,12 +149,12 @@ |
"make", |
"nanobench" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"env": { |
"BUILDTYPE": "Debug", |
"CHROME_PATH": "[HOME]/src", |
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0", |
- "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
+ "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
}, |
"name": "build nanobench" |
}, |
@@ -161,9 +163,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]/tmp", |
+ "[SLAVE_BUILD]/tmp", |
"511" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "makedirs tmp_dir", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -183,9 +186,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[CWD]/tmp/SKP_VERSION", |
+ "[SLAVE_BUILD]/tmp/SKP_VERSION", |
"/path/to/tmp/" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get downloaded SKP_VERSION" |
}, |
{ |
@@ -193,9 +197,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[CWD]/skia/SKP_VERSION", |
+ "[SLAVE_BUILD]/skia/SKP_VERSION", |
"/path/to/tmp/" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get expected SKP_VERSION" |
}, |
{ |
@@ -203,9 +208,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[CWD]/tmp/SK_IMAGE_VERSION", |
+ "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
"/path/to/tmp/" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get downloaded SK_IMAGE_VERSION" |
}, |
{ |
@@ -213,9 +219,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[CWD]/skia/SK_IMAGE_VERSION", |
+ "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", |
"/path/to/tmp/" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "Get expected SK_IMAGE_VERSION" |
}, |
{ |
@@ -223,8 +230,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]/dm" |
+ "[SLAVE_BUILD]/dm" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "rmtree dm", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -242,9 +250,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]/dm", |
+ "[SLAVE_BUILD]/dm", |
"511" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "makedirs dm", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -264,13 +273,13 @@ |
"python", |
"-u", |
"\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(waittime)\n", |
- "[CWD]/tmp/uninteresting_hashes.txt" |
+ "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"env": { |
"BUILDTYPE": "Debug", |
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0", |
- "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
+ "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
}, |
"name": "get uninteresting hashes", |
"~followup_annotations": [ |
@@ -310,14 +319,14 @@ |
{ |
"cmd": [ |
"catchsegv", |
- "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/dm", |
+ "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/dm", |
"--undefok", |
"--resourcePath", |
- "[CWD]/skia/resources", |
+ "[SLAVE_BUILD]/skia/resources", |
"--skps", |
- "[CWD]/playback/skps", |
+ "[SLAVE_BUILD]/playback/skps", |
"--images", |
- "[CWD]/images/dm", |
+ "[SLAVE_BUILD]/images/dm", |
"--nameByHash", |
"--properties", |
"gitHash", |
@@ -344,16 +353,17 @@ |
"os", |
"Ubuntu", |
"--uninterestingHashesFile", |
- "[CWD]/tmp/uninteresting_hashes.txt", |
+ "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", |
"--writePath", |
- "[CWD]/dm", |
+ "[SLAVE_BUILD]/dm", |
"--nogpu", |
"--dummy-flags" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Debug", |
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0", |
- "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
+ "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
}, |
"name": "dm" |
}, |
@@ -362,41 +372,42 @@ |
"python", |
"-u", |
"RECIPE_MODULE[build::skia]/resources/upload_dm_results.py", |
- "[CWD]/dm", |
+ "[SLAVE_BUILD]/dm", |
"164710", |
"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", |
"5", |
"", |
- "[CWD]/skia/common/py/utils" |
+ "[SLAVE_BUILD]/skia/common/py/utils" |
], |
- "cwd": "[CWD]/skia", |
+ "cwd": "[SLAVE_BUILD]/skia", |
"env": { |
"AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
"BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", |
"BUILDTYPE": "Debug", |
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0", |
- "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
+ "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
}, |
"name": "Upload DM Results" |
}, |
{ |
"cmd": [ |
"catchsegv", |
- "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/nanobench", |
+ "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/nanobench", |
"--undefok", |
"-i", |
- "[CWD]/skia/resources", |
+ "[SLAVE_BUILD]/skia/resources", |
"--skps", |
- "[CWD]/playback/skps", |
+ "[SLAVE_BUILD]/playback/skps", |
"--images", |
- "[CWD]/images/dm", |
+ "[SLAVE_BUILD]/images/dm", |
"--nogpu", |
"--dummy-flags" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Debug", |
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0", |
- "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
+ "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
}, |
"name": "nanobench" |
}, |