diff options
author | 2016-07-27 09:36:17 -0700 | |
---|---|---|
committer | 2016-07-27 09:36:17 -0700 | |
commit | b53a886924e812268b866f6fbb44c3ebb15d259e (patch) | |
tree | 68f2f1514fde1d54f12e3279212e53b04769390e /infra | |
parent | 577e025ca6bc5258fe6f2d64ca4c380bee7b5f08 (diff) |
Include "revision" tag for all Swarming tasks
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2186993002
Review-Url: https://codereview.chromium.org/2186993002
Diffstat (limited to 'infra')
23 files changed, 76 insertions, 0 deletions
diff --git a/infra/bots/recipe_modules/skia_swarming/__init__.py b/infra/bots/recipe_modules/skia_swarming/__init__.py index 78051368f5..f87a628f20 100644 --- a/infra/bots/recipe_modules/skia_swarming/__init__.py +++ b/infra/bots/recipe_modules/skia_swarming/__init__.py @@ -9,6 +9,7 @@ DEPS = [ 'build/swarming_client', 'recipe_engine/json', 'recipe_engine/path', + 'recipe_engine/properties', 'recipe_engine/python', 'recipe_engine/raw_io', 'recipe_engine/step', diff --git a/infra/bots/recipe_modules/skia_swarming/api.py b/infra/bots/recipe_modules/skia_swarming/api.py index e5f05b1491..6993b9de41 100644 --- a/infra/bots/recipe_modules/skia_swarming/api.py +++ b/infra/bots/recipe_modules/skia_swarming/api.py @@ -223,6 +223,9 @@ class SkiaSwarmingApi(recipe_api.RecipeApi): io_timeout if io_timeout else DEFAULT_IO_TIMEOUT) if extra_args: swarming_task.extra_args = extra_args + revision = self.m.properties.get('revision') + if revision: + swarming_task.tags.add('revision:%s' % revision) swarming_tasks.append(swarming_task) step_results = self.m.swarming.trigger(swarming_tasks) for step_result in step_results: diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json index 13161babe2..6c21794ca7 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Mac-Clang-x86_64-Release.json @@ -361,6 +361,8 @@ "--tag", "os:Mac", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Mac", diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json index 0c8e0cbd0c..c6b25f4bcb 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan.json @@ -371,6 +371,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json index 23f6913e51..7ccdb036d8 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug.json @@ -359,6 +359,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json index 82055b06e0..a785a9cfe3 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-RemoteRun.json @@ -360,6 +360,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json index 30478ecfd5..9afd645122 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Release-Trybot.json @@ -359,6 +359,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "rietveld:https://codereview.chromium.org/500/#ps1", "--tag", "slavename:skiabot-linux-swarm-000", diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json b/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json index 15216ae258..11a12d51dc 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.json @@ -380,6 +380,8 @@ "--tag", "os:Windows", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Windows", diff --git a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json index 48a23bf9d3..a6d2e28759 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release.json @@ -369,6 +369,8 @@ "--tag", "os:Windows", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Windows", diff --git a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json index c70fba445d..0a08f6ae5a 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json +++ b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json @@ -357,6 +357,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:RecreateSKPs_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json index 1e1d5e0dff..939baacbf6 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json +++ b/infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.json @@ -398,6 +398,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", @@ -632,6 +634,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:housekeeper_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json b/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json index d1ad75195f..cc40f29d36 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json +++ b/infra/bots/recipes/swarm_trigger.expected/Infra-PerCommit.json @@ -318,6 +318,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:infra_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json index 1fdfa8bfbd..14694da63e 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json +++ b/infra/bots/recipes/swarm_trigger.expected/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot.json @@ -403,6 +403,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "rietveld:https://codereview.chromium.org/500/#ps1", "--tag", "slavename:skiabot-linux-swarm-000", @@ -665,6 +667,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "rietveld:https://codereview.chromium.org/500/#ps1", "--tag", "slavename:skiabot-linux-swarm-000", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json b/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json index 3aadb901a4..dadc06ddea 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan.json @@ -419,6 +419,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", @@ -675,6 +677,8 @@ "--tag", "os:Android", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Android", @@ -852,6 +856,8 @@ "--tag", "os:Android", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:perf_skia on Android", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json index abe569114a..5dfed43fee 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release.json @@ -417,6 +417,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", @@ -673,6 +675,8 @@ "--tag", "os:Android", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Android", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json index a70034c8e2..fb501e0b35 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json @@ -407,6 +407,8 @@ "--tag", "os:Mac", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Mac", @@ -664,6 +666,8 @@ "--tag", "os:Mac", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Mac", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json index c1f03dc564..84d9186f35 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json @@ -388,6 +388,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "rietveld:https://codereview.chromium.org/500/#ps1", "--tag", "slavename:skiabot-linux-swarm-000", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json index 6703954b4a..407d3a721f 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json @@ -407,6 +407,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", @@ -664,6 +666,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Ubuntu", @@ -844,6 +848,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:perf_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json index 84f6f94f8a..68f8b65a82 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug.json @@ -404,6 +404,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", @@ -661,6 +663,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Ubuntu", @@ -841,6 +845,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:perf_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json index 8949288c8e..3d7dd6ed57 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind.json @@ -406,6 +406,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Ubuntu", @@ -660,6 +662,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Ubuntu", @@ -837,6 +841,8 @@ "--tag", "os:Ubuntu", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:perf_skia on Ubuntu", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json index 2babaf180e..dabcefcb3d 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release.json @@ -413,6 +413,8 @@ "--tag", "os:Windows", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Windows", @@ -669,6 +671,8 @@ "--tag", "os:Windows", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Windows", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json index 865fd0101c..5e093bc1c2 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release.json @@ -413,6 +413,8 @@ "--tag", "os:Windows", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Windows", @@ -672,6 +674,8 @@ "--tag", "os:Windows-2008ServerR2-SP1", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on Windows-2008ServerR2-SP1", diff --git a/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json b/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json index b749deadcc..e806e37e2f 100644 --- a/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json +++ b/infra/bots/recipes/swarm_trigger.expected/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release.json @@ -409,6 +409,8 @@ "--tag", "os:Mac", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:compile_skia on Mac", @@ -663,6 +665,8 @@ "--tag", "os:iOS-9.2", "--tag", + "revision:abc123", + "--tag", "slavename:skiabot-linux-swarm-000", "--tag", "stepname:test_skia on iOS-9.2", |