summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildscripts/ciconfig/evergreen.py55
-rw-r--r--buildscripts/tests/ciconfig/evergreen.yml55
-rw-r--r--buildscripts/tests/ciconfig/test_evergreen.py49
-rw-r--r--etc/evergreen.yml590
4 files changed, 469 insertions, 280 deletions
diff --git a/buildscripts/ciconfig/evergreen.py b/buildscripts/ciconfig/evergreen.py
index 16af4226078..9d6dfa23efa 100644
--- a/buildscripts/ciconfig/evergreen.py
+++ b/buildscripts/ciconfig/evergreen.py
@@ -11,7 +11,7 @@ import re
import yaml
-class EvergreenProjectConfig(object):
+class EvergreenProjectConfig(object): # pylint: disable=too-many-instance-attributes
"""Represent an Evergreen project configuration file."""
def __init__(self, path):
@@ -21,8 +21,12 @@ class EvergreenProjectConfig(object):
self.path = path
self.tasks = [Task(task_dict) for task_dict in self._conf["tasks"]]
self._tasks_by_name = {task.name: task for task in self.tasks}
+ self.task_groups = [
+ TaskGroup(task_group_dict) for task_group_dict in self._conf.get("task_groups", [])
+ ]
+ self._task_groups_by_name = {task_group.name: task_group for task_group in self.task_groups}
self.variants = [
- Variant(variant_dict, self._tasks_by_name)
+ Variant(variant_dict, self._tasks_by_name, self._task_groups_by_name)
for variant_dict in self._conf["buildvariants"]
]
self._variants_by_name = {variant.name: variant for variant in self.variants}
@@ -40,6 +44,15 @@ class EvergreenProjectConfig(object):
return self._tasks_by_name.get(task_name)
@property
+ def task_group_names(self):
+ """Get the list of task_group names."""
+ return self._task_groups_by_name.keys()
+
+ def get_task_group(self, task_group_name):
+ """Return the task_group with the given name as a Task instance."""
+ return self._task_groups_by_name.get(task_group_name)
+
+ @property
def lifecycle_task_names(self):
"""Get the list of names of the tasks that have not been excluded from test lifecycle."""
excluded = self._get_test_lifecycle_excluded_task_names()
@@ -99,17 +112,45 @@ class Task(object):
return self.name
+class TaskGroup(object):
+ """Represent a task_group configuration as found in an Evergreen project configuration file."""
+
+ def __init__(self, conf_dict):
+ """Initialize a TaskGroup from a dictionary containing its configuration."""
+ self.raw = conf_dict
+
+ @property
+ def name(self):
+ """Get the task_group name."""
+ return self.raw["name"]
+
+ @property
+ def tasks(self):
+ """Get the list of task names for task_group."""
+ return self.raw.get("tasks", [])
+
+ def __str__(self):
+ return self.name
+
+
class Variant(object):
"""Build variant configuration as found in an Evergreen project configuration file."""
- def __init__(self, conf_dict, task_map):
+ def __init__(self, conf_dict, task_map, task_group_map):
"""Initialize Variant."""
self.raw = conf_dict
run_on = self.run_on
- self.tasks = [
- VariantTask(task_map.get(t["name"]), t.get("distros", run_on), self)
- for t in conf_dict["tasks"]
- ]
+ self.tasks = []
+ for task in conf_dict["tasks"]:
+ task_name = task.get("name")
+ if task_name in task_group_map:
+ # A task in conf_dict may be a task_group, containing a list of tasks.
+ for task_in_group in task_group_map.get(task_name).tasks:
+ self.tasks.append(
+ VariantTask(task_map.get(task_in_group), task.get("distros", run_on), self))
+ else:
+ self.tasks.append(
+ VariantTask(task_map.get(task["name"]), task.get("distros", run_on), self))
self.distro_names = set(run_on)
for task in self.tasks:
self.distro_names.update(task.run_on)
diff --git a/buildscripts/tests/ciconfig/evergreen.yml b/buildscripts/tests/ciconfig/evergreen.yml
index 7931bf7a586..65d1fd860e6 100644
--- a/buildscripts/tests/ciconfig/evergreen.yml
+++ b/buildscripts/tests/ciconfig/evergreen.yml
@@ -9,11 +9,13 @@ functions:
script: |
echo "this is a 2nd command in the function!"
ls
+
"debug":
command: shell.exec
params:
script: |
echo "i am a debug function."
+
"run a task that fails" :
command: shell.exec
params:
@@ -36,19 +38,32 @@ functions:
script: |
echo "I was called with ${foobar}"
-pre:
- command: shell.exec
- params:
- script: |
- rm -rf src || true
- echo "pre-task run. JUST ONE COMMAND"
+ "do pre work":
+ command: shell.exec
+ params:
+ script: |
+ rm -rf src || true
+ echo "pre-task run. JUST ONE COMMAND"
-post:
- - command: shell.exec
+ "do post work":
+ command: shell.exec
params:
script: |
echo "post-task run."
true
+
+ "run timeout work":
+ command: shell.exec
+ params:
+ script: |
+ echo "timeout run."
+ true
+
+pre: &pre
+ - func: "do pre work"
+
+post:
+ - func: "do post work"
- command: attach.results
params:
file_location: src/results.json
@@ -57,6 +72,23 @@ test_lifecycle_excluded_tasks:
- burn_in_tests
- no_lifecycle*
+task_groups:
+- name: tg_1
+ max_hosts: 1
+ tasks:
+ - compile
+ - passing_test
+ setup_task:
+ - func: "fetch source"
+ teardown_task:
+ - func: "debug"
+ setup_group:
+ *pre
+ teardown_group:
+ - func: "do post work"
+ timeout:
+ - func: "run timeout work"
+
tasks:
- name: compile
depends_on: []
@@ -154,3 +186,10 @@ buildvariants:
- debian-stretch
tasks:
- name: resmoke_task
+- name: amazon
+ display_name: Amazon
+ run_on:
+ - amazon
+ tasks:
+ - name: tg_1
+ - name: timeout_test
diff --git a/buildscripts/tests/ciconfig/test_evergreen.py b/buildscripts/tests/ciconfig/test_evergreen.py
index 992bbc1a809..f1b6740d539 100644
--- a/buildscripts/tests/ciconfig/test_evergreen.py
+++ b/buildscripts/tests/ciconfig/test_evergreen.py
@@ -35,6 +35,11 @@ class TestEvergreenProjectConfig(unittest.TestCase):
self.assertIn("no_lifecycle_task", self.conf.task_names)
self.assertIn("resmoke_task", self.conf.task_names)
+ def test_list_task_groups(self):
+ self.assertEqual(1, len(self.conf.task_groups))
+ self.assertEqual(1, len(self.conf.task_group_names))
+ self.assertIn("tg_1", self.conf.task_group_names)
+
def test_list_lifecycle_task_names(self):
self.assertEqual(5, len(self.conf.lifecycle_task_names))
self.assertIn("compile", self.conf.task_names)
@@ -44,11 +49,12 @@ class TestEvergreenProjectConfig(unittest.TestCase):
self.assertIn("resmoke_task", self.conf.task_names)
def test_list_variants(self):
- self.assertEqual(3, len(self.conf.variants))
- self.assertEqual(3, len(self.conf.variant_names))
+ self.assertEqual(4, len(self.conf.variants))
+ self.assertEqual(4, len(self.conf.variant_names))
self.assertIn("osx-108", self.conf.variant_names)
self.assertIn("ubuntu", self.conf.variant_names)
self.assertIn("debian", self.conf.variant_names)
+ self.assertIn("amazon", self.conf.variant_names)
def test_get_variant(self):
variant = self.conf.get_variant("osx-108")
@@ -57,11 +63,12 @@ class TestEvergreenProjectConfig(unittest.TestCase):
self.assertEqual("osx-108", variant.name)
def test_list_distro_names(self):
- self.assertEqual(4, len(self.conf.distro_names))
+ self.assertEqual(5, len(self.conf.distro_names))
self.assertIn("localtestdistro", self.conf.distro_names)
self.assertIn("ubuntu1404-test", self.conf.distro_names)
self.assertIn("pdp-11", self.conf.distro_names)
self.assertIn("debian-stretch", self.conf.distro_names)
+ self.assertIn("amazon", self.conf.distro_names)
class TestTask(unittest.TestCase):
@@ -95,6 +102,34 @@ class TestTask(unittest.TestCase):
self.assertEqual("core", task.resmoke_suite)
+class TestTaskGroup(unittest.TestCase):
+ """Unit tests for the TaskGroup class."""
+
+ def test_from_list(self):
+ task_group_dict = {
+ "name": "my_group", "max_hosts": 3, "tasks": ["task1", "task2"], "setup_task": [],
+ "teardown_task": [], "setup_group": [], "teardown_group": [], "timeout": []
+ }
+ task_group = _evergreen.TaskGroup(task_group_dict)
+
+ self.assertEqual("my_group", task_group.name)
+ self.assertEqual(2, len(task_group.tasks))
+ self.assertEqual(task_group_dict, task_group.raw)
+
+ def test_resmoke_args(self):
+ task_dict = {
+ "name":
+ "jsCore", "commands": [{
+ "func": "run tests",
+ "vars": {"resmoke_args": "--suites=core --shellWriteMode=commands"}
+ }]
+ }
+ task = _evergreen.Task(task_dict)
+
+ self.assertEqual("--suites=core --shellWriteMode=commands", task.resmoke_args)
+ self.assertEqual("core", task.resmoke_suite)
+
+
class TestVariant(unittest.TestCase):
"""Unit tests for the Variant class."""
@@ -105,13 +140,14 @@ class TestVariant(unittest.TestCase):
def test_from_dict(self):
task = _evergreen.Task({"name": "compile"})
tasks_map = {task.name: task}
+ task_groups_map = {}
variant_dict = {
"name": "ubuntu",
"display_name": "Ubuntu",
"run_on": ["ubuntu1404-test"],
"tasks": [{"name": "compile"}],
}
- variant = _evergreen.Variant(variant_dict, tasks_map)
+ variant = _evergreen.Variant(variant_dict, tasks_map, task_groups_map)
self.assertEqual("ubuntu", variant.name)
self.assertEqual("Ubuntu", variant.display_name)
@@ -194,3 +230,8 @@ class TestVariant(unittest.TestCase):
resmoke_task = variant_debian.get_task("resmoke_task")
self.assertEqual("--suites=somesuite --storageEngine=mmapv1",
resmoke_task.combined_resmoke_args)
+
+ # Check for tasks included in task_groups
+ variant_amazon = self.conf.get_variant("amazon")
+ self.assertEqual(3, len(variant_amazon.tasks))
+ self.assertIn("compile", variant_amazon.task_names)
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index ad3edda8e17..a9649131bf2 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -173,6 +173,76 @@ variables:
mongod_options: --mongodUsablePorts ${standard_port} ${secret_port} --dbPath=${db_path} --logPath=${log_path}
mongod_extra_options: --mongodOptions=\"--setParameter enableTestCommands=1\"
+- &unittests
+ name: unittests!
+ execution_tasks:
+ - compile_unittests
+ - unittests
+
+- &compile_task_group_template
+ name: compile_task_group_template
+ max_hosts: 1
+ tasks: []
+ setup_task:
+ - func: "apply compile expansions"
+ - func: "set task expansion macros"
+ teardown_task:
+ - func: "attach scons config log"
+ - func: "attach report"
+ - func: "attach artifacts"
+ - func: "kill processes"
+ - func: "save code coverage data"
+ - func: "save mongo coredumps"
+ - func: "save failed unittests"
+ - func: "save hang analyzer debugger files"
+ - func: "save disk statistics"
+ - func: "save system resource information"
+ - func: "remove files"
+ vars:
+ files: >-
+ src/build/scons/config.log
+ src/*.gcda.gcov
+ src/gcov-intermediate-files.tgz
+ src/*.core src/*.mdmp
+ mongo-coredumps.tgz
+ src/unittest_binaries/*_test${exe}
+ mongo-unittests.tgz
+ src/debugger*.*
+ src/mongo-hanganalyzer.tgz
+ diskstats.tgz
+ system-resource-info.tgz
+ ${report_file|src/report.json}
+ ${archive_file|src/archive.json}
+ setup_group:
+ - func: "kill processes"
+ - func: "cleanup environment"
+ # The python virtual environment is installed in ${workdir}, which is created in
+ # "set up virtualenv".
+ - func: "set up virtualenv"
+ - func: "set task expansion macros"
+ - func: "clear OOM messages"
+ - command: manifest.load
+ - func: "git get project"
+ - func: "get modified patch files"
+ # NOTE: To disable the compile bypass feature, comment out the next line.
+ #
+ # TODO SERVER-34680: Uncomment the next line when the mongoe binary is downloaded from the base
+ # commit's compile task and included the artifacts tarball for the jsCore_mobile task to use.
+ # - func: "bypass compile and fetch binaries"
+ - func: "update bypass expansions"
+ - func: "get buildnumber"
+ - func: "set up credentials"
+ - func: "fetch and build OpenSSL"
+ - func: "use WiredTiger develop" # noop if ${use_wt_develop} is not "true"
+ - func: "generate compile expansions"
+ teardown_group:
+ - func: "scons cache pruning"
+ - func: "umount shared scons directory"
+ - func: "print OOM messages"
+ - func: "cleanup environment"
+ timeout:
+ - func: "run hang analyzer"
+
#######################################
# Functions #
@@ -180,6 +250,21 @@ variables:
functions:
+ "remove files": &remove_files
+ command: shell.exec
+ params:
+ script: |
+ if [ -z "${files}" ]; then
+ exit 0
+ fi
+ for file in ${files}
+ do
+ if [ -f "$file" ]; then
+ echo "Removing file $file"
+ rm -f $file
+ fi
+ done
+
"git get project" : &git_get_project
command: git.get_project
params:
@@ -641,12 +726,13 @@ functions:
params:
continue_on_err: true
working_dir: src
+ shell: bash
script: |
set -o verbose
set -o errexit
# For patch builds determine if we can bypass compile.
- if [ "${is_patch}" = "true" ]; then
+ if [[ "${is_patch}" = "true" && "${task_name}" = "compile" ]]; then
${activate_virtualenv}
$python buildscripts/bypass_compile_and_fetch_binaries.py \
--project ${project} \
@@ -883,9 +969,9 @@ functions:
rm -rf ${install_directory|/data/mongo-install-directory}
extra_args=""
- if [ "${targets}" = "all" ] && [ -n "${num_scons_compile_all_jobs_available|}" ]; then
- echo "Changing SCons to run with --jobs=${num_scons_compile_all_jobs_available|}"
- extra_args="$extra_args --jobs=${num_scons_compile_all_jobs_available|}"
+ if [ "${reduce_scons_compile_jobs_available|false}" = "true" ] && [ -n "${num_scons_compile_jobs_available|}" ]; then
+ echo "Changing SCons to run with --jobs=${num_scons_compile_jobs_available|}"
+ extra_args="$extra_args --jobs=${num_scons_compile_jobs_available|}"
fi
${activate_virtualenv}
@@ -2153,6 +2239,7 @@ functions:
exit 1
fi
fi
+ rm $gcda_file
done
fi
fi
@@ -2281,7 +2368,7 @@ functions:
params:
working_dir: "src"
script: |
- mkdir unittest_binaries
+ mkdir unittest_binaries || true
# Find all core files
core_files=$(/usr/bin/find -H . \( -name "dump_*.core" -o -name "*.mdmp" \) 2> /dev/null)
for core_file in $core_files
@@ -2346,7 +2433,7 @@ functions:
- *archive_failed_unittests
### Process & archive artifacts from hung processes ###
- "run hang_analyzer":
+ "run hang analyzer":
command: shell.exec
params:
working_dir: src
@@ -2416,7 +2503,7 @@ functions:
--file "$remote_dir/*.$core_ext"
fi
- "tar hang_analyzer debugger files": &tar_hang_analyzer_debugger_files
+ "tar hang analyzer debugger files": &tar_hang_analyzer_debugger_files
command: archive.targz_pack
params:
target: "src/mongo-hanganalyzer.tgz"
@@ -2424,7 +2511,7 @@ functions:
include:
- "./debugger*.*"
- "archive hang_analyzer debugger files": &archive_hang_analyzer_debugger_files
+ "archive hang analyzer debugger files": &archive_hang_analyzer_debugger_files
command: s3.put
params:
aws_key: ${aws_key}
@@ -2437,7 +2524,7 @@ functions:
display_name: Hang Analyzer Output - Execution ${execution}
optional: true
- "save hang_analyzer debugger files":
+ "save hang analyzer debugger files":
- *tar_hang_analyzer_debugger_files
- *archive_hang_analyzer_debugger_files
@@ -2523,17 +2610,17 @@ functions:
# Pre task steps
-pre: &pre
+pre:
- func: "kill processes"
- func: "cleanup environment"
- # The python virtual environment is installed in ${workdir}, which is created in "set up virtualenv".
+ # The python virtual environment is installed in ${workdir}, which is created in
+ # "set up virtualenv".
- func: "set up virtualenv"
- func: "set task expansion macros"
- func: "clear OOM messages"
# Post task steps
-post: &post
- - func: "attach scons config log"
+post:
- func: "attach report"
- func: "attach artifacts"
- func: "save ec2 task artifacts"
@@ -2543,7 +2630,7 @@ post: &post
- func: "save jepsen artifacts"
- func: "save mongo coredumps"
- func: "save failed unittests"
- - func: "save hang_analyzer debugger files"
+ - func: "save hang analyzer debugger files"
- func: "save disk statistics"
- func: "save system resource information"
- func: "print OOM messages"
@@ -2556,7 +2643,7 @@ timeout:
- func: "extract debugsymbols"
- func: "get EC2 address"
- func: "update EC2 address"
- - func: "run hang_analyzer"
+ - func: "run hang analyzer"
#######################################
@@ -2590,24 +2677,8 @@ tasks:
- name: compile
depends_on: []
commands:
- - command: manifest.load
- - func: "git get project"
- - func: "get modified patch files"
- # NOTE: To disable the compile bypass feature, comment out the next line.
- #
- # TODO SERVER-34680: Uncomment the next line when the mongoe binary is downloaded from the base
- # commit's compile task and included the artifacts tarball for the jsCore_mobile task to use.
- # - func: "bypass compile and fetch binaries"
- - func: "update bypass expansions"
- - func: "get buildnumber"
- - func: "set up credentials"
- - func: "fetch and build OpenSSL"
- func: "build new tools"
- func: "build rocksdb" # noop if ${build_rocksdb} is not "true"
- - func: "use WiredTiger develop" # noop if ${use_wt_develop} is not "true"
- - func: "generate compile expansions"
- # Then we load the generated version data into the agent so we can use it in task definitions
- - func: "apply compile expansions"
- func: "scons compile"
vars:
targets: core tools dbtest integration_tests dist dist-debugsymbols distsrc-${ext|tgz} ${msi_target|}
@@ -2760,26 +2831,16 @@ tasks:
ignore_artifacts_for_spawn: false
files:
- src/artifacts.json
- - func: "scons cache pruning"
- - func: "umount shared scons directory"
-## compile_all - build all scons targets including unittests ##
+## compile_all - build all scons targets ##
- name: compile_all
commands:
- - command: manifest.load
- - func: "git get project"
- - func: "get buildnumber"
- - func: "set up credentials"
- - func: "fetch and build OpenSSL"
- func: "build new tools"
- func: "build rocksdb" # noop if ${build_rocksdb} is not "true"
- - func: "use WiredTiger develop" # noop if ${use_wt_develop} is not "true"
- - func: "generate compile expansions"
- # Then we load the generated version data into the agent so we can use it in task definitions.
- - func: "apply compile expansions"
- func: "scons compile"
vars:
targets: all
+ reduce_scons_compile_jobs_available: true
task_compile_flags: >-
--use-new-tools
--build-mongoreplay="${build_mongoreplay}"
@@ -2796,18 +2857,28 @@ tasks:
display_name: Library Dependency Graph (library_dependency_graph.json)
build_variants: [enterprise-ubuntu1604-64]
- # Run the C++ unittests as part of compile_all. The compiled binaries are automatically
- # installed into the top-level directory by SCons.
- # noop if ${disable_unit_tests} is "true"
+## compile_unittests - build unittests ##
+- name: compile_unittests
+ commands:
+ - func: "scons compile"
+ vars:
+ targets: unittests
+ reduce_scons_compile_jobs_available: true
+ task_compile_flags: >-
+ --detect-odr-violations
+
+## unittests - run unittests ##
+- name: unittests
+ commands:
+ - func: "run diskstats"
+ - func: "monitor process threads"
+ - func: "collect system resource info"
- func: "run tests"
vars:
resmoke_args: --suites=unittests
run_multiple_jobs: true
- - func: "scons cache pruning"
- - func: "umount shared scons directory"
-
-## compile_mogile - build the mobile-dev and mobile-test targets only ##
+## compile_mobile - build the mobile-dev and mobile-test targets only ##
- name: compile_mobile
commands:
- command: manifest.load
@@ -6365,6 +6436,22 @@ tasks:
#######################################
+# Task Groups #
+#######################################
+task_groups:
+- <<: *compile_task_group_template
+ name: compile_TG
+ tasks:
+ - compile
+- <<: *compile_task_group_template
+ name: compile_all_run_unittests_TG
+ tasks:
+ - compile
+ - compile_unittests
+ - unittests
+ - compile_all
+
+#######################################
# Modules #
#######################################
# if a module is added and to be added to the manifest
@@ -6412,11 +6499,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: ""
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation
@@ -6512,11 +6598,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: ""
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: dbtest
@@ -6550,6 +6635,7 @@ buildvariants:
tooltags: ""
build_mongoreplay: true
display_tasks:
+ - *unittests
- name: replica_sets_auth
execution_tasks:
- replica_sets_auth_0
@@ -6602,8 +6688,7 @@ buildvariants:
- sharding_auth_19
- sharding_auth_misc
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_auth
- name: aggregation_facet_unwind_passthrough
@@ -6751,11 +6836,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: ""
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation
@@ -6801,11 +6885,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: ""
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: dbtest
@@ -6836,11 +6919,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags ssl"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1404-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1404-build
- name: aggregation
@@ -6929,11 +7011,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags ssl"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1604-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1604-build
- name: aggregation
@@ -7038,9 +7119,10 @@ buildvariants:
multiversion_platform: ubuntu1604
multiversion_architecture: arm64
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_auth
- name: auth
@@ -7125,9 +7207,10 @@ buildvariants:
multiversion_platform: ubuntu1604
multiversion_architecture: arm64
multiversion_edition: targeted
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: dbtest
- name: free_monitoring
- name: jsCore
@@ -7161,11 +7244,10 @@ buildvariants:
multiversion_platform: ubuntu1604
multiversion_architecture: ppc64le
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1604-power8-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1604-power8-build
- name: aggregation
@@ -7243,11 +7325,10 @@ buildvariants:
multiversion_platform: ubuntu1604
multiversion_architecture: s390x
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1604-zseries-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1604-zseries-large
- name: aggregation
@@ -7346,11 +7427,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - linux-64-amzn-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- linux-64-amzn-build
- name: aggregation_auth
@@ -7422,11 +7502,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - linux-64-amzn-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- linux-64-amzn-build
- name: aggregation
@@ -7502,6 +7581,9 @@ buildvariants:
push_name: linux
push_arch: x86_64-enterprise-amazon2
compile_flags: --ssl MONGO_DISTMOD=amazon2 --release -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_gcc.vars
+ # We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
+ # spawning a large number of linker processes.
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
has_packages: true
packager_script: packager_enterprise.py
@@ -7512,11 +7594,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - amazon2-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- amazon2-build
- name: aggregation_auth
@@ -7577,6 +7658,9 @@ buildvariants:
push_name: linux
push_arch: x86_64-amazon2
compile_flags: --ssl MONGO_DISTMOD=amazon2 -j$(grep -c ^processor /proc/cpuinfo) --release --variables-files=etc/scons/mongodbtoolchain_gcc.vars
+ # We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
+ # spawning a large number of linker processes.
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
multiversion_platform: amazon
multiversion_edition: targeted
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
@@ -7590,11 +7674,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - amazon2-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- amazon2-build
- name: aggregation
@@ -7675,18 +7758,17 @@ buildvariants:
compile_flags: --dbg=on --opt=on --win-version-min=ws08r2 -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) MONGO_DISTMOD=2008plus
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
ext: zip
use_scons_cache: true
gorootvars: 'PATH="/cygdrive/c/go1.8/go/bin:/cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin:$PATH" GOROOT="c:/go1.8/go"'
tooltags: ""
build_mongoreplay: false
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - windows-64-vs2015-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- windows-64-vs2015-large
- name: aggregation
@@ -7814,7 +7896,7 @@ buildvariants:
compile_flags: --release --ssl MONGO_DISTMOD=windows-64 CPPPATH="c:/openssl/include c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
@@ -7826,6 +7908,7 @@ buildvariants:
build_mongoreplay: false
jstestfuzz_num_generated_files: 35
display_tasks:
+ - *unittests
- name: replica_sets_auth
execution_tasks:
- replica_sets_auth_0
@@ -7916,14 +7999,11 @@ buildvariants:
- sharding_ese_20
- sharding_ese_misc
tasks:
- - name: compile
+ - name: compile_all_run_unittests_TG
requires:
- name: burn_in_tests
distros:
- windows-64-vs2015-large
- - name: compile_all
- distros:
- - windows-64-vs2015-large
- name: compile_benchmarks
distros:
- windows-64-vs2015-large
@@ -8178,7 +8258,7 @@ buildvariants:
compile_flags: --release --ssl MONGO_DISTMOD=windows-64 CPPPATH="c:/openssl/include c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
@@ -8202,7 +8282,7 @@ buildvariants:
compile_flags: --release --ssl --ssl-provider=openssl MONGO_DISTMOD=windows-64 CPPPATH="c:/openssl/include c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
@@ -8231,7 +8311,7 @@ buildvariants:
compile_flags: --release --ssl MONGO_DISTMOD=windows-64 CPPPATH="c:/openssl/include c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
@@ -8241,7 +8321,7 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: false
tasks:
- - name: compile
+ - name: compile_TG
distros:
- windows-64-vs2015-large
- name: jsCore
@@ -8267,7 +8347,7 @@ buildvariants:
compile_flags: --release --ssl MONGO_DISTMOD=windows-64 CPPPATH="c:/openssl/include c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
test_flags: --storageEngine=inMemory --excludeWithAnyTags=requires_persistence,requires_journaling,requires_mmapv1
@@ -8279,7 +8359,7 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: false
tasks:
- - name: compile
+ - name: compile_TG
distros:
- windows-64-vs2015-large
- name: compile_all
@@ -8337,7 +8417,7 @@ buildvariants:
compile_flags: --release --ssl MONGO_DISTMOD=2008plus-ssl CPPPATH="c:/openssl/include" LIBPATH="c:/openssl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
@@ -8345,11 +8425,10 @@ buildvariants:
gorootvars: 'PATH="/cygdrive/c/go1.8/go/bin:/cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin:$PATH" GOROOT="c:/go1.8/go" CGO_CFLAGS="-D_WIN32_WINNT=0x0601 -DNTDDI_VERSION=0x06010000"'
tooltags: "-tags ssl"
build_mongoreplay: false
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - windows-64-vs2015-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- windows-64-vs2015-large
- name: aggregation
@@ -8449,7 +8528,7 @@ buildvariants:
compile_flags: --dbg=on --opt=off --ssl MONGO_DISTMOD=2008plus CPPPATH="c:/openssl/include c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows --win-version-min=ws08r2
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
# spawning a large number of linker processes.
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
@@ -8461,7 +8540,7 @@ buildvariants:
# This variant tests that unoptimized, DEBUG mongos and mongod binaries can run on Windows.
# It has a minimal amount of tasks because unoptimized builds are slow, which causes
# timing-sensitive tests to fail.
- - name: compile
+ - name: compile_TG
distros:
- windows-64-vs2015-large
- name: audit
@@ -8489,9 +8568,10 @@ buildvariants:
gorootvars: 'PATH="/usr/local/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/usr/local/go1.8/go CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include CGO_CFLAGS=-mmacosx-version-min=10.10 CGO_LDFLAGS=-mmacosx-version-min=10.10'
tooltags: "-tags 'ssl openssl_pre_1.0'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_mongos_passthrough
- name: aggregation_one_shard_sharded_collections
@@ -8592,9 +8672,10 @@ buildvariants:
gorootvars: 'PATH="/usr/local/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/usr/local/go1.8/go CGO_CFLAGS=-mmacosx-version-min=10.10 CGO_LDFLAGS=-mmacosx-version-min=10.10'
tooltags: ""
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: auth
- name: dbtest
@@ -8630,9 +8711,10 @@ buildvariants:
build_mongoreplay: true
multiversion_platform: osx
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: audit
- name: auth_audit
- name: dbtest
@@ -8941,6 +9023,7 @@ buildvariants:
build_mongoreplay: true
jstestfuzz_num_generated_files: 40
display_tasks:
+ - *unittests
- name: replica_sets_auth
execution_tasks:
- replica_sets_auth_0
@@ -9079,15 +9162,12 @@ buildvariants:
- sharding_op_query_11
- sharding_op_query_misc
tasks:
- - name: compile
+ - name: compile_all_run_unittests_TG
requires:
- name: burn_in_tests
- name: lint
distros:
- rhel62-large
- - name: compile_all
- distros:
- - rhel62-large
- name: compile_benchmarks
distros:
- rhel62-large
@@ -9635,9 +9715,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: rollback_fuzzer
- name: aggregation
- name: aggregation_ese
@@ -9759,11 +9840,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel70
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel70
- name: compile_benchmarks
@@ -9813,7 +9893,7 @@ buildvariants:
tooltags: ""
build_mongoreplay: true
tasks:
- - name: compile
+ - name: compile_TG
distros:
- ubuntu1604-build
- name: jsCore
@@ -9848,11 +9928,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags ssl"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation
@@ -9934,11 +10013,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags ssl"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel70
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel70
- name: aggregation
@@ -10032,11 +10110,10 @@ buildvariants:
multiversion_platform: rhel71
multiversion_architecture: ppc64le
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel71-power8-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel71-power8-build
- name: aggregation
@@ -10139,11 +10216,10 @@ buildvariants:
multiversion_platform: rhel72
multiversion_architecture: s390x
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel72-zseries-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel72-zseries-build
- name: aggregation
@@ -10243,11 +10319,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go CC=/opt/mongodbtoolchain/v2/bin/s390x-mongodb-linux-gcc'
tooltags: -tags 'sasl ssl'
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel67-zseries-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel67-zseries-build
- name: aggregation
@@ -10345,11 +10420,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1404-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1404-build
- name: audit
@@ -10403,11 +10477,10 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
additional_targets: dagger
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1604-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1604-build
- name: audit
@@ -10472,11 +10545,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1604-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1604-build
@@ -10508,11 +10580,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - suse12-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- suse12-build
- name: audit
@@ -10567,11 +10638,10 @@ buildvariants:
multiversion_platform: suse12
multiversion_architecture: s390x
multiversion_edition: enterprise
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - suse12-zseries-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- suse12-zseries-build
- name: aggregation
@@ -10673,11 +10743,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - suse12-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- suse12-build
- name: aggregation
@@ -10761,11 +10830,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - debian71-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- debian71-build
- name: audit
@@ -10817,11 +10885,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - debian81-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- debian81-build
- name: audit
@@ -10874,11 +10941,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - debian71-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- debian71-build
- name: aggregation
@@ -10963,11 +11029,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - debian81-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- debian81-build
- name: aggregation
@@ -11039,6 +11104,9 @@ buildvariants:
push_name: linux
push_arch: x86_64-enterprise-debian92
compile_flags: --ssl MONGO_DISTMOD=debian92 --release -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_gcc.vars
+ # We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
+ # spawning a large number of linker processes.
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
has_packages: true
packager_script: packager_enterprise.py
@@ -11049,11 +11117,10 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
scons_cache_scope: shared
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - debian92-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- debian92-build
- name: audit
@@ -11092,6 +11159,9 @@ buildvariants:
push_name: linux
push_arch: x86_64-debian92
compile_flags: --ssl MONGO_DISTMOD=debian92 -j$(grep -c ^processor /proc/cpuinfo) --release --variables-files=etc/scons/mongodbtoolchain_gcc.vars
+ # We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to
+ # spawning a large number of linker processes.
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
multiversion_platform: debian92
multiversion_edition: targeted
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
@@ -11105,11 +11175,10 @@ buildvariants:
scons_cache_scope: shared
shared_scons_pruning: true
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - debian92-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- debian92-build
- name: aggregation
@@ -11189,11 +11258,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation
@@ -11326,11 +11394,10 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
additional_targets: mongoe
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation
@@ -11394,9 +11461,10 @@ buildvariants:
tooltags: -gccgoflags "$(pkg-config --libs --cflags libssl libcrypto libsasl2)" -tags 'sasl ssl'
build_mongoreplay: true
additional_targets: mongoe
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_auth
- name: aggregation_facet_unwind_passthrough
@@ -11443,7 +11511,7 @@ buildvariants:
# pushed. It uses the task list from the enterprise-rhel-62-64-bit-mobile build variant to
# determine the resmoke.py YAML suite configurations to run the tests under. Do not add more tasks
# to this list.
- - name: compile
+ - name: compile_TG
requires:
- name: burn_in_tests
distros:
@@ -11484,16 +11552,16 @@ buildvariants:
tooltags: "-tags 'ssl sasl openssl_pre_1.0'"
build_mongoreplay: true
additional_targets: mongoe
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_auth
- name: aggregation_facet_unwind_passthrough
- name: audit
- name: auth
- name: auth_audit
-
- name: dbtest
# TODO SERVER-32993: Re-enable the concurrency suite on the mobile storage engine builders.
# - name: concurrency
@@ -11533,11 +11601,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: ""
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation
@@ -11614,11 +11681,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go CC=/opt/mongodbtoolchain/v2/bin/ppc64le-mongodb-linux-gcc'
tooltags: -tags 'sasl ssl'
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel71-power8-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel71-power8-build
- name: aggregation
@@ -11693,11 +11759,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go CC=/opt/mongodbtoolchain/v2/bin/s390x-mongodb-linux-gcc'
tooltags: -tags 'sasl ssl'
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel72-zseries-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel72-zseries-build
- name: aggregation
@@ -11784,7 +11849,7 @@ buildvariants:
build_mongoreplay: true
stepback: false
tasks:
- - name: compile
+ - name: compile_TG
distros:
- ubuntu1404-build
- name: dbtest
@@ -11817,9 +11882,10 @@ buildvariants:
build_mongoreplay: true
hang_analyzer_dump_core: false
scons_cache_scope: shared
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: rollback_fuzzer
- name: aggregation
- name: aggregation_ese
@@ -11943,9 +12009,10 @@ buildvariants:
build_mongoreplay: true
hang_analyzer_dump_core: false
scons_cache_scope: shared
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation_fuzzer
- name: free_monitoring
- name: jstestfuzz
@@ -11987,9 +12054,10 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
scons_cache_scope: shared
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_ese
- name: rollback_fuzzer
@@ -12115,9 +12183,10 @@ buildvariants:
build_mongoreplay: true
hang_analyzer_dump_core: false
scons_cache_scope: shared
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: dbtest
- name: jsCore
- name: watchdog_wiredtiger
@@ -12143,9 +12212,10 @@ buildvariants:
hang_analyzer_dump_core: false
test_flags: --serviceExecutor=adaptive --excludeWithAnyTags=requires_mmapv1
scons_cache_scope: shared
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- - name: compile_all
+ - name: compile_all_run_unittests_TG
- name: aggregation
- name: aggregation_ese
- name: aggregation_auth
@@ -12239,11 +12309,10 @@ buildvariants:
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
build_mongoreplay: true
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - ubuntu1604-build
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- ubuntu1604-build
@@ -12288,7 +12357,7 @@ buildvariants:
tooltags: -tags 'ssl sasl'
build_mongoreplay: true
tasks:
- - name: compile
+ - name: compile_TG
- name: aggregation
- name: aggregation_fuzzer
- name: audit
@@ -12397,13 +12466,13 @@ buildvariants:
c:/sasl/include c:/snmp/include c:/curl/include" LIBPATH="c:/openssl/lib c:/sasl/lib
c:/snmp/lib c:/curl/lib" -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --dynamic-windows
--win-version-min=ws08r2
- num_scons_compile_all_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
+ num_scons_compile_jobs_available: $(( $(grep -c ^processor /proc/cpuinfo) / 4 ))
python: python
num_jobs_available: $(grep -c ^processor /proc/cpuinfo)
ext: zip
use_scons_cache: true
tasks:
- - name: compile
+ - name: compile_TG
- name: aggregation
- name: aggregation_fuzzer
- name: audit
@@ -12515,7 +12584,7 @@ buildvariants:
tooltags: "-tags 'ssl sasl openssl_pre_1.0'"
build_mongoreplay: true
tasks:
- - name: compile
+ - name: compile_TG
- name: aggregation
- name: aggregation_fuzzer
- name: audit
@@ -12597,11 +12666,10 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: ""
build_mongoreplay: false
+ display_tasks:
+ - *unittests
tasks:
- - name: compile
- distros:
- - rhel62-large
- - name: compile_all
+ - name: compile_all_run_unittests_TG
distros:
- rhel62-large
- name: aggregation