Unverified Commit 647efa1b authored by Gregory Mierzwinski's avatar Gregory Mierzwinski Committed by GitHub
Browse files

Bug 1670284 - Enable webrender for all tests and run a subset without webrender. (#16325)

* Enable webrender for all tests and run a subset without webrender.

* Run tests on PR.

* Change task labels for webrender-enabled tests.

* Move transform logic to after the main transform.

* Reformat group symbol.

* Check if extra field is empty.

* Try a different method for treeherder info.

* Fix up assignment issue.

* Reformat symbol field instead of groupSymbol.

* Add new task group to config.

* Change the platform name for webrender tasks.

* Undo testing changes.

* Undo platform naming changes.
parent 5e745d0b
...@@ -72,6 +72,7 @@ job-defaults: ...@@ -72,6 +72,7 @@ job-defaults:
type: directory type: directory
run-visual-metrics: True run-visual-metrics: True
chimera: True chimera: True
web-render-only: True
run: run:
using: run-task using: run-task
checkout: false checkout: false
...@@ -106,6 +107,7 @@ jobs: ...@@ -106,6 +107,7 @@ jobs:
tp6m-2-cold: tp6m-2-cold:
test-name: google test-name: google
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-2-c)' symbol: 'Btime(tp6m-2-c)'
...@@ -126,6 +128,7 @@ jobs: ...@@ -126,6 +128,7 @@ jobs:
tp6m-6-cold: tp6m-6-cold:
test-name: amazon-search test-name: amazon-search
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-6-c)' symbol: 'Btime(tp6m-6-c)'
...@@ -151,6 +154,7 @@ jobs: ...@@ -151,6 +154,7 @@ jobs:
tp6m-11-cold: tp6m-11-cold:
test-name: microsoft-support test-name: microsoft-support
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-11-c)' symbol: 'Btime(tp6m-11-c)'
...@@ -161,6 +165,7 @@ jobs: ...@@ -161,6 +165,7 @@ jobs:
tp6m-13-cold: tp6m-13-cold:
test-name: espn test-name: espn
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-13-c)' symbol: 'Btime(tp6m-13-c)'
...@@ -171,6 +176,7 @@ jobs: ...@@ -171,6 +176,7 @@ jobs:
tp6m-15-cold: tp6m-15-cold:
test-name: facebook test-name: facebook
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-15-c)' symbol: 'Btime(tp6m-15-c)'
...@@ -196,6 +202,7 @@ jobs: ...@@ -196,6 +202,7 @@ jobs:
tp6m-20-cold: tp6m-20-cold:
test-name: youtube-watch test-name: youtube-watch
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-20-c)' symbol: 'Btime(tp6m-20-c)'
...@@ -216,6 +223,7 @@ jobs: ...@@ -216,6 +223,7 @@ jobs:
tp6m-24-cold: tp6m-24-cold:
test-name: allrecipes test-name: allrecipes
web-render-only: False
treeherder: treeherder:
symbol: 'Btime(tp6m-24-c)' symbol: 'Btime(tp6m-24-c)'
......
...@@ -4,6 +4,7 @@ treeherder: ...@@ -4,6 +4,7 @@ treeherder:
group-names: group-names:
'beta': 'Beta-related tasks with same APK configuration as Fennec' 'beta': 'Beta-related tasks with same APK configuration as Fennec'
'Btime': 'Raptor-Browsertime tests' 'Btime': 'Raptor-Browsertime tests'
'Btime-wr': 'Raptor-Browsertime tests with webrender enabled'
'bump': 'Bump dependencies' 'bump': 'Bump dependencies'
'debug': 'Builds made for testing' 'debug': 'Builds made for testing'
'Fetch': 'Fetch and store content' 'Fetch': 'Fetch and store content'
......
...@@ -110,6 +110,23 @@ def build_browsertime_task(config, tasks): ...@@ -110,6 +110,23 @@ def build_browsertime_task(config, tasks):
yield task yield task
@transforms.add
def enable_webrender(config, tasks):
for task in tasks:
if not task.pop("web-render-only", False):
newtask = copy.deepcopy(task)
yield newtask
task["run"]["command"].append("--enable-webrender")
task["name"] += "-wr"
task["description"] += "-wr"
# Setup group symbol
group, sym = task["treeherder"]["symbol"].split("(")
task["treeherder"]["symbol"] = "{}-wr({})".format(group, sym[:-1])
yield task
@transforms.add @transforms.add
def fill_email_data(config, tasks): def fill_email_data(config, tasks):
product_name = config.graph_config['taskgraph']['repositories']['mobile']['name'] product_name = config.graph_config['taskgraph']['repositories']['mobile']['name']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment