android_panda module

class android_panda.PandaTest(require_config_file=False)[source]

Bases: mozharness.mozilla.testing.testbase.TestingMixin, mozharness.base.vcs.vcsbase.MercurialScript, mozharness.mozilla.blob_upload.BlobUploadMixin, mozharness.mozilla.testing.mozpool.MozpoolMixin, mozharness.mozilla.buildbot.BuildbotMixin, mozharness.mozilla.testing.device.SUTDeviceMozdeviceMixin, mozharness.mozilla.mozbase.MozbaseMixin

close_request()[source]
config_options = [[['--mozpool-api-url'], {'dest': 'mozpool_api_url', 'help': 'Override mozpool api url'}], [['--mozpool-device'], {'dest': 'mozpool_device', 'help': 'Set Panda device to run tests on'}], [['--mozpool-assignee'], {'dest': 'mozpool_assignee', 'help': 'Set mozpool assignee (requestor name, free-form)'}], [['--total-chunks'], {'action': 'store', 'dest': 'total_chunks', 'help': 'Number of total chunks'}], [['--this-chunk'], {'action': 'store', 'dest': 'this_chunk', 'help': 'Number of this chunk'}], [['--extra-args'], {'action': 'store', 'dest': 'extra_args', 'help': 'Extra arguments'}], [['--mochitest-suite'], {'action': 'extend', 'dest': 'specified_mochitest_suites', 'type': 'string', 'help': "Specify which mochi suite to run. Suites are defined in the config file.\nExamples: 'all', 'plain1', 'plain5', 'chrome', or 'a11y'"}], [['--reftest-suite'], {'action': 'extend', 'dest': 'specified_reftest_suites', 'type': 'string', 'help': "Specify which reftest suite to run. Suites are defined in the config file.\nExamples: 'all', 'crashplan', or 'jsreftest'"}], [['--crashtest-suite'], {'action': 'extend', 'dest': 'specified_crashtest_suites', 'type': 'string', 'help': "Specify which crashtest suite to run. Suites are defined in the config file\n.Examples: 'crashtest'"}], [['--jsreftest-suite'], {'action': 'extend', 'dest': 'specified_jsreftest_suites', 'type': 'string', 'help': "Specify which jsreftest suite to run. Suites are defined in the config file\n.Examples: 'jsreftest'"}], [['--robocop-suite'], {'action': 'extend', 'dest': 'specified_robocop_suites', 'type': 'string', 'help': "Specify which robocop suite to run. Suites are defined in the config file\n.Examples: 'robocop'"}], [['--instrumentation-suite'], {'action': 'extend', 'dest': 'specified_instrumentation_suites', 'type': 'string', 'help': "Specify which instrumentation suite to run. Suites are defined in the config file\n.Examples: 'browser', 'background'"}], [['--xpcshell-suite'], {'action': 'extend', 'dest': 'specified_xpcshell_suites', 'type': 'string', 'help': "Specify which xpcshell suite to run. Suites are defined in the config file\n.Examples: 'xpcshell'"}], [['--jittest-suite'], {'action': 'extend', 'dest': 'specified_jittest_suites', 'type': 'string', 'help': "Specify which jittest suite to run. Suites are defined in the config file\n.Examples: 'jittest'"}], [['--cppunittest-suite'], {'action': 'extend', 'dest': 'specified_cppunittest_suites', 'type': 'string', 'help': "Specify which cpp unittest suite to run. Suites are defined in the config file\n.Examples: 'cppunittest'"}], [['--run-all-suites'], {'action': 'store_true', 'dest': 'run_all_suites', 'default': False, 'help': 'This will run all suites that are specified in the config file. You do not need to specify any other suites. Beware, this may take a while ;)'}], [['--installer-url'], {'action': 'store', 'dest': 'installer_url', 'default': None, 'help': 'URL to the installer to install'}], [['--installer-path'], {'action': 'store', 'dest': 'installer_path', 'default': None, 'help': 'Path to the installer to install. This is set automatically if run with --download-and-extract.'}], [['--binary-path'], {'action': 'store', 'dest': 'binary_path', 'default': None, 'help': 'Path to installed binary. This is set automatically if run with --install.'}], [['--exe-suffix'], {'action': 'store', 'dest': 'exe_suffix', 'default': None, 'help': 'Executable suffix for binaries on this platform'}], [['--test-url'], {'action': 'store', 'dest': 'test_url', 'default': None, 'help': 'URL to the zip file containing the actual tests'}], [['--test-packages-url'], {'action': 'store', 'dest': 'test_packages_url', 'default': None, 'help': 'URL to a json file describing which tests archives to download'}], [['--jsshell-url'], {'action': 'store', 'dest': 'jsshell_url', 'default': None, 'help': 'URL to the jsshell to install'}], [['--download-symbols'], {'action': 'store', 'dest': 'download_symbols', 'type': 'choice', 'help': 'Download and extract crash reporter symbols.', 'choices': ['ondemand', 'true']}], [['--venv-path', '--virtualenv-path'], {'action': 'store', 'dest': 'virtualenv_path', 'default': 'venv', 'help': 'Specify the path to the virtualenv top level directory'}], [['--virtualenv'], {'action': 'store', 'dest': 'virtualenv', 'help': 'Specify the virtualenv executable to use'}], [['--find-links'], {'action': 'extend', 'dest': 'find_links', 'help': 'URL to look for packages at'}], [['--pip-index'], {'action': 'store_true', 'default': True, 'dest': 'pip_index', 'help': 'Use pip indexes (default)'}], [['--no-pip-index'], {'action': 'store_false', 'dest': 'pip_index', 'help': "Don't use pip indexes"}], [['--blob-upload-branch'], {'dest': 'blob_upload_branch', 'help': "Branch for blob server's metadata"}], [['--blob-upload-server'], {'dest': 'blob_upload_servers', 'action': 'extend', 'help': "Blob servers's location"}]]
download_and_extract()[source]

Provides the target suite categories to TestingMixin.download_

error_list = []
mozpool_handler = None
postflight_read_buildbot_config()[source]
query_abs_dirs()[source]
request_device()[source]
run_test()[source]
test_suites = ['mochitest', 'reftest', 'crashtest', 'jsreftest', 'robocop', 'instrumentation', 'xpcshell', 'jittest', 'cppunittest']
virtualenv_modules = ['mozpoolclient']