Backed out 3 changesets (bug 1409739) for failing at /dmd/test/test_dmd.js on a CLOSED TREE

Backed out changeset 39c8abcf9cb2 (bug 1409739)
Backed out changeset c0da83c08b62 (bug 1409739)
Backed out changeset 1192c15fc934 (bug 1409739)
This commit is contained in:
Gurzau Raul 2018-10-02 18:43:32 +03:00
Родитель 5dab8a6e0d
Коммит 4f0690bc0d
19 изменённых файлов: 170 добавлений и 11 удалений

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

@ -1,7 +1,6 @@
. "$topsrcdir/browser/config/mozconfigs/linux32/common-opt"
ac_add_options --enable-verify-mar
ac_add_options --enable-dmd
ac_add_options --with-branding=browser/branding/nightly

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

@ -0,0 +1,3 @@
ac_add_options --enable-dmd
. "$topsrcdir/browser/config/mozconfigs/linux32/nightly"

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

@ -1,7 +1,6 @@
. $topsrcdir/browser/config/mozconfigs/linux32/nightly
ac_add_options --enable-valgrind
ac_add_options --disable-dmd
ac_add_options --disable-jemalloc
ac_add_options --disable-install-strip
ac_add_options --disable-gtest-in-build

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

@ -1,7 +1,6 @@
. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt"
ac_add_options --enable-verify-mar
ac_add_options --enable-dmd
ac_add_options --with-branding=browser/branding/nightly

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

@ -0,0 +1,3 @@
ac_add_options --enable-dmd
. "$topsrcdir/browser/config/mozconfigs/linux64/nightly"

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

@ -1,7 +1,6 @@
. $topsrcdir/browser/config/mozconfigs/linux64/nightly
ac_add_options --enable-valgrind
ac_add_options --disable-dmd
ac_add_options --disable-jemalloc
ac_add_options --disable-install-strip
ac_add_options --disable-gtest-in-build

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

@ -3,7 +3,6 @@
ac_add_options --disable-install-strip
ac_add_options --enable-verify-mar
ac_add_options --enable-instruments
ac_add_options --enable-dmd
# Cross-compiled builds fail when dtrace is enabled
if test `uname -s` != Linux; then

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

@ -0,0 +1,5 @@
ac_add_options --enable-dmd
. "$topsrcdir/browser/config/mozconfigs/macosx64/nightly"
ac_add_options --disable-lto

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

@ -9,7 +9,6 @@ all_platforms = ['win64', 'win32', 'linux32', 'linux64', 'macosx64']
for platform in all_platforms:
whitelist['nightly'][platform] = [
'ac_add_options --enable-dmd',
'ac_add_options --with-branding=browser/branding/nightly',
]

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

@ -2,7 +2,6 @@
. "$topsrcdir/browser/config/mozconfigs/win32/common-opt"
ac_add_options --enable-verify-mar
ac_add_options --enable-dmd
ac_add_options --with-branding=browser/branding/nightly

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

@ -0,0 +1,3 @@
ac_add_options --enable-dmd
. "$topsrcdir/browser/config/mozconfigs/win32/nightly"

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

@ -3,7 +3,6 @@
. "$topsrcdir/browser/config/mozconfigs/win64/common-opt"
ac_add_options --enable-verify-mar
ac_add_options --enable-dmd
ac_add_options --with-branding=browser/branding/nightly

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

@ -0,0 +1,3 @@
ac_add_options --enable-dmd
. "$topsrcdir/browser/config/mozconfigs/win64/nightly"

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

@ -332,8 +332,7 @@ def getDigestFromFile(args, inputFile):
if args.filter_stacks_for_testing:
# When running SmokeDMD.cpp, every stack trace should contain at
# least one frame that contains 'DMD.cpp', from either |DMD.cpp| or
# |SmokeDMD.cpp|. (Or 'dmd.cpp' on Windows.) On builds without
# debuginfo we expect just |SmokeDMD|. If we see such a
# |SmokeDMD.cpp|. (Or 'dmd.cpp' on Windows.) If we see such a
# frame, we replace the entire stack trace with a single,
# predictable frame. There is too much variation in the stack
# traces across different machines and platforms to do more precise
@ -341,7 +340,7 @@ def getDigestFromFile(args, inputFile):
# stack fixing fails completely.
for frameKey in frameKeys:
frameDesc = frameTable[frameKey]
if frameDesc in ('DMD.cpp', 'dmd.cpp', 'SmokeDMD'):
if 'DMD.cpp' in frameDesc or 'dmd.cpp' in frameDesc:
return [fmt.format(1, ': ... DMD.cpp ...')]
# The frame number is always '#00' (see DMD.h for why), so we have to

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

@ -60,6 +60,40 @@ linux64-plain/opt:
- linux64-node
- linux64-cbindgen
linux64-dmd/opt:
description: "Linux64 DMD Opt"
index:
product: firefox
job-name: linux64-dmd-opt
treeherder:
platform: linux64-dmd/opt
symbol: Bdmd
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 3600
run:
using: mozharness
actions: [get-secrets build check-test]
config:
- builds/releng_base_firefox.py
- builds/releng_base_linux_64_builds.py
script: "mozharness/scripts/fx_desktop_build.py"
extra-config:
mozconfig_variant: 'opt-dmd'
secrets: true
tooltool-downloads: public
need-xvfb: true
run-on-projects: []
toolchains:
- linux64-binutils
- linux64-clang
- linux64-rust
- linux64-rust-size
- linux64-cbindgen
- linux64-sccache
- linux64-node
linux64/pgo:
description: "Linux64 PGO"
index:

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

@ -109,6 +109,44 @@ macosx64-asan-fuzzing/opt:
- linux64-sccache
- linux64-node
macosx64-dmd/opt:
description: "MacOS X x64 DMD Cross-compile"
index:
product: firefox
job-name: macosx64-dmd-opt
treeherder:
platform: osx-10-10-dmd/opt
symbol: Bdmd
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 3600
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
run:
using: mozharness
actions: [get-secrets build]
config:
- builds/releng_base_firefox.py
- builds/releng_base_mac_64_cross_builds.py
script: "mozharness/scripts/fx_desktop_build.py"
extra-config:
mozconfig_variant: 'opt-dmd'
secrets: true
tooltool-downloads: internal
run-on-projects: []
toolchains:
- linux64-cctools-port
- linux64-clang
- linux64-hfsplus
- linux64-libdmg
- linux64-llvm-dsymutil
- linux64-rust-macos
- linux64-rust-size
- linux64-cbindgen
- linux64-sccache
- linux64-node
macosx64-devedition-nightly/opt:
description: "MacOS X Dev Edition x64 Nightly"
attributes:

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

@ -70,6 +70,40 @@ win32/opt:
- win64-sccache
- win64-node
win32-dmd/opt:
description: "Win32 DMD Opt"
index:
product: firefox
job-name: win32-dmd-opt
treeherder:
platform: windows2012-32-dmd/opt
symbol: Bdmd
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker:
max-run-time: 7200
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win32/releng.manifest"
run:
using: mozharness
options: [append-env-variables-from-configs]
script: mozharness/scripts/fx_desktop_build.py
config:
- builds/releng_base_firefox.py
- builds/taskcluster_base_windows.py
- builds/taskcluster_base_win32.py
- builds/taskcluster_sub_win32/opt.py
extra-config:
mozconfig_variant: 'opt-dmd'
run-on-projects: []
toolchains:
- win64-clang-cl
- win64-rust
- win64-rust-size
- win64-cbindgen
- win64-sccache
- win64-node
win32/pgo:
description: "Win32 Opt PGO"
index:
@ -231,6 +265,40 @@ win64-plain/opt:
- win64-node
- win64-cbindgen
win64-dmd/opt:
description: "Win64 DMD Opt"
index:
product: firefox
job-name: win64-dmd-opt
treeherder:
platform: windows2012-64-dmd/opt
symbol: Bdmd
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker:
max-run-time: 7200
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/releng.manifest"
run:
using: mozharness
options: [append-env-variables-from-configs]
script: mozharness/scripts/fx_desktop_build.py
config:
- builds/releng_base_firefox.py
- builds/taskcluster_base_windows.py
- builds/taskcluster_base_win64.py
- builds/taskcluster_sub_win64/opt.py
extra-config:
mozconfig_variant: 'opt-dmd'
run-on-projects: []
toolchains:
- win64-clang-cl
- win64-rust
- win64-rust-size
- win64-cbindgen
- win64-sccache
- win64-node
win32-nightly/opt:
description: "Win32 Nightly"
index:

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

@ -553,6 +553,16 @@ def target_tasks_nightly_desktop(full_task_graph, parameters, graph_config):
)
# Opt DMD builds should only run nightly
@_target_task('nightly_dmd')
def target_tasks_dmd(full_task_graph, parameters, graph_config):
"""Target DMD that run nightly on the m-c branch."""
def filter(task):
platform = task.attributes.get('build_platform', '')
return platform.endswith('-dmd')
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
# Run Searchfox analysis once daily.
@_target_task('searchfox_index')
def target_tasks_searchfox(full_task_graph, parameters, graph_config):

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

@ -390,6 +390,7 @@ class BuildOptionParser(object):
'artifact': 'builds/releng_sub_%s_configs/%s_artifact.py',
'debug-artifact': 'builds/releng_sub_%s_configs/%s_debug_artifact.py',
'devedition': 'builds/releng_sub_%s_configs/%s_devedition.py',
'dmd': 'builds/releng_sub_%s_configs/%s_dmd.py',
'tup': 'builds/releng_sub_%s_configs/%s_tup.py',
}
build_pool_cfg_file = 'builds/build_pool_specifics.py'