Backed out changeset 692efe8acba9 (bug 1486654) for wd failures on /builds/worker/workspace/build/tests/bin/geckodriver

This commit is contained in:
Dorel Luca 2018-08-29 05:16:55 +03:00
Родитель 05fb3381f3
Коммит 544b61c613
9 изменённых файлов: 176 добавлений и 3 удалений

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

@ -0,0 +1,21 @@
MOZ_AUTOMATION_BUILD_SYMBOLS=0
MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_L10N_CHECK=0
. "$topsrcdir/build/mozconfig.common"
ac_add_options --enable-debug
ac_add_options --enable-dmd
. $topsrcdir/build/mozconfig.stylo
# Use Clang as specified in manifest
export CC="$topsrcdir/clang/bin/clang"
export CXX="$topsrcdir/clang/bin/clang++"
# Add the static checker
ac_add_options --enable-clang-plugin
. "$topsrcdir/build/unix/mozconfig.stdcxx"
. "$topsrcdir/build/mozconfig.common.override"

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

@ -0,0 +1,20 @@
MOZ_AUTOMATION_BUILD_SYMBOLS=0
MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_L10N_CHECK=0
. "$topsrcdir/build/mozconfig.common"
ac_add_options --enable-dmd
. $topsrcdir/build/mozconfig.stylo
# Use Clang as specified in manifest
CC="$topsrcdir/clang/bin/clang"
CXX="$topsrcdir/clang/bin/clang++"
# Add the static checker
ac_add_options --enable-clang-plugin
. "$topsrcdir/build/unix/mozconfig.stdcxx"
. "$topsrcdir/build/mozconfig.common.override"

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

@ -14,7 +14,6 @@ export TUP=${TOOLTOOL_DIR}/tup/tup
ac_add_options --enable-build-backends=Tup
ac_add_options --disable-js-shell
unset ENABLE_CLANG_PLUGIN
# To enable the option to upload the tup database, uncomment the line below
# ac_add_options --upload-tup-db

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

@ -23,6 +23,5 @@ unset BINDGEN_CFLAGS
unset LLVM_CONFIG
unset WIN64_LINK
unset WIN64_LIB
unset ENABLE_CLANG_PLUGIN
unset MOZ_STDCXX_COMPAT

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

@ -13,7 +13,6 @@ if [ -n "$FORCE_GCC" -o -n "$MOZ_PGO" ]; then
else
CC="$TOOLTOOL_DIR/clang/bin/clang"
CXX="$TOOLTOOL_DIR/clang/bin/clang++"
export ENABLE_CLANG_PLUGIN=1
fi
# We want to make sure we use binutils and other binaries in the tooltool

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

@ -42,6 +42,7 @@ jobs:
run:
config:
- builds/releng_base_firefox.py
- builds/releng_sub_linux_configs/64_stat_and_debug.py
tooltool-downloads: public
keep-artifacts: false
toolchains:

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

@ -23,6 +23,60 @@ job-defaults:
tier: 1
jobs:
linux64-st-an/debug:
description: "Linux64 Debug Static Analysis"
index:
job-name: linux64-st-an-debug
treeherder:
platform: linux64/debug
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 36000
env:
PERFHERDER_EXTRA_OPTIONS: static-analysis
run:
using: mozharness
actions: [build]
config:
- builds/releng_base_firefox.py
- builds/releng_sub_linux_configs/64_stat_and_debug.py
script: "mozharness/scripts/fx_desktop_build.py"
tooltool-downloads: public
keep-artifacts: false
toolchains:
- linux64-clang
- linux64-rust
- linux64-cbindgen
- linux64-sccache
- linux64-node
linux64-st-an/opt:
description: "Linux64 Opt Static Analysis"
index:
job-name: linux64-st-an-opt
treeherder:
platform: linux64/opt
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 36000
env:
PERFHERDER_EXTRA_OPTIONS: static-analysis
run:
using: mozharness
actions: [build]
config:
- builds/releng_base_firefox.py
- builds/releng_sub_linux_configs/64_stat_and_opt.py
script: "mozharness/scripts/fx_desktop_build.py"
tooltool-downloads: public
keep-artifacts: false
toolchains:
- linux64-clang
- linux64-rust
- linux64-cbindgen
- linux64-sccache
- linux64-node
win32-st-an/debug:
description: "Win32 Static Analysis Debug (clang-cl)"
index:

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

@ -0,0 +1,40 @@
import os
config = {
# note: overridden by MOZHARNESS_ACTIONS in TaskCluster tasks
'default_actions': [
'clobber',
'build',
],
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',
#########################################################################
#########################################################################
###### 64 bit specific ######
'base_name': 'Linux_x86-64_%(branch)s_Static_Analysis',
'platform': 'linux64',
'stage_platform': 'linux64-st-an-opt',
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'DISPLAY': ':2',
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'LC_ALL': 'C',
## 64 bit specific
'PATH': '/usr/local/bin:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin',
##
},
# This doesn't actually inherit from anything.
'mozconfig_platform': 'linux64',
'mozconfig_variant': 'debug-static-analysis-clang',
#######################
'artifact_flag_build_variant_in_try': None,
}

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

@ -0,0 +1,40 @@
import os
config = {
# note: overridden by MOZHARNESS_ACTIONS in TaskCluster tasks
'default_actions': [
'clobber',
'build',
],
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',
#########################################################################
#########################################################################
###### 64 bit specific ######
'base_name': 'Linux_x86-64_%(branch)s_Static_Analysis',
'platform': 'linux64',
'stage_platform': 'linux64-st-an',
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'DISPLAY': ':2',
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/worker/tooltool-cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'LC_ALL': 'C',
## 64 bit specific
'PATH': '/usr/local/bin:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin',
##
},
# This doesn't actually inherit from anything.
'mozconfig_platform': 'linux64',
'mozconfig_variant': 'opt-static-analysis-clang',
#######################
'artifact_flag_build_variant_in_try': None,
}