Bug 1516985 - Uninstall Firefox Android app prior to installation to prevent INSTALL_FAILED_UPDATE_INCOMPATIBLE errors, r=davehunt
authorBob Clary <bclary@bclary.com>
Fri, 05 Jul 2019 18:40:39 +0000
changeset 544333 4d37f42cecafac5c14d3dbc20a9204643b5cc3ea
parent 544332 0ec05244de2d0ea003a49cb9a0d7c29c617e9ba0
child 544334 556d26e5029b8d5f2c4cf409718011bffc7e3c7f
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavehunt
bugs1516985
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1516985 - Uninstall Firefox Android app prior to installation to prevent INSTALL_FAILED_UPDATE_INCOMPATIBLE errors, r=davehunt Differential Revision: https://phabricator.services.mozilla.com/D36936
testing/mozharness/mozharness/mozilla/testing/raptor.py
--- a/testing/mozharness/mozharness/mozilla/testing/raptor.py
+++ b/testing/mozharness/mozharness/mozilla/testing/raptor.py
@@ -501,16 +501,17 @@ class Raptor(TestingMixin, MercurialScri
         )
 
         # if  running gecko profiling  install the requirements
         if self.gecko_profile:
             self._install_view_gecko_profile_req()
 
     def install(self):
         if self.app in self.firefox_android_browsers:
+            self.device.uninstall_app(self.binary_path)
             self.install_apk(self.installer_path)
         else:
             super(Raptor, self).install()
 
     def _install_view_gecko_profile_req(self):
         # if running locally and gecko profiing is on, we will be using the
         # view-gecko-profile tool which has its own requirements too
         if self.gecko_profile and self.run_local: