Bug 1546045 - [mozdevice] Downgrade 'chmod external storage' warning to debug message; r=bc
authorGeoff Brown <gbrown@mozilla.com>
Mon, 22 Apr 2019 15:55:23 +0000
changeset 470361 f1cc15c2bd27c9f04c15a70a0fd71239156ec104
parent 470360 f6a2f11fd0b7bd380aea5553407c4ad19d7bf8b9
child 470362 98df47a219e2088d431e3961fe6ea7f99017a1be
push id35903
push useropoprus@mozilla.com
push dateMon, 22 Apr 2019 21:46:44 +0000
treeherdermozilla-central@a11bd690638f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbc
bugs1546045
milestone68.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 1546045 - [mozdevice] Downgrade 'chmod external storage' warning to debug message; r=bc Differential Revision: https://phabricator.services.mozilla.com/D28311
testing/mozbase/mozdevice/mozdevice/adb.py
--- a/testing/mozbase/mozdevice/mozdevice/adb.py
+++ b/testing/mozbase/mozdevice/mozdevice/adb.py
@@ -1813,17 +1813,17 @@ class ADBDevice(ADBCommand):
         # detected.
         path = posixpath.normpath(path.strip())
         self._logger.debug('chmod: path=%s, recursive=%s, mask=%s, root=%s' %
                            (path, recursive, mask, root))
         if self.is_path_internal_storage(path, timeout=timeout):
             # External storage on Android is case-insensitive and permissionless
             # therefore even with the proper privileges it is not possible
             # to change modes.
-            self._logger.warning('Ignoring attempt to chmod external storage')
+            self._logger.debug('Ignoring attempt to chmod external storage')
             return
 
         # build up the command to be run based on capabilities.
         command = ['chmod']
 
         if recursive and self._chmod_R:
             command.append('-R')