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

Unified Diff: scripts/slave/recipes/chromium.py

Issue 2330133002: Updating the SwarmingIsolatedScriptTest to upload chartjson results to the (Closed)
Patch Set: Expecations Created 4 years, 3 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/chromium.py
diff --git a/scripts/slave/recipes/chromium.py b/scripts/slave/recipes/chromium.py
index a1705475be7beffa40ad7bc91889894f935492b6..d18d7e395caf99b6cffee72ec54650f6b1ff9f9f 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -466,9 +466,11 @@ def GenTests(api):
api.test('dynamic_swarmed_sharded_passed_isolated_script_test') +
api.properties.generic(mastername='chromium.linux',
buildername='Linux Tests',
- parent_buildername='Linux Builder') +
+ parent_buildername='Linux Builder',
+ got_revision_cp='refs/heads/master@{#291141}',
+ buildnumber="1234") +
api.properties(swarm_hashes={
- 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
+ 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
}) +
api.platform('linux', 64) +
api.override_step_data(
@@ -636,10 +638,47 @@ def GenTests(api):
)
yield (
+ api.test('dynamic_swarmed_sharded_isolated_chartjson_test_disabled') +
+ api.properties.generic(mastername='chromium.linux',
+ buildername='Linux Tests',
+ parent_buildername='Linux Builder',
+ got_revision_cp='refs/heads/master@{#291141}') +
+ api.properties(swarm_hashes={
+ 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
+ }) +
+ api.platform('linux', 64) +
+ api.override_step_data(
+ 'read test spec (chromium.linux.json)',
+ api.json.output({
+ 'Linux Tests': {
+ 'isolated_scripts': [
+ {
+ 'isolate_name': 'telemetry_gpu_unittests',
+ 'name': 'telemetry_gpu_unittests',
+ 'swarming': {
+ 'can_use_on_swarming_builders': True,
+ 'shards': 2,
+ },
+ },
+ ],
+ },
+ })
+ ) +
+ api.override_step_data('telemetry_gpu_unittests on Ubuntu-12.04',
+ api.test_utils.canned_isolated_script_output(
+ passing=True, is_win=False, swarming=True,
+ shards=2, isolated_script_passing=True, valid=True,
+ output_chartjson=True, benchmark_enabled=False),
+ retcode=0)
+ )
+
+ yield (
api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') +
api.properties.generic(mastername='chromium.linux',
buildername='Linux Tests',
- parent_buildername='Linux Builder') +
+ parent_buildername='Linux Builder',
+ got_revision_cp='refs/heads/master@{#291141}'
+ ) +
api.properties(swarm_hashes={
'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
}) +

Powered by Google App Engine
This is Rietveld 408576698