QA/LZMA Support for Updater: Difference between revisions

no edit summary
No edit summary
Line 12: Line 12:
|-
|-
| 8/10/2017 || 1.2 || Abe Masresha || added signoffs date and other sections
| 8/10/2017 || 1.2 || Abe Masresha || added signoffs date and other sections
|-
| 8/14/2017 || 1.3 || Abe Masresha || adding more information to the test plan
|-
|-
|}
|}
Line 17: Line 19:
= Overview =
= Overview =
== Purpose ==
== Purpose ==
The purpose of this work is to change the update file format.
The purpose of this work is to change the update file format using LZMA compression. The update will have LZMA support and the update file size will be smaller.
 


== Scope ==
== Scope ==
Line 24: Line 27:
::: Stability of the browser with this work.
::: Stability of the browser with this work.
::: Whether browser update is applied
::: Whether browser update is applied
::: If the browser update is in the desized file format




Line 29: Line 33:
:::  Manual
:::  Manual


*Automation is covered by the developer
*Automation is covered by the developer  


== Ownership ==
== Ownership ==
Line 48: Line 52:


=== Out of Scope ===
=== Out of Scope ===
Mobile devices are not affected by this work so this testing does not include them <br>
Automation will be handled by the developer<br />
Automation will be handled by the developer<br />
Automated tests <br>
Automated tests: <br>
::[https://hg.mozilla.org/mozilla-central/file/tip/toolkit/mozapps/update/tests/unit_base_updater unit_base_updater]
::[https://hg.mozilla.org/mozilla-central/file/tip/toolkit/mozapps/update/tests/unit_base_updater unit_base_updater]
::[https://hg.mozilla.org/mozilla-central/file/tip/modules/libmar/tests/unit unit]
::[https://hg.mozilla.org/mozilla-central/file/tip/modules/libmar/tests/unit unit]
Mobile devices are not affected by this work so the testing doesnot include fennec


== Risk Analysis ==
== Risk Analysis ==
* Update may not be applied so that the user may not get browser updates
* Update may not be applied so that the user may not get browser updates
* May behave differently in different operating systems
* May behave differently in different operating systems
* Update may not be applied successfully if the browser has addon
* Update may not be applied successfully if the browser has add-on
*May behave differently if update download is interrupted by no internet connection
* May behave differently if update download is interrupted by no internet connection
* The update file may not be in desired MAR file format


= Requirements for testing =
= Requirements for testing =
Line 72: Line 78:
=== Nightly ===
=== Nightly ===
Firefox Nightly 56.0a1, no special configuration is required<br>
Firefox Nightly 56.0a1, no special configuration is required<br>
This patch was pushed to Mozilla-central on 7-31-2017, so all Nightly updates should update through this watershed.


=== Beta ===
=== Beta ===
Beta 56.0bx, no special configuration is required<br>
Beta 56.0b3, no special configuration is required<br>
Feature was backed out [https://bugzilla.mozilla.org/show_bug.cgi?id=1387231 Bug 1387231] so the watershed for beta will be 56b3.


= Test Strategy =  
= Test Strategy =  
Line 81: Line 89:
*Verify browser is stable and does not crash with this feature
*Verify browser is stable and does not crash with this feature
*Verify browser does not crash while updating
*Verify browser does not crash while updating
*Verify update is applied when the browser has an addon
*Verify update is applied when the browser has an add-on
*Verify Firefox is responsive if update download is interrupted by no internet connection
*Verify Firefox is responsive if update download is interrupted by no internet connection
* Verify the update is in MAR file format


== Builds ==
== Builds ==
This section should contain links for builds with the feature -  
This section should contain links for builds with the feature -  
* Links for Nightly build: use the latest official Nightly build
* Links for Nightly build: [https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ Nightly build]
* Links for Beta build: use the latest official beta build
* Links for Beta build: use official beta build


== Test Execution Schedule ==
== Test Execution Schedule ==
Line 96: Line 105:
|-
|-
| Start project  
| Start project  
|style="text-align:center;" | 5/30/2017  ||  
|style="text-align:center;" | 5/30/2017  ||
|-
|-
| Study documentation/specs received from developers
| Study documentation/specs received from developers
|style="text-align:center;" | 6/7/2017 ||  
|style="text-align:center;" | 6/7/2017 || 8/14/2017
|-
|-
| QA - Test plan creation  
| QA - Test plan creation  
|style="text-align:center;" | 6/7/2017 ||  
|style="text-align:center;" | 6/7/2017 || 8/14/2017
|-
|-
| QA - Test cases/Env preparation  
| QA - Test cases/Env preparation  
|style="text-align:center;" |7/31/2017  ||  
|style="text-align:center;" |7/31/2017  || 8/1/2017
|-
|-
| QA - Nightly Testing  
| QA - Nightly Testing  
|style="text-align:center;" | 8/1/2017 ||  
|style="text-align:center;" | 8/1/2017 || 8/1/2017
|-
|-
| QA - Beta Testing  
| QA - Beta Testing  
Line 125: Line 134:
| Test plan creation || Mozilla wiki
| Test plan creation || Mozilla wiki
|-
|-
| Test case creation || [https://testrail.stage.mozaws.net/index.php?/suites/view/1110&group_by=cases:section_id&group_order=desc TestRail]/ Google docs
| Test case creation || [https://testrail.stage.mozaws.net/index.php?/suites/view/1110&group_by=cases:section_id&group_order=desc TestRail]  
|-
|-
| Test case execution || [https://testrail.stage.mozaws.net/index.php TestRail]
| Test case execution || [https://testrail.stage.mozaws.net/index.php TestRail]
Line 135: Line 144:
== Overview ==
== Overview ==
Landed on Nightly on: 7/31/2017 <br>
Landed on Nightly on: 7/31/2017 <br>
Merged to Beta on: [date]
Merged to Beta on: Beta 56b3 will have the patch


= References =
= References =
Line 148: Line 157:
|-
|-
| Private Window  
| Private Window  
|style="text-align:center;" | Yes||  
|style="text-align:center;" | Yes|| user should be able to get update from private window as well
|-
|-
| Multi-Process Enabled  
| Multi-Process Enabled  
|style="text-align:center;" |  Yes||  
|style="text-align:center;" |  Yes|| user should be able to get update from e10s window
|-
|-
| Multi-process Disabled  
| Multi-process Disabled  
|style="text-align:center;" | Yes ||  
|style="text-align:center;" | Yes || user should be able to get update from Non e10s window as well
|-
|-
| Theme (high contrast)  
| Theme (high contrast)  
|style="text-align:center;" |  Yes||  
|style="text-align:center;" |  Yes|| high theme shouldnot affect the update
|-
|-
| '''Install/Upgrade'''  
| '''Install/Upgrade'''  
Line 168: Line 177:
| ''' Add-ons '''  
| ''' Add-ons '''  


|-
| Addon API required? 
|style="text-align:center;" | Yes ||
|-
|-
| Testing with existing/popular addons
| Testing with existing/popular addons
Line 190: Line 196:
== Test suite ==
== Test suite ==
  Full Test suite - Link to test rail - testcases should be added under Firefox Desktop project [https://testrail.stage.mozaws.net/index.php?/suites/view/1110&group_by=cases:section_id&group_order=desc link]
  Full Test suite - Link to test rail - testcases should be added under Firefox Desktop project [https://testrail.stage.mozaws.net/index.php?/suites/view/1110&group_by=cases:section_id&group_order=desc link]
  Smoke Test suite - Link with the tests - if available/needed.
  Smoke Test suite -not applicable
  Regression Test suite - Link with the tests - if available/needed.
  Regression Test suite - not applicable


= Bug Work =
= Bug Work =
Line 198: Line 204:
! Bug No !! Summary !! Status !! Firefox Version
! Bug No !! Summary !! Status !! Firefox Version
|-
|-
| || ||  || 56
|None || ||  || 56
|-
| || ||  || 56
|-
|-
|}
|}


381

edits