Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: scripts/slave/recipes/skia/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/skia/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json
diff --git a/scripts/slave/recipes/skia/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json b/scripts/slave/recipes/skia/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json
index ee66e1f7f4ff4ff52f9f7f039cf50f26bf9f2ae5..c1f7b57aaade431e29325e2ddf56c647e548740a 100644
--- a/scripts/slave/recipes/skia/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json
+++ b/scripts/slave/recipes/skia/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json
@@ -3,11 +3,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@{@@@",
@@ -49,9 +49,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"
},
{
@@ -59,9 +60,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"
},
{
@@ -71,6 +73,7 @@
"\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",
"[SWARM_OUT_DIR]/dm"
],
+ "cwd": "[SLAVE_BUILD]",
"env": {
"PYTHONPATH": "build/scripts"
},
@@ -94,6 +97,7 @@
"[SWARM_OUT_DIR]/dm",
"511"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "makedirs dm",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",
@@ -113,9 +117,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@@@@",
@@ -135,15 +140,15 @@
"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",
"CHROME_HEADLESS": "1",
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0",
- "PATH": "[CWD]/depot_tools:%(PATH)s",
- "SKIA_OUT": "[CWD]/out"
+ "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s",
+ "SKIA_OUT": "[SLAVE_BUILD]/out"
},
"name": "get uninteresting hashes",
"~followup_annotations": [
@@ -183,14 +188,14 @@
{
"cmd": [
"catchsegv",
- "[CWD]/out/Debug/dm",
+ "[SLAVE_BUILD]/out/Debug/dm",
"--undefok",
"--resourcePath",
- "[CWD]/skia/resources",
+ "[SLAVE_BUILD]/skia/resources",
"--skps",
- "[CWD]/skps",
+ "[SLAVE_BUILD]/skps",
"--images",
- "[CWD]/images/dm",
+ "[SLAVE_BUILD]/images/dm",
"--nameByHash",
"--properties",
"gitHash",
@@ -217,18 +222,19 @@
"os",
"Ubuntu",
"--uninterestingHashesFile",
- "[CWD]/tmp/uninteresting_hashes.txt",
+ "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt",
"--writePath",
"[SWARM_OUT_DIR]/dm",
"--nogpu",
"--dummy-flags"
],
+ "cwd": "[SLAVE_BUILD]",
"env": {
"BUILDTYPE": "Debug",
"CHROME_HEADLESS": "1",
"GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0",
- "PATH": "[CWD]/depot_tools:%(PATH)s",
- "SKIA_OUT": "[CWD]/out"
+ "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s",
+ "SKIA_OUT": "[SLAVE_BUILD]/out"
},
"name": "dm"
},

Powered by Google App Engine
This is Rietveld 408576698