Bug 1572412 - Remove root-requiring chmod on raptor android app config r=rwood
authorAndrew Creskey <acreskey@mozilla.com>
Tue, 13 Aug 2019 16:06:30 +0000
changeset 487747 0434b7b37652edf71ed4683f7cf836aeda91885e
parent 487746 50e71b06d6a794514c8932c2c4e07c3798db0c3f
child 487748 63e44a1a4a2e4edca5a9670dc8d453c3a6b9935b
push id92436
push usercsabou@mozilla.com
push dateTue, 13 Aug 2019 18:01:36 +0000
treeherderautoland@0434b7b37652 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrwood
bugs1572412
milestone70.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 1572412 - Remove root-requiring chmod on raptor android app config r=rwood The chmod isn't needed Differential Revision: https://phabricator.services.mozilla.com/D41193
testing/raptor/raptor/raptor.py
--- a/testing/raptor/raptor/raptor.py
+++ b/testing/raptor/raptor/raptor.py
@@ -887,17 +887,16 @@ class RaptorAndroid(Raptor):
         yml_on_host = os.path.join(tempfile.mkdtemp(), yml_name)
         write_yml_file(yml_on_host, yml_config_data)
         yml_on_device = os.path.join('/data', 'local', 'tmp', yml_name)
 
         try:
             LOG.info("copying %s to device: %s" % (yml_on_host, yml_on_device))
             self.device.rm(yml_on_device, force=True, recursive=True)
             self.device.push(yml_on_host, yml_on_device)
-            self.device.chmod(yml_on_device, recursive=True, root=True)
 
         except Exception:
             LOG.critical("failed to push %s to device!" % yml_on_device)
             raise
 
     def launch_firefox_android_app(self, test_name):
         LOG.info("starting %s" % self.config['app'])