diff options
Diffstat (limited to 'infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json')
-rw-r--r-- | infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json b/infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json index 50afad0749..d2ec5d7408 100644 --- a/infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json +++ b/infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json @@ -4,7 +4,7 @@ "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", - "[SLAVE_BUILD]/tmp", + "[START_DIR]/tmp", "511" ], "name": "makedirs tmp_dir", @@ -26,7 +26,7 @@ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", + "[START_DIR]/skia/infra/bots/assets/skp/VERSION", "/path/to/tmp/" ], "name": "Get downloaded SKP VERSION" @@ -37,7 +37,7 @@ "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "42", - "[SLAVE_BUILD]/tmp/SKP_VERSION" + "[START_DIR]/tmp/SKP_VERSION" ], "name": "write SKP_VERSION" }, @@ -46,7 +46,7 @@ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", + "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", "/path/to/tmp/" ], "name": "Get downloaded skimage VERSION" @@ -57,7 +57,7 @@ "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "42", - "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" + "[START_DIR]/tmp/SK_IMAGE_VERSION" ], "name": "write SK_IMAGE_VERSION" }, @@ -66,7 +66,7 @@ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", - "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", + "[START_DIR]/skia/infra/bots/assets/svg/VERSION", "/path/to/tmp/" ], "name": "Get downloaded SVG VERSION" @@ -77,7 +77,7 @@ "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "42", - "[SLAVE_BUILD]/tmp/SVG_VERSION" + "[START_DIR]/tmp/SVG_VERSION" ], "name": "write SVG_VERSION" }, @@ -89,7 +89,7 @@ "[CUSTOM_[SWARM_OUT_DIR]]/dm" ], "env": { - "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" + "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts" }, "name": "rmtree dm", "~followup_annotations": [ @@ -130,13 +130,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", - "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" + "[START_DIR]/tmp/uninteresting_hashes.txt" ], - "cwd": "[SLAVE_BUILD]/skia", + "cwd": "[START_DIR]/skia", "env": { "BUILDTYPE": "Debug", "CHROME_HEADLESS": "1", - "SKIA_OUT": "[SLAVE_BUILD]/out" + "SKIA_OUT": "[START_DIR]/out" }, "name": "get uninteresting hashes", "~followup_annotations": [ @@ -176,16 +176,16 @@ { "cmd": [ "catchsegv", - "[SLAVE_BUILD]/out/Debug/dm", + "[START_DIR]/out/Debug/dm", "--undefok", "--resourcePath", - "[SLAVE_BUILD]/skia/resources", + "[START_DIR]/skia/resources", "--skps", - "[SLAVE_BUILD]/skp", + "[START_DIR]/skp", "--images", - "[SLAVE_BUILD]/skimage/dm", + "[START_DIR]/skimage/dm", "--colorImages", - "[SLAVE_BUILD]/skimage/colorspace", + "[START_DIR]/skimage/colorspace", "--nameByHash", "--properties", "gitHash", @@ -203,7 +203,7 @@ "patch_storage", "gerrit", "--svgs", - "[SLAVE_BUILD]/svg", + "[START_DIR]/svg", "--key", "arch", "x86", @@ -472,7 +472,7 @@ "_", "gamut" ], - "cwd": "[SLAVE_BUILD]/skia", + "cwd": "[START_DIR]/skia", "name": "dm" }, { |