Index: scripts/slave/recipes/skia/swarm_test.expected/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release.json |
diff --git a/scripts/slave/recipes/skia/swarm_test.expected/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release.json b/scripts/slave/recipes/skia/swarm_test.expected/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release.json |
index 1efd5d8b8f7cefe224f8cef62637cd2a44f3e6c8..bf3c283e88e1e4ade2b58cc36cc82aba65f3a0d3 100644 |
--- a/scripts/slave/recipes/skia/swarm_test.expected/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release.json |
+++ b/scripts/slave/recipes/skia/swarm_test.expected/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release.json |
@@ -3,11 +3,11 @@ |
"cmd": [ |
"python", |
"-u", |
- "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
+ "[CWD]/skia/tools/buildbot_spec.py", |
"/path/to/tmp/json", |
"Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release" |
], |
- "cwd": "[SLAVE_BUILD]/skia", |
+ "cwd": "[CWD]/skia", |
"name": "exec buildbot_spec.py", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -47,35 +47,33 @@ |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" |
+ "[CWD]/skia/platform_tools/android/bin/adb_wait_for_device" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "wait for device (1)" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" |
+ "[CWD]/skia/platform_tools/android/bin/adb_wait_for_charge" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "wait for charge (1)" |
}, |
@@ -86,32 +84,30 @@ |
"echo", |
"$EXTERNAL_STORAGE" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "get EXTERNAL_STORAGE dir", |
"stdout": "/path/to/tmp/" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia", |
+ "[CWD]/skia/platform_tools/android/bin/android_kill_skia", |
"--verbose" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "kill skia" |
}, |
@@ -122,33 +118,31 @@ |
"dumpsys", |
"batteryproperties" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "starting battery stats" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", |
+ "[CWD]/skia/platform_tools/android/bin/adb_push_if_needed", |
"--verbose", |
- "[SLAVE_BUILD]/skia/resources", |
+ "[CWD]/skia/resources", |
"/storage/emulated/legacy/skiabot/skia_resources" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "push resources" |
}, |
@@ -157,10 +151,9 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[SLAVE_BUILD]/tmp/SKP_VERSION", |
+ "[CWD]/tmp/SKP_VERSION", |
"/path/to/tmp/" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "Get downloaded SKP_VERSION" |
}, |
{ |
@@ -170,13 +163,12 @@ |
"cat", |
"/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "read SKP_VERSION", |
"stdout": "/path/to/tmp/" |
@@ -186,10 +178,9 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
+ "[CWD]/tmp/SK_IMAGE_VERSION", |
"/path/to/tmp/" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "Get downloaded SK_IMAGE_VERSION" |
}, |
{ |
@@ -199,13 +190,12 @@ |
"cat", |
"/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "read SK_IMAGE_VERSION", |
"stdout": "/path/to/tmp/" |
@@ -217,7 +207,6 @@ |
"\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" |
}, |
@@ -241,7 +230,6 @@ |
"[SWARM_OUT_DIR]/dm", |
"511" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "makedirs dm", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -264,13 +252,12 @@ |
"-r", |
"/storage/emulated/legacy/skiabot/skia_dm" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "rmdir skia_dm" |
}, |
@@ -288,13 +275,12 @@ |
"FILE_EXISTS;", |
"fi" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "exists skia_dm", |
"stdout": "/path/to/tmp/" |
@@ -307,13 +293,12 @@ |
"-p", |
"/storage/emulated/legacy/skiabot/skia_dm" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "mkdir skia_dm" |
}, |
@@ -322,10 +307,9 @@ |
"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", |
+ "[CWD]/tmp", |
"511" |
], |
- "cwd": "[SLAVE_BUILD]", |
"name": "makedirs tmp_dir", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -345,15 +329,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", |
- "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
+ "[CWD]/tmp/uninteresting_hashes.txt" |
], |
- "cwd": "[SLAVE_BUILD]/skia", |
+ "cwd": "[CWD]/skia", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "get uninteresting hashes", |
"~followup_annotations": [ |
@@ -394,22 +378,21 @@ |
"cmd": [ |
"/b/android-sdk-linux/platform-tools/adb", |
"push", |
- "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", |
+ "[CWD]/tmp/uninteresting_hashes.txt", |
"/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "push uninteresting_hashes.txt" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia", |
+ "[CWD]/skia/platform_tools/android/bin/android_run_skia", |
"--verbose", |
"--logcat", |
"-d", |
@@ -456,36 +439,34 @@ |
"--nocpu", |
"--dummy-flags" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "dm" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", |
+ "[CWD]/skia/platform_tools/android/bin/adb_pull_if_needed", |
"--verbose", |
"/storage/emulated/legacy/skiabot/skia_dm", |
"[SWARM_OUT_DIR]/dm" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "pull skia_dm" |
}, |
@@ -496,13 +477,12 @@ |
"dumpsys", |
"batteryproperties" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "final battery stats" |
}, |
@@ -511,13 +491,12 @@ |
"/b/android-sdk-linux/platform-tools/adb", |
"reboot" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "reboot" |
}, |
@@ -526,47 +505,44 @@ |
"sleep", |
"10" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "wait for reboot" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" |
+ "[CWD]/skia/platform_tools/android/bin/adb_wait_for_device" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "wait for device (2)" |
}, |
{ |
"cmd": [ |
- "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" |
+ "[CWD]/skia/platform_tools/android/bin/adb_wait_for_charge" |
], |
- "cwd": "[SLAVE_BUILD]", |
"env": { |
"ANDROID_HOME": "/b/android-sdk-linux", |
"ANDROID_SDK_ROOT": "/b/android-sdk-linux", |
"BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
- "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
+ "PATH": "[CWD]/depot_tools:%(PATH)s", |
"SKIA_ANDROID_VERBOSE_SETUP": "1", |
- "SKIA_OUT": "[SLAVE_BUILD]/out" |
+ "SKIA_OUT": "[CWD]/out" |
}, |
"name": "wait for charge (2)" |
}, |