Bug 1356520 - Set TOOLTOOL_CACHE to /home/worker/tooltool-cache where it makes sense in mozharness. r=mshal

The current setup is confusing, and, I guess, an inheritage from when
the same mozharness configs were used for buildbot and taskcluster jobs.

When mozharness calls tooltool_wrapper.sh, it doesn't set the
TOOLTOOL_CACHE environment variable from its configuration, like it does
for other commands. Instead, it passes the -c flag with the path from
its configuration. Then tooltool_wrapper.sh proceeds with ignoring the
-c flag and using TOOLTOOL_CACHE from the original environment,
inherited from the taskcluster setup script.

The upcoming new wrapper for tooltool in bug 1355731 doesn't keep this
confusing behavior, and respects the cache directory it's given on the
command line.

Now that most jobs run on taskcluster, and few use the same mozharness
config between buildbot and taskcluster, we can now go ahead and change
the TOOLTOOL_CACHE path in the mozharness config to match reality.

The list of files modified was generated from looking at
MOZHARNESS_CONFIG values in the full-task-graph.json file coming from
the Gecko decision task.

--HG--
extra : rebase_source : fe2baee48baffae52f738b4168f862c81370fcef
This commit is contained in:
Mike Hommey 2017-04-14 17:01:41 +09:00
Родитель f9d6c0f86f
Коммит 3657c5fa7c
10 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -77,7 +77,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'CCACHE_DIR': '/builds/ccache',
'CCACHE_COMPRESS': '1',

Просмотреть файл

@ -83,7 +83,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',

Просмотреть файл

@ -82,7 +82,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',

Просмотреть файл

@ -53,7 +53,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',

Просмотреть файл

@ -52,7 +52,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',

Просмотреть файл

@ -42,7 +42,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',

Просмотреть файл

@ -42,7 +42,7 @@ config = {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_CACHE': '/home/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',

Просмотреть файл

@ -7,5 +7,5 @@ config = {
"pip_index": False,
"tooltool_cache": "/builds/tooltool_cache",
"tooltool_cache": "/home/worker/tooltool-cache",
}

Просмотреть файл

@ -37,7 +37,7 @@ config = {
"blob_uploader_auth_file" : os.path.join(os.getcwd(), "oauth.txt"),
"download_symbols": "ondemand",
"download_minidump_stackwalk": True,
"tooltool_cache": "/builds/tooltool_cache",
"tooltool_cache": "/home/worker/tooltool-cache",
"suite_definitions": {
"marionette_desktop": {
"options": [

Просмотреть файл

@ -307,7 +307,7 @@ config = {
"download_minidump_stackwalk": True,
"minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH,
"minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH,
"tooltool_cache": "/builds/tooltool_cache",
"tooltool_cache": "/home/worker/tooltool-cache",
"download_nodejs": True,
"nodejs_path": NODEJS_PATH,
"nodejs_tooltool_manifest_path": NODEJS_TOOLTOOL_MANIFEST_PATH,