testing/mozharness/configs/builds/releng_sub_linux_configs/64_valgrind.py
author Dustin J. Mitchell <dustin@mozilla.com>
Thu, 10 Aug 2017 17:05:11 +0000
changeset 418833 88081c5bc847f126b2e0b561225ce392196f1841
parent 416371 d49ae3164b4ed8b199b0e8317ca21c68527d9c5f
child 436647 baa73f2bdc72d548324d1e3fba72e05822a9fce4
permissions -rw-r--r--
Bug 1335353: remove refs to /tools/buildbot; r=aki On Taskcluster machines, /tools/buildbot doesn't exist. It turns out, nothing refers to exes['python'] anyway, so we can just remove that (the preference is to use sys.executable instead). The references to exes['buildbot'] were all for sendchanges from builds to tests, and those too are all gone now. Lines like 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], Were committing two sins: first, using a python executable from a random virtualenv; and second, using a virtualenv.py from another random directory (in this case, it's a utility script for a PuppetAgain module). Such lines are replaced with a reference to /tools/virtualenv/bin/virtualenv, which is installed for the express purpose of providing a virtualenv binary on testers (for builds, we use the vendored copy). MozReview-Commit-ID: 4iHX3B3MLyK

import os

MOZ_OBJDIR = 'obj-firefox'

config = {
    'default_actions': [
        'clobber',
        'clone-tools',
        'checkout-sources',
        #'setup-mock',
        'build',
        #'upload-files',
        #'sendchange',
        'check-test',
        'valgrind-test',
        #'update',
    ],
    'stage_platform': 'linux64-valgrind',
    'publish_nightly_en_US_routes': False,
    'build_type': 'valgrind',
    'platform_supports_post_upload_to_latest': False,
    'enable_signing': False,
    'enable_talos_sendchange': False,
    'perfherder_extra_options': ['valgrind'],
    #### 64 bit build specific #####
    'env': {
        'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
        'DISPLAY': ':2',
        'HG_SHARE_BASE_DIR': '/builds/hg-shared',
        'MOZ_OBJDIR': 'obj-firefox',
        'TINDERBOX_OUTPUT': '1',
        'TOOLTOOL_CACHE': '/builds/tooltool_cache',
        'TOOLTOOL_HOME': '/builds',
        'MOZ_CRASHREPORTER_NO_REPORT': '1',
        'CCACHE_DIR': '/builds/ccache',
        'CCACHE_COMPRESS': '1',
        'CCACHE_UMASK': '002',
        'LC_ALL': 'C',
        ## 64 bit specific
        'PATH': '/usr/local/bin:/usr/lib64/ccache:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/tools/git/bin:/tools/python27/bin:\
/tools/python27-mercurial/bin:/home/cltbld/bin',
    },
    'src_mozconfig': 'browser/config/mozconfigs/linux64/valgrind',
    #######################
    'artifact_flag_build_variant_in_try': None,
}