talos-staging-pool/config.py
author Chris AtLee <catlee@mozilla.com>
Thu, 24 Sep 2009 08:57:51 -0400
changeset 1545 ec36de49b85abfc3017f167d3cb5b2fca3368fe4
parent 1492 d06348293032c0e7e42f7c61e6d870bfa54be8da
child 1546 83ab7b722d57b86b601ec3a68b52b6064398ffa9
permissions -rw-r--r--
Bug 516820 - Turn off tiger tests on m-c, and support per-OS testing. p=anodelman r=bhearsum

from buildbot.steps.shell import WithProperties

GRAPH_CONFIG = [ '--resultsServer', 'graphs-stage.mozilla.org', '--resultsLink', '/server/collect.cgi']
TALOS_CONFIG_OPTIONS = GRAPH_CONFIG + ['--activeTests', 'ts:tdhtml:tsvg:twinopen:tsspider:tgfx']

TALOS_NOCHROME_CONFIG_OPTIONS = GRAPH_CONFIG + TALOS_CONFIG_OPTIONS + ['--noChrome']

TALOS_JSS_CONFIG_OPTIONS = GRAPH_CONFIG + ['--activeTests', 'tjss']

TALOS_DIRTY_CONFIG_OPTIONS = GRAPH_CONFIG + ['--activeTests', 'ts:ts_places_generated_min:ts_places_generated_med:ts_places_generated_max']
TALOS_DIRTY_ADDONS = ['/builds/buildbot/profiles/dirtyDBs.zip', '/builds/buildbot/profiles/dirtyMaxDBs.zip']


TALOS_TP4_CONFIG_OPTIONS = GRAPH_CONFIG + ['--activeTests', 'tp4']

TALOS_CMD = ['python', 'run_tests.py', '--noisy', WithProperties('%(configFile)s')]

SLAVES = {
    'linux': ["talos-rev1-linux%02i" % x for x in range(1,5)],
    'xp': ["talos-rev1-xp%02i" % x for x in range(1,5)],
    'vista': ["talos-rev1-vista%02i" % x for x in range(1,5)],
    'tiger': ["talos-rev1-tiger%02i" % x for x in range(1,5)],
    'leopard': ["talos-rev1-leopard%02i" % x for x in range(1,5)],
}

BRANCHES = {
    'mozilla-central': {},
    'mozilla-1.9.2': {},
    'mozilla-1.9.1': {},
    'mozilla-1.9.0': {},
    'tracemonkey': {},
    'places': {},
}

PLATFORMS = {
    'macosx': {},
    'win32': {},
    'linux': {},
}

PLATFORMS['macosx']['slave_platforms'] = ['tiger', 'leopard']
PLATFORMS['macosx']['env_name'] = 'mac-perf'
PLATFORMS['macosx']['tiger'] = {'name': "MacOSX Darwin 8.8.1"}
PLATFORMS['macosx']['leopard'] = {'name': "MacOSX Darwin 9.0.0"}

PLATFORMS['win32']['slave_platforms'] = ['xp', 'vista']
PLATFORMS['win32']['env_name'] = 'win32-perf'
PLATFORMS['win32']['xp'] = {'name': "WINNT 5.1"}
PLATFORMS['win32']['vista'] = {'name': "WINNT 6.0"}

PLATFORMS['linux']['slave_platforms'] = ['linux']
PLATFORMS['linux']['env_name'] = 'linux-perf'
PLATFORMS['linux']['linux'] = {'name': "Linux"}

ALL_PLATFORMS = PLATFORMS['linux']['slave_platforms'] + \
                PLATFORMS['win32']['slave_platforms'] + \
                PLATFORMS['macosx']['slave_platforms']
NO_TIGER = PLATFORMS['linux']['slave_platforms'] + PLATFORMS['win32']['slave_platforms'] + 'leopard'

######## mozilla-1.9.0
BRANCHES['mozilla-1.9.0']['branch_name'] = "Firefox3.0"
BRANCHES['mozilla-1.9.0']['build_branch'] = "1.9.0"
BRANCHES['mozilla-1.9.0']['fetch_symbols'] = False
# How many chrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.0']['chrome_tests'] = (1, True, [], ALL_PLATFORMS)
# How many nochrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.0']['nochrome_tests'] = (1, True, [], ALL_PLATFORMS)
BRANCHES['mozilla-1.9.0']['jss_tests'] = (0,True, [], ALL_PLATFORMS)
BRANCHES['mozilla-1.9.0']['dirty_tests'] = (0, True, [], ALL_PLATFORMS)
BRANCHES['mozilla-1.9.0']['tinderbox_tree'] = 'MozillaTest'
BRANCHES['mozilla-1.9.0']['tp4_tests'] = (0,True, [], ALL_PLATFORMS)
BRANCHES['mozilla-1.9.0']['ftp_urls'] = {
    'win32': [
        "http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/FX-WIN32-TBOX-mozilla1.9.0/",
        "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.9.0/",
        ],
    'linux': [
        "http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/fx-linux-tbox-mozilla1.9.0/",
        "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.9.0/",
        ],
    'macosx': [
        "http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/bm-xserve08-mozilla1.9.0/",
        "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.9.0/",
        ],
}
BRANCHES['mozilla-1.9.0']['ftp_searchstrings'] = {
    'win32': "en-US.win32.zip",
    'linux': "en-US.linux-i686.tar.bz2",
    'macosx': "en-US.mac.dmg",
}

######## mozilla-central
BRANCHES['mozilla-central']['branch_name'] = "Firefox"
BRANCHES['mozilla-central']['build_branch'] = "1.9.2"
BRANCHES['mozilla-central']['fetch_symbols'] = True
# How many chrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-central']['chrome_tests'] = (1, True, [], NO_TIGER)
# How many nochrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-central']['nochrome_tests'] = (1, True, [], NO_TIGER)
# How many jss tests per build to run, and whether to merge build requests
BRANCHES['mozilla-central']['jss_tests'] = (1, True, [], NO_TIGER)
BRANCHES['mozilla-central']['dirty_tests'] = (1, True, TALOS_DIRTY_ADDONS, NO_TIGER)
BRANCHES['mozilla-central']['tinderbox_tree'] = 'MozillaTest'
BRANCHES['mozilla-central']['tp4_tests'] = (1, True, [], NO_TIGER)

######## mozilla-1.9.1
BRANCHES['mozilla-1.9.1']['branch_name'] = "Firefox3.5"
BRANCHES['mozilla-1.9.1']['build_branch'] = "1.9.1"
BRANCHES['mozilla-1.9.1']['fetch_symbols'] = True
# How many chrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.1']['chrome_tests'] = (1, True, [], ALL_PLATFORMS)
# How many nochrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.1']['nochrome_tests'] = (1, True, [], ALL_PLATFORMS)
# How many jss tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.1']['jss_tests'] = (1, True, [], ALL_PLATFORMS)
BRANCHES['mozilla-1.9.1']['dirty_tests'] = (1, True, TALOS_DIRTY_ADDONS, ALL_PLATFORMS)
BRANCHES['mozilla-1.9.1']['tinderbox_tree'] = 'MozillaTest'
BRANCHES['mozilla-1.9.1']['tp4_tests'] = (1, True, [], ALL_PLATFORMS)

######## mozilla-1.9.2
BRANCHES['mozilla-1.9.2']['branch_name'] = "Firefox3.6"
BRANCHES['mozilla-1.9.2']['build_branch'] = "1.9.2"
BRANCHES['mozilla-1.9.2']['fetch_symbols'] = True
# How many chrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.2']['chrome_tests'] = (1,True, [], ALL_PLATFORMS)
# How many nochrome tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.2']['nochrome_tests'] = (1,True, [], ALL_PLATFORMS)
# How many jss tests per build to run, and whether to merge build requests
BRANCHES['mozilla-1.9.2']['jss_tests'] = (1,True, [], ALL_PLATFORMS)
BRANCHES['mozilla-1.9.2']['dirty_tests'] = (1, True, TALOS_DIRTY_ADDONS, ALL_PLATFORMS)
BRANCHES['mozilla-1.9.2']['tp4_tests'] = (1,True, [], ALL_PLATFORMS)

######## tracemonkey
BRANCHES['tracemonkey']['branch_name'] = "TraceMonkey"
BRANCHES['tracemonkey']['build_branch'] = "TraceMonkey"
BRANCHES['tracemonkey']['fetch_symbols'] = True
# How many chrome tests per build to run, and whether to merge build requests
BRANCHES['tracemonkey']['chrome_tests'] = (1, True, [], ALL_PLATFORMS)
# How many nochrome tests per build to run, and whether to merge build requests
BRANCHES['tracemonkey']['nochrome_tests'] = (1, True, [], ALL_PLATFORMS)
# How many jss tests per build to run, and whether to merge build requests
BRANCHES['tracemonkey']['jss_tests'] = (1, True, [], ALL_PLATFORMS)
BRANCHES['tracemonkey']['dirty_tests'] = (1, True, TALOS_DIRTY_ADDONS, ALL_PLATFORMS)
BRANCHES['tracemonkey']['tinderbox_tree'] = 'MozillaTest'
BRANCHES['tracemonkey']['tp4_tests'] = (1, True, [], ALL_PLATFORMS)

######## places
BRANCHES['places']['branch_name'] = "Places"
BRANCHES['places']['build_branch'] = "Places"
BRANCHES['places']['fetch_symbols'] = True
# How many chrome tests per build to run, and whether to merge build requests
BRANCHES['places']['chrome_tests'] = (1, True, [], ALL_PLATFORMS)
# How many nochrome tests per build to run, and whether to merge build requests
BRANCHES['places']['nochrome_tests'] = (0,True, [], ALL_PLATFORMS)
# How many jss tests per build to run, and whether to merge build requests
BRANCHES['places']['jss_tests'] = (1, True, [], ALL_PLATFORMS)
BRANCHES['places']['dirty_tests'] = (1, True, TALOS_DIRTY_ADDONS, ALL_PLATFORMS)
BRANCHES['places']['tinderbox_tree'] = 'MozillaTest'
BRANCHES['places']['tp4_tests'] = (1, True, [], ALL_PLATFORMS)