Sheriffing/How To/Mobile Trees: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(add how to classify)
(mark page content as obsolete)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''The content of this page is obsolete. See https://wiki.mozilla.org/Sheriffing/How_To/Intermittent_bugs instead.'''
The following trees set up only for mobile projects are being monitored:
The following trees set up only for mobile projects are being monitored:
* [https://treeherder.mozilla.org/#/jobs?repo=android-components&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable android-components]
* [https://treeherder.mozilla.org/#/jobs?repo=android-components&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable android-components]
** Description: A collection of Android libraries to build browsers or browser-like applications.
** Description: A collection of Android libraries to build browsers or browser-like applications.
** Repository: [https://github.com/mozilla-mobile/android-components android-components] on GitHub
** Repository: [https://github.com/mozilla-mobile/android-components android-components] on GitHub
** Escalation channel: #android-components on Slack
** Escalation channel: [https://chat.mozilla.org/#/room/#android-components:mozilla.org android-components] (Matrix)
* [https://treeherder.mozilla.org/#/jobs?repo=fenix&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable fenix]
* [https://treeherder.mozilla.org/#/jobs?repo=fenix&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable fenix]
** Description: Android browser "Firefox Preview" - codename "Fenix"
** Description: Android browser "Firefox Preview" - codename "Fenix"
Line 11: Line 14:
** Description: browser based on android-components intended to test those. It's not a product for end users.
** Description: browser based on android-components intended to test those. It's not a product for end users.
** Repository: [https://github.com/mozilla-mobile/reference-browser reference-browser] on GitHub
** Repository: [https://github.com/mozilla-mobile/reference-browser reference-browser] on GitHub
** Escalation channel: #android-components on Slack
** Escalation channel: [https://chat.mozilla.org/#/room/!nzmqfSxszBNCPTXRYz:mozilla.org reference-browser] (Matrix)
 
Other communication channels:
* [https://chat.mozilla.org/#/room/#mobile-test-eng:mozilla.org mobile-test-eng] (Matrix): questions about issues with test tasks and tests
* #releaseduty-mobile (Slack): For problems with release tasks like cron, decision or signing tasks
* [https://chat.mozilla.org/#/room/#perftest:mozilla.org perftest]: For issues with performance tasks like Raptor


===Differences to autoland and mozilla-central===
===Differences to autoland and mozilla-central===
* If a task shall run once more, this must be done from "Custom Actions" > "rerun"
* If a task shall run once more, this must be done from "Custom Actions" > "rerun".
* Code sheriffs don't perform backouts or close trees but escalate to developers/teams to get issues fixed.
* Failures are tracked in multiple tools
* Failures are tracked in multiple tools
** Raptor failures in Bugzilla's [https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Raptor Testing :: Raptor] component
** Raptor failures in Bugzilla's [https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Raptor Testing :: Raptor] component
Line 20: Line 29:
** Non-Raptor test failures shall be reported into the Github repository mentioned above.
** Non-Raptor test failures shall be reported into the Github repository mentioned above.
** Test results are often stored externally and not in the log.
** Test results are often stored externally and not in the log.
*** In these cases, Treeherder cannot provide failure suggestions.
===Firebase Test Lab===
[[Sheriffing/How To/Mobile Trees/Firebase Test Lab|Sheriffing Outages (Guide)]]


===Accessing the test results===
===Accessing the test results===

Latest revision as of 13:56, 11 March 2024

The content of this page is obsolete. See https://wiki.mozilla.org/Sheriffing/How_To/Intermittent_bugs instead.


The following trees set up only for mobile projects are being monitored:

Other communication channels:

  • mobile-test-eng (Matrix): questions about issues with test tasks and tests
  • #releaseduty-mobile (Slack): For problems with release tasks like cron, decision or signing tasks
  • perftest: For issues with performance tasks like Raptor

Differences to autoland and mozilla-central

  • If a task shall run once more, this must be done from "Custom Actions" > "rerun".
  • Code sheriffs don't perform backouts or close trees but escalate to developers/teams to get issues fixed.
  • Failures are tracked in multiple tools
    • Raptor failures in Bugzilla's Testing :: Raptor component
    • Issues with the release pipeline like signing issues into Bugzilla's Release Engineering
    • Non-Raptor test failures shall be reported into the Github repository mentioned above.
    • Test results are often stored externally and not in the log.
      • In these cases, Treeherder cannot provide failure suggestions.

Firebase Test Lab

Sheriffing Outages (Guide)

Accessing the test results

Many test tasks stored the test results in an external database and the log will only provide the url to the results in that database.

  1. Select the failed task.
  2. Open the unformatted log.
  3. Go the end of the log and look for a failure line like this: [task 2020-06-17T10:41:25.807Z] Error: Matrix failed: matrix-147257ou2tpig FINISHED failure https://console.firebase.google.com/project/moz-reference-browser-230023/testlab/histories/bh.b4e77beaed81bc1c/matrices/6129539140917351455
  4. Copy the url.
  5. Open the url in a new tab.
  6. The main pane lists the devices on which the tests are run. Repeat the following steps for each device with a failure.
  7. Click on the device with the failure. A list of 'shards' will reopen which are similar to 'chunks' on autoland and mozilla-central: The tests are distributed across the shards.
  8. Open each failed shard in a new tab (click link with mouse wheel).
  9. Depending on the task, the view opened will provide details on the failure. The tab Test cases shows which test failed.
  10. If don't know if there is already a Github issue tracking the issue, go to the related Github project mentioned above.
  11. Click onto the tab 'Issues'.
  12. Insert the test name from the clipboard and search for it.
  13. If there is no open Github issue, create one.
    • Set the issue title as 'Intermittent testName errorSummary'.
    • Provide a link to the log.
    • Copy and paste the stacktrace (if present).
    • For further questions about test failures, the mobile test engineering channel is the primary contact.
  14. Copy the url of the issue.
  15. Back in Treeherder, select the task (e.g. Ctrl + click and paste the url into the comment field.
  16. Save the classification.