diff options
author | Eric Boren <borenet@google.com> | 2017-04-06 12:53:31 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-06 12:53:42 +0000 |
commit | 6276a7c9996e9b8d834992dbaa21880f50fe7601 (patch) | |
tree | 6e805e16b9935fa0adda6b2dab7c868e1e2b947e /infra/bots/recipe_modules | |
parent | 93b1b4feda10c50ce10763ddf7e807f9b85c7953 (diff) |
Revert "Use bundled recipes on all Test/Perf tasks"
This reverts commit 43b9c6bbf66b0927a99062c68dff9ea8358f82db.
Reason for revert: Windows failing
Original change's description:
> Use bundled recipes on all Test/Perf tasks
>
> It won't save as much time for faster machines, but it should still
> shave a few seconds, and it'll be nice to be consistent.
>
> Bug: skia:5813
> Change-Id: I5724e7aae83851edff3129265a9ffee5c3f95825
> Reviewed-on: https://skia-review.googlesource.com/11340
> Commit-Queue: Eric Boren <borenet@google.com>
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
>
TBR=borenet@google.com,kjlubick@google.com,reviews@skia.org,iannucci@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Change-Id: I2a9cc1c12079755969879e37da5cae9f93921ddd
Reviewed-on: https://skia-review.googlesource.com/11416
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipe_modules')
22 files changed, 30 insertions, 30 deletions
diff --git a/infra/bots/recipe_modules/flavor/resources/symbolize_stack_trace.py b/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py index 59e1e39e08..59e1e39e08 100755 --- a/infra/bots/recipe_modules/flavor/resources/symbolize_stack_trace.py +++ b/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py diff --git a/infra/bots/recipe_modules/flavor/api.py b/infra/bots/recipe_modules/flavor/api.py index 9d64a329f5..5820e0b27b 100644 --- a/infra/bots/recipe_modules/flavor/api.py +++ b/infra/bots/recipe_modules/flavor/api.py @@ -58,21 +58,21 @@ class SkiaFlavorApi(recipe_api.RecipeApi): def get_flavor(self, builder_cfg): """Return a flavor utils object specific to the given builder.""" if is_flutter(builder_cfg): - return flutter_flavor.FlutterFlavorUtils(self) + return flutter_flavor.FlutterFlavorUtils(self.m) if is_chromecast(builder_cfg): - return gn_chromecast_flavor.GNChromecastFlavorUtils(self) + return gn_chromecast_flavor.GNChromecastFlavorUtils(self.m) if is_chromebook(builder_cfg): - return gn_chromebook_flavor.GNChromebookFlavorUtils(self) + return gn_chromebook_flavor.GNChromebookFlavorUtils(self.m) if is_android(builder_cfg): - return gn_android_flavor.GNAndroidFlavorUtils(self) + return gn_android_flavor.GNAndroidFlavorUtils(self.m) elif is_ios(builder_cfg): - return ios_flavor.iOSFlavorUtils(self) + return ios_flavor.iOSFlavorUtils(self.m) elif is_pdfium(builder_cfg): - return pdfium_flavor.PDFiumFlavorUtils(self) + return pdfium_flavor.PDFiumFlavorUtils(self.m) elif is_valgrind(builder_cfg): - return valgrind_flavor.ValgrindFlavorUtils(self) + return valgrind_flavor.ValgrindFlavorUtils(self.m) else: - return gn_flavor.GNFlavorUtils(self) + return gn_flavor.GNFlavorUtils(self.m) def setup(self): self._f = self.get_flavor(self.m.vars.builder_cfg) diff --git a/infra/bots/recipe_modules/flavor/default_flavor.py b/infra/bots/recipe_modules/flavor/default_flavor.py index 079cbc458d..dacb0fd056 100644 --- a/infra/bots/recipe_modules/flavor/default_flavor.py +++ b/infra/bots/recipe_modules/flavor/default_flavor.py @@ -75,9 +75,8 @@ class DefaultFlavorUtils(object): copying files between the host and Android device, as well as the 'step' function, so that commands may be run through ADB. """ - def __init__(self, module): - self.module = module - self.m = module.m + def __init__(self, m): + self.m = m self._chrome_path = None self._win_toolchain_dir = self.m.vars.slave_dir.join(WIN_TOOLCHAIN_DIR) win_toolchain_asset_path = self.m.vars.infrabots_dir.join( diff --git a/infra/bots/recipe_modules/flavor/gn_flavor.py b/infra/bots/recipe_modules/flavor/gn_flavor.py index bf23375642..4ee2f8efc1 100644 --- a/infra/bots/recipe_modules/flavor/gn_flavor.py +++ b/infra/bots/recipe_modules/flavor/gn_flavor.py @@ -170,7 +170,8 @@ class GNFlavorUtils(default_flavor.DefaultFlavorUtils): args = [self.m.vars.slave_dir] + [str(x) for x in cmd] with self.m.step.context({'cwd': self.m.vars.skia_dir, 'env': env}): self._py('symbolized %s' % name, - self.module.resource('symbolize_stack_trace.py'), + self.m.vars.infrabots_dir.join('recipe_modules', 'core', + 'resources', 'symbolize_stack_trace.py'), args=args, infra_step=False) diff --git a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN.json b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN.json index f8e8d8770e..86d489888c 100644 --- a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN.json +++ b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN.json @@ -106,7 +106,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Release/nanobench", diff --git a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE.json b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE.json index 3e8f9ade2f..04dade4adf 100644 --- a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE.json +++ b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE.json @@ -106,7 +106,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Release/nanobench", diff --git a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json index 938c9693d8..b939b629ef 100644 --- a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json +++ b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json @@ -69,7 +69,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Debug/nanobench", "--undefok", diff --git a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json index 11020f7b74..a319907154 100644 --- a/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json +++ b/infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json @@ -106,7 +106,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Release/nanobench", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug.json index 3fc53d9b13..26c7b2c019 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Debug/dm", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN.json index 51393cc462..7f8ab953ff 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN.json @@ -69,7 +69,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Debug/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json index 7325204bcf..f7532e0722 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json @@ -69,7 +69,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Debug/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json index 20d0961610..b56a5627b4 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Debug/dm", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json index b0144aada3..62bbb7b817 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Debug/dm", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json index 0b978141b4..34184d2636 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Release/dm", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json index e2b1084427..e670711cab 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json @@ -69,7 +69,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Release/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json index fa8a549719..bef690547b 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Debug-Vulkan.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Debug/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json index 21e41d01af..3b81c5a7d8 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC-GPU-IntelIris540-x86_64-Release.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Release/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json index 2bb6a99f79..f26b969f2a 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Debug/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json index 5cbfed2dcc..70948040ec 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json +++ b/infra/bots/recipe_modules/sktest/example.expected/Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "[START_DIR]/out/Debug/dm", "--undefok", diff --git a/infra/bots/recipe_modules/sktest/example.expected/failed_dm.json b/infra/bots/recipe_modules/sktest/example.expected/failed_dm.json index 4ba8736e5b..bc8913855a 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/failed_dm.json +++ b/infra/bots/recipe_modules/sktest/example.expected/failed_dm.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Debug/dm", diff --git a/infra/bots/recipe_modules/sktest/example.expected/nobuildbot.json b/infra/bots/recipe_modules/sktest/example.expected/nobuildbot.json index 7ed2d78189..55ee548603 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/nobuildbot.json +++ b/infra/bots/recipe_modules/sktest/example.expected/nobuildbot.json @@ -206,7 +206,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Debug/dm", diff --git a/infra/bots/recipe_modules/sktest/example.expected/recipe_with_gerrit_patch.json b/infra/bots/recipe_modules/sktest/example.expected/recipe_with_gerrit_patch.json index fe84d7de41..003d3058c7 100644 --- a/infra/bots/recipe_modules/sktest/example.expected/recipe_with_gerrit_patch.json +++ b/infra/bots/recipe_modules/sktest/example.expected/recipe_with_gerrit_patch.json @@ -178,7 +178,7 @@ "cmd": [ "python", "-u", - "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", + "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py", "[START_DIR]", "catchsegv", "[START_DIR]/out/Debug/dm", |