Граф коммитов

341 Коммитов

Автор SHA1 Сообщение Дата
Nicolas B. Pierron 0c635c7669 Bug 1692253 - Create a thread to handle ADB process timeout. r=jmaher,gbrown
This change add the ability to yield the output as it is produced, by
creating a thread responsible for killing the process if it takes too
long.

This way we can loop with blocking I/O on stdout in python, while the
process is running concurrently. The loop ends when the process exit
either by itself or after being killed by the timeout.

Differential Revision: https://phabricator.services.mozilla.com/D105037
2021-02-25 11:47:26 +00:00
Aaron Klotz ea70bcd068 Bug 1581971: Part 3 - ADBDevice changes to support mach run --debug; r=gbrown,jmaher
- We make `pidof` public and we change it to guarantee that its resulting list
  of pids consists of integers.
- We update `forward` and its dependencies to return the value of the port
  that was assigned by `adb` so that clients may learn which port to use when
  forwarding from `'tcp:0'`

Differential Revision: https://phabricator.services.mozilla.com/D94381
2021-02-19 21:07:19 +00:00
Geoff Brown fc9db06c35 Bug 1685878 - Remove remoteautomation.py; r=jmaher
remoteautomation.py is an old collection of code used by android mochitest and android reftest;
it survived the removal of automation.py. This patch removes remoteautomation.py, moving the
majority of the functionality to a new class in mozdevice. Some features are simplified or
removed, and the remainder moved into the remote mochitest/reftest harnesses.

Differential Revision: https://phabricator.services.mozilla.com/D102239
2021-01-20 17:00:18 +00:00
Geoff Brown 13ad2a5fbe Bug 1643448 - Update test handling of ACCESS_WIFI_STATE; r=geckoview-reviewers,bc,agi
Add ACCESS_WIFI_STATE to the gve manifest, same as androidTest.
Remove ACCESS_WIFI_STATE from the list of pm grants, since it is not of
type dangerous.

Differential Revision: https://phabricator.services.mozilla.com/D100727
2021-01-05 20:14:23 +00:00
Bob Clary 110347760c Bug 1681439 - [mozdevice] Supported unrooted devices with undebuggable apps. r=jmaher,gbrown
* temporarily turn off verbose during get_top_activity to prevent spamming logs.

* Update version_codes with R/30.

* Do not attempt to use su or run-as with builtin commands.

* Do not clean the test root during ADBDeviceFactory initialization
  if test_root was not specified.

* Make ADBDevice.package_dir a read-only property determined
  solely by the value of the internal ADBDevice._run_as_package
  property.

* Use new internal method ADBDevice._try_test_root_candidates to
  centralize checking if one of a list of test root candidates can be
  used.

* Use new method ADBDevice.is_package_debuggable to check if
  a package is debuggable and cache the result.

* run_as_package setter changes:

  When setting the ADBDevice.run_as_package property to None, make
  sure both the old and new values of the test root are cleaned.

  If the package is not debuggable, attempt to use one of
  /storage/emulated/0/Android/data/<app_name>/test_root,
  /sdcard/test_root or /mnt/sdcard/test_root regardless of whether
  secure storage is in effect for the version of Android. If neither
  is permitted, this will result in an ADBError which will be easily
  diagnosable.

* test_root getter

  When first attempting to access ADBDevice.test_root, attempt to use
  /data/local/tmp/test_root as the test root. If the device is not
  rooted, also include /sdcard/test_root, /storage/sdcard/test_root
  and /mnt/sdcard/test_root in the set of paths to check.

* test_root setter

  Cache the detected test root in _initial_test_root so it can be
  restored without re-running _try_test_root.

Differential Revision: https://phabricator.services.mozilla.com/D100392
2021-01-05 01:10:14 +00:00
Bob Clary 9e125ea710 Bug 1681096 - python3 - pylint --py3k - W1619: from __future__ import division r=marionette-reviewers,perftest-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D98938
2020-12-11 16:05:25 +00:00
Geoff Brown bebfc32efd Bug 1643448 - Add ACCESS_WIFI_STATE permission and disable failing tests in dom/presentation; r=geckoview-reviewers,bc,agi
Add the permission to the geckoview manifest, as previously attempted. Also disable failing tests
to enable a green test run. Add permission to adb.py grants list for good measure.

Differential Revision: https://phabricator.services.mozilla.com/D98809
2020-12-07 16:09:06 +00:00
Bob Clary 2329bae78e Bug 1678250 - [mozdevice] Release mozdevice 4.0.3, r=aerickson.
Depends on D97572

Differential Revision: https://phabricator.services.mozilla.com/D97573
2020-11-20 09:36:33 +00:00
Bob Clary c8c25b95f5 Bug 1676726 - [mozdevice] Do not raise an error if adb logcat -c fails., r=aerickson.
Depends on D97571

Differential Revision: https://phabricator.services.mozilla.com/D97572
2020-11-20 09:36:31 +00:00
Bob Clary 381bc7d040 Bug 1676729 - [mozdevice] raise ADBError during ADBDevice initialization if no devices connected, r=aerickson.
Differential Revision: https://phabricator.services.mozilla.com/D97571
2020-11-20 09:36:28 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Brendan Dahl 801d8a1cfc Bug 1670838 - Increase the frequency of polling to check if adb is done. r=bc
This drops the time of the X1 test suite on Android from 29min to 11min.

Differential Revision: https://phabricator.services.mozilla.com/D93292
2020-10-13 04:31:14 +00:00
Bob Clary 347b3f34d8 Bug 1651196 - [mozdevice] improve top activity detection in Android 10+, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D90012
2020-09-14 14:08:48 +00:00
Bob Clary 0d1dfebad8 Bug 1655813 - [mozdevice 4.0.2] better handle executing shell command lines containing both single and double quotes. r=jmaher
As a ride-along, I've included a fix to convert the verbose logging output of the adb process stdout during
the ADBDevice.shell method.

Differential Revision: https://phabricator.services.mozilla.com/D86957
2020-08-13 13:58:56 +00:00
Geoff Brown d04cf1a43d Bug 1650915 - [mozdevice] Do no type conversion on file contents returned by get_file; r=bc
Make the caller responsible for any desired type conversion, so that binary data can be
retrieved. This just works in py2. 'mach gtest' is the only py3 caller, and it already calls
ensure_str on the returned file contents. mochitest/reftest (via remoteautomation.py) may
require additional consideration when they are converted to py3 (coming soon!?).

Differential Revision: https://phabricator.services.mozilla.com/D86437
2020-08-07 22:45:28 +00:00
Bob Clary 325e7ba955 Bug 1522661 - [mozdevice 4.0.1] adb should use ANDROID_SERIAL environment variable if device not otherwise specified. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D86401
2020-08-07 18:35:26 +00:00
Geoff Brown 0474f467d1 Bug 1657461 - [mozdevice] Relax success requirements for remount; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D86064
2020-08-05 19:45:51 +00:00
Bob Clary 421a5117f1 Bug 1486004 - Part 1 - [mozdevice 4.0.0] Use run-as to work around rooted device requirement, r=gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82744
2020-07-17 20:48:22 +00:00
Narcis Beleuzu b1faa2872a Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00
Bob Clary 09dbc8d942 Bug 1486004 - Part 1 - [mozdevice 4.0.0] Use run-as to work around rooted device requirement, r=gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82744
2020-07-16 21:32:52 +00:00
Narcis Beleuzu 1eb115035d Backed out 20 changesets (bug 1486004, bug 1653094) for wrench bustages. CLOSED TREE
Backed out changeset 120c64ebdea3 (bug 1486004)
Backed out changeset b10f105b1c36 (bug 1486004)
Backed out changeset 7f186e6bcccc (bug 1486004)
Backed out changeset cdda7b349cd8 (bug 1486004)
Backed out changeset 650c47e81402 (bug 1486004)
Backed out changeset 2bcca7cf3f1b (bug 1486004)
Backed out changeset e1df276f8a8d (bug 1486004)
Backed out changeset f6f5e7f2bd0a (bug 1486004)
Backed out changeset 1c56cb03ce53 (bug 1486004)
Backed out changeset 582cd190f174 (bug 1486004)
Backed out changeset 7c162e1b3a79 (bug 1486004)
Backed out changeset d1088e178216 (bug 1486004)
Backed out changeset 40763f4afd26 (bug 1486004)
Backed out changeset f20eb5b5a670 (bug 1486004)
Backed out changeset 6349ee0bd63f (bug 1486004)
Backed out changeset 7c23729053f6 (bug 1486004)
Backed out changeset 49586014bd29 (bug 1486004)
Backed out changeset 07971e82ae85 (bug 1653094)
Backed out changeset 47e7295e9c19 (bug 1653094)
Backed out changeset 57a25bbeec37 (bug 1653094)
2020-07-16 17:58:09 +03:00
Bob Clary e118ca3ed6 Bug 1486004 - Part 1 - [mozdevice 4.0.0] Use run-as to work around rooted device requirement, r=gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82744
2020-07-15 20:57:17 +00:00
Mihai Alexandru Michis a1d49fb98d Backed out 17 changesets (bug 1486004) for causing bustages in AccessCheck.h
CLOSED TREE

Backed out changeset 86a0855e1e45 (bug 1486004)
Backed out changeset 4fc98067edc5 (bug 1486004)
Backed out changeset 8ab3f1597fde (bug 1486004)
Backed out changeset b487e98320fb (bug 1486004)
Backed out changeset 4cba8e6bc515 (bug 1486004)
Backed out changeset d0db5eef2343 (bug 1486004)
Backed out changeset 50285a87de6b (bug 1486004)
Backed out changeset 9730c0303810 (bug 1486004)
Backed out changeset 140a9d2362f3 (bug 1486004)
Backed out changeset 9d1ce06f6039 (bug 1486004)
Backed out changeset 88a5a4ab39fa (bug 1486004)
Backed out changeset eb186c92232d (bug 1486004)
Backed out changeset 677f2129750e (bug 1486004)
Backed out changeset 81427a5f2103 (bug 1486004)
Backed out changeset 38d7def3d425 (bug 1486004)
Backed out changeset a9e73221c471 (bug 1486004)
Backed out changeset ebe8c2d5432e (bug 1486004)
2020-07-16 15:29:29 +03:00
Bob Clary dfe3dc83b3 Bug 1486004 - Part 1 - [mozdevice 4.0.0] Use run-as to work around rooted device requirement, r=gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82744
2020-07-15 20:57:17 +00:00
Bob Clary c457eaa29c Bug 1642672 - [mozdevice 3.2.3] Ensure content of files and process output is converted to str for Python 3, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D77844
2020-06-02 20:43:45 +00:00
Bob Clary 72989a3433 Bug 1634768 - [mozdevice] no longer wait for dev.bootcomplete property during initialization, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D75146
2020-05-14 14:35:17 +00:00
Geoff Brown bd594817af Bug 1635300 - [mozdevice] Create parent directories to avoid intermittent mkdir failure; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D73908
2020-05-05 16:22:16 +00:00
Bob Clary 2b28bc95ba Bug 1634196 - [mozdevice 3.2.2] - relax root requirement during initialization, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D73244
2020-04-30 13:22:56 +00:00
Geoff Brown d014b03ba8 Bug 1633894 - [mozdevice] Use /system instead of /sdcard for ls test; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D72971
2020-04-29 06:41:55 +00:00
Bob Clary 1559eee282 Bug 1633301 - [mozdevice] ADBDevice.rm should raise an error if the target was not deleted, r=gbrown.
Depends on D72575

Differential Revision: https://phabricator.services.mozilla.com/D72576
2020-04-27 15:47:04 +00:00
Bob Clary 844410de42 Bug 1631671 - [mozdevice] Handle Scoped storage in Android 10+, r=gbrown.
On a local Pixel 2 running Android 10, launching Geckoview test app via the
shell with the profile on external storage hangs and causes an ADBTimeoutError.
Using a profile in /data/local/tests does not exhibit this behavior.

In addition, attempting to push a directory tree directly to internal
storage can fail with "remote secure_mkdirs failed" errors when pushing
directories containing subdirectories to internal storage on /data.

The subdirectories were created with insufficient permissions for the
contents of the directories to be pushed. We can work around this problem
by catching the failure and falling back to using adb push to push the
source directory tree to a temporary location on the sdcard which does
not exhibit the error and then copying the temporary location to the
desired final destination.

These changes are necessary due to the change in Scoped Storage [1]
in Android 10 and later.

Since storing profiles on the sdcard is no longer supported the choices
for possible test roots has been reduced to using internal storage.
Since geckoview expects to be able to store content under /data/local/tmp
the default test root has been changed to /data/local/tmp/tests.

By default, the test root will be shared by all instances of ADBDevice
unless the share_test_root argument is set to False in the initializer.
This allows the test root to be defined globally with out requiring
each instance of ADBDevice to be modified.

The test_root default initial value should be None, not empty string.
The ADBDevice.test_root property is now read/write to support the new
shared test_root functionality.

Android emulators have exhibited an intermittent failure to clear logcat.
A ride-along change to retry the log clearing is included.

adb pull can fail if not all of the files have permission to be read.
This situation can appear when a profile is located on internal storage
and an app such as geckoview writes files to it. They will be readable
only by the app until the permissions are changed. Work around this
by calling chmod -R on any thing that is to be pulled from the device.


Bump mozdevice version to 3.1.2.

[1] https://developer.android.com/training/data-storage#scoped-storage

Differential Revision: https://phabricator.services.mozilla.com/D71722
2020-04-24 17:48:50 +00:00
Bob Clary 1299676ff5 Bug 1623209 - [mozdevice] Catch and report IndexError when parsing ps output in get_process_list, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D67324

--HG--
extra : moz-landing-system : lando
2020-03-18 15:12:44 +00:00
Bob Clary 607e26c1e6 Bug 1622799 - [mozdevice 3.1.1] - Fix adb command line processing when arguments contain both single and double quotes, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D66969

--HG--
extra : moz-landing-system : lando
2020-03-17 18:26:59 +00:00
Geoff Brown da6461365b Bug 1621106 - Bump minor version for mozbase modules depending on mozlog 6.0 and/or mozcrash 2.0; r=wlach
Minor version bumps in preparation for new pypi releases of modules now requiring mozlog 6.0 and/or mozcrash 2.0.

Differential Revision: https://phabricator.services.mozilla.com/D66116

--HG--
extra : moz-landing-system : lando
2020-03-10 13:05:13 +00:00
Geoff Brown dc64cf08e6 Bug 1619586 - Major version bump for mozlog and mozcrash; r=bc,marionette-reviewers,perftest-reviewers,jgraham,whimboo
Major version number bump for both mozlog and mozcrash + requirements update.
This is very much like the previous mozlog major bump - see bug 1591384.
This patch does not update testing/web-platform/tests/tools/wptrunner/requirements.txt;
I expect that will be automatically updated by the pyup.io bot once mozlog is re-released.

Differential Revision: https://phabricator.services.mozilla.com/D65135

--HG--
extra : moz-landing-system : lando
2020-03-04 00:32:38 +00:00
Bob Clary 330b580f32 Bug 1615280 - [mozdevice] ADBDevice.get_top_activity() should use dumpsys window on Android 10, r=gbrown,snorp.
Differential Revision: https://phabricator.services.mozilla.com/D62975

--HG--
extra : moz-landing-system : lando
2020-02-18 14:12:31 +00:00
Bob Clary 05c4d91a51 Bug 1614954 - [mozdevice] Do not attempt to grant android.permission.FOREGROUND_SERVICE, r=gbrown,snorp
Depends on D62593

Differential Revision: https://phabricator.services.mozilla.com/D62594

--HG--
extra : moz-landing-system : lando
2020-02-12 17:42:34 +00:00
Bob Clary d6d0b3b1b8 Bug 1614954 - [mozdevice] Do not terminate ADBDevice.grant_runtime_permissions on error, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D62593

--HG--
extra : moz-landing-system : lando
2020-02-12 17:13:52 +00:00
Bob Clary 36db61af8f Bug 1606378 - [mozdevice] Update version to 3.0.7, r=gbrown.
Depends on D59130

Differential Revision: https://phabricator.services.mozilla.com/D59131

--HG--
extra : moz-landing-system : lando
2020-01-08 16:11:33 +00:00
Bob Clary c875ef7713 Bug 1606378 - [mozdevice] Do not use message property of exception objects, r=gbrown.
To work around the lack of Exception.message in Python 3, I've switched adb.py to using str(e) instead of e.message where we either output or check for a substring in the exception message. This doesn't not work for cases where we want to do an equality comparison but fortunately adb.py does not use exact comparisons.

Differential Revision: https://phabricator.services.mozilla.com/D59130

--HG--
extra : moz-landing-system : lando
2020-01-08 16:13:06 +00:00
Geoff Brown d2bcfce6f8 Bug 1600713 - Grant FOREGROUND_SERVICE permission to android test apps; r=bc
Simple addition of one item to list of granted permissions, for Android P+; see bug 1553515.

Differential Revision: https://phabricator.services.mozilla.com/D55561

--HG--
extra : moz-landing-system : lando
2019-12-02 23:17:40 +00:00
Bob Clary 5f979fe576 Bug 1597317 - bump mozdevice to version 3.0.6, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D53669

--HG--
extra : moz-landing-system : lando
2019-11-18 18:02:18 +00:00
Philip Jägenstedt 21b473eac4 Bug 1589056 - [mozlog] Update mozlog version number to 5.0 r=jgraham
This is needed to release a new mozlog with the PRECONDITION_FAILED
test and subtest status for use in web-platform-tests.

Update all in-tree dependencies on mozlog to >=5.0. These were found
with `hg grep 'mozlog.*[0-9]'`.

Only testing/web-platform/tests/tools/wptrunner/requirements.txt
remains on 4.2.0, and it will be updated in upstream wpt after mozlog
5.0 has been released.

Differential Revision: https://phabricator.services.mozilla.com/D50456

--HG--
extra : moz-landing-system : lando
2019-10-24 14:12:32 +00:00
Nick Alexander 21955fe91b Bug 1581006 - Allow mozdevice to find `ls` on unrooted devices. r=bc
Bug 1572563 wanted to be extra sure that `ls` could be found. To do
that it tries to run various `ls` variants in a loop until one such
variant exits with exit code 0. However, `ls` can be present and
functional and still exit with code 1. For many unrooted devices, bare
`ls` will exit with code 1 because there are files and directories for
which the shell user doesn't have read permission.

This works around by trying to list only the file that the loop is
trying to execute.

Differential Revision: https://phabricator.services.mozilla.com/D45770

--HG--
extra : moz-landing-system : lando
2019-09-13 01:13:49 +00:00
Tarek Ziadé 01224ba87c Bug 1579853 - added get_sys_info() r=bc
This API returns the data from get_info() along with a handful
list of dumpsys services data.

Differential Revision: https://phabricator.services.mozilla.com/D45317

--HG--
extra : moz-landing-system : lando
2019-09-11 19:23:35 +00:00
Andrew Halberstadt e1337a729d Bug 1567642 - [mozbase] Fix flake8 under py3 lint errors r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45243

--HG--
extra : moz-landing-system : lando
2019-09-09 23:55:32 +00:00