Mobile-device manager for automated-test frameworks
Python Shell
Latest commit 771c7f9 Nov 22, 2016 @bclary bclary Bug 1319787 - Autophone - Do not send email notification for first Tr…
…eeherder submission failure, r=gbrown.
Permalink
Failed to load latest commit information.
apk Bug 1229807 - Autophone - install and uninstall Flash for the Autopho… Dec 3, 2015
configs Bug 1286657 - Autophone - Simplify WebRTC Crashtest job symbol Sep 1, 2016
files Bug 1155016 - Autophone - update quitter with signed version compatib… Mar 19, 2016
selftest Bug 965557 - Call devicemanager's reboot with keyword arguments, don'… Jan 29, 2014
tests Bug 1317426 - schedule Autophone Mw and Cw jobs on mozilla-aurora, r=… Nov 15, 2016
xpi Bug 1155016 - Autophone - update quitter with signed version compatib… Mar 19, 2016
.gitignore Bug 1119654 - Autophone - update .gitignore to ignore credentials and… May 6, 2015
.gitmodules Bug 1074454 - Autophone - check test files into git repos, r=mcote. Oct 2, 2014
HACKING.md Bug 1278077 - Autophone - add HACKING.md document to record design an… Jun 4, 2016
INSTALL.md Bug 1250909 - Autophone - add support for USBWatchdog app, r=gbrown Mar 16, 2016
PRODUCTION.md Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
README.md Bug 1037067 - Improve initial setup and docs, r=gbrown, r=mcote. Oct 28, 2014
USAGE.md Bug 1304789 - Autophone - github markdown does not support markdown e… Sep 22, 2016
adb.py Bug 1318001 - Autophone - mozdevice - adb*.py - properly split lines … Nov 16, 2016
adb_android.py Bug 1318001 - Autophone - mozdevice - adb*.py - properly split lines … Nov 16, 2016
adb_b2g.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
ap Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-add-device Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-assignments Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-assignments.py Bug 1313428 - Autophone - ap-assignments.py - add opt,debug timing, u… Nov 9, 2016
ap-battery Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-console Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-errors Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-getlogs Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-getstate Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-inventory Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-inventory.py Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-jobs Bug 1304789 - Autophone - add missing AUTOPHONE_PATH to jobs.sqlite, … Sep 22, 2016
ap-pushes Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-pushes.py Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-restart Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-shutdown Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-status Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
ap-wifi Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
autophone.ini.example Bug 1155885 - Autophone - should automatically recover when devices a… Jun 19, 2015
autophone.py Bug 1311706 - Autophone - prevent dead locks by not processing build … Oct 26, 2016
autophonecrash.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
autophonepath Bug 1304789 - Autophone - Add utilities to support administration of … Sep 22, 2016
autophonepulsemonitor.py Bug 1315988 - Autophone - add additional routing keys for new Taskclu… Nov 11, 2016
autophonetreeherder.py Bug 1319787 - Autophone - Do not send email notification for first Tr… Nov 23, 2016
build_dates.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
builds.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
buildserver.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
devices.ini.example Bug 990601 - Autophone - use adb instead of tcp/ip to control devices… May 14, 2014
jobs.py Bug 1319787 - Autophone - Always wait after a jobs SQL Error; reduce … Nov 23, 2016
logdecorator.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
mailer.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
options.py Bug 1296230 - Autophone - use TreeherderClient 3, r=gbrown Sep 1, 2016
phonestatus.py Bug 1155885 - Autophone - should automatically recover when devices a… Jun 19, 2015
phonetest.py Bug 1300890 - Autophone - do not use a TimedRotatingFileHandler for t… Sep 19, 2016
process_states.py Bug 1161631 - Autophone - part 5 - tweak and describe ProcessStates, … Jun 7, 2015
production-autophone-1-devices.ini Bug 1307780 - Autophone - move nexus-6p-{1,2} to autophone-1, r=self Oct 5, 2016
production-autophone-1.ini Bug 1315744 - Autophone - reconfigure manifests for Nexus 5 / Nexus 6… Nov 9, 2016
production-autophone-2-devices.ini Bug 1315744 - Autophone - reconfigure manifests for Nexus 5 / Nexus 6… Nov 9, 2016
production-autophone-2.ini Bug 1315744 - Autophone - reconfigure manifests for Nexus 5 / Nexus 6… Nov 9, 2016
production-autophone-3-devices.ini Bug 1315744 - Autophone - reconfigure manifests for Nexus 5 / Nexus 6… Nov 9, 2016
production-autophone-3.ini Bug 1315744 - Autophone - reconfigure manifests for Nexus 5 / Nexus 6… Nov 9, 2016
production-autophone.ini Bug 1186420 - Autophone - update requirements and deploy thclient 1.6… Jul 24, 2015
production-email.ini Bug 1233025 - Autophone - add kbrosnan to email notification list, r=bc Dec 18, 2015
requirements.txt Bug 1298732 - Autophone - submit logs to Treeherder for parsing, r=jm… Sep 1, 2016
s3.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
sendemail.py Bug 790380 - Handle worker crashes and misc. other improvements and f… Sep 24, 2012
sensitivedatafilter.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
trigger_runs.py Bug 1300890 - Autophone - pylint fixes and logging clean up, r=jmaher. Sep 19, 2016
utils.py Bug 1318001 - Autophone - utils.py - properly split lines from shell … Nov 16, 2016
version_codes.py Bug 1306703 - Autophone - mozdevice - minimal Android 7 support in ad… Oct 24, 2016
worker.py Bug 1300890 - Autophone - do not use a TimedRotatingFileHandler for t… Sep 19, 2016

README.md

Autophone, a mobile-device manager for automated-test frameworks

Autophone controls one or more mobile devices via adb. Its primary goals are to:

  • execute arbitrary tests on devices
  • provide basic device status
  • between tests, verify that devices are still connected and responsive, and, if not, attempt to recover them

Autophone does not provide a test framework. Rather, it executes arbitrary Python code, which can also launch and control subprocesses to execute tests of any format and design.

The project page contains more background, goals, implementation notes, and other such information.

Source code is at https://github.com/mozilla/autophone/

See also phonedash for a basic results server.

See the files INSTALL.md and USAGE.md for more detailed information.