TestEngineering/Performance/Raptor: Difference between revisions

Jump to navigation Jump to search
→‎Raptor on Mobile projects (Fenix, Reference-Browser): Update documentation with the latest facts
(→‎Raptor on Mobile projects (Fenix, Reference-Browser): Update documentation with the latest facts)
Line 835: Line 835:
=== Add new tests ===
=== Add new tests ===


Raptor tests are run on every push to master on the following repositories:
For mobile projects, Raptor tests are on the following repositories:


* https://github.com/mozilla-mobile/reference-browser/ ([https://treeherder.mozilla.org/#/jobs?repo=reference-browser Treeherder view])
{| class="wikitable"
* https://github.com/mozilla-mobile/fenix/ ([https://treeherder.mozilla.org/#/jobs?repo=fenix Treeherder view])
|-
! Project !! Repository !! Tests results !! Schedule
|-
| Fenix (aka Firefox Preview) || [https://github.com/mozilla-mobile/fenix/ Github] || [https://treeherder.mozilla.org/#/jobs?repo=fenix Treeherder view] || Every 24 hours [https://tools.taskcluster.net/hooks/project-mobile/fenix-raptor Taskcluster Hook]
|-
| Reference-Browser || [https://github.com/mozilla-mobile/reference-browser/ Github] || [https://treeherder.mozilla.org/#/jobs?repo=reference-browser Treeherder view] || On demand [https://tools.taskcluster.net/hooks/project-mobile/reference-browser-raptor Taskcluster Hook]
|}


Tests are defined differently from what exists in mozilla-central. Taskcluster payloads are expressed in Python function in:
Tests are defined differently from what exists in mozilla-central. Taskcluster payloads are expressed in Python function in:
Line 848: Line 854:
* https://github.com/mozilla-mobile/fenix/blob/8928822e99ff09ab45bce8ebab63aead10b7ebde/automation/taskcluster/decision_task.py#L82-L91
* https://github.com/mozilla-mobile/fenix/blob/8928822e99ff09ab45bce8ebab63aead10b7ebde/automation/taskcluster/decision_task.py#L82-L91


If you want to test your changes on a PR, before they land, you need to apply a patch like this one: https://github.com/mozilla-mobile/reference-browser/commit/dfc757ac6a6ed2981909cc70573408d8f89bed0e
If you want to test your changes on a PR, before they land, you need to apply a patch like this one: https://github.com/mozilla-mobile/fenix/commit/4cc16d4268240393f57b3711ab423c2407aeffb7. Don't forget to revert it before merging the patch.


On Fenix and Reference-Browser, the raptor revision is tied to Geckoview's build ID. You may have to bump Geckoview to a more recent nightly:
On Fenix and Reference-Browser, the raptor revision is tied to the latest nightly of mozilla-central
* https://github.com/mozilla-mobile/reference-browser/blob/f2ae31e23e36a749b937ff9728c28d53760242eb/buildSrc/src/main/java/Gecko.kt#L6
* https://github.com/mozilla-mobile/fenix/blob/d72df34c7de6d1385d7c4fdbf38ee9d78e9183b5/buildSrc/src/main/java/Gecko.kt#L6.


For more information, please reach out to :jlorenzo or :mhentges in #cia
For more information, please reach out to :jlorenzo or :mhentges in #cia
Confirmed users
213

edits

Navigation menu