testing/mozharness/configs/android/androidarm_4_3.py
author Wes Kocher <wkocher@mozilla.com>
Tue, 15 Sep 2015 08:52:19 -0700
changeset 296924 d90bfbc8688ad3d6d846b55e594cd423c8dd16fc
parent 296919 25f22b3433e0e7ee53cfc264b4ac3647d83d902a
child 297335 5c715c7f22c32df4c1425a26d4389ffb761f6a70
permissions -rw-r--r--
Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE Backed out changeset 25f22b3433e0 (bug 1194166) Backed out changeset a824847677c5 (bug 1193257) Backed out changeset 6cc19a8f1bb0 (bug 1193224) Backed out changeset bf1271f6cfa0 (bug 1198257) Backed out changeset 75b3c43770bd (bug 1193223) Backed out changeset 81a5cf4c8f19 (bug 1181516) Backed out changeset db3691ee6fd1 (bug 1181520)

import os

config = {
    "buildbot_json_path": "buildprops.json",
    "host_utils_url": "http://talos-remote.pvt.build.mozilla.org/tegra/tegra-host-utils.Linux.1109310.2.zip",
    "robocop_package_name": "org.mozilla.roboexample.test",
    "tooltool_manifest_path": "testing/config/tooltool-manifests/androidarm_4_3/releng.manifest",
    "tooltool_cache": "/builds/tooltool_cache",
    ".avds_dir": "/home/cltbld/.android",
    "emulator_manifest": """
        [
        {
        "size": 140097024,
        "digest": "51781032335c09103e8509b1a558bf22a7119392cf1ea301c49c01bdf21ff0ceb37d260bc1c322cd9b903252429fb01830fc27e4632be30cd345c95bf4b1a39b",
        "algorithm": "sha512",
        "filename": "android-sdk_r24.0.2-linux.tgz",
        "unpack": "True"
        }
        ] """,
    "tools_manifest": """
        [
        {
        "size": 193383673,
        "digest": "6609e8b95db59c6a3ad60fc3dcfc358b2c8ec8b4dda4c2780eb439e1c5dcc5d550f2e47ce56ba14309363070078d09b5287e372f6e95686110ff8a2ef1838221",
        "algorithm": "sha512",
        "filename": "android-sdk18_0.r18moz1.orig.tar.gz",
        "unpack": "True"
        }
        ] """,
    "emulator_process_name": "emulator64-arm",
    "emulator_extra_args": "-show-kernel -debug init,console,gles,memcheck,adbserver,adbclient,adb,avd_config,socket",
    "device_manager": "adb",
    "exes": {
        'adb': '%(abs_work_dir)s/android-sdk18/platform-tools/adb',
        'python': '/tools/buildbot/bin/python',
        'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],
        'tooltool.py': "/tools/tooltool.py",
    },
    "env": {
        "DISPLAY": ":0.0",
        "PATH": "%(PATH)s:%(abs_work_dir)s/android-sdk-linux/tools:%(abs_work_dir)s/android-sdk18/platform-tools",
        "MINIDUMP_SAVEPATH": "%(abs_work_dir)s/../minidumps"
    },
    "default_actions": [
        'clobber',
        'read-buildbot-config',
        'setup-avds',
        'start-emulator',
        'download-and-extract',
        'create-virtualenv',
        'verify-emulator',
        'install',
        'run-tests',
        'stop-emulator',
    ],
    "emulator": {
            "name": "test-1",
            "device_id": "emulator-5554",
            "http_port": "8854", # starting http port to use for the mochitest server
            "ssl_port": "4454", # starting ssl port to use for the server
            "emulator_port": 5554,
        },
    "suite_definitions": {
        "mochitest": {
            "run_filename": "runtestsremote.py",
            "testsdir": "mochitest",
            "options": [
                "--dm_trans=adb",
                "--app=%(app)s",
                "--remote-webserver=%(remote_webserver)s",
                "--xre-path=%(xre_path)s",
                "--utility-path=%(utility_path)s",
                "--http-port=%(http_port)s",
                "--ssl-port=%(ssl_port)s",
                "--certificate-path=%(certs_path)s",
                "--symbols-path=%(symbols_path)s",
                "--quiet",
                "--log-raw=%(raw_log_file)s",
                "--log-errorsummary=%(error_summary_file)s",
                "--screenshot-on-fail",
            ],
        },
        "mochitest-gl": {
            "run_filename": "runtestsremote.py",
            "testsdir": "mochitest",
            "options": [
                "--dm_trans=adb",
                "--app=%(app)s",
                "--remote-webserver=%(remote_webserver)s",
                "--xre-path=%(xre_path)s",
                "--utility-path=%(utility_path)s",
                "--http-port=%(http_port)s",
                "--ssl-port=%(ssl_port)s",
                "--certificate-path=%(certs_path)s",
                "--symbols-path=%(symbols_path)s",
                "--quiet",
                "--log-raw=%(raw_log_file)s",
                "--log-errorsummary=%(error_summary_file)s",
                "--screenshot-on-fail",
                "--total-chunks=4",
                "--subsuite=webgl",
            ],
        },
        "robocop": {
            "run_filename": "runrobocop.py",
            "testsdir": "mochitest",
            "options": [
                "--dm_trans=adb",
                "--app=%(app)s",
                "--remote-webserver=%(remote_webserver)s",
                "--xre-path=%(xre_path)s",
                "--utility-path=%(utility_path)s",
                "--http-port=%(http_port)s",
                "--ssl-port=%(ssl_port)s",
                "--certificate-path=%(certs_path)s",
                "--symbols-path=%(symbols_path)s",
                "--quiet",
                "--log-raw=%(raw_log_file)s",
                "--log-errorsummary=%(error_summary_file)s",
                "--total-chunks=4",
                "--robocop-apk=../../robocop.apk",
                "--robocop-ini=robocop.ini",
            ],
        },
        "reftest": {
            "run_filename": "remotereftest.py",
            "testsdir": "reftest",
            "options": [
                "--app=%(app)s",
                "--ignore-window-size",
                "--dm_trans=adb",
                "--bootstrap",
                "--remote-webserver=%(remote_webserver)s",
                "--xre-path=%(xre_path)s",
                "--utility-path=%(utility_path)s",
                "--http-port=%(http_port)s",
                "--ssl-port=%(ssl_port)s",
                "--httpd-path", "%(modules_dir)s",
                "--symbols-path=%(symbols_path)s",
                "--total-chunks=16",
                "tests/layout/reftests/reftest.list",
            ],
        },
        "crashtest": {
            "run_filename": "remotereftest.py",
            "testsdir": "reftest",
            "options": [
                "--app=%(app)s",
                "--ignore-window-size",
                "--dm_trans=adb",
                "--bootstrap",
                "--remote-webserver=%(remote_webserver)s",
                "--xre-path=%(xre_path)s",
                "--utility-path=%(utility_path)s",
                "--http-port=%(http_port)s",
                "--ssl-port=%(ssl_port)s",
                "--httpd-path",
                "%(modules_dir)s",
                "--symbols-path=%(symbols_path)s",
                "--total-chunks=2",
                "tests/testing/crashtest/crashtests.list",
            ],
        },
        "jsreftest": {
            "run_filename": "remotereftest.py",
            "testsdir": "reftest",
            "options": [
                "--app=%(app)s",
                "--ignore-window-size",
                "--dm_trans=adb",
                "--bootstrap",
                "--remote-webserver=%(remote_webserver)s", "--xre-path=%(xre_path)s",
                "--utility-path=%(utility_path)s", "--http-port=%(http_port)s",
                "--ssl-port=%(ssl_port)s", "--httpd-path", "%(modules_dir)s",
                "--symbols-path=%(symbols_path)s",
                "../jsreftest/tests/jstests.list",
                "--total-chunks=6",
                "--extra-profile-file=jsreftest/tests/user.js",
            ],
        },
        "xpcshell": {
            "run_filename": "remotexpcshelltests.py",
            "testsdir": "xpcshell",
            "options": [
                "--dm_trans=adb",
                "--xre-path=%(xre_path)s",
                "--testing-modules-dir=%(modules_dir)s",
                "--apk=%(installer_path)s",
                "--no-logfiles",
                "--symbols-path=%(symbols_path)s",
                "--manifest=tests/xpcshell.ini",
                "--log-raw=%(raw_log_file)s",
                "--log-errorsummary=%(error_summary_file)s",
                "--total-chunks=3",
            ],
        },
        "cppunittest": {
            "run_filename": "remotecppunittests.py",
            "testsdir": "cppunittest",
            "options": [
                "--symbols-path=%(symbols_path)s",
                "--xre-path=%(xre_path)s",
                "--dm_trans=adb",
                "--localBinDir=../bin",
                "--apk=%(installer_path)s",
                ".",
            ],
        },

    }, # end suite_definitions
    "test_suite_definitions": {
        "jsreftest-1": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=1"],
        },
        "jsreftest-2": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=2"],
        },
        "jsreftest-3": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=3"],
        },
        "jsreftest-4": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=4"],
        },
        "jsreftest-5": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=5"],
        },
        "jsreftest-6": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=6"],
        },
        "jsreftest-7": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=7"],
        },
        "jsreftest-8": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=8"],
        },
        "jsreftest-9": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=9"],
        },
        "jsreftest-10": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=10"],
        },
        "jsreftest-11": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=11"],
        },
        "jsreftest-12": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=12"],
        },
        "jsreftest-13": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=13"],
        },
        "jsreftest-14": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=14"],
        },
        "jsreftest-15": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=15"],
        },
        "jsreftest-16": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=16"],
        },
        "jsreftest-17": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=17"],
        },
        "jsreftest-18": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=18"],
        },
        "jsreftest-19": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=19"],
        },
        "jsreftest-20": {
            "category": "jsreftest",
            "extra_args": ["--this-chunk=20"],
        },
        "mochitest-1": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=1"],
        },
        "mochitest-2": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=2"],
        },
        "mochitest-3": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=3"],
        },
        "mochitest-4": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=4"],
        },
        "mochitest-5": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=5"],
        },
        "mochitest-6": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=6"],
        },
        "mochitest-7": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=7"],
        },
        "mochitest-8": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=8"],
        },
        "mochitest-9": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=9"],
        },
        "mochitest-10": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=10"],
        },
        "mochitest-11": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=11"],
        },
        "mochitest-12": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=12"],
        },
        "mochitest-13": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=13"],
        },
        "mochitest-14": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=14"],
        },
        "mochitest-15": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=15"],
        },
        "mochitest-16": {
            "category": "mochitest",
            "extra_args": ["--total-chunks=16", "--this-chunk=16"],
        },
        "mochitest-chrome": {
            "category": "mochitest",
            "extra_args": ["--chrome"],
        },
        "mochitest-gl-1": {
            "category": "mochitest-gl",
            "extra_args": ["--this-chunk=1"],
        },
        "mochitest-gl-2": {
            "category": "mochitest-gl",
            "extra_args": ["--this-chunk=2"],
        },
        "mochitest-gl-3": {
            "category": "mochitest-gl",
            "extra_args": ["--this-chunk=3"],
        },
        "mochitest-gl-4": {
            "category": "mochitest-gl",
            "extra_args": ["--this-chunk=4"],
        },
        "reftest-1": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=1",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-2": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=2",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-3": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=3",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-4": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=4",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-5": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=5",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-6": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=6",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-7": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=7",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-8": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=8",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-9": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=9",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-10": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=10",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-11": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=11",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-12": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=12",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-13": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=13",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-14": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=14",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-15": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=15",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-16": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=16",
                "tests/layout/reftests/reftest.list"]
        },
        "reftest-17": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=17",
            "tests/layout/reftests/reftest.list"]
        },
       "reftest-18": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=18",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-19": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=19",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-20": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=20",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-21": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=21",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-22": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=22",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-23": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=23",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-24": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=24",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-25": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=25",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-26": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=26",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-27": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=27",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-28": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=28",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-29": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=29",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-30": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=30",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-31": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=31",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-32": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=32",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-33": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=33",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-34": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=34",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-35": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=35",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-36": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=36",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-37": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=37",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-38": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=38",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-39": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=39",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-40": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=40",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-41": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=41",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-42": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=42",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-43": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=43",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-44": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=44",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-45": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=45",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-46": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=46",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-47": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=47",
            "tests/layout/reftests/reftest.list"]
        },
        "reftest-48": {
            "category": "reftest",
            "extra_args": ["--total-chunks=48", "--this-chunk=48",
            "tests/layout/reftests/reftest.list"]
        },
        "crashtest-1": {
            "category": "crashtest",
            "extra_args": ["--this-chunk=1"],
        },
        "crashtest-2": {
            "category": "crashtest",
            "extra_args": ["--this-chunk=2"],
        },
        "crashtest-3": {
            "category": "crashtest",
            "extra_args": ["--this-chunk=3"],
        },
        "crashtest-4": {
            "category": "crashtest",
            "extra_args": ["--this-chunk=4"],
        },
        "xpcshell-1": {
            "category": "xpcshell",
            "extra_args": ["--total-chunks=3", "--this-chunk=1"],
        },
        "xpcshell-2": {
            "category": "xpcshell",
            "extra_args": ["--total-chunks=3", "--this-chunk=2"],
        },
        "xpcshell-3": {
            "category": "xpcshell",
            "extra_args": ["--total-chunks=3", "--this-chunk=3"],
        },
        "robocop-1": {
            "category": "robocop",
            "extra_args": ["--this-chunk=1"],
        },
        "robocop-2": {
            "category": "robocop",
            "extra_args": ["--this-chunk=2"],
        },
        "robocop-3": {
            "category": "robocop",
            "extra_args": ["--this-chunk=3"],
        },
        "robocop-4": {
            "category": "robocop",
            "extra_args": ["--this-chunk=4"],
        },
        "cppunittest": {
            "category": "cppunittest",
            "extra_args": [],
        },
    }, # end of "test_definitions"
    "download_minidump_stackwalk": True,
    "default_blob_upload_servers": [
         "https://blobupload.elasticbeanstalk.com",
    ],
    "blob_uploader_auth_file" : os.path.join(os.getcwd(), "oauth.txt"),
}