SERVER-119981: Fix binDataClean() for deprecated type (#48347) (#50100)

Co-authored-by: Ronald Steinke <167128994+rsteinkeX@users.noreply.github.com>
GitOrigin-RevId: ab2d2b973ce6aa2fc9d621809eb5db23d5b37683
This commit is contained in:
Alex Li 2026-03-20 17:42:13 -04:00 committed by MongoDB Bot
parent c382e41dde
commit d067e66435
48 changed files with 22 additions and 23462 deletions

View File

@ -1,86 +0,0 @@
# This configuration is for migrating code from one Git repository to another using Copybara.
# It selectively copies content, excluding specific paths and preserving authorship.
sourceUrl = "https://github.com/10gen/mongo.git"
prodUrl = "https://github.com/mongodb/mongo.git"
testUrl = "https://github.com/10gen/mongo-copybara.git"
testBranch = "copybara_test_branch"
prodRefForPinnedSourceCommit = "v8.2"
def make_workflow(workflow_name, destination_url, source_ref, destination_ref):
core.workflow(
name = workflow_name,
origin = git.origin(
url = "https://github.com/10gen/mongo.git",
ref = source_ref,
),
destination = git.destination(
url = destination_url,
fetch = destination_ref,
push = destination_ref,
),
# Change path to the folder you want to publish publicly
origin_files = glob(["**"], exclude = [
"src/mongo/db/modules/**",
"buildscripts/modules/**",
".github/workflows/**",
"src/third_party/private/**",
".augment/**",
".cursor/**",
"AGENTS.md",
".github/CODEOWNERS",
"monguard/**",
]),
authoring = authoring.pass_thru("MongoDB <mongodb@mongodb.com>"),
mode = "ITERATIVE",
transformations = [
# The transformation rules below will remove the commit message's body, while preserving
# any trailer lines that have acceptable keys (Co-authored-by, etc). The first line of
# the commit message (ie. the commit's subject/summary line) is also always retained.
#
# Achieving this requires a 4 step process.
#
# STEP 1: Non-initial lines (ie. those which appear after a newline char) that start with
# an acceptable trailer key are preserved, but any other lines have their content removed
# (leaving a blank line).
#
# This works because the first .* (inside capture group 1) only matches if the line starts
# with a trailer key. If it doesn't, then the line is fully consumed by the second .*
# (which is outside the capture group, and therefore $1 is empty).
metadata.scrubber(
"\n((?:Co-authored-by|Signed-off-by|Reviewed-by): .*)?.*",
replacement = "\n$1",
),
#
# STEP 2: Remove blank lines, ie. sequences of newlines get condensed down to one newline.
metadata.scrubber("\n+", replacement = "\n"),
#
# STEP 3: Remove any trailing newline.
metadata.scrubber("\n$", replacement = ""),
#
# STEP 4: If there are trailer lines (ie. if the first line has a newline followed by more
# text), then add an extra blank line after the first line, ie. to separate the commit's
# trailers from the subject line.
#
# The first capture group (^.*?\n) is the first line (non-greedily consuming chars until a
# newline), while the second capture group ((\n|.)*) is the rest of the message (greedily
# consume all chars, including newlines).
# If there are no trailers, then there will only be a single line of text, with no newline
# chars, and so the pattern will fail to match.
metadata.scrubber("(^.*?\n)((?:\n|.)*)", replacement = "$1\n$2"),
#
# STEP 5: Replace any private links with their public equivalent.
core.replace(
before = "https://github.com/10gen/mongo",
after = "https://github.com/mongodb/mongo",
paths = glob(["**/*.md"]),
),
],
)
# push to the public repo
make_workflow("prod", prodUrl, prodRefForPinnedSourceCommit, "v8.2")
# push to private test repo to validate configs
make_workflow("test", testUrl, testBranch, testBranch)

View File

@ -1,3 +0,0 @@
# Evergreen testing documentation
Please see evergreen testing documentation [here](../../docs/evergreen-testing/README.md)

View File

@ -1,157 +0,0 @@
####################################################
# configuration.yml #
#####################################################
#
# This file contains global configuration values set for the mongodb-mongo-master and
# mongodb-mongo-master-nightly projects.
#
command_type: system
exec_timeout_secs: 21600 # 6 hours.
oom_tracker: true
pre_error_fails_task: true
stepback: true
## Parameters for parameterized builds (see https://github.com/evergreen-ci/evergreen/wiki/Parameterized-Builds)
parameters:
- key: patch_compile_flags
description: "Additional bazel flags to be applied during bazel compile invocations in this patch"
- key: future_git_tag
description: "Future git tag to be added. If empty, we will use the most recent git tag instead."
- key: last_lts_evg_version_id
description: "The Evergreen Version ID of the last-lts MongoDB binaries. Only binaries from release variants are used"
- key: last_continuous_evg_version_id
description: "The Evergreen Version ID of the last-continuous MongoDB binaries. Only binaries from release variants are used"
- key: antithesis_image_tag
description: "The docker tag to use when pushing images to Antithesis"
- key: build_patch_id
description: "Patch id of evergreen patch to pull binaries from for testing."
- key: bazel_build_tags
value: "--bazel-build-tag=dist_test"
description: "Default build tags"
- key: coverage_bazel_tags
value: "--remote_download_outputs=all --config=no-remote-exec --fission=no"
description: "Default coverage bazel tags"
- key: bazel_filters_for_cache_hydration
value: "compiledb,gen_source,mongo-tidy-tests,mongo-tidy-checks,dist_test,mongo_library,mongo_unittest,mongo_benchmark,mongo_integration_test,mongo_binary"
description: "Filters to pass Bazel to be built for the purpose of hydrating remote cache"
- key: run_covered_tests
description: >-
When set to `true`, patch builds will run all tests compatible with some suite_A even if a more complex suite_A_B will
also run the same test. For more information see SERVER-94816.
- key: skip_symbolization
value: true
description: >-
Automatically disables symbolizing stack traces from Resmoke tasks. If this is set to false, the steps on how to manually symbolize the unsymbolized stacktraces will not be generated.
## Cron parameters.
- key: project_required_suggested_cron
value: "0 */4 * * *" # Every 4 hours starting at 0000 UTC
description: "Cron schedule for required and suggested variants"
- key: project_nightly_cron
value: "0 4 * * *" # Every day starting at 0400 UTC
description: "Cron schedule for nightly variants"
- key: project_weekly_cron
value: "0 4 * * 0" # Every week starting 0400 UTC Sunday
description: "Cron schedule for nightly variants"
- key: convert_bazel_headers_target
description: "Target to generate bazel headers for"
#######################################
# Modules #
#######################################
# if a module is added and to be added to the manifest
# be sure to add the module to git.get_project revisions parameter
modules:
- name: wtdevelop
repo: git@github.com:wiredtiger/wiredtiger.git
prefix: src/third_party
branch: develop
- name: mongot
repo: git@github.com:10gen/mongot.git
prefix: ${workdir}/src
branch: master
- name: devprod_coverity
owner: mongodb-devprod-infrastructure
repo: coverity
prefix: "${workdir}/devprodCoveritySrc"
branch: main
auto_update: true
# Pre task steps
pre:
- func: "set task expansion macros"
- func: "f_expansions_write"
# Post task steps
post:
- func: "f_expansions_write"
- func: "cleanup external auth OIDC resources"
- func: "debug full disk"
- func: "upload npm logs"
- func: "generate clang-tidy report"
- func: "attach local resmoke invocation"
- func: "attach bazel invocation"
- func: "create bazel test report"
- func: "attach multiversion exclude tags"
- func: "attach report"
- func: "attach task errors"
- func: "attach artifacts"
- func: "attach multiversion download links"
- func: "save ec2 task artifacts"
- func: "attach wiki page"
- func: "upload docker compose"
- func: "attach docker logs"
- func: "upload jstestfuzz minimized output"
- func: "generate and upload network diagnostics"
- func: "kill processes"
- func: "save code coverage data"
- func: "save local client logs"
- func: "save jepsen artifacts"
- func: "save unsymbolized stacktraces and local invocation"
- func: "save mongo coredumps"
- func: "generate hang analyzer tasks"
- func: "save failed unittests"
- func: "save hang analyzer debugger files"
- func: "save disk statistics"
- func: "save system resource information"
- func: "save libfuzzertest corpora"
- func: "remove files"
vars:
files: >-
src/resmoke_error_code
src/*.gcda.gcov
src/gcov-intermediate-files.tgz
src/*.core src/*.mdmp src/*.core.gz src/*.mdmp.gz
mongo-coredumps.json
src/dist-unittests/bin/*
src/dist-unittests/lib/*
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}
src/network_diagnostics.txt
- func: "umount tmp directory"
- func: "cleanup FUSE watchdog"
- func: "cleanup environment"
- func: "cleanup jepsen docker test"
# Timeout steps
timeout:
- func: "f_expansions_write"
- func: "run hang analyzer"
- func: "wait for resmoke to shutdown"
- func: "save bazel run logs"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,512 +0,0 @@
# This file contains compile and related tasks that only run on nightly/reference nightly exclusive variants
################################################
# Variable #
################################################
variables:
# TODO: split this up into the user files.
# List of all variants that make mongocryptd
# If a variant is listed here and has a push task, mongocryptd is pushed
- mongocryptd_variants: &mongocryptd_variants
- enterprise-amazon2023
# TODO(SERVER-85904) - enterprise-amazon2023-lto
- enterprise-amazon2023-arm64
- enterprise-amazon2023-arm64-grav4
# TODO(SERVER-85904) - enterprise-amazon2023-arm64-lto
- enterprise-debian12-64
- enterprise-linux-64-amazon-ami
- enterprise-macos
- enterprise-macos-arm64
- enterprise-rhel-81-ppc64le
- enterprise-rhel-8-64-bit
- enterprise-rhel-8-64-bit-coverage
- enterprise-rhel-8-64-bit-suggested
- enterprise-rhel-8-arm64
- enterprise-rhel-83-s390x
- enterprise-rhel-9-ppc64le
- enterprise-rhel-9-s390x
- enterprise-rhel-90-64-bit
- enterprise-rhel-90-arm64
- enterprise-rhel-93-64-bit
- enterprise-rhel-93-arm64
- enterprise-suse15-64
- enterprise-ubuntu2004-arm64
- enterprise-ubuntu2204-arm64
- enterprise-ubuntu2404-arm64
- enterprise-ubuntu2004-64
- enterprise-ubuntu2204-64
- enterprise-ubuntu2404
- enterprise-windows
- enterprise-windows-debug-unoptimized
- enterprise-windows-inmem
- enterprise-windows-wtdevelop
################################################
# Tasks #
################################################
tasks:
- name: sign_windows_msi
run_on: rhel8.7-small
tags:
[
"assigned_to_jira_team_devprod_build",
"auxiliary",
"windows_release_critical",
"incompatible_development_variant",
"requires_compile_variant",
"publish",
]
depends_on:
- name: package
stepback: false
commands:
- command: manifest.load
- func: "git get project and add git tag"
- func: "get and apply version expansions"
- func: "f_expansions_write"
- func: "kill processes"
- func: "cleanup environment"
- func: "set up venv"
- func: "fetch packages"
- func: "set up remote credentials"
vars:
aws_key_remote: ${repo_aws_key}
aws_secret_remote: ${repo_aws_secret}
- func: "f_expansions_write"
- func: "log into devprod container registry"
# signing windows msi - will not sign in patch build but still pretend it did
- command: subprocess.exec
params:
binary: bash
args:
- "./src/evergreen/garasign_jsign_sign.sh"
- command: archive.targz_pack
params:
target: "msi-files-signed.tgz"
source_dir: "src"
include:
- "mongodb-${push_name}-${push_arch}-${suffix}.msi"
- "mongodb-${push_name}-${push_arch}-${suffix}.msi.sha1"
- "mongodb-${push_name}-${push_arch}-${suffix}.msi.sha256"
- "mongodb-${push_name}-${push_arch}-${suffix}.msi.md5"
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: msi-files-signed.tgz
remote_file: ${project}/${build_variant}/${revision}/artifacts/${build_id}-msi-files-signed.tgz
bucket: mciuploads
permissions: public-read
content_type: application/tar
display_name: MSI Files
- name: test_windows_msi
run_on: windows-2022-small
tags:
[
"assigned_to_jira_team_devprod_build",
"auxiliary",
"windows_release_critical",
"incompatible_development_variant",
"requires_compile_variant",
"publish",
]
depends_on:
- name: sign_windows_msi
stepback: false
commands:
- command: manifest.load
- func: "git get project and add git tag"
- func: "get and apply version expansions"
- func: "f_expansions_write"
- func: "kill processes"
- func: "cleanup environment"
- func: "set up venv"
- func: "fetch msi files"
# testing windows msi
- command: subprocess.exec
params:
binary: bash
add_expansions_to_env: true
args:
- "src/evergreen/run_python_script.sh"
- "buildscripts/msi_validation.py"
- "mongodb-${push_name}-${push_arch}-${suffix}.msi"
- name: push
run_on: rhel8.7-small
tags:
[
"assigned_to_jira_team_devprod_build",
"release_critical",
"incompatible_development_variant",
"requires_compile_variant",
"publish",
]
patchable: false
depends_on:
- name: package
- name: jsCore
- name: run_dbtest
- name: replica_sets_jscore_passthrough_gen
stepback: false
commands:
- command: manifest.load
- func: "git get project and add git tag"
- func: "get and apply version expansions"
- func: "f_expansions_write"
- func: "kill processes"
- func: "cleanup environment"
- func: "set up venv"
- func: "fetch packages"
- func: "fetch msi files"
- func: "fetch dist tarball"
# Fetch mongocryptd
- command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
remote_file: ${mongo_cryptd}
bucket: mciuploads
local_file: src/mongo-cryptd.tgz
build_variants: *mongocryptd_variants
- func: "f_expansions_write"
- func: "fetch dist debugsymbols"
- func: "set up remote credentials"
vars:
aws_key_remote: ${repo_aws_key}
aws_secret_remote: ${repo_aws_secret}
- func: "f_expansions_write"
- func: "log into devprod container registry"
# signing linux artifacts
- command: subprocess.exec
params:
binary: bash
args:
- "./src/evergreen/garasign_gpg_sign.sh"
# Put the binaries tarball/zipfile
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: ${content_type|application/gzip}
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}
skip_existing: ${is_release}
# Put the cryptd tarball/zipfile
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: ${content_type|application/gzip}
remote_file: ${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}
skip_existing: ${is_release}
build_variants: *mongocryptd_variants
# Put the debug symbols
# push directly to repo due to limitations in file size SERVER-63432
- command: s3.put
params:
aws_secret: ${aws_secret}
aws_key: ${aws_key}
permissions: public-read
local_file: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}
bucket: ${push_bucket}
content_type: ${content_type|application/gzip}
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}
skip_existing: ${is_release}
optional: true
# Put the binaries tarball signature
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: ${content_type|application/gzip}
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
skip_existing: ${is_release}
# Put the cryptd tarball signature
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: ${content_type|application/gzip}
remote_file: ${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
skip_existing: ${is_release}
build_variants: *mongocryptd_variants
# Put the debug symbols signature
- command: s3.put
params:
aws_secret: ${aws_secret}
aws_key: ${aws_key}
permissions: public-read
local_file: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sig
bucket: ${push_bucket}
content_type: ${content_type|application/gzip}
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sig
skip_existing: ${is_release}
optional: true
# Put the signed MSI file
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
permissions: public-read
build_variants: ["enterprise-windows", "windows"]
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.msi
bucket: ${push_bucket}
content_type: application/x-msi
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi
skip_existing: ${is_release}
# Put the binaries tarball sha1
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
aws_key: ${aws_key}
permissions: public-read
bucket: ${push_bucket}
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
skip_existing: ${is_release}
# Put the cryptd tarball sha1
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
aws_key: ${aws_key}
permissions: public-read
bucket: ${push_bucket}
content_type: text/plain
remote_file: ${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
skip_existing: ${is_release}
build_variants: *mongocryptd_variants
# Put the debug symbols sha1
- command: s3.put
params:
aws_secret: ${aws_secret}
aws_key: ${aws_key}
permissions: public-read
local_file: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha1
bucket: ${push_bucket}
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha1
skip_existing: ${is_release}
optional: true
# Push the signed MSI sha1
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
permissions: public-read
build_variants: ["enterprise-windows", "windows"]
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.msi.sha1
bucket: ${push_bucket}
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi.sha1
skip_existing: ${is_release}
# Put the binaries tarball sha256
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
permissions: public-read
aws_key: ${aws_key}
bucket: ${push_bucket}
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
skip_existing: ${is_release}
# Put the cryptd tarball sha256
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
permissions: public-read
aws_key: ${aws_key}
bucket: ${push_bucket}
content_type: text/plain
remote_file: ${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
skip_existing: ${is_release}
build_variants: *mongocryptd_variants
# Put the debug symbols sha256
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha256
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha256
skip_existing: ${is_release}
optional: true
# Put the signed MSI sha256
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
build_variants: ["enterprise-windows", "windows"]
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.msi.sha256
bucket: ${push_bucket}
permissions: public-read
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi.sha256
skip_existing: ${is_release}
content_type: text/plain
# Put the binaries tarball md5
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
skip_existing: ${is_release}
# Put the cryptd tarball md5
- command: s3.put
params:
aws_secret: ${aws_secret}
local_file: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
aws_key: ${aws_key}
bucket: ${push_bucket}
permissions: public-read
content_type: text/plain
remote_file: ${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
skip_existing: ${is_release}
build_variants: *mongocryptd_variants
# Put the debug symbols md5
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.md5
bucket: ${push_bucket}
content_type: text/plain
permissions: public-read
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.md5
skip_existing: ${is_release}
optional: true
# Put the signed MSI md5
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
build_variants: ["enterprise-windows", "windows"]
local_file: src/mongodb-${push_name}-${push_arch}-${suffix}.msi.md5
bucket: ${push_bucket}
permissions: public-read
content_type: text/plain
remote_file: ${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi.md5
skip_existing: ${is_release}
- command: subprocess.exec
params:
continue_on_err: true
binary: bash
env:
SERVER_TARBALL_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}
SERVER_TARBALL_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}
CRYPTD_TARBALL_PATH: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}
CRYPTD_TARBALL_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}
SOURCE_TARBALL_PATH: src/mongodb-src-${src_suffix}.${ext|tar.gz}
SOURCE_TARBALL_KEY: ${version_id}/${build_id}/push/src/mongodb-src-${src_suffix}.${ext|tar.gz}
DEBUG_SYMBOLS_TARBALL_PATH: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}
DEBUG_SYMBOLS_TARBALL_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}
SERVER_TARBALL_SIGNATURE_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
SERVER_TARBALL_SIGNATURE_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
CRYPTD_TARBALL_SIGNATURE_PATH: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
CRYPTD_TARBALL_SIGNATURE_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig
SOURCE_TARBALL_SIGNATURE_PATH: src/mongodb-src-${src_suffix}.${ext|tar.gz}.sig
SOURCE_TARBALL_SIGNATURE_KEY: ${version_id}/${build_id}/push/src/mongodb-src-${src_suffix}.${ext|tar.gz}.sig
DEBUG_SYMBOLS_TARBALL_SIGNATURE_PATH: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sig
DEBUG_SYMBOLS_TARBALL_SIGNATURE_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sig
MSI_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.msi
MSI_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi
SERVER_TARBALL_SHA1_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
SERVER_TARBALL_SHA1_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
CRYPTD_TARBALL_SHA1_PATH: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
CRYPTD_TARBALL_SHA1_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1
SOURCE_TARBALL_SHA1_PATH: src/mongodb-src-${src_suffix}.${ext|tar.gz}.sha1
SOURCE_TARBALL_SHA1_KEY: ${version_id}/${build_id}/push/src/mongodb-src-${src_suffix}.${ext|tar.gz}.sha1
DEBUG_SYMBOLS_TARBALL_SHA1_PATH: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha1
DEBUG_SYMBOLS_TARBALL_SHA1_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha1
MSI_SHA1_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.msi.sha1
MSI_SHA1_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi.sha1
SERVER_TARBALL_SHA256_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
SERVER_TARBALL_SHA256_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
CRYPTD_TARBALL_SHA256_PATH: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
CRYPTD_TARBALL_SHA256_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256
SOURCE_TARBALL_SHA256_PATH: src/mongodb-src-${src_suffix}.${ext|tar.gz}.sha256
SOURCE_TARBALL_SHA256_KEY: ${version_id}/${build_id}/push/src/mongodb-src-${src_suffix}.${ext|tar.gz}.sha256
DEBUG_SYMBOLS_TARBALL_SHA256_PATH: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha256
DEBUG_SYMBOLS_TARBALL_SHA256_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.sha256
MSI_SHA256_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.msi.sha256
MSI_SHA256_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi.sha256
SERVER_TARBALL_MD5_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
SERVER_TARBALL_MD5_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
CRYPTD_TARBALL_MD5_PATH: src/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
CRYPTD_TARBALL_MD5_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5
SOURCE_TARBALL_MD5_PATH: src/mongodb-src-${src_suffix}.${ext|tar.gz}.md5
SOURCE_TARBALL_MD5_KEY: ${version_id}/${build_id}/push/src/mongodb-src-${src_suffix}.${ext|tar.gz}.md5
DEBUG_SYMBOLS_TARBALL_MD5_PATH: src/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.md5
DEBUG_SYMBOLS_TARBALL_MD5_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz}.md5
MSI_MD5_PATH: src/mongodb-${push_name}-${push_arch}-${suffix}.msi.md5
MSI_MD5_KEY: ${version_id}/${build_id}/push/${push_path}/mongodb-${push_name}-${push_arch}-${suffix}-signed.msi.md5
AWS_ACCESS_KEY_ID: ${upload_lock_access_key_id}
AWS_SECRET_ACCESS_KEY: ${upload_lock_secret_access_key}
UPLOAD_LOCK_IMAGE: ${upload_lock_image_ecr}
UPLOAD_BUCKET: ${upload_lock_bucket}
AWS_REGION: ${upload_lock_region}
EVERGREEN_TASK_ID: ${task_id}
args:
- "./src/evergreen/run_upload_lock_push.sh"
#Trace artifacts (binaries, cryptd, debug, MSI) using Papertrail
- command: subprocess.exec
params:
binary: bash
env:
IS_RELEASE: ${is_release}
args:
- "./src/evergreen/papertrail_generate_expansions.sh"
- command: expansions.update
params:
file: src/papertrail-expansions.yml
- func: "f_expansions_write"
- command: papertrail.trace
params:
key_id: ${papertrail_key_id}
secret_key: ${papertrail_secret_key}
product: ${product_for_papertrail}
version: ${release_version}
filenames:
- "src/mongodb-${push_name}-${push_arch}*"
- "src/mongodb-cryptd-${push_name}-${push_arch}*"

View File

@ -1,546 +0,0 @@
variables:
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
# - etc/evergreen_yml_components/tasks/compile_tasks.yml
# - etc/evergreen_yml_components/tasks/compile_tasks_shared.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &compile_task_group_template
name: compile_task_group_template
max_hosts: 1
tasks: []
setup_task:
- func: "f_expansions_write"
- func: "set task expansion macros"
- func: "f_expansions_write"
- func: "override task timeout"
- func: "get engflow creds"
- func: "fetch pgo profile"
teardown_task:
- func: "f_expansions_write"
- func: "create bazel test report"
- func: "attach report"
- func: "attach artifacts"
- func: "attach local resmoke invocation"
- func: "attach multiversion download links"
- func: "kill processes"
- func: "save code coverage data"
- func: "save mongo coredumps"
- func: "generate hang analyzer tasks"
- func: "save failed unittests"
- func: "save bazel headers"
- func: "save bazel jvm dump"
- func: "save bazel exec logs"
- func: "save hang analyzer debugger files"
- func: "save disk statistics"
- func: "save system resource information"
- func: "save libfuzzertest corpora"
- func: "remove files"
vars:
files: >-
src/resmoke_error_code
src/*.gcda.gcov
src/gcov-intermediate-files.tgz
src/*.core src/*.mdmp src/*.core.gz src/*.mdmp.gz
mongo-coredumps.json
src/dist-unittests/bin/*
src/dist-unittests/lib/*
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_can_fail_task: true
setup_group:
- command: manifest.load
- func: "git get project and add git tag"
- func: "set task expansion macros"
- func: "f_expansions_write"
- func: "kill processes"
- func: "cleanup environment"
# The python virtual environment is installed in ${workdir}, which is created in
# "set up venv".
- func: "set up venv"
- func: "upload pip requirements"
- func: "f_expansions_write"
- func: "configure evergreen api credentials"
- func: "get buildnumber"
- func: "f_expansions_write"
- func: "set up credentials"
- func: "f_expansions_write"
- func: "use WiredTiger develop" # noop if ${use_wt_develop} is not "true"
- func: "f_expansions_write"
teardown_group:
- func: "f_expansions_write"
- func: "cleanup environment"
timeout:
- func: "f_expansions_write"
- func: "run hang analyzer"
- func: "wait for resmoke to shutdown"
- func: "save bazel run logs"
task_groups:
- <<: *compile_task_group_template
name: compile_and_package_serial_no_unittests_TG
tasks:
- archive_dist_test
- archive_dist_test_debug
tasks:
- &version_expansions_gen
name: version_expansions_gen
tags: ["assigned_to_jira_team_devprod_build", "auxiliary"]
priority: 10
commands:
- command: manifest.load
- func: "git get shallow project"
- func: "f_expansions_write"
- func: "restore git history and tags"
- func: "add git tag"
- func: "kill processes"
- func: "cleanup environment"
- func: "set up venv"
- func: "upload pip requirements"
- func: "generate and upload version expansions"
- func: "generate and upload resmoke constants"
- <<: *version_expansions_gen
name: version_expansions_future_git_tag_multiversion_gen
# Sys-perf relies on the name of this task, please reach out before changing it.
- &archive_dist_test
name: archive_dist_test
tags: ["assigned_to_jira_team_devprod_build", "auxiliary"]
depends_on:
- name: version_expansions_gen
variant: generate-tasks-for-version
commands:
- func: "activate task"
vars:
task_to_activate: ${archive_dist_test_debug_task_name|archive_dist_test_debug}
skip_for_patch_author: sys-perf-user
skip_activate_task: ${skip_archive_dist_test_debug_activate|False}
- func: "bazel compile"
vars:
targets: >-
archive-dist-test-stripped
${additional_compile_targets|}
bazel_args: >-
--config=evg
- func: "f_expansions_write"
- command: subprocess.exec
params:
binary: bash
add_expansions_to_env: true
args:
- "src/evergreen/run_python_script.sh"
- "evergreen/macos_notary.py"
- "bazel-bin/dist-test-stripped.${ext|tgz}"
- func: "BOLT"
- command: subprocess.exec
params:
binary: bash
add_expansions_to_env: true
args:
- "src/evergreen/run_python_script.sh"
- "buildscripts/s3_binary/sha256sum.py"
- "bazel-bin/dist-test-stripped.${ext|tgz}"
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/dist-test-stripped.${ext|tgz}
remote_file: ${mongo_binaries}
bucket: mciuploads
permissions: public-read
content_type: application/gzip
# Sys-perf relies on this display name, please reach out before changing it.
display_name: Binaries
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/dist-test-stripped.${ext|tgz}.sha256
remote_file: ${mongo_binaries}.sha256
bucket: mciuploads
permissions: public-read
content_type: text/plain
display_name: Binaries SHA256
- func: "f_expansions_write"
- func: "gen feature flags"
- func: "fetch resmoke constants"
- command: archive.targz_pack
params:
target: "artifacts.tgz"
source_dir: "./"
include:
- "./**.gcno"
- "src/.bazel*"
- "src/.npmrc"
- "src/.resmoke_mongo_release_values.yml"
- "src/.resmoke_mongo_version.yml"
- "src/BUILD.bazel"
- "src/MODULE.bazel"
- "src/WORKSPACE.bazel"
- "src/bazel/**"
- "src/buildscripts/**"
- "src/docker_compose/**"
- "src/etc/*san.suppressions"
- "src/etc/backports_required_for_multiversion_tests.yml"
- "src/etc/evergreen.yml"
- "src/etc/evergreen_nightly.yml"
- "src/etc/evergreen_timeouts.yml"
- "src/etc/evergreen_yml_components/**"
- "src/etc/expansions.default.yml"
- "src/etc/macos_dev_entitlements.xml"
- "src/etc/repo_config.yaml"
- "src/evergreen/**"
- "src/jsconfig.json"
- "src/jstests/**"
- "src/package.json"
- "src/patch_files.txt"
- "src/patch_test_tags.tgz"
- "src/pnpm-lock.yaml"
- "src/poetry.lock"
- "src/poetry_requirements.txt"
- "src/pyproject.toml"
- "src/src/**.idl"
- "src/src/mongo/client/sdam/json_tests/sdam_tests/**"
- "src/src/mongo/client/sdam/json_tests/server_selection_tests/**"
- "src/src/mongo/db/modules/enterprise/docs/**"
- "src/src/mongo/db/modules/enterprise/jstests/**"
- "src/src/mongo/db/modules/subscription/jstests/**"
- "src/src/mongo/db/query/query_tester/tests/**"
- "src/src/mongo/util/options_parser/test_config_files/**"
- "src/src/mongo/util/version/**"
- "src/src/third_party/JSON-Schema-Test-Suite/tests/draft4/**"
- "src/src/third_party/abseil-cpp/**"
- "src/src/third_party/grpc/**"
- "src/src/third_party/mock_ocsp_responder/**"
- "src/src/third_party/protobuf/**"
- "src/src/third_party/schemastore.org/**"
- "src/tools/**"
- "src/x509/**"
exclude_files:
- "src/*_test.pdb"
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: artifacts.tgz
remote_file: ${mongo_artifacts}
bucket: mciuploads
permissions: private
visibility: signed
content_type: application/tar
display_name: Artifacts
- command: archive.targz_pack
params:
target: "venv.tgz"
source_dir: "./"
include:
- "./venv/**"
- "./venv_readme.txt"
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: venv.tgz
remote_file: ${mongo_venv}
bucket: mciuploads
permissions: private
visibility: signed
content_type: application/tar
display_name: Python venv (see included venv_readme.txt)
- <<: *archive_dist_test
name: archive_dist_test_future_git_tag_multiversion
depends_on:
- name: version_expansions_future_git_tag_multiversion_gen
- &archive_dist_test_debug
name: archive_dist_test_debug
tags: ["assigned_to_jira_team_devprod_build", "auxiliary"]
depends_on:
- name: archive_dist_test
commands:
- func: "bazel compile"
vars:
targets: >-
archive-dist-test-debug install-dist-test
bazel_args: >-
--config=evg
- func: "upload debugsymbols"
- func: "f_expansions_write"
- command: subprocess.exec
params:
binary: bash
args:
- "./src/evergreen/record_mongodb_server_version.sh"
- "./bazel-bin/install/bin/mongod"
- "./version_info_mongod.txt"
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/version_info_mongod.txt
remote_file: ${project}/${build_variant}/${version_id}/version-info-mongod-${task_id}.txt
bucket: mciuploads
permissions: public-read
content_type: text/plain
display_name: mongod --version output
- <<: *archive_dist_test_debug
name: archive_dist_test_debug_future_git_tag_multiversion
depends_on:
- name: archive_dist_test_future_git_tag_multiversion
- name: crypt_create_lib
tags:
[
"assigned_to_jira_team_server_security",
"release_critical",
"incompatible_community",
"incompatible_tsan",
"incompatible_aubsan",
"requires_compile_variant",
"requires_large_host",
"crypt",
"bazel_check",
]
depends_on:
- name: version_expansions_gen
variant: generate-tasks-for-version
commands:
- func: "do bazel setup"
- func: "f_expansions_write"
- func: "bazel compile"
vars:
targets: archive-mongo_crypt-stripped
bazel_args: >-
--config=evg_crypt
task_compile_flags: --linkstatic=True ${crypt_task_compile_flags}
- command: subprocess.exec
params:
binary: bash
args:
- "src/evergreen/crypt_run_tests.sh"
- command: subprocess.exec
params:
binary: bash
add_expansions_to_env: true
args:
- "src/evergreen/run_python_script.sh"
- "evergreen/macos_notary.py"
- "bazel-bin/mongo_crypt-stripped.${ext|tgz}"
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: "src/bazel-bin/mongo_crypt-stripped.${ext|tgz}"
remote_file: "${project}/mongo_crypt/${build_variant}/${revision}/mongo_crypt_shared_v1-${version}.${ext|tgz}"
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/tar}
display_name: "Mongo crypt Library"
- name: crypt_lib_package
tags:
[
"assigned_to_jira_team_devprod_build",
"crypt",
"incompatible_aubsan",
"incompatible_community",
"incompatible_mac",
"incompatible_tsan",
"incompatible_windows",
"release_critical",
"requires_compile_variant",
"requires_large_host",
]
depends_on:
- name: crypt_create_lib
commands:
- func: "do non-compile setup"
- func: "get and apply version expansions"
- func: "f_expansions_write"
- command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/mongo_crypt_shared_v1-${version}.${ext|tgz}
remote_file: "${project}/mongo_crypt/${build_variant}/${revision}/mongo_crypt_shared_v1-${version}.${ext|tgz}"
bucket: mciuploads
- func: "run packager_crypt.py"
- command: archive.targz_pack
params:
target: "packages.tgz"
source_dir: "src"
include:
- "repo/**"
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: packages.tgz
remote_file: ${project}/${build_variant}/${revision}/artifacts/${build_id}-packages.tgz
bucket: mciuploads
permissions: public-read
content_type: application/tar
display_name: Packages
- name: package
tags: ["assigned_to_jira_team_devprod_build", "auxiliary"]
depends_on:
- name: archive_dist_test
commands:
- func: "f_expansions_write"
- func: "bazel compile"
vars:
targets: >-
archive-dist-stripped
archive-dist-debug
archive-mongo-stripped
archive-mongo-debug
${additional_package_targets|}
bazel_args: >-
--config=evg
- command: subprocess.exec
params:
binary: bash
add_expansions_to_env: true
args:
- "src/evergreen/run_python_script.sh"
- "evergreen/macos_notary.py"
- "bazel-bin/dist-stripped.${ext|tgz}"
- func: "f_expansions_write"
- command: subprocess.exec
params:
binary: bash
args:
- "src/evergreen/package.sh"
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/dist-stripped.${ext|tgz}
remote_file: ${project}/${build_variant}/${revision}/dist/mongo-${build_id}.${ext|tgz}
bucket: mciuploads
permissions: public-read
content_type: application/tar
display_name: Dist Tarball
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/dist-debug.${ext|tgz}
remote_file: ${project}/${build_variant}/${revision}/dist/mongo-${build_id}-debugsymbols.${ext|tgz}
bucket: mciuploads
permissions: public-read
content_type: application/tar
display_name: Dist Debugsymbols
- command: subprocess.exec
params:
binary: bash
add_expansions_to_env: true
args:
- "src/evergreen/run_python_script.sh"
- "buildscripts/s3_binary/sha256sum.py"
- "bazel-bin/mongo-stripped.${ext|tgz}"
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/mongo-stripped.${ext|tgz}
remote_file: ${mongo_jstestshell}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/gzip}
display_name: Jstestshell
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/mongo-stripped.${ext|tgz}.sha256
remote_file: ${mongo_jstestshell}.sha256
bucket: mciuploads
permissions: public-read
content_type: text/plain
display_name: Jstestshell SHA256
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/mongo-debug.${ext|tgz}
remote_file: ${mongo_jstestshell_debugsymbols}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/gzip}
display_name: Jstestshell Debugsymbols
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/mongocryptd-stripped.${ext|tgz}
remote_file: ${mongo_cryptd}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/gzip}
display_name: CryptD Binaries
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: src/bazel-bin/mongocryptd-debug.${ext|tgz}
remote_file: ${mongo_cryptd_debugsymbols}
bucket: mciuploads
permissions: public-read
content_type: ${content_type|application/gzip}
display_name: CryptD Debugsymbols
- func: "run packager.py"
- command: archive.targz_pack
params:
target: "packages.tgz"
source_dir: "src"
include:
- "repo/**"
- "bazel-bin/src/mongo/installer/**.msi"
- command: s3.put
params:
optional: true
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: packages.tgz
remote_file: ${project}/${build_variant}/${revision}/artifacts/${build_id}-packages.tgz
bucket: mciuploads
permissions: public-read
content_type: application/tar
display_name: Packages
# We perform package task generally in the middle of larger task groups running
# on the same host serially. In order to reduce peak required disk space, we can delete
# these generated files since we have already uploaded them to aws at this point.
- func: "remove files"
vars:
files: >-
packages.tgz
src/bazel-bin/mongocryptd-debug.${ext|tgz}
src/bazel-bin/mongocryptd-stripped.${ext|tgz}
src/bazel-bin/mongo-debug.${ext|tgz}
src/bazel-bin/mongo-stripped.${ext|tgz}
src/bazel-bin/dist-debug.${ext|tgz}
src/bazel-bin/dist-stripped.${ext|tgz}

View File

@ -1,94 +0,0 @@
functions:
f_clone_source:
- &clone_source
display_name: "Cloning source to analyze"
command: git.get_project
params:
directory: src
clone_depth: 1
recurse_submodules: true
- &check
display_name: "Checking if project has needed Coverity config"
command: subprocess.exec
params:
add_expansions_to_env: true
redirect_standard_error_to_output: true
binary: "${module_prefix}/${module_name}/evergreen/coverity.sh"
args:
- "check"
f_download_and_extract_coverity:
- &assume_role
display_name: "Assuming IAM role"
command: ec2.assume_role
params:
role_arn: arn:aws:iam::557821124784:role/evergreen.evergreen.coverity
- &download_coverity_license
display_name: "downloading Coverity license file"
command: s3.get
params:
aws_key: ${AWS_ACCESS_KEY_ID}
aws_secret: ${AWS_SECRET_ACCESS_KEY}
aws_session_token: ${AWS_SESSION_TOKEN}
remote_file: license.dat
bucket: evergreen.coverity
local_file: license.dat
- &download_coverity_binary
display_name: "downloading Coverity binary"
command: s3.get
params:
aws_key: ${AWS_ACCESS_KEY_ID}
aws_secret: ${AWS_SECRET_ACCESS_KEY}
aws_session_token: ${AWS_SESSION_TOKEN}
remote_file: linux/x86_64/latest/coverity.tar.gz
bucket: evergreen.coverity
local_file: coverity.tar.gz
- &extract_coverity_binary
display_name: "Extracting Coverity binary tarball"
command: subprocess.exec
params:
add_expansions_to_env: true
redirect_standard_error_to_output: true
binary: "${module_prefix}/${module_name}/evergreen/coverity.sh"
args:
- "extract"
# Analyzes after build
f_analyze:
- command: subprocess.exec
params:
add_expansions_to_env: true
redirect_standard_error_to_output: true
binary: "${module_prefix}/${module_name}/evergreen/coverity.sh"
args:
- "analyze"
# Pushes results to Coverity server after a successful analysis
f_commit:
- command: subprocess.exec
params:
add_expansions_to_env: true
redirect_standard_error_to_output: true
binary: "${module_prefix}/${module_name}/evergreen/coverity.sh"
args:
- "commit"
# All in one function, from cloning to pushing results to Coverity server
f_run_coverity:
- *clone_source
- *check
- *assume_role
- *download_coverity_license
- *download_coverity_binary
- *extract_coverity_binary
- command: subprocess.exec
params:
add_expansions_to_env: true
redirect_standard_error_to_output: true
binary: "${module_prefix}/${module_name}/evergreen/coverity.sh"
args:
- "scan"

File diff suppressed because it is too large Load Diff

View File

@ -1,135 +0,0 @@
tasks:
- name: publish-sast-report
tags: ["auxiliary", "assigned_to_jira_team_devprod_release_infrastructure"]
depends_on:
- name: version_expansions_gen
variant: generate-tasks-for-version
commands:
- command: git.get_project
params:
directory: src
clone_depth: 1
recurse_submodules: true
- func: "get version expansions"
- func: "apply version expansions"
- func: "f_expansions_write"
- command: subprocess.exec
display_name: Write credentials for SAST report generation to file
type: setup
params:
silent: true
binary: "${workdir}/src/evergreen/write_sast_report_env_file.sh"
env:
WORK_DIR: ${workdir}
JIRA_OAUTH_ACCESS_TOKEN: ${jira_auth_access_token}
JIRA_OAUTH_ACCESS_TOKEN_SECRET: ${jira_auth_access_token_secret}
JIRA_OAUTH_CONSUMER_KEY: ${jira_auth_consumer_key}
JIRA_OAUTH_KEY_CERT: ${jira_auth_key_cert}
SAST_REPORT_COVERITY_USERNAME: ${SAST_REPORT_COVERITY_USERNAME}
SAST_REPORT_COVERITY_PASSWORD: ${SAST_REPORT_COVERITY_PASSWORD}
SAST_REPORT_UPLOAD_GOOGLE_CLIENT_ID: ${SAST_REPORT_UPLOAD_GOOGLE_CLIENT_ID}
SAST_REPORT_UPLOAD_GOOGLE_CLIENT_REFRESH_TOKEN: ${SAST_REPORT_UPLOAD_GOOGLE_CLIENT_REFRESH_TOKEN}
SAST_REPORT_UPLOAD_GOOGLE_CLIENT_SECRET: ${SAST_REPORT_UPLOAD_GOOGLE_CLIENT_SECRET}
- command: subprocess.exec
display_name: "Generate SAST report and upload to Google Drive"
params:
binary: "${workdir}/src/evergreen/generate_sast_report.sh"
env:
WORK_DIR: ${workdir}
MODULE_PATH: ${workdir}/devprodCoveritySrc/devprod_coverity
GITHUB_COMMIT: ${github_commit}
TRIGGERED_BY_GIT_TAG: ${triggered_by_git_tag}
MONGODB_VERSION: ${version}
MONGODB_RELEASE_BRANCH: ${branch_name}
SAST_REPORT_TEST_GOOGLE_DRIVE_FOLDER_ID: ${SAST_REPORT_TEST_GOOGLE_DRIVE_FOLDER_ID}
SAST_REPORT_RELEASES_GOOGLE_DRIVE_FOLDER_ID: ${SAST_REPORT_RELEASES_GOOGLE_DRIVE_FOLDER_ID}
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
bucket: mciuploads
content_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
local_files_include_filter_prefix: devprodCoveritySrc/devprod_coverity
local_files_include_filter:
- "sast_report_*.xlsx"
remote_file: ${project}/${build_variant}/${revision}/artifacts/${build_id}/${task_name}/
permissions: private
visibility: signed
- name: publish-augmented-sbom
tags: ["auxiliary", "assigned_to_jira_team_platsec_server"]
depends_on:
- name: version_expansions_gen
variant: generate-tasks-for-version
exec_timeout_secs: 600 # 10 minute timeout
commands:
- command: manifest.load
- func: "git get project and add git tag"
- func: "get version expansions"
- func: "apply version expansions"
- func: "f_expansions_write"
- func: "kill processes"
- func: "cleanup environment"
- func: "set up venv"
- func: "upload pip requirements"
- command: ec2.assume_role
display_name: Assume Silkbomb IAM role
params:
role_arn: arn:aws:iam::119629040606:role/silkbomb
- func: "f_expansions_write"
- command: subprocess.exec
display_name: Write temporary AWS credentials to Silkbomb environment file
params:
binary: bash
args:
- "src/evergreen/functions/security_reporting_scripts/write_aws_creds_to_silkbomb_env_file.sh"
include_expansions_in_env:
[AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
- command: ec2.assume_role
display_name: Assume DevProd Platforms ECR readonly IAM role
params:
role_arn: arn:aws:iam::901841024863:role/ecr-role-evergreen-ro
- func: "f_expansions_write"
- command: subprocess.exec
display_name: Run Silkbomb to augment SBOM with VEX data
params:
binary: bash
args:
- "src/evergreen/functions/security_reporting_scripts/augment_sbom.sh"
include_expansions_in_env:
[AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
env:
REQUESTER: ${requester}
BRANCH_NAME: ${branch_name}
GITHUB_ORG: ${github_org}
GITHUB_REPO: ${github_repo}
CONTAINER_COMMAND: docker # podman or docker
CONTAINER_OPTIONS: --pull=always --platform=linux/amd64 -i --rm
CONTAINER_ENV_FILES: ${workdir}/silkbomb.env
CONTAINER_VOLUMES: -v ${workdir}:/workdir
CONTAINER_IMAGE: 901841024863.dkr.ecr.us-east-1.amazonaws.com/release-infrastructure/silkbomb:2.0
SBOM_REPO_PATH: sbom.json
SBOM_OUT_PATH: ${workdir}/sbom-with-vex-${branch_name}.json
SILKBOMB_COMMAND: augment
SILKBOMB_ARGS: --sbom-in /workdir/src/sbom.json --sbom-out /workdir/src/sbom-with-vex-${branch_name}.json --repo ${github_org}/${github_repo} --branch ${branch_name}
- command: subprocess.exec
display_name: Upload SBOM to Google Drive"
params:
binary: bash
args:
- "${workdir}/src/evergreen/run_python_script.sh"
- "${workdir}/src/evergreen/functions/security_reporting_scripts/upload_to_google_drive.py"
- "${workdir}/src/sbom-with-vex-${branch_name}.json"
env:
WORK_DIR: ${workdir}
GITHUB_COMMIT: ${github_commit}
TRIGGERED_BY_GIT_TAG: ${triggered_by_git_tag}
MONGODB_VERSION: ${version}
MONGODB_RELEASE_BRANCH: ${branch_name}
SBOM_OUT_PATH: ${workdir}/sbom-with-vex-${branch_name}.json
UPLOAD_FILE_NAME: "[${version}] MongoDB Server Enterprise SBOM"
SBOM_REPORT_TEST_GOOGLE_DRIVE_FOLDER_ID: ${SBOM_REPORT_TEST_GOOGLE_DRIVE_FOLDER_ID}
SBOM_REPORT_RELEASES_GOOGLE_DRIVE_FOLDER_ID: ${SBOM_REPORT_RELEASES_GOOGLE_DRIVE_FOLDER_ID}
SAST_REPORT_UPLOAD_GOOGLE_CLIENT_ID: ${SAST_REPORT_UPLOAD_GOOGLE_CLIENT_ID}
SAST_REPORT_UPLOAD_GOOGLE_CLIENT_REFRESH_TOKEN: ${SAST_REPORT_UPLOAD_GOOGLE_CLIENT_REFRESH_TOKEN}
SAST_REPORT_UPLOAD_GOOGLE_CLIENT_SECRET: ${SAST_REPORT_UPLOAD_GOOGLE_CLIENT_SECRET}

View File

@ -1,398 +0,0 @@
# This file contains resmoke tasks that are owned by non-server teams
################################################
# Variable #
################################################
variables:
- &gen_burn_in_task_template
name: gen_burn_in_task_template
depends_on:
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: version_burn_in_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: archive_dist_test
commands:
- func: "generate resmoke tasks"
vars:
resmoke_args: --help
# Used when the tests it runs depend only on mongod, mongos, the jstestshell and the tools.
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/durable_transactions_and_availability/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/query/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/non_server_teams/tasks.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &task_template
name: template
depends_on:
- name: archive_dist_test
commands:
- func: "do setup"
- func: "run tests"
vars:
resmoke_args: --help
resmoke_jobs_max: 0 # No cap on number of jobs.
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/durable_transactions_and_availability/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/query/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/non_server_teams/tasks.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &gen_task_template
name: gen_task_template
depends_on:
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: archive_dist_test
commands:
- func: "generate resmoke tasks"
vars:
resmoke_args: --help
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/durable_transactions_and_availability/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/query/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/non_server_teams/tasks.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &benchmark_template
name: benchmark_template
depends_on:
- name: compile_upload_benchmarks
commands:
- func: "do benchmark setup"
- func: "run benchmark tests"
vars:
resmoke_args: --help
resmoke_jobs_max: 1
suite: benchmark_suite
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/durable_transactions_and_availability/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/query/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/non_server_teams/tasks.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &jstestfuzz_config_vars
is_jstestfuzz: true
num_files: 15
num_tasks: 5 # Upperbound by `max_sub_suites` specified through the variant with each task still running `num_files` files.
# It is error prone to require each fuzzer-related Evergreen task to need to override the
# resmoke_args variable. However, the resmoke_args variable must be defined as a string in the
# task generation configuration to satisfy mongodb/mongo-task-generator. We therefore specify an
# empty string for the variable to reflect there are no additional arguments provided to resmoke
# by default for the fuzzer-related tasks.
resmoke_args: ""
resmoke_jobs_max: 1
should_shuffle: false
continue_on_failure: false
# Terminate the function when there has been no output to stdout for 30 minutes. E.g. when something is stuck in an infinite loop.
# resmoke.py writes the test output to logkeeper and only writes to stdout when starting the next test.
# resmoke.py not producing output on stdout means that the test is still running and presumably not going to finish.
# Note that timeout_secs is different from exec_timeout_secs, which applies to a task and times out regardless of whether output has been written to stdout.
timeout_secs: 1800
# Used for tests that invoke 'resmoke.py --suites=jstestfuzz*'.
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/clusters_and_integrations/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/durable_transactions_and_availability/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/server_divisions/query/tasks.yml
# - etc/evergreen_yml_components/tasks/resmoke/non_server_teams/tasks.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &jstestfuzz_template
name: jstestfuzz_template
exec_timeout_secs: 14400 # Time out the task if it runs for more than 4 hours.
depends_on:
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- archive_dist_test
commands:
- func: "generate resmoke tasks"
################################################
# Tasks #
################################################
tasks:
## pretty_printer ##
- <<: *task_template
name: run_pretty_printer_tests
tags: ["assigned_to_jira_team_devprod_build", "auxiliary"]
depends_on:
- archive_dist_test_debug
commands:
- func: "run tests"
vars:
suite: pretty-printer-tests
install_dir: bazel-bin/install/bin
exec_timeout_secs: 1800 # 30 min timeout.
- name: buildscripts_test
tags:
[
"assigned_to_jira_team_devprod_correctness",
"development_critical",
"requires_compile_variant",
"requires_execution_on_windows_patch_build",
]
depends_on: []
commands:
- func: "f_expansions_write"
- func: "do non-compile setup"
- func: "set up remote credentials"
- func: "f_expansions_write"
- func: "configure evergreen api credentials"
- func: "gen feature flags"
- func: "run tests"
vars:
resmoke_jobs_max: 1
- name: check_workstation_setup_script
tags: ["assigned_to_jira_team_devprod_correctness", "auxiliary"]
depends_on: []
commands:
- func: "do pre workstation setup"
- func: "get engflow creds"
- func: "set up then check workstation script"
- <<: *gen_burn_in_task_template
name: burn_in_tags_gen
tags: ["assigned_to_jira_team_devprod_correctness", "auxiliary"]
patch_only: true
commands:
- func: "generate resmoke tasks"
- <<: *gen_burn_in_task_template
name: burn_in_tests_gen
tags: ["assigned_to_jira_team_devprod_correctness", "auxiliary"]
patch_only: true
commands:
- func: "generate resmoke tasks"
- <<: *task_template
name: mongosTest
tags:
[
"assigned_to_jira_team_devprod_correctness",
"release_critical",
"misc_js",
"non_read_maj",
"non_live_record",
]
commands:
- func: "do setup"
- func: "run tests"
vars:
suite: mongos_test
## Tests that the multiversion test generation logic is not broken.
- <<: *gen_task_template
name: multiversion_sanity_check_gen
tags:
[
"assigned_to_jira_team_devprod_correctness",
"default",
"multiversion",
"multiversion_sanity_check",
]
commands:
- func: "initialize multiversion tasks"
vars:
multiversion_sanity_check_last_continuous_new_new_old: last_continuous
multiversion_sanity_check_last_continuous_new_old_new: last_continuous
multiversion_sanity_check_last_continuous_old_new_new: last_continuous
multiversion_sanity_check_last_lts_new_new_old: last_lts
multiversion_sanity_check_last_lts_new_old_new: last_lts
multiversion_sanity_check_last_lts_old_new_new: last_lts
- func: "generate resmoke tasks"
vars:
resmoke_args: >-
--runNoFeatureFlagTests
- <<: *task_template
name: resmoke_end2end_tests
tags:
[
"assigned_to_jira_team_devprod_correctness",
"default",
"incompatible_aubsan",
]
commands:
- func: "do setup"
vars:
extraction_change_dir: bazel-bin/install/
decompress: tar --strip-components=1 -zxvf
- func: "run tests"
- <<: *task_template
name: resmoke_validation_tests
tags:
[
"assigned_to_jira_team_devprod_correctness",
"development_critical_single_variant",
]
depends_on:
- name: archive_dist_test
commands:
- func: "do setup"
- func: "run tests"
- <<: *gen_task_template
name: unittest_shell_hang_analyzer_gen
tags:
[
"assigned_to_jira_team_devprod_correctness",
"release_critical",
"requires_compile_variant",
"requires_execution_on_windows_patch_build",
]
depends_on:
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: archive_dist_test
- name: archive_dist_test_debug
commands:
- func: "generate resmoke tasks"
vars:
exec_timeout_secs: 3600
use_large_distro: "true"
- <<: *benchmark_template
name: benchmarks_streams
tags: ["assigned_to_jira_team_streams", "experimental", "benchmarks"]
commands:
- func: "do benchmark setup"
- func: "run benchmark tests"
vars:
suites: benchmarks_streams
exec_timeout_secs: 18000 # 5 hour timeout.
resmoke_jobs_max: 1
- <<: *gen_task_template
name: streams_gen
tags: ["assigned_to_jira_team_streams", "default"]
commands:
- func: "generate resmoke tasks"
vars:
fallback_num_sub_suites: 2
- <<: *task_template
name: streams_kafka
tags: ["assigned_to_jira_team_streams", "experimental"]
commands:
- func: "do setup"
- func: "run tests"
- <<: *task_template
name: streams_kafka_gwproxy
tags: ["assigned_to_jira_team_streams", "experimental"]
commands:
- command: ec2.assume_role
params:
role_arn: "arn:aws:iam::664315256653:role/streams-evergreen-ecr-access-ro"
- func: "do setup"
- func: "run tests with aws credentials"
- <<: *task_template
name: streams_kafka_benchmark
tags: ["assigned_to_jira_team_streams", "experimental"]
commands:
- func: "do setup"
- func: "run tests"
- <<: *task_template
name: streams_https
tags: ["assigned_to_jira_team_streams", "default"]
commands:
- func: "do setup"
- func: "run tests"
- <<: *task_template
name: streams_lambda
tags: ["assigned_to_jira_team_streams", "experimental"]
commands:
- func: "do setup"
- func: "run tests"
- <<: *task_template
name: streams_s3
tags: ["assigned_to_jira_team_streams", "experimental"]
commands:
- func: "do setup"
- func: "run tests"
# Experimental task running the jscore suite bazel target. To be removed with SERVER-103537.
- name: bazel_jscore
tags: ["assigned_to_jira_team_devprod_correctness", "experimental"]
depends_on:
- name: archive_dist_test
commands:
- func: "do setup"
- func: "run resmoke tests via bazel"
vars:
suite: //buildscripts/resmokeconfig:core
compiling_for_test: true
bazel_args: >-
--config=no-remote-exec
--test_output=all
--workspace_status_command="bazel/resmoke/volatile_status.sh"
--//bazel/resmoke:in_evergreen
# Experimental task running the jstestfuzz suite bazel target. To be removed with SERVER-103537.
- <<: *jstestfuzz_template
name: bazel_jstestfuzz_gen
tags: ["assigned_to_jira_team_devprod_correctness", "experimental"]
commands:
- func: "generate resmoke tasks"
vars:
<<: *jstestfuzz_config_vars
num_files: 2
num_tasks: 2
jstestfuzz_vars: --jsTestsDir ../jstests
suite: //buildscripts/resmokeconfig:jstestfuzz
npm_command: jstestfuzz
bazel_args: >-
--config=no-remote-exec
--test_output=all
--workspace_status_command="bazel/resmoke/volatile_status.sh"
--//bazel/resmoke:in_evergreen
# Experimental task running the multiversion sanity check bazel targets. To be removed with SERVER-103537.
- <<: *gen_task_template
name: bazel_multiversion_sanity_check_gen
tags:
[
"assigned_to_jira_team_devprod_correctness",
"experimental",
"multiversion",
"future_git_tag_incompatible",
]
commands:
- func: "generate resmoke tasks"
vars:
bazel_args: >-
--config=no-remote-exec
--test_output=all
--workspace_status_command="bazel/resmoke/volatile_status.sh"
--//bazel/resmoke:in_evergreen
- func: "initialize multiversion tasks"
vars:
//buildscripts/resmokeconfig:bazel_multiversion_sanity_check_last_continuous_new_new_old: last_continuous
//buildscripts/resmokeconfig:bazel_multiversion_sanity_check_last_lts_new_new_old: last_lts

View File

@ -1,5 +0,0 @@
version: 1.0.0
filters:
- "*":
approvers:
- 10gen/query

View File

@ -1,461 +0,0 @@
# Amazon build variants for testing development environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux-arm64-dynamic-compile-params # Essential set of compile parameters used for Linux dev variants.
run_on:
- amazon2023-arm64-latest-large
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
stepback: false
- &linux-arm64-static-enterprise-compile-expansions
has_packages: false
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--//bazel/config:build_otel=True
unittest_library_compile_flags: >-
--linkstatic=False
unittest_compile_flags: >-
--linkstatic=False
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_arm64_generic_expansions
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: aarch64
packager_arch: aarch64
packager_distro: amazon2023
repo_edition: enterprise
large_distro_name: amazon2023-arm64-latest-large
core_analyzer_distro_name: amazon2023-arm64-latest-xlarge
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &amazon_linux2023_arm64_static_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &amazon_linux2023_arm64_static_compile_variant_name amazon-linux2023-arm64-static-compile
- name: archive_jstestshell
variant: *amazon_linux2023_arm64_static_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: amazon-linux2023-arm64-static-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &amazon_linux2023_arm64_dynamic_expansions
<<: *linux_arm64_generic_expansions
compile_variant: *amazon_linux2023_arm64_static_compile_variant_name
- &sys_perf_compile_expansions
platform: linux
project_dir: dsi
has_packages: false
buildvariants:
- <<: *linux-arm64-dynamic-compile-params
name: &amazon-linux2023-arm64-crypt-compile amazon-linux2023-arm64-crypt-compile
display_name: "! Amazon Linux 2023 arm64 Crypt Compile"
tags: ["required", "bazel_check"]
expansions:
<<: *linux-arm64-static-enterprise-compile-expansions
compile_variant: *amazon-linux2023-arm64-crypt-compile
evergreen_remote_exec: on
tasks:
- name: .crypt
- name: crypt_build_debug_and_test
- <<: *linux-arm64-dynamic-compile-params
name: &amazon-linux2023-arm64-static-compile amazon-linux2023-arm64-static-compile
display_name: "! Amazon Linux 2023 arm64 Enterprise Shared Library Compile & Static Analysis"
tags: ["required", "bazel_check", "forbid_tasks_tagged_with_experimental"]
expansions:
<<: *linux-arm64-static-enterprise-compile-expansions
clang_tidy_toolchain: v5
build_mongot: true
download_mongot_release: true
compile_variant: *amazon-linux2023-arm64-static-compile
evergreen_remote_exec: on
skip_debug_link: true
# Boost the priority on remote execution since this is the longest running task chain in
# the required patch build. This priority is still lower than the priority on developer
# workstation builds.
#
# This variant can also handle a higher number of remote execution jobs concurrently
# since it's running on a c6g.16xlarge
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--//bazel/config:build_otel=True
--remote_execution_priority=3
--jobs=1600
tasks:
- name: run_unit_tests_TG
- name: compile_test_parallel_core_stream_and_pretty_printer_tests_TG
distros:
- amazon2023-arm64-latest-xlarge
- name: compile_all_but_not_unittests_TG
distros:
- amazon2023-arm64-latest-large-localstorage
- name: compile_test_parallel_dbtest_stream_TG
- name: compile_integration_and_test_parallel_stream_TG
distros:
- amazon2023-arm64-latest-large-localstorage
- name: compile_jstestshell_TG
distros:
- amazon2023-arm64-latest-large-localstorage
- name: .development_critical_single_variant !.requires_large_host
- name: .development_critical_single_variant .requires_large_host
distros:
- amazon2023-arm64-latest-xlarge
- name: .development_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.stitch !.crypt
- name: .development_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt
distros:
- amazon2023-arm64-latest-xlarge
- name: .release_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.stitch !.crypt
- name: .release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt
distros:
- amazon2023-arm64-latest-xlarge
- name: .default .requires_compile_variant !.requires_large_host !.incompatible_development_variant
- name: .default .requires_compile_variant .requires_large_host !.incompatible_development_variant
distros:
- amazon2023-arm64-latest-xlarge
- &enterprise-amazon-linux2023-arm64-template
<<: *amazon_linux2023_arm64_static_compile_variant_dependency
name: enterprise-amazon-linux2023-arm64
display_name: "! Amazon Linux 2023 arm64 Enterprise"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- amazon2023-arm64-latest-small
stepback: true
expansions: &enterprise-amazon-linux2023-arm64-expansions
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool,incompatible_with_atlas_environment
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
distros:
- amazon2023-arm64-latest-large
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
distros:
- amazon2023-arm64-latest-large
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
distros:
- amazon2023-arm64-latest-large
- name: .fuzzer_deterministic
- <<: *enterprise-amazon-linux2023-arm64-template
name: enterprise-amazon-linux2023-arm64-roll-back-incremental-feature-flags
display_name: "Amazon Linux 2023 arm64 Enterprise (roll back incremental feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *enterprise-amazon-linux2023-arm64-expansions
test_flags: >-
--disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool,incompatible_with_atlas_environment
- name: &commit-queue commit-queue
display_name: "~ Commit Queue"
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
run_on:
- amazon2023-arm64-latest-small
stepback: false
expansions:
<<: *linux_arm64_generic_expansions
has_packages: false
skip_symbolization: true
evergreen_remote_exec: on
build_timeout_seconds: 1440
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--linkstatic=False
clang_tidy_toolchain: v5
compile_variant: *commit-queue
depends_on: []
tasks:
- name: compile_test_parallel_core_stream_and_pretty_printer_tests_TG
distros:
- amazon2023-arm64-xlarge-commitqueue
- name: compile_all_but_not_unittests_TG
distros:
- amazon2023-arm64-xlarge-commitqueue
- name: run_unit_tests_TG
distros:
- amazon2023-arm64-xlarge-commitqueue
- name: compile_test_parallel_dbtest_stream_TG
distros:
- amazon2023-arm64-xlarge-commitqueue
- name: .commit_check
create_check_run:
path_to_outputs: "github_annotations.json"
- name: .development_critical_single_variant !.requires_large_host !.clang_tidy
- name: .development_critical_single_variant .requires_large_host !.clang_tidy
distros:
- amazon2023-arm64-latest-large
- name: .development_critical !.requires_large_host_commit_queue
- name: .development_critical .requires_large_host_commit_queue
distros:
- amazon2023-arm64-latest-large
- <<: *amazon_linux2023_arm64_static_compile_variant_dependency
name: amazon-linux2023-arm64-try-sbe-engine
display_name: "Amazon Linux 2023 arm64 Atlas Enterprise Query Patch Only (trySbeEngine)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- amazon2023-arm64-latest-small
stepback: true
expansions:
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
jstestfuzz_num_generated_files: 20
jstestfuzz_concurrent_num_files: 5
target_resmoke_time: 30
max_sub_suites: 3
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: trySbeEngine}"
--excludeWithAnyTags=resource_intensive
tasks:
- name: aggregation_mongos_passthrough
distros:
- amazon2023-arm64-latest-large
- name: aggregation_sharded_collections_passthrough
distros:
- amazon2023-arm64-latest-large
- name: aggregation_one_shard_sharded_collections
- name: aggregation
- name: aggregation_disabled_optimization
- name: noPassthrough_gen
- name: noPassthroughWithMongod_gen
- name: jsCore
distros:
- amazon2023-arm64-latest-large
- name: jsCore_min_batch_repeat_queries_multiplan_single_solutions_ese_gsm
distros:
- amazon2023-arm64-latest-large
- name: replica_sets_jscore_passthrough_gen
- name: sharded_collections_jscore_passthrough_gen
- name: sharding_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_replica_sets_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharding_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharded_collections_jscore_passthrough_gen
- name: aggregation_repeat_queries_multiplan_single_solutions
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *amazon_linux2023_arm64_static_compile_variant_name
- name: multiversion_gen
- name: .multiversion_sanity_check
- name: concurrency_gen
- name: concurrency_replication_gen
- name: concurrency_sharded_replication_gen
- name: .fuzzer_deterministic
- name: amazon2023-x86-compile
display_name: "* Compile Amazon Linux 2023 x86 for sys-perf"
tags: ["suggested"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
expansions:
<<: *sys_perf_compile_expansions
compile_variant: amazon2023-x86-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--release=True
evergreen_remote_exec: on
run_on:
- amazon2023.3-xlarge
tasks:
- name: compile_and_package_serial_no_unittests_TG
- name: package_supplementary_data
- name: amazon2023-arm64-compile
display_name: "* Compile Amazon Linux 2023 arm64 for sys-perf"
tags: ["suggested"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
expansions:
<<: *sys_perf_compile_expansions
compile_variant: amazon2023-arm64-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--release=True
evergreen_remote_exec: on
run_on:
- amazon2023.3-arm64-xlarge
tasks:
- name: compile_and_package_serial_no_unittests_TG
- name: package_supplementary_data
- name: amazon2023-arm64-mongocrypt-shlib-compile
display_name: "* Compile mongo_crypt_v1.so Amazon Linux 2023 arm64 for sys-perf"
tags: ["suggested"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
expansions:
<<: *sys_perf_compile_expansions
compile_variant: amazon2023-arm64-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--release=True
evergreen_remote_exec: on
run_on:
- amazon2023.3-arm64-xlarge
tasks:
- name: .crypt
- name: amazon2023-arm64-grav4
display_name: "Amazon Linux 2023 arm64 Graviton 4"
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023-arm64-latest-small-m8g
expansions:
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--subcommands
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source
--enableEnterpriseTests=off
has_packages: false
repo_edition: org
large_distro_name: amazon2023-arm64-latest-small-m8g
compile_variant: amazon2023-arm64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023-arm64-latest-large-m8g
- name: run_unit_tests_TG
distros:
- amazon2023-arm64-latest-large-m8g
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- amazon2023-arm64-latest-large-m8g
- name: .release_critical !.requires_large_host !.incompatible_community !.publish
- name: .release_critical .requires_large_host !.incompatible_community !.publish
distros:
- amazon2023-arm64-latest-large-m8g
- name: &al2023-arm64-sep-benchmark al2023-arm64-sep-benchmark
display_name: "! AL2023.3 arm64 Enterprise (SEP Benchmark)"
tags: ["required"]
cron: "0 1 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023.3-arm64-m6g-4xlarge
expansions:
mciuploads_binary_permissions: public-read
mciuploads_binary_visibility: public
build_timeout_seconds: 900
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--release=True
--dbg_level=1
--separate_debug=False
evergreen_remote_exec: on
compile_variant: *al2023-arm64-sep-benchmark
tasks:
- name: .benchmarks_sep
- name: enterprise-amazon2023-arm64-grav4
display_name: "Enterprise Amazon Linux 2023 arm64 Graviton 4"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023-arm64-latest-small-m8g
expansions:
additional_package_targets: archive-mongocryptd archive-mongocryptd-debug
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source
has_packages: false
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: aarch64
repo_edition: enterprise
compile_variant: enterprise-amazon2023-arm64-grav4
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023-arm64-latest-large-m8g
- name: run_unit_tests_TG
distros:
- amazon2023-arm64-latest-large-m8g
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2023-arm64-latest-large-m8g
- name: .release_critical !.requires_large_host !.publish !.publish_crypt
- name: .release_critical .requires_large_host !.publish !.publish_crypt
distros:
- amazon2023-arm64-latest-large-m8g
- name: amazon2023-x86-streams-compile
display_name: "* Compile Streams Amazon Linux 2023 x86 for sys-perf"
tags: ["suggested"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
expansions:
<<: *sys_perf_compile_expansions
compile_variant: amazon2023-x86-streams-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--release=True
--streams_release_build=True
run_on:
- amazon2023.3-xlarge
tasks:
- name: compile_and_package_serial_no_unittests_TG
- name: package_supplementary_data
- name: amazon2023-arm64-streams-compile
display_name: "* Compile Streams Amazon Linux 2023 arm64 for sys-perf"
tags: ["suggested"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
expansions:
<<: *sys_perf_compile_expansions
compile_variant: amazon2023-arm64-streams-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--release=True
--streams_release_build=True
run_on:
- amazon2023.3-arm64-xlarge
tasks:
- name: compile_and_package_serial_no_unittests_TG
- name: package_supplementary_data

View File

@ -1,467 +0,0 @@
# Amazon build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux-arm64-dynamic-compile-params # Essential set of compile parameters used for Linux dev variants.
run_on:
- amazon2023-arm64-latest-large
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
stepback: false
- &linux-arm64-dynamic-enterprise-compile-expansions
has_packages: false
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--linkstatic=False
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &amazon_linux2023_arm64_static_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &amazon_linux2023_arm64_static_compile_variant_name amazon-linux2023-arm64-static-compile
- name: archive_jstestshell
variant: *amazon_linux2023_arm64_static_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: amazon-linux2023-arm64-static-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_arm64_generic_expansions
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: aarch64
packager_arch: aarch64
packager_distro: amazon2023
repo_edition: enterprise
large_distro_name: amazon2023-arm64-latest-large
core_analyzer_distro_name: amazon2023-arm64-latest-xlarge
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/amazon/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/amazon/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &amazon_linux2023_arm64_dynamic_expansions
<<: *linux_arm64_generic_expansions
compile_variant: *amazon_linux2023_arm64_static_compile_variant_name
buildvariants:
- <<: *linux-arm64-dynamic-compile-params
name: &amazon-linux2023-arm64-stitch-compile amazon-linux2023-arm64-stitch-compile
display_name: "* Amazon Linux 2023 arm64 Enterprise Stitch Compile"
tags: ["suggested", "bazel_check"]
expansions:
<<: *linux-arm64-dynamic-enterprise-compile-expansions
compile_variant: *amazon-linux2023-arm64-stitch-compile
tasks:
- name: .stitch
# Caching is purposefully disabled on this variant so we can benchmark consistent build times.
- name: &amazon-linux2023-arm64-local-compile amazon-linux2023-arm64-local-compile
display_name: "Amazon Linux 2023 arm64 Local Compile"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023-arm64-latest-large
expansions:
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--linkstatic=False
--config=local
compile_variant: *amazon-linux2023-arm64-local-compile
tasks:
- name: run_unit_tests_TG
- name: compile_test_parallel_core_stream_TG
# Note that this task is currently optional;
# This will eventually become suggested, then required.
- name: &amazon-linux-2023-arm64-bazel-compile amazon-linux-2023-arm64-bazel-compile
display_name: "Amazon Linux 2023.3 Enterprise arm64 Bazel Compile"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023.3-arm64-large
stepback: false
expansions:
compile_variant: *amazon-linux-2023-arm64-bazel-compile
tasks:
- name: compile_bazel_TG
- name: run_bazel_TG
# Note that this task is currently optional;
# This will eventually become suggested, then required.
- name: &rhel81-ppc64le-bazel-compile rhel81-ppc64le-bazel-compile
display_name: "RHEL 8.1 PPC64LE Bazel Compile"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel81-power8-large
stepback: false
expansions:
compile_variant: *rhel81-ppc64le-bazel-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel81
test_flags: >-
--excludeWithAnyTags=incompatible_ppc
tasks:
- name: compile_bazel_TG
# Note that this task is currently optional;
# This will eventually become suggested, then required.
- name: &rhel83-s390x-bazel-compile rhel83-s390x-bazel-compile
display_name: "RHEL 8.3 S390X Bazel Compile"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel83-zseries-large
stepback: false
expansions:
compile_variant: *rhel83-s390x-bazel-compile
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel83
tasks:
- name: compile_bazel_TG
- &enterprise-amazon-linux2023-arm64-all-feature-flags-template
<<: *amazon_linux2023_arm64_static_compile_variant_dependency
name: enterprise-amazon-linux2023-arm64-all-feature-flags
display_name: "! Amazon Linux 2023 arm64 Atlas Enterprise (all feature flags)"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- amazon2023-arm64-latest-small
stepback: true
expansions: &amazon_linux2023_arm64_all_feature_flags_dynamic_expansions
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--runAllFeatureFlagTests
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- amazon2023-arm64-latest-large
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- amazon2023-arm64-latest-large
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- amazon2023-arm64-latest-large
- name: .fuzzer_deterministic
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-non-rollback-feature-flags
display_name: "Amazon Linux 2023 arm64 Enterprise (all non-rollback feature flags)"
tags: []
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *amazon_linux2023_arm64_all_feature_flags_dynamic_expansions
test_flags: >-
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment
# TODO SERVER-67034: remove this variant.
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2-arm64-all-feature-flags-sbe-full
display_name: "Amazon Linux 2 arm64 Atlas Enterprise SBE full"
tags: ["experimental"]
cron: "0 0 * * *" # Run once a day.
expansions:
<<: *amazon_linux2023_arm64_all_feature_flags_dynamic_expansions
test_flags: >-
--additionalFeatureFlags "featureFlagSbeFull"
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags !.multiversion !.suggested_excluding_required__for_devprod_mitigation_only
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags !.multiversion !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- amazon2023-arm64-latest-large
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags !.multiversion !.suggested_excluding_required__for_devprod_mitigation_only
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags !.multiversion !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- amazon2023-arm64-latest-large
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags !.multiversion !.suggested_excluding_required__for_devprod_mitigation_only
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags !.multiversion !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- amazon2023-arm64-latest-large
- name: .fuzzer_deterministic
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-feature-flags-fuzzers
display_name: "*| Amazon Linux 2023 arm64 Enterprise (all feature flags) Fuzzers"
tags: ["suggested"]
tasks: &fuzzers-task-list
- name: .aggfuzzer
- name: .change_stream_fuzzer
- name: .config_fuzzer .suggested_excluding_required__for_devprod_mitigation_only
- name: .query_fuzzer
- name: .updatefuzzer
- name: .jstestfuzz
- name: .query_shape_hash_stability_fuzzer
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-non-rollback-feature-flags-fuzzers
display_name: "Amazon Linux 2023 arm64 Enterprise (all non-rollback feature flags) Fuzzers"
tags: []
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *amazon_linux2023_arm64_all_feature_flags_dynamic_expansions
test_flags: >-
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment
tasks: *fuzzers-task-list
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-feature-flags-cluster-scalability-only
display_name: "*| Amazon Linux 2023 arm64 Enterprise (all feature flags) Cluster Scalability Patch Only"
tags: ["cluster_scalability_only", "suggested"]
tasks:
- name: .cluster_scalability_only
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-feature-flags-magic-restore
display_name: "*| Amazon Linux 2023 arm64 Enterprise (all feature flags) Magic Restore Tasks"
tags: ["suggested"]
tasks:
- name: .magic_restore
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-non-rollback-feature-flags-magic-restore
display_name: "Amazon Linux 2023 arm64 Enterprise (all non-rollback feature flags) Magic Restore Tasks"
tags: []
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *amazon_linux2023_arm64_all_feature_flags_dynamic_expansions
test_flags: >-
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source,incompatible_with_atlas_environment
tasks:
- name: .magic_restore
### Query Patch-Specific Build Variants ###
- <<: *amazon_linux2023_arm64_static_compile_variant_dependency
name: amazon_linux2023_arm64_static-classic-engine-query-patch-only
display_name: "~ Amazon Linux 2023 arm64 Enterprise Query Patch Only (Classic Engine)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- amazon2023-arm64-latest-small
stepback: false
expansions:
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
jstestfuzz_num_generated_files: 20
jstestfuzz_concurrent_num_files: 5
target_resmoke_time: 30
max_sub_suites: 3
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine}"
--excludeWithAnyTags=resource_intensive
tasks: &query-alias-task-list
- name: .assigned_to_jira_team_server_query_execution !.requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias
- name: .assigned_to_jira_team_server_query_execution .requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias
distros:
- amazon2023-arm64-latest-large
- name: .assigned_to_jira_team_server_query_optimization !.requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.change_stream_fuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias !.query_correctness
- name: .assigned_to_jira_team_server_query_optimization .requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.change_stream_fuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias
distros:
- amazon2023-arm64-latest-large
- name: .assigned_to_jira_team_server_query_integration !.requires_large_host !.benchmarks !.blocked_in_query_alias
- name: .assigned_to_jira_team_server_query_integration .requires_large_host !.benchmarks !.blocked_in_query_alias
distros:
- amazon2023-arm64-latest-large
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *amazon_linux2023_arm64_static_compile_variant_name
- name: check_feature_flag_tags
- name: check_for_todos
- name: test_api_version_compatibility
- name: replica_sets_jscore_passthrough_gen
- name: sharding_jscore_passthrough_gen
- name: sharded_collections_jscore_passthrough_gen
- name: noPassthrough_gen
- name: noPassthroughWithMongod_gen
- name: initial_sync_fuzzer_sanity_patch_gen
- name: rollback_fuzzer_sanity_patch_gen
- name: query_cbr_heuristic_jscore_passthrough
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
- name: query_cbr_heuristic_aggregation_passthrough
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
- name: query_cbr_sampling_jscore_passthrough
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
- name: query_cbr_sampling_aggregation_passthrough
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
- name: query_cbr_histogram_jscore_passthrough
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
- name: query_cbr_histogram_aggregation_passthrough
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
- <<: *amazon_linux2023_arm64_static_compile_variant_dependency
name: amazon_linux2023_arm64_static-try-sbe-engine-query-patch-only
display_name: "~ Amazon Linux 2023 arm64 Enterprise Query Patch Only (Try SBE Engine)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- amazon2023-arm64-latest-small
expansions:
expansions:
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
jstestfuzz_num_generated_files: 20
jstestfuzz_concurrent_num_files: 5
target_resmoke_time: 30
max_sub_suites: 3
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: trySbeEngine}"
--excludeWithAnyTags=resource_intensive
# This set of tasks includes everything from the query-alias-task-list YAML anchor,
# along with the additional query_correctness_generated_test tasks (.query_correctness).
tasks:
- name: .assigned_to_jira_team_server_query_execution !.requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias !.query_correctness
- name: .assigned_to_jira_team_server_query_execution .requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias
distros:
- amazon2023-arm64-latest-large
- name: .assigned_to_jira_team_server_query_optimization !.requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.change_stream_fuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias !.query_correctness
- name: .assigned_to_jira_team_server_query_optimization .requires_large_host !.aggfuzzer !.query_fuzzer !.updatefuzzer !.change_stream_fuzzer !.jstestfuzz !.benchmarks !.blocked_in_query_alias
distros:
- amazon2023-arm64-latest-large
- name: .assigned_to_jira_team_server_query_integration !.requires_large_host !.benchmarks !.blocked_in_query_alias
- name: .assigned_to_jira_team_server_query_integration .requires_large_host !.benchmarks !.blocked_in_query_alias
distros:
- amazon2023-arm64-latest-large
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *amazon_linux2023_arm64_static_compile_variant_name
- name: .query_correctness
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter
- name: check_feature_flag_tags
- name: check_for_todos
- name: test_api_version_compatibility
- name: replica_sets_jscore_passthrough_gen
- name: sharding_jscore_passthrough_gen
- name: sharded_collections_jscore_passthrough_gen
- name: noPassthrough_gen
- name: noPassthroughWithMongod_gen
- name: initial_sync_fuzzer_sanity_patch_gen
- name: rollback_fuzzer_sanity_patch_gen
- <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
name: enterprise-amazon-linux2023-arm64-all-feature-flags-required-query-patch-only
display_name: "~ Amazon Linux 2023 arm64 Enterprise Query Patch Only (all feature flags)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
expansions:
expansions:
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
jstestfuzz_num_generated_files: 20
jstestfuzz_concurrent_num_files: 5
target_resmoke_time: 30
max_sub_suites: 3
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--runAllFeatureFlagTests
--excludeWithAnyTags=resource_intensive
tasks: *query-alias-task-list
- <<: *amazon_linux2023_arm64_static_compile_variant_dependency
name: amazon_linux2023_arm64_static-unified-write-executor-query-patch-only
display_name: "~ Amazon Linux 2023 arm64 Enterprise Query Patch Only (Unified Write Executor)"
tags: ["experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- amazon2023-arm64-latest-small
expansions:
expansions:
<<: *amazon_linux2023_arm64_dynamic_expansions
has_packages: false
target_resmoke_time: 30
max_sub_suites: 3
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
test_flags: >-
--mongodSetParameters="{internalQueryUnifiedWriteExecutor: true}"
--mongosSetParameters="{internalQueryUnifiedWriteExecutor: true}"
# For now just unified write executor suites but tasks will be added as development continues.
tasks:
- name: unified_write_executor
- name: sharding_unified_write_executor
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *amazon_linux2023_arm64_static_compile_variant_name
# TODO SERVER-94401: Reenable testing this variant.
# # Run all-feature-flags along with recordIdsReplicated:true on all collections.
# - &enterprise-amazon-linux2023-arm64-all-feature-flags-recordIdsReplicated
# <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-template
# name: enterprise-amazon-linux2023-arm64-all-feature-flags-recordIdsReplicated
# display_name: "Amazon Linux 2023 arm64 Enterprise (all feature flags) recordIdsReplicated"
# tags: []
# # Run daily once at 4 AM.
# cron: "0 4 * * *"
# tasks:
# - name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.multiversion !.serverless !.exclude_when_record_ids_replicated
# - name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.multiversion !.serverless !.exclude_when_record_ids_replicated
# distros:
# - amazon2023-arm64-latest-large
# - name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.multiversion !.serverless !.exclude_when_record_ids_replicated
# - name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.multiversion !.serverless !.exclude_when_record_ids_replicated
# distros:
# - amazon2023-arm64-latest-large
# - name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.multiversion !.serverless !.exclude_when_record_ids_replicated
# - name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags !.multiversion !.serverless !.exclude_when_record_ids_replicated
# distros:
# - amazon2023-arm64-latest-large
# expansions:
# <<: *enterprise-amazon-linux2023-arm64-all-feature-flags-expansions
# # This builder excludes tests tagged with:
# # 1) exclude_when_record_ids_replicated: indicates that the test is particular about recordIdsReplicated:false
# # 2) disables_test_commands: this builder uses failpoints, and setting disables_test_commands means that the builder can't use failpoints.
# # 3) serverless: Retryable writes on the serverless cause problems with recordIdsReplicated:true
# test_flags: >-
# --runAllFeatureFlagTests
# --excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source,exclude_when_record_ids_replicated,disables_test_commands,incompatible_with_atlas_environment,requires_ldap_pool
# --mongodSetParameters="{'failpoint.overrideRecordIdsReplicatedDefault': {mode: 'alwaysOn'}, 'failpoint.automaticallyCollmodToRecordIdsReplicatedFalse': {mode: 'alwaysOn'}}"

View File

@ -1,636 +0,0 @@
# Amazon build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: amazon2
display_name: "Amazon Linux 2"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2-latest-small
expansions:
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source
--enableEnterpriseTests=off
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-amazon2
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
multiversion_platform: amazon2
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: amazon2
repo_edition: org
large_distro_name: amazon2-latest-large
compile_variant: amazon2
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2-latest-large
- name: run_unit_tests_TG
distros:
- amazon2-latest-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.incompatible_community !.requires_large_host
- name: .development_critical !.incompatible_community .requires_large_host
distros:
- amazon2-latest-large
- name: .release_critical !.incompatible_community !.requires_large_host
- name: .release_critical !.incompatible_community .requires_large_host
distros:
- amazon2-latest-large
- name: enterprise-amazon2
display_name: "Enterprise Amazon Linux 2"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2-latest-small
tags: ["emergency_release"]
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-amazon2
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
compile_all_but_not_unittests_flags: >-
--linkopt=-s
multiversion_platform: amazon2
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2
repo_edition: enterprise
compile_variant: enterprise-amazon2
core_analyzer_distro_name: amazon2-latest-large
large_distro_name: amazon2-latest-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2-latest-c6i-32xlarge
- name: run_unit_tests_TG
distros:
- amazon2-latest-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2-latest-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- amazon2-latest-large
- name: amazon2-arm64
display_name: "Amazon Linux 2 arm64"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2-arm64-latest-m8g-xlarge
expansions:
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source
--enableEnterpriseTests=off
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-amazon2
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
multiversion_platform: amazon2
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: aarch64
packager_distro: amazon2
repo_edition: org
core_analyzer_distro_name: amazon2-arm64-latest-m8g-4xlarge
large_distro_name: amazon2-arm64-latest-m8g-4xlarge
compile_variant: amazon2-arm64
tasks:
- name: compile_test_and_package_serial_no_unittests_TG
distros:
- amazon2-arm64-latest-m8g-16xlarge
- name: test_packages
distros:
- ubuntu2204-arm64-large
- name: .development_critical !.incompatible_community !.requires_large_host
- name: .development_critical !.incompatible_community .requires_large_host
distros:
- amazon2-arm64-latest-m8g-4xlarge
- name: .release_critical !.incompatible_community !.requires_large_host
- name: .release_critical !.incompatible_community .requires_large_host
distros:
- amazon2-arm64-latest-m8g-4xlarge
- name: enterprise-amazon2-arm64
display_name: "Enterprise Amazon Linux 2 arm64"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2-arm64-latest-m8g-xlarge
tags: ["emergency_release"]
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-amazon2
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
compile_all_but_not_unittests_flags: >-
--linkopt=-s
multiversion_platform: amazon2
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: aarch64
packager_distro: amazon2
repo_edition: enterprise
compile_variant: enterprise-amazon2-arm64
core_analyzer_distro_name: amazon2-arm64-latest-m8g-4xlarge
large_distro_name: amazon2-arm64-latest-m8g-4xlarge
tasks:
- name: compile_test_and_package_serial_no_unittests_TG
distros:
- amazon2-arm64-latest-m8g-16xlarge
- name: test_packages
distros:
- ubuntu2204-arm64-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2-arm64-latest-m8g-4xlarge
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- amazon2-arm64-latest-m8g-4xlarge
- name: amazon2023
display_name: Amazon Linux 2023.3
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023.3-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-amazon2023
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source
--enableEnterpriseTests=off
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: amazon2023
repo_edition: org
large_distro_name: amazon2023.3-large
compile_variant: amazon2023
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023.3-xlarge
- name: run_unit_tests_TG
distros:
- amazon2023.3-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- amazon2023.3-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- amazon2023.3-large
- name: enterprise-amazon2023
display_name: "Enterprise Amazon Linux 2023.3"
tags: ["forbid_tasks_tagged_with_experimental", "emergency_release"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023.3-small
expansions:
additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-amazon2023
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source
has_packages: true
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: x86_64
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2023
repo_edition: enterprise
compile_variant: enterprise-amazon2023
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023.3-xlarge
- name: run_unit_tests_TG
distros:
- amazon2023.3-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2023.3-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- amazon2023.3-large
# TODO(SERVER-85904): Enable when Bazel supports --link-model=object.
# This variant is a special variant to test Link Time Optimization (LTO).
# - name: enterprise-amazon2023-lto
# display_name: "Enterprise Amazon Linux 2023 LTO"
# tags: []
# cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
# run_on:
# - amazon2023.3-small
# expansions:
# additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
# bazel_compile_flags: >-
# --define=MONGO_DISTMOD=amazon2023
# --lto
# --linker=gold
# --link-model=object
# test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source
# has_packages: true
# packager_script: packager_enterprise.py
# packager_arch: x86_64
# packager_distro: amazon2023
# multiversion_platform: amazon2023
# multiversion_edition: enterprise
# multiversion_architecture: x86_64
# repo_edition: enterprise
# compile_variant: enterprise-amazon2023-lto
# large_distro_name: amazon2023.3-large
# tasks:
# - name: compile_test_and_package_serial_lto_no_unittests_TG
# distros:
# - amazon2023.3-large
# # TODO: SERVER-79886 Fix broken test_packages task
# # - name: test_packages
# # distros:
# # - amazon2023.3-large
# - name: .development_critical !.requires_large_host
# - name: .development_critical .requires_large_host
# distros:
# - amazon2023.3-large
# - name: .release_critical !.requires_large_host !publish_packages !push !crypt_push
# - name: .release_critical .requires_large_host !publish_packages !push !crypt_push
# distros:
# - amazon2023.3-large
- name: amazon2023-arm64
display_name: Amazon Linux 2023.3 arm64
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023.3-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-amazon2023
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--subcommands
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source
--enableEnterpriseTests=off
has_packages: true
packager_script: packager.py
packager_arch: aarch64
packager_distro: amazon2023
repo_edition: org
large_distro_name: amazon2023.3-arm64-large
compile_variant: amazon2023-arm64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023.3-arm64-large
- name: run_unit_tests_TG
distros:
- amazon2023.3-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-large
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- amazon2023.3-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- amazon2023.3-arm64-large
- &enterprise-amazon2023-arm64-template
name: &enterprise-amazon2023-arm64 enterprise-amazon2023-arm64
display_name: "Enterprise Amazon Linux 2023.3 arm64"
tags: ["forbid_tasks_tagged_with_experimental", "emergency_release"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023.3-arm64-small
expansions: &enterprise-amazon2023-arm64-dynamic-expansions
mciuploads_binary_permissions: private
mciuploads_binary_visibility: signed
additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-amazon2023
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source
has_packages: true
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: aarch64
packager_script: packager_enterprise.py
packager_arch: aarch64
packager_distro: amazon2023
repo_edition: enterprise
compile_variant: *enterprise-amazon2023-arm64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023.3-arm64-xxxlarge
- name: run_unit_tests_TG
distros:
- amazon2023.3-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2023.3-arm64-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- amazon2023.3-arm64-large
# TODO(SERVER-85904): Enable when Bazel supports --link-model=object.
# This variant is a special variant to test Link Time Optimization (LTO).
# - name: enterprise-amazon2023-arm64-lto
# display_name: "Enterprise Amazon Linux 2023 arm64 LTO"
# tags: []
# cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
# activate: false
# run_on:
# - amazon2023.3-arm64-small
# expansions:
# additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
# bazel_compile_flags: >-
# --define=MONGO_DISTMOD=amazon2023
# --lto
# --linker=gold
# --link-model=object
# test_flags: --excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source
# has_packages: true
# multiversion_platform: amazon2023
# multiversion_edition: enterprise
# multiversion_architecture: aarch64
# packager_script: packager_enterprise.py
# packager_arch: aarch64
# packager_distro: amazon2023
# repo_edition: enterprise
# compile_variant: enterprise-amazon2023-arm64-lto
# large_distro_name: amazon2023.3-arm64-large
# tasks:
# - name: compile_test_and_package_serial_lto_no_unittests_TG
# distros:
# - amazon2023.3-arm64-large
# # TODO: SERVER-79886 Fix broken test_packages task
# # - name: test_packages
# # distros:
# # - ubuntu2204-arm64-large
# - name: .development_critical !.requires_large_host
# - name: .development_critical .requires_large_host
# distros:
# - amazon2023.3-arm64-large
# - name: .release_critical !.requires_large_host !publish_packages !push !crypt_push
# - name: .release_critical .requires_large_host !publish_packages !push !crypt_push
# distros:
# - amazon2023.3-arm64-large
- name: enterprise-amazon2023-streams
display_name: "Amazon Linux 2023 enterprise build with streams"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2023-latest-small
expansions:
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool
--additionalFeatureFlags=featureFlagStreams
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-amazon2023-streams
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--streams_release_build=True
multiversion_platform: amazon2023
multiversion_edition: enterprise-streams
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2023
repo_edition: enterprise
compile_variant: enterprise-amazon2023-streams
large_distro_name: amazon2023-latest-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2023-latest-large
- name: run_unit_tests_TG
distros:
- amazon2023-latest-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2023-latest-large
- name: .release_critical !.requires_large_host !crypt_push
- name: .release_critical .requires_large_host !crypt_push
distros:
- amazon2023-latest-large
- name: streams_gen
- name: streams_kafka
- name: streams_kafka_gwproxy
- name: streams_kafka_benchmark
- name: streams_https
- name: streams_lambda
- name: streams_s3
- name: enterprise-amazon2-streams
display_name: "Amazon Linux 2 enterprise build with streams"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2-latest-small
expansions:
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool
--additionalFeatureFlags=featureFlagStreams
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-amazon2-streams
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
--streams_release_build=True
multiversion_platform: amazon2
multiversion_edition: enterprise-streams
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2
repo_edition: enterprise
compile_variant: enterprise-amazon2-streams
large_distro_name: amazon2-latest-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2-latest-large
- name: run_unit_tests_TG
distros:
- amazon2-latest-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2-latest-large
- name: .release_critical !.requires_large_host !crypt_push
- name: .release_critical .requires_large_host !crypt_push
distros:
- amazon2-latest-large
- name: streams_gen
- name: streams_kafka
- name: streams_kafka_gwproxy
- name: streams_kafka_benchmark
- name: streams_https
- name: streams_lambda
- name: streams_s3
- name: enterprise-amazon2-streams-arm64
display_name: "Amazon Linux 2 enterprise build with streams arm64"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- amazon2-arm64-latest-small
expansions:
test_flags: >-
--excludeWithAnyTags=SERVER-34286,incompatible_with_amazon_linux,requires_external_data_source,requires_ldap_pool
--additionalFeatureFlags=featureFlagStreams
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-amazon2-streams
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
--streams_release_build=True
multiversion_platform: amazon2
multiversion_edition: enterprise-streams
has_packages: true
packager_script: packager_enterprise.py
packager_arch: aarch64
packager_distro: amazon2
repo_edition: enterprise
compile_variant: enterprise-amazon2-streams-arm64
large_distro_name: amazon2-arm64-latest-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- amazon2-arm64-latest-large
- name: run_unit_tests_TG
distros:
- amazon2-arm64-latest-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- amazon2-arm64-latest-large
- name: .release_critical !.requires_large_host !crypt_push
- name: .release_critical .requires_large_host !crypt_push
distros:
- amazon2-arm64-latest-large
- name: streams_gen
- name: streams_kafka
# TODO(SERVER-103985) - Enabling this is blocked on SRE support arm64 in the sre/gwproxy image (SRE-1481)
# - name: streams_kafka_gwproxy
- name: streams_kafka_benchmark
- name: streams_https
- name: streams_lambda
- name: streams_s3
- &enterprise-amazon2023-arm64-fuzzers-template
<<: *enterprise-amazon2023-arm64-template
name: enterprise-amazon2023-arm64-fuzzers
display_name: "Enterprise Amazon Linux 2023.3 arm64 Fuzzers"
tags: []
depends_on:
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: archive_dist_test
variant: *enterprise-amazon2023-arm64
tasks:
- name: .aggfuzzer !.multiversion
- name: .change_stream_fuzzer
- name: .query_fuzzer
- name: .updatefuzzer !.multiversion
- <<: *enterprise-amazon2023-arm64-fuzzers-template
name: enterprise-amazon2023-arm64-fuzzers-roll-back-incremental-feature-flags
display_name: "Enterprise Amazon Linux 2023.3 arm64 Fuzzers (roll back incremental feature flags)"
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *enterprise-amazon2023-arm64-dynamic-expansions
test_flags: >-
--disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_v4_0,requires_external_data_source

View File

@ -1,6 +0,0 @@
version: 1.0.0
filters:
- "*":
approvers:
- 10gen/devprod-build
- 10gen/devprod-correctness

View File

@ -1,101 +0,0 @@
# Build variants in direct support of Code Coverage
buildvariants:
# Variant to support Code Coverage on arm64
- name: &AL2023-arm64-coverage AL2023-arm64-coverage
display_name: "~ Code Coverage AL2023.3 Arm64"
run_on:
- amazon2023.3-arm64-large
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
stepback: false
expansions:
test_flags: --excludeWithAnyTags=resource_intensive,incompatible_with_gcov
bazel_compile_flags: >-
--allocator=system
--opt=off
--dbg=True
--define=MONGO_DISTMOD=amazon2023
--linkstatic=False
--gcov=True
--collect_code_coverage
${coverage_bazel_tags}
large_distro_name: amazon2023.3-arm64-large
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
exec_timeout_secs: 32400 # 9 hour timeout
timeout_secs: 18000 # 5 hour idle timeout
gcov_tool: /opt/mongodbtoolchain/v5/bin/gcov
# The gcov instrumentation saves the path the .gcno files were created in as the default path
# for the .gcda files. In Evergreen the path will start with /data/mci/[Hashed ID]/src/... where
# the hashed ID is unique per task run. GCOV_PREFIX_STRIP is the number of directory levels to
# strip from the top of the default path before appending to the GCOV_PREFIX (if any).
gcov_environment: GCOV_PREFIX=$(pwd)/.. GCOV_PREFIX_STRIP=3
compile_variant: *AL2023-arm64-coverage
tasks:
- name: compile_and_package_serial_no_unittests_TG
distros:
- amazon2023.3-arm64-large
# These are carefully and explicitly curated. Do not add more tests/tasks without consulting with DevProd.
# unittests
- name: bazel_coverage
# jstests
- name: jsCore
- name: fle2
- name: aggregation
- name: change_streams
- name: replica_sets_jscore_passthrough_gen
- name: sharding_jscore_passthrough_gen
- name: sharded_collections_jscore_passthrough_gen
- name: aggregation_mongos_passthrough
- name: aggregation_sharded_collections_passthrough
- name: change_streams_mongos_sessions_passthrough
- name: fle2_sharding
# Variant to support Code Coverage on amd64/x86_64
- name: &rhel-93-64-bit-coverage rhel-93-64-bit-coverage
display_name: "~ Code Coverage RHEL 9.3"
run_on:
- rhel93-medium
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
stepback: false
expansions:
test_flags: --excludeWithAnyTags=resource_intensive,incompatible_with_gcov
bazel_compile_flags: >-
--allocator=system
--gcov=True
--opt=off
--dbg=True
--define=MONGO_DISTMOD=rhel93
--linkstatic=False
${coverage_bazel_tags}
large_distro_name: rhel93-medium
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
exec_timeout_secs: 32400 # 9 hour timeout
timeout_secs: 18000 # 5 hour idle timeout
gcov_tool: /opt/mongodbtoolchain/v5/bin/gcov
# The gcov instrumentation saves the path the .gcno files were created in as the default path
# for the .gcda files. In Evergreen the path will start with /data/mci/[Hashed ID]/src/... where
# the hashed ID is unique per task run. GCOV_PREFIX_STRIP is the number of directory levels to
# strip from the top of the default path before appending to the GCOV_PREFIX (if any).
gcov_environment: GCOV_PREFIX=$(pwd)/.. GCOV_PREFIX_STRIP=3
compile_variant: *rhel-93-64-bit-coverage
tasks:
- name: compile_and_package_serial_no_unittests_TG
distros:
- rhel93-large
# These are carefully and explicitly curated. Do not add more tests/tasks without consulting with DevProd.
# unittests
- name: bazel_coverage
distros:
- rhel93-large
# jstests
- name: jsCore
- name: fle2
- name: aggregation
- name: change_streams
- name: replica_sets_jscore_passthrough_gen
- name: sharding_jscore_passthrough_gen
- name: sharded_collections_jscore_passthrough_gen
- name: aggregation_mongos_passthrough
- name: aggregation_sharded_collections_passthrough
- name: change_streams_mongos_sessions_passthrough
- name: fle2_sharding

View File

@ -1,82 +0,0 @@
buildvariants:
- name: bv_coverity_analysis
display_name: Coverity Analysis
# Don't run Coverity analysis as part of patch builds
patchable: false
allow_for_git_tag: false
# Don't run Coverity on commits, it will be run only as part of nightly periodic build
activate: false
run_on: ubuntu2404-xlarge
modules:
- devprod_coverity
tasks:
- name: run_coverity
functions:
f_generate_evergreen_bazelrc:
command: subprocess.exec
display_name: "generate evergreen bazelrc"
params:
binary: bash
args:
- "src/evergreen/generate_evergreen_bazelrc.sh"
f_setup_python:
command: subprocess.exec
display_name: "set up venv"
params:
binary: bash
args:
- "src/evergreen/functions/venv_setup.sh"
f_coverity_build:
command: subprocess.exec
display_name: "Coverity build"
params:
binary: bash
args:
- "src/evergreen/coverity_build.sh"
env:
COVERITY_INSTALL_ROOT: ${workdir}/coverity
add_expansions_to_env: true
tasks:
- name: run_coverity
depends_on:
- name: version_expansions_gen
variant: generate-tasks-for-version
tags:
[
"assigned_to_jira_team_devprod_build",
"requires_large_host",
"auxiliary",
"coverity",
]
exec_timeout_secs: 28800 # Max scan time of 8 hours
commands:
- func: f_clone_source
vars:
module_prefix: ${workdir}/devprodCoveritySrc
module_name: devprod_coverity
# Functions to prepare for Coverity build
- func: f_expansions_write
- func: f_setup_python
- func: f_expansions_write
- func: "get and apply version expansions"
- func: "f_expansions_write"
- func: f_generate_evergreen_bazelrc
- func: f_download_and_extract_coverity
vars:
module_prefix: ${workdir}/devprodCoveritySrc
module_name: devprod_coverity
- func: f_coverity_build
timeout_secs: 10800 # Idle timeout of 3 hours
- func: f_analyze
vars:
module_prefix: ${workdir}/devprodCoveritySrc
module_name: devprod_coverity
timeout_secs: 10800 # Idle timeout of 3 hours
- func: f_commit
vars:
module_prefix: ${workdir}/devprodCoveritySrc
module_name: devprod_coverity

View File

@ -1,100 +0,0 @@
# Debian build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: debian12
display_name: Debian 12
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- debian12-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-debian12
bazel_compile_flags: >-
--define=MONGO_DISTMOD=debian12
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_updated_oscrypto
--enableEnterpriseTests=off
multiversion_platform: debian12
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: debian12
repo_edition: org
large_distro_name: debian12-large
compile_variant: debian12
tasks:
- name: compile_test_and_package_serial_TG
distros:
- debian12-large
- name: run_unit_tests_TG
distros:
- debian12-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host !.incompatible_community !.incompatible_debian !.incompatible_oscrypto
- name: .development_critical .requires_large_host !.incompatible_community !.incompatible_debian !.incompatible_oscrypto
distros:
- debian12-large
- name: .release_critical !.requires_large_host !.incompatible_community !.incompatible_debian !.incompatible_oscrypto
- name: .release_critical .requires_large_host !.incompatible_community !.incompatible_debian !.incompatible_oscrypto
distros:
- debian12-large
- name: enterprise-debian12-64
display_name: Enterprise Debian 12
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- debian12-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-debian12
bazel_compile_flags: >-
--define=MONGO_DISTMOD=debian12
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source,requires_updated_oscrypto
multiversion_platform: debian12
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: debian12
repo_edition: enterprise
large_distro_name: debian12-large
compile_variant: enterprise-debian12-64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- debian12-large
- name: run_unit_tests_TG
distros:
- debian12-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host !.incompatible_debian !.incompatible_oscrypto
- name: .development_critical .requires_large_host !.incompatible_debian !.incompatible_oscrypto
distros:
- debian12-large
- name: .release_critical !.requires_large_host !.incompatible_debian !.incompatible_oscrypto
- name: .release_critical .requires_large_host !.incompatible_debian !.incompatible_oscrypto
distros:
- debian12-large

View File

@ -1,270 +0,0 @@
# IBM build variants for testing release environments
#
# After the branching variants in this file
# should continue to run ONLY on a new LTS release (v7.0, v6.0 etc.) branch projects
# and should NOT run on a new rapid release (v7.1, v7.2 etc.) branch projects
buildvariants:
- &enterprise-rhel-81-ppc64le-template
name: enterprise-rhel-81-ppc64le
display_name: Enterprise RHEL 8.1 PPC64LE
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- rhel81-power8-small
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions: &enterprise-rhel-81-ppc64le-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
# We need to compensate for SMT8 setting the cpu count very high and lower the amount of parallelism down
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel81
core_analyzer_distro_name: rhel81-power8-large
resmoke_jobs_factor: 0.25
has_packages: true
packager_script: packager_enterprise.py
packager_arch: ppc64le
packager_distro: rhel81
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: ppc64le-enterprise-rhel81
repo_edition: enterprise
multiversion_platform: rhel81
multiversion_architecture: ppc64le
multiversion_edition: enterprise
compile_variant: enterprise-rhel-81-ppc64le
timeout_secs: 3600 # 1 hour idle timeout
exec_timeout_secs: 21600 # 6 hours exec timeout
tasks:
- name: compile_test_and_package_serial_no_unittests_TG
distros:
- rhel81-power8-large
- name: compile_integration_and_test_no_audit_parallel_stream_TG
distros:
- rhel81-power8-large
- name: .development_critical !.requires_large_host !.incompatible_ppc
- name: .development_critical .requires_large_host !.incompatible_ppc
distros:
- rhel81-power8-large
- name: .release_critical !.requires_large_host !.incompatible_ppc
- name: .release_critical .requires_large_host !.incompatible_ppc
distros:
- rhel81-power8-large
- <<: *enterprise-rhel-81-ppc64le-template
name: enterprise-rhel-81-ppc64le-dynamic
display_name: Enterprise RHEL 8.1 PPC64LE Shared
tags: ["bazel_check"]
expansions:
<<: *enterprise-rhel-81-ppc64le-expansions-template
has_packages: false
bazel_compile_flags: >-
--linkstatic=False
--define=MONGO_DISTMOD=rhel81
compile_variant: enterprise-rhel-81-ppc64le-shared
tasks:
- name: compile_test_serial_TG
distros:
- rhel81-power8-large
- name: run_unit_tests_TG
distros:
- rhel81-power8-large
- &enterprise-rhel-9-ppc64le-template
name: enterprise-rhel-9-ppc64le
display_name: Enterprise RHEL 9 PPC64LE
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- rhel9-power-small
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions: &enterprise-rhel-9-ppc64le-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
# We need to compensate for SMT8 setting the cpu count very high and lower the amount of parallelism down
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel9
core_analyzer_distro_name: rhel9-power-large
resmoke_jobs_factor: 0.25
has_packages: true
packager_script: packager_enterprise.py
packager_arch: ppc64le
packager_distro: rhel9
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: ppc64le-enterprise-rhel9
repo_edition: enterprise
multiversion_platform: rhel9
multiversion_architecture: ppc64le
multiversion_edition: enterprise
compile_variant: enterprise-rhel-9-ppc64le
timeout_secs: 3600 # 1 hour idle timeout
exec_timeout_secs: 21600 # 6 hours exec timeout
tasks:
- name: compile_test_and_package_serial_no_unittests_TG
distros:
- rhel9-power-large
- name: compile_integration_and_test_no_audit_parallel_stream_TG
distros:
- rhel9-power-large
- name: .development_critical !.requires_large_host !.incompatible_ppc
- name: .development_critical .requires_large_host !.incompatible_ppc
distros:
- rhel9-power-large
- name: .release_critical !.requires_large_host !.incompatible_ppc
- name: .release_critical .requires_large_host !.incompatible_ppc
distros:
- rhel9-power-large
- <<: *enterprise-rhel-9-ppc64le-template
name: enterprise-rhel-9-ppc64le-dynamic
display_name: Enterprise RHEL 9 PPC64LE Shared
tags: ["bazel_check"]
expansions:
<<: *enterprise-rhel-9-ppc64le-expansions-template
has_packages: false
bazel_compile_flags: >-
--linkstatic=False
--define=MONGO_DISTMOD=rhel9
compile_variant: enterprise-rhel-9-ppc64le-shared
tasks:
- name: compile_test_serial_TG
distros:
- rhel9-power-large
- name: run_unit_tests_TG
distros:
- rhel9-power-large
- &enterprise-rhel-83-s390x-template
name: enterprise-rhel-83-s390x
display_name: Enterprise RHEL 8.3 s390x
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- rhel83-zseries-small
cron: "0 4 * * 0"
stepback: false
expansions: &enterprise-rhel-83-s390x-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
release_buid: true
test_flags: --excludeWithAnyTags=incompatible_with_s390x
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel83
core_analyzer_distro_name: rhel83-zseries-large
resmoke_jobs_max: 2
has_packages: true
packager_script: packager_enterprise.py
packager_arch: s390x
packager_distro: rhel83
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: s390x-enterprise-rhel83
repo_edition: enterprise
multiversion_platform: rhel83
multiversion_architecture: s390x
multiversion_edition: enterprise
compile_variant: enterprise-rhel-83-s390x
exec_timeout_secs: 86400 # 24 hours exec timeout
tasks:
- name: small_compile_test_and_package_serial_no_unittests_TG
distros:
- rhel83-zseries-large
- name: .development_critical !.requires_large_host !.incompatible_s390x
- name: .development_critical .requires_large_host !.incompatible_s390x
distros:
- rhel83-zseries-large
- name: .release_critical !.requires_large_host !.incompatible_s390x
- name: .release_critical .requires_large_host !.incompatible_s390x
distros:
- rhel83-zseries-large
- <<: *enterprise-rhel-83-s390x-template
name: enterprise-rhel-83-s390x-dynamic
display_name: Enterprise RHEL 8.3 s390x Shared
tags: ["bazel_check"]
expansions:
<<: *enterprise-rhel-83-s390x-expansions-template
has_packages: false
bazel_compile_flags: >-
--linkstatic=False
--define=MONGO_DISTMOD=rhel83
compile_variant: enterprise-rhel-83-s390x-shared
exec_timeout_secs: 86400 # 24 hours exec timeout
tasks:
- name: compile_test_serial_TG
distros:
- rhel83-zseries-large
- name: run_unit_tests_TG
distros:
- rhel83-zseries-large
- &enterprise-rhel-9-s390x-template
name: enterprise-rhel-9-s390x
display_name: Enterprise RHEL 9 s390x
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- rhel9-zseries-small
cron: "0 4 * * 0"
stepback: false
expansions: &enterprise-rhel-9-s390x-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
release_buid: true
test_flags: --excludeWithAnyTags=incompatible_with_s390x
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel9
core_analyzer_distro_name: rhel9-zseries-large
resmoke_jobs_max: 2
has_packages: true
packager_script: packager_enterprise.py
packager_arch: s390x
packager_distro: rhel9
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: s390x-enterprise-rhel9
repo_edition: enterprise
multiversion_platform: rhel9
multiversion_architecture: s390x
multiversion_edition: enterprise
compile_variant: enterprise-rhel-9-s390x
exec_timeout_secs: 86400 # 24 hours exec timeout
tasks:
- name: small_compile_test_and_package_serial_no_unittests_TG
distros:
- rhel9-zseries-large
- name: .development_critical !.requires_large_host !.incompatible_s390x
- name: .development_critical .requires_large_host !.incompatible_s390x
distros:
- rhel9-zseries-large
- name: .release_critical !.requires_large_host !.incompatible_s390x
- name: .release_critical .requires_large_host !.incompatible_s390x
distros:
- rhel9-zseries-large
- <<: *enterprise-rhel-9-s390x-template
name: enterprise-rhel-9-s390x-dynamic
display_name: Enterprise RHEL 9 s390x Shared
tags: ["bazel_check"]
expansions:
<<: *enterprise-rhel-9-s390x-expansions-template
has_packages: false
bazel_compile_flags: >-
--linkstatic=False
--define=MONGO_DISTMOD=rhel9
compile_variant: enterprise-rhel-9-s390x-shared
exec_timeout_secs: 86400 # 24 hours exec timeout
tasks:
- name: compile_test_serial_TG
distros:
- rhel9-zseries-large
- name: run_unit_tests_TG
distros:
- rhel9-zseries-large

View File

@ -1,29 +0,0 @@
# MacOS build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: &enterprise-macos-arm64 enterprise-macos-arm64
display_name: "~ Enterprise macOS arm64"
tags: ["bazel_check"]
run_on:
- macos-14-arm64
expansions:
compile_variant: *enterprise-macos-arm64
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm
resmoke_jobs_max: 6
tasks:
- name: compile_test_serial_TG
- name: run_bazel_compiledb
- name: run_unit_tests_TG
- name: audit
- name: auth_audit_gen
- name: fle
- name: fle2
- name: .jscore .common !.decimal !.sharding
- name: replica_sets_auth_gen
- name: sasl
- name: .crypt
- name: run_bazel_TG

View File

@ -1,98 +0,0 @@
# MacOS build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: macos-arm64
display_name: macOS arm64
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- macos-14-arm64
expansions:
test_flags: >-
--excludeWithAnyTags=incompatible_with_macos,requires_external_data_source
--enableEnterpriseTests=off
push_path: osx
push_bucket: downloads.mongodb.org
push_name: macos
push_arch: arm64
bazel_compile_flags: --build_enterprise=False
resmoke_jobs_max: 6
compile_variant: macos-arm64
tasks:
- name: compile_test_and_package_serial_TG
- name: run_unit_tests_TG
- name: .development_critical !.incompatible_community !.incompatible_mac
- name: .release_critical !.incompatible_community !.incompatible_mac !publish_packages
- name: enterprise-macos-arm64
display_name: Enterprise macOS arm64
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- macos-14-arm64
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm,requires_external_data_source
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: osx
push_bucket: downloads.10gen.com
push_name: macos
push_arch: arm64-enterprise
resmoke_jobs_max: 6
compile_variant: enterprise-macos-arm64
tasks:
- name: compile_test_and_package_serial_TG
- name: run_unit_tests_TG
- name: .development_critical !.incompatible_mac
- name: .release_critical !.incompatible_mac !publish_packages
- name: macos
display_name: macOS
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- macos-14
expansions:
test_flags: >-
--excludeWithAnyTags=incompatible_with_macos,requires_external_data_source
--enableEnterpriseTests=off
push_path: osx
push_bucket: downloads.mongodb.org
push_name: macos
push_arch: x86_64
bazel_compile_flags: --build_enterprise=False
resmoke_jobs_max: 6
compile_variant: macos
tasks:
- name: compile_test_and_package_serial_TG
- name: run_unit_tests_TG
- name: .development_critical !.incompatible_community !.incompatible_mac
- name: .release_critical !.incompatible_community !.incompatible_mac !publish_packages
- name: enterprise-macos
display_name: Enterprise macOS
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- macos-14
expansions:
test_flags: --excludeWithAnyTags=incompatible_with_macos,requires_gcm,requires_external_data_source
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: osx
push_bucket: downloads.10gen.com
push_name: macos
push_arch: x86_64-enterprise
resmoke_jobs_max: 6
compile_variant: enterprise-macos
tasks:
- name: compile_test_and_package_serial_TG
- name: run_unit_tests_TG
- name: .development_critical !.incompatible_mac
- name: .release_critical !.incompatible_mac !publish_packages

View File

@ -1,100 +0,0 @@
# Miscellaneous build variants
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: run-all-affected-jstests
display_name: "! Run All Affected JStests"
tags: ["required"]
patch_only: true
run_on:
- rhel8.8-medium
expansions:
large_distro_name: rhel8.8-large
core_analyzer_distro_name: rhel8.8-xlarge
burn_in_tag_include_all_required_and_suggested: true
burn_in_tag_exclude_build_variants: >-
macos-debug-suggested
ubuntu2204-arm64-bazel-compile
burn_in_tag_include_build_variants:
burn_in_tag_compile_task_dependency: archive_dist_test
compile_variant: &amazon_linux2023_arm64_static_compile_variant_name amazon-linux2023-arm64-static-compile
depends_on:
- name: archive_dist_test
variant: *amazon_linux2023_arm64_static_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: version_burn_in_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
tasks:
- name: burn_in_tags_gen
- name: test-release
display_name: "Test Release"
# tasks may use "Admin Only" variables, so patch runs may only succeed for admins
allowed_requesters: ["commit", "patch"]
tags: ["assigned_to_jira_team_devprod_release_infrastructure"]
activate: true
run_on: ubuntu2404-small
modules:
- devprod_coverity
tasks:
- name: publish-sast-report
- name: test-release-sbom
activate: false
display_name: "Test Release SBOM Upload"
# The build variant is aimed for publish-augmented-sbom task testing.
# For end-to-end tests:
## - Create new test branch from 10gen/mongo
## - Change SilkBomb branch argument to the new test branch in the task.
## - Cleanup results in DependencyTracker.
# Note: The task may use "Admin Only" variables, so patch runs may only succeed for Evergreen Project admins
allowed_requesters: ["patch"]
tags: ["assigned_to_jira_team_platsec_server"]
run_on: ubuntu2404-small
modules:
- devprod_coverity
tasks:
- name: publish-augmented-sbom
- name: promote-custom-build
display_name: "Promote Custom Build"
activate: false
allowed_requesters: ["patch"]
tasks:
- name: promote_custom_build
- name: copybara-sync-between-repos
display_name: "* Copybara Sync Between Repos"
tags: ["suggested"]
activate: true
run_on:
- ubuntu2204-small
stepback: false
tasks:
- name: sync_repo_with_copybara
priority: 50
- name: test_copybara_sync
- name: create_sbom_and_pr
display_name: "Generate SBOM files and create PR"
tags: ["assigned_to_jira_team_platsec_server"]
# Don't run as part of patch builds
patchable: false
# Run at 6 am UTC Mon-Fri
cron: "0 6 * * 1-5"
run_on: rhel92-small
expansions:
ENDOR_NAMESPACE: mongodb.10gen
stepback: false
tasks:
- name: update_sbom

View File

@ -1,60 +0,0 @@
# Miscellaneous build variants
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: &stm-daily-cron stm-daily-cron
display_name: "* STM Daily Cron"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions:
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
compile_variant: *stm-daily-cron
stepback: false
tasks:
- name: lint_fuzzer_sanity_all
- name: powercycle_sentinel
- name: powercycle_smoke_skip_compile_gen
- name: monitor_mongo_fork_10gen
- name: package_bazel_rules_mongo
- name: monitor_build_status
distros:
- ubuntu2404-large
- name: check_workstation_setup_script
distros:
- ubuntu2204-arm64-small
- name: test_copybara_sync
distros:
- ubuntu2204-small
# Experimental variant running bazel targets for integration tests. To be removed with SERVER-103537.
- name: bazel-integration-tests
display_name: "~ Bazel Integration Tests"
tags: ["experimental"]
cron: "0 4 * * 0" # Every week starting 0400 UTC Sunday
stepback: false
run_on:
- amazon2023-arm64-latest-small
depends_on:
- name: archive_dist_test
variant: amazon-linux2023-arm64-static-compile
- name: archive_jstestshell
variant: amazon-linux2023-arm64-static-compile
- name: version_gen
variant: generate-tasks-for-version
expansions:
compile_variant: amazon-linux2023-arm64-static-compile
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: aarch64
multiversion_link_dir: multiversion_binaries
tasks:
- name: bazel_jscore
- name: bazel_multiversion_sanity_check_gen
- name: bazel_jstestfuzz_gen

View File

@ -1,17 +0,0 @@
# Build variant to generate tasks for evergreen versions.
#
# Updates to this file may also need to appear in etc/system_perf_yml_components/variants/task_generation.yml,
# which is the same but excludes resmoke task generation tasks.
#
buildvariants:
- name: generate-tasks-for-version
display_name: "! Generate tasks for evergreen version"
tags: ["required"]
activate: true
run_on:
- rhel8.8-medium
tasks:
- name: version_gen
- name: version_burn_in_gen
- name: version_expansions_gen

View File

@ -1,5 +0,0 @@
version: 1.0.0
filters:
- "*":
approvers:
- 10gen/query-integration-search

View File

@ -1,282 +0,0 @@
buildvariants:
# This variant is responsible for creating a AL2023 x86 server binary candidate for 10gen/mongot.
# A project trigger defined on 10gen/mongot runs when this variant succeeds, to check if the resulting
# binary candidate passes their tests and is therefore safe to use in their pre-commit integration tests.
- name: amazon-linux-2023-x86-mongot-integration-cron-only
display_name: "AL2023 x86 mongot integration tasks cron only"
tags: []
cron: "0 */4 * * *" # Run these tasks every 4 hours
patchable: false
run_on:
- amazon2023.3-small
expansions: &amazon-linux-2023-x86-mongot-integration-expansions
build_mongot: true
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source
--runAllFeatureFlagTests
has_packages: false
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: x86_64
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2023
repo_edition: enterprise
compile_variant: amazon-linux-2023-x86-mongot-integration-cron-only
core_analyzer_distro_name: amazon2023.3-large
tasks: &amazon-linux-2023-x86-mongot-distro-tasks
- name: compile_and_archive_dist_test_TG
distros:
- amazon2023.3-large
# downstream_expansions.set() is noop for evergreen versions, so fine to define in cron-only variants for sake of shared yaml anchor.
- name: set_downstream_expansions_for_mongot
- name: .mongot_e2e_tests !.requires_large_host
- name: .mongot_e2e_tests .requires_large_host
distros:
- amazon2023.3-large
# TODO SERVER-89721 remove search suites that use mongot mock.
- name: search
distros:
- amazon2023.3-large
- name: search_auth
distros:
- amazon2023.3-large
- name: search_community
distros:
- amazon2023.3-large
- name: search_community_ssl
distros:
- amazon2023.3-large
- name: search_no_pinned_connections_auth
- name: search_ssl
- name: vector_search
- name: vector_search_auth
- name: vector_search_ssl
# This mongot integration variant is identical to the AL2023 x86 above except it is patachable
# and is not configured with any downstream project triggers on 10gen/mongot.
- name: amazon-linux-2023-x86-mongot-integration-patchable
display_name: "AL2023 x86 mongot integration tasks"
tags: ["mongot_e2e"]
patch_only: true
run_on:
- amazon2023.3-large
expansions:
<<: *amazon-linux-2023-x86-mongot-integration-expansions
compile_variant: amazon-linux-2023-x86-mongot-integration-patchable
tasks: *amazon-linux-2023-x86-mongot-distro-tasks
# This variant is responsible for creating a AL2023 arm64 server binary candidate for 10gen/mongot.
# A project trigger defined on 10gen/mongot runs when this variant succeeds, to check if the resulting
# binary candidate passes their tests and is therefore safe to use in their pre-commit integration tests.
- name: amazon2023-arm64-mongot-integration-cron-only
display_name: "AL2023 arm64 mongot integration tasks cron only"
tags: []
cron: "0 */4 * * *" # Run these tasks every 4 hours
patchable: false
run_on:
- amazon2023.3-arm64-small
expansions: &amazon2023-arm64-mongot-integration-expansions
build_mongot: true
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2023
--subcommands
--build_enterprise=False
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_external_data_source
--enableEnterpriseTests=off
--runAllFeatureFlagTests
has_packages: false
multiversion_platform: amazon2023
multiversion_edition: enterprise
multiversion_architecture: aarch64
packager_script: packager_enterprise.py
packager_arch: aarch64
packager_distro: amazon2023
repo_edition: enterprise
compile_variant: amazon2023-arm64-mongot-integration-cron-only
tasks: &amazon2023-arm64-mongot-distro-tasks
- name: compile_and_archive_dist_test_TG
distros:
- amazon2023.3-arm64-large
# downstream_expansions.set() is noop for evergreen versions, so fine to define in cron-only variants for sake of shared yaml anchor.
- name: set_downstream_expansions_for_mongot
- name: .mongot_e2e_tests !.requires_large_host
- name: .mongot_e2e_tests .requires_large_host
distros:
- amazon2023.3-arm64-large
# TODO SERVER-89721 remove search suites that use mongot mock.
- name: search
distros:
- amazon2023.3-arm64-large
- name: search_community
distros:
- amazon2023.3-arm64-large
- name: search_community_ssl
distros:
- amazon2023.3-arm64-large
- name: search_auth
distros:
- amazon2023.3-arm64-large
- name: search_no_pinned_connections_auth
- name: search_ssl
- name: vector_search
- name: vector_search_auth
- name: vector_search_ssl
# This mongot integration variant is identical to the AL2023 arm64 above except it is patachable
# and is not configured with any downstream project triggers on 10gen/mongot.
- name: amazon2023-arm64-mongot-integration-patchable
display_name: "AL2023 arm64 mongot integration tasks"
tags: ["mongot_e2e"]
patch_only: true
run_on:
- amazon2023.3-arm64-small
expansions:
<<: *amazon2023-arm64-mongot-integration-expansions
compile_variant: amazon2023-arm64-mongot-integration-patchable
tasks: *amazon2023-arm64-mongot-distro-tasks
# This variant is responsible for creating a AL2 arm64 server binary candidate for 10gen/mongot.
# A project trigger defined on 10gen/mongot runs when this variant succeeds, to check if the resulting
# binary candidate passes their tests and is therefore safe to use in their pre-commit integration tests.
- name: amazon-linux2-arm64-mongot-integration-cron-only
display_name: "AL2 arm64 mongot integration tasks cron only"
tags: []
cron: "0 */4 * * *" # Run these tasks every 4 hours
patchable: false
run_on:
- amazon2-arm64-latest-small
stepback: true
expansions: &amazon-linux2-arm64-mongot-integration-expansions
build_mongot: true
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
has_packages: false
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
compile_variant: amazon-linux2-arm64-mongot-integration-cron-only
tasks: &amazon-linux2-arm64-mongot-distro-tasks
- name: compile_and_archive_dist_test_TG
distros:
- amazon2-arm64-latest-large
# downstream_expansions.set() is noop for evergreen versions, so fine to define in cron-only variants for sake of shared yaml anchor.
- name: set_downstream_expansions_for_mongot
- name: .mongot_e2e_tests !.requires_large_host
- name: .mongot_e2e_tests .requires_large_host
distros:
- amazon2-arm64-latest-large
# TODO SERVER-89721 remove search suites that use mongot mock.
- name: search
distros:
- amazon2-arm64-latest-large
- name: search_auth
distros:
- amazon2-arm64-latest-large
- name: search_community
distros:
- amazon2-arm64-latest-large
- name: search_community_ssl
distros:
- amazon2-arm64-latest-large
- name: search_no_pinned_connections_auth
- name: search_ssl
- name: vector_search
- name: vector_search_auth
- name: vector_search_ssl
# This mongot integration variant is identical to the AL2 arm64 above except it is patachable
# and is not configured with any downstream project triggers on 10gen/mongot.
- name: amazon-linux2-arm64-mongot-integration-patchable
display_name: "AL2 arm64 mongot integration tasks"
tags: ["mongot_e2e"]
patch_only: true
run_on:
- amazon2-arm64-latest-small
stepback: true
expansions:
<<: *amazon-linux2-arm64-mongot-integration-expansions
compile_variant: amazon-linux2-arm64-mongot-integration-patchable
tasks: *amazon-linux2-arm64-mongot-distro-tasks
# This variant is responsible for creating a AL2 x86 server binary candidate for 10gen/mongot.
# A project trigger defined on 10gen/mongot runs when this variant succeeds, to check if the resulting
# binary candidate passes their tests and is therefore safe to use in their pre-commit integration tests
- name: amazon2-x86-mongot-integration-cron-only
display_name: "AL2 x86 mongot integration tasks cron only"
tags: []
cron: "0 */4 * * *" # Run these tasks every 4 hours
patchable: false
run_on:
- amazon2-latest-large
expansions: &amazon2-x86-mongot-integration-expansions
build_mongot: true
bazel_compile_flags: >-
--define=MONGO_DISTMOD=amazon2
test_flags: >-
--excludeWithAnyTags=incompatible_with_amazon_linux,requires_ldap_pool,requires_external_data_source
--runAllFeatureFlagTests
has_packages: false
multiversion_platform: amazon2
multiversion_edition: enterprise
multiversion_architecture: x86_64
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: amazon2
repo_edition: enterprise
compile_variant: amazon2-x86-mongot-integration-cron-only
tasks: &amazon2-x86-mongot-distro-tasks
- name: compile_and_archive_dist_test_TG
distros:
- amazon2-latest-large
# downstream_expansions.set() is noop for evergreen versions, so fine to define in cron-only variants for sake of shared yaml anchor.
- name: set_downstream_expansions_for_mongot
- name: .mongot_e2e_tests
# TODO SERVER-89721 remove search suites that use mongot mock.
- name: search
- name: search_community
- name: search_community_ssl
- name: search_auth
- name: search_no_pinned_connections_auth
- name: search_ssl
- name: vector_search
- name: vector_search_auth
- name: vector_search_ssl
# This mongot integration variant is identical to the AL2 x86 above except it is patachable
# and is not configured with any downstream project triggers on 10gen/mongot
- name: amazon2-x86-mongot-integration-patchable
display_name: "AL2 x86 mongot integration tasks"
tags: ["mongot_e2e"]
cron: "0 */4 * * *" # Run these tasks every 4 hours
run_on:
- amazon2-latest-large
expansions:
<<: *amazon2-x86-mongot-integration-expansions
compile_variant: amazon2-x86-mongot-integration-patchable
tasks: *amazon2-x86-mongot-distro-tasks
# This RHEL variant runs search integration tests against latest/HEAD of 10gen/mongot. It is not
# configured with any project trigger on mongot.
- name: &enterprise-rhel-8-64-mongot-integration enterprise-rhel-8-64-mongot-integration
display_name: "Enterprise RHEL 8 Mongot Integration"
cron: "0 */4 * * *" # Run these tasks every 4 hours
run_on:
- rhel8.8-medium
tags: []
expansions:
compile_variant: *enterprise-rhel-8-64-mongot-integration
has_packages: false
build_mongot: true
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
tasks:
- name: compile_and_archive_dist_test_TG
distros:
- rhel8.8-large
- name: .mongot_e2e_tests

View File

@ -1,11 +0,0 @@
buildvariants:
- name: release
display_name: Release
allowed_requesters: ["github_tag"]
tags: ["release", "assigned_to_jira_team_devprod_release_infrastructure"]
run_on: ubuntu2404-small
modules:
- devprod_coverity
tasks:
- name: publish-sast-report
- name: publish-augmented-sbom

View File

@ -1,377 +0,0 @@
# RHEL build variants for testing development environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux-x86-dynamic-compile-params # Essential set of compile parameters used for Linux dev variants.
run_on:
- rhel8.8-xlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
stepback: false
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux-x86-dynamic-enterprise-compile-expansions
has_packages: false
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_name linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_generic_expansions
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
repo_edition: enterprise
large_distro_name: rhel8.8-medium
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: *linux_x86_dynamic_compile_variant_name
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel-8-64-bit-dynamic-expansions
<<: *linux_x86_generic_expansions
has_packages: false
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
large_distro_name: rhel8.8-medium
buildvariants:
- <<: *linux-x86-dynamic-compile-params
name: &linux-x86-dynamic-compile linux-x86-dynamic-compile
display_name: "* Linux x86 Enterprise Shared Library"
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
expansions:
<<: *linux-x86-dynamic-enterprise-compile-expansions
compile_variant: *linux-x86-dynamic-compile
build_mongot: true
download_mongot_release: true
tasks:
- name: run_unit_tests_TG
- name: compile_test_parallel_core_stream_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: compile_integration_and_test_parallel_stream_TG
- name: .development_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.stitch !.crypt
- name: .development_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt
distros:
- rhel8.8-xlarge
- name: .release_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.stitch !.crypt
- name: .release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt
distros:
- rhel8.8-xlarge
- name: .default .requires_compile_variant !.requires_large_host !.incompatible_development_variant
- name: .default .requires_compile_variant .requires_large_host !.incompatible_development_variant
distros:
- rhel8.8-xlarge
- <<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-dynamic
display_name: "* Shared Library Enterprise RHEL 8"
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-small
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
tasks: &enterprise-rhel-8-64-bit-dynamic-task-list
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
distros:
- rhel8.8-medium
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
distros:
- rhel8.8-medium
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.requires_all_feature_flags
distros:
- rhel8.8-medium
- <<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-dynamic-roll-back-incremental-feature-flags
display_name: "Shared Library Enterprise RHEL 8 (roll back incremental feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
run_on:
- rhel8.8-small
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
test_flags: --disableUnreleasedIFRFlags
tasks: *enterprise-rhel-8-64-bit-dynamic-task-list
# TODO (SERVER-75884): Remove this variant once we switch to config shard as the default.
# This build variant is used to test suites that use sharded cluster fixture with config shard mode.
- <<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-dynamic-config-shard
display_name: "* Shared Library Enterprise RHEL 8 (Config Shard)"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
stepback: false
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
test_flags: >-
--configShard=any
--excludeWithAnyTags=config_shard_incompatible
tasks:
- name: aggregation_mongos_passthrough
distros:
- rhel8.8-large
- name: aggregation_one_shard_sharded_collections
- name: aggregation_sharded_collections_causally_consistent_passthrough
distros:
- rhel8.8-large
- name: aggregation_sharded_collections_passthrough
distros:
- rhel8.8-large
- name: auth_gen
- name: causally_consistent_jscore_passthrough_auth_gen
- name: causally_consistent_jscore_passthrough_gen
- name: change_streams
- name: change_streams_mongos_sessions_passthrough
- name: change_streams_multi_stmt_txn_mongos_passthrough
- name: change_streams_multi_stmt_txn_sharded_collections_passthrough
- name: change_streams_per_shard_cursor_passthrough
- name: change_streams_sharded_collections_query_shape_hash_stability_multiversion_gen
- name: fle2_sharding_high_cardinality
- name: fle2_sharding
- name: jstestfuzz_sharded_causal_consistency_gen
- name: jstestfuzz_sharded_gen
- name: jstestfuzz_sharded_kill_terminate_stepdown_gen
- name: jstestfuzz_sharded_notablescan_gen
- name: sharded_causally_consistent_jscore_passthrough_gen
- name: sharded_causally_consistent_read_concern_snapshot_passthrough_gen
- name: sharding_auth_gen
# Explicitly include instead of using tags to avoid pulling in replica_sets_multiversion_gen. This
# variant will be removed when config shards become the default, so this is only temporary.
- name: sharding_multiversion_gen
- name: sharding_jscore_multiversion_gen
- name: sharding_jscore_kill_primary_multiversion_gen
- name: .sharding .txns
# Skip csrs stepdown suite because most tests can't handle the first shard stepping down.
- name: .sharding .common !.csrs !.feature_flag_guarded
- name: .sharding .jscore !.wo_snapshot !.multi_stmt !.feature_flag_guarded
- name: .concurrency .sharded !.large
- name: .concurrency .sharded .large
- name: .unsplittable_collections
distros:
- rhel8.8-medium
- name: .multi_shard
- <<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-dynamic-classic-engine
display_name: "Shared Library Enterprise RHEL 8 (Classic Engine)"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
stepback: false
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine}"
--excludeWithAnyTags=featureFlagSbeFull
large_distro_name: rhel8.8-medium
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
tasks:
- name: .aggfuzzer !.sbe_only
- name: .aggregation !.sbe_only !.requires_large_host
- name: .aggregation !.sbe_only .requires_large_host
distros:
- rhel8.8-medium
- name: .auth
- name: .causally_consistent !.sharding
- name: .change_stream_fuzzer !.serverless
- name: .change_streams
- name: .concurrency !.large !.no_txns !.compute_mode !.feature_flag_guarded
- name: .concurrency .large !.no_txns !.compute_mode !.feature_flag_guarded
distros:
- rhel8.8-medium
- name: .encrypt
- name: .jscore .common !jsCore !.sbe_only
- name: .jstestfuzz !.feature_flag_guarded
- name: .misc_js !.requires_large_host
- name: .misc_js .requires_large_host
distros:
- rhel8.8-medium
- name: .multi_shard
- name: .query_fuzzer
- name: query_golden_classic
- name: query_golden_sharding
- name: .random_multiversion_ds
- name: .read_only
- name: .read_write_concern !.large !.requires_large_host
- name: .read_write_concern !.large .requires_large_host
distros:
- rhel8.8-medium
- name: .read_write_concern .large
distros:
- rhel8.8-medium
- name: .replica_sets !.encrypt !.auth
distros:
- rhel8.8-xlarge
- name: .rollbackfuzzer
- name: .sharding .common !.feature_flag_guarded
- name: .sharding .jscore !.wo_snapshot !.multi_stmt !.feature_flag_guarded
- name: .sharding .txns
- name: .updatefuzzer
- name: aggregation_repeat_queries_multiplan_single_solutions
- name: audit
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: check_feature_flag_tags
- name: check_for_todos
- name: disk_wiredtiger
- name: initial_sync_fuzzer_gen
- name: fcv_upgrade_downgrade_replica_sets_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharding_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharded_collections_jscore_passthrough_gen
- name: jsCore
distros:
- rhel8.8-xlarge
- name: jsCore_min_batch_repeat_queries_multiplan_single_solutions_ese_gsm
- name: jsCore_txns_large_txns_format
- name: json_schema
- name: multi_stmt_txn_jscore_passthrough_with_migration_gen
- name: multiversion_gen
- name: .multiversion_sanity_check
- name: replica_sets_api_version_jscore_passthrough_gen
- name: replica_sets_reconfig_jscore_passthrough_gen
- name: replica_sets_reconfig_jscore_stepdown_passthrough_gen
distros:
- rhel8.8-xlarge
- name: replica_sets_reconfig_kill_primary_jscore_passthrough_gen
distros:
- rhel8.8-xlarge
- name: change_streams_pre_images_replica_sets_stepdown_primary_jscore_passthrough_gen
distros:
- rhel8.8-xlarge
- name: change_streams_pre_images_replica_sets_kill_secondary_jscore_passthrough_gen
distros:
- rhel8.8-xlarge
- name: change_streams_change_collection_replica_sets_stepdown_primary_jscore_passthrough_gen
distros:
- rhel8.8-xlarge
- name: change_streams_change_collection_replica_sets_kill_secondary_jscore_passthrough_gen
distros:
- rhel8.8-xlarge
- name: retryable_writes_jscore_passthrough_gen
- name: retryable_writes_jscore_stepdown_passthrough_gen
- name: sasl
- name: search
distros:
- rhel8.8-large
- name: search_community
distros:
- rhel8.8-large
- name: search_community_ssl
distros:
- rhel8.8-large
- name: search_auth
distros:
- rhel8.8-large
- name: search_no_pinned_connections_auth
- name: search_ssl
- name: secondary_reads_passthrough_gen
- name: session_jscore_passthrough
- name: sharding_api_version_jscore_passthrough_gen
- name: test_api_version_compatibility
- name: unittest_shell_hang_analyzer_gen
- name: vector_search
- name: vector_search_auth
- name: vector_search_ssl
- name: aggregation_mongos_pqs_fallback_gen
- name: aggregation_mongos_pqs_hints_gen
- name: aggregation_pqs_fallback_gen
- name: aggregation_pqs_hints_gen
- name: aggregation_sharded_collections_pqs_fallback_gen
- name: aggregation_sharded_collections_pqs_hints_gen
- name: aggregation_sharded_collections_query_shape_hash_stability_gen
- name: replica_sets_jscore_pqs_fallback_gen
- name: replica_sets_jscore_pqs_hints_gen
- name: replica_sets_jscore_pqs_index_filters_gen
- name: sharded_collections_pqs_fallback_gen
- name: sharded_collections_pqs_hints_gen
- name: sharded_collections_pqs_index_filters_gen
- name: sharded_collections_query_shape_hash_stability_gen
- name: sharding_pqs_fallback_gen
- name: sharding_pqs_hints_gen
- name: sharding_pqs_index_filters_gen
- name: upload-sbom-if-changed
display_name: "Upload SBOM if changed"
allowed_requesters: ["commit"]
activate: true
paths:
- "sbom.json"
tags: ["auxiliary", "assigned_to_jira_team_platsec_server"]
run_on:
- rhel8.8-small
stepback: false
tasks:
- name: upload_sbom_via_silkbomb_if_changed

View File

@ -1,189 +0,0 @@
# RHEL build variants for testing development environments
#
# After the branching variants in this file
# should continue to run ONLY on a new LTS release (v7.0, v6.0 etc.) branch projects
# and should NOT run on a new rapid release (v7.1, v7.2 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_name linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_generic_expansions
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
repo_edition: enterprise
large_distro_name: rhel8.8-medium
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: *linux_x86_dynamic_compile_variant_name
buildvariants:
- name: enterprise-rhel-8-64-bit-inmem
display_name: Enterprise RHEL 8 (inMemory)
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
test_flags: >-
--storageEngine=inMemory
--excludeWithAnyTags=requires_persistence,requires_journaling
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
large_distro_name: rhel8.8-large
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: enterprise-rhel-8-64-bit-inmem
tasks:
- name: compile_test_serial_no_unittests_TG
distros:
- rhel8.8-xlarge
- name: compile_integration_and_test_no_audit_parallel_stream_TG
distros:
- rhel8.8-large
- name: .aggfuzzer .common !.feature_flag_guarded
- name: .aggregation !.unwind !.encrypt !.feature_flag_guarded !.requires_large_host
- name: .aggregation !.unwind !.encrypt !.feature_flag_guarded .requires_large_host
distros:
- rhel8.8-large
- name: audit
- name: .auth !.multiversion
- name: .causally_consistent !.wo_snapshot !.durable_history
- name: .change_streams
- name: .change_stream_fuzzer !.serverless
- name: .misc_js !.requires_large_host
- name: .misc_js .requires_large_host
distros:
- rhel8.8-large
- name: .concurrency !.no_txns !.kill_terminate !.incompatible_inmemory !.feature_flag_guarded
distros:
- rhel8.8-medium # Some workloads require a lot of memory, use a bigger machine for this suite.
- name: initial_sync_fuzzer_gen
- name: .jscore .common !.decimal !.requires_large_host
- name: .jscore .common !.decimal .requires_large_host
distros:
- rhel8.8-large
- name: jsCore_txns_large_txns_format
- name: .jstestfuzz !.initsync !.feature_flag_guarded !.incompatible_inmemory
- name: .multi_shard .common
- name: multi_stmt_txn_jscore_passthrough_with_migration_gen
- name: .read_write_concern !.durable_history !.requires_large_host
- name: .read_write_concern !.durable_history .requires_large_host
distros:
- rhel8.8-large
- name: replica_sets_gen
- name: .replica_sets .common
- name: .replica_sets .multi_oplog !.encrypt
- name: replica_sets_multi_stmt_txn_jscore_passthrough_gen
- name: replica_sets_multi_stmt_txn_stepdown_jscore_passthrough_gen
distros:
- rhel8.8-medium
- name: .resharding_fuzzer
- name: .retry
- name: rollback_fuzzer_gen
- name: sasl
- name: secondary_reads_passthrough_gen
- name: session_jscore_passthrough
- name: sharded_multi_stmt_txn_jscore_passthrough_gen
distros:
- rhel8.8-medium
- name: .sharding .jscore !.wo_snapshot !.multi_stmt !.feature_flag_guarded
- name: .sharding .common !.multiversion !.csrs !.encrypt !.feature_flag_guarded
- name: sharding_max_mirroring_opportunistic_secondary_targeting_gen
- name: .ssl
- name: .updatefuzzer
- name: generate_buildid_to_debug_symbols_mapping
- <<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-large-txns-format
display_name: "Enterprise RHEL 8 (large transactions format)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
run_on:
- rhel8.8-small
expansions:
<<: *linux_x86_generic_expansions
test_flags: >-
--mongodSetParameters="{maxNumberOfTransactionOperationsInSingleOplogEntry: 2}"
--excludeWithAnyTags=exclude_from_large_txns
tasks:
- name: auth_gen
- name: auth_audit_gen
- name: causally_consistent_jscore_txns_passthrough
- name: change_streams
- name: change_streams_whole_db_passthrough
- name: change_streams_whole_cluster_passthrough
- name: concurrency_replication_gen
- name: concurrency_replication_multi_stmt_txn_gen
- name: concurrency_sharded_replication_gen
- name: concurrency_sharded_replication_with_balancer_gen
- name: concurrency_sharded_clusterwide_ops_add_remove_shards_gen
- name: concurrency_sharded_local_read_write_multi_stmt_txn_gen
- name: concurrency_sharded_local_read_write_multi_stmt_txn_with_balancer_gen
- name: concurrency_sharded_multi_stmt_txn_gen
- name: concurrency_sharded_multi_stmt_txn_with_balancer_gen
- name: concurrency_sharded_with_stepdowns_gen
- name: concurrency_sharded_stepdown_terminate_kill_primary_with_balancer_gen
- name: concurrency_sharded_initial_sync_gen
- name: initial_sync_fuzzer_gen
- name: fcv_upgrade_downgrade_replica_sets_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharding_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharded_collections_jscore_passthrough_gen
- name: jsCore
distros:
- rhel8.8-medium
- name: jsCore_txns
- name: .multi_shard
- name: multi_stmt_txn_jscore_passthrough_with_migration_gen
- name: multiversion_auth_gen
- name: multiversion_gen
- name: noPassthrough_gen
- name: .replica_sets !.multi_oplog !.large
- name: .replica_sets !.multi_oplog .large
distros:
- rhel8.8-medium
- name: .replica_sets .encrypt
- name: .resharding_fuzzer
- name: .rollbackfuzzer
- name: .sharding .txns
- name: sharding_gen
- name: sharding_auth_audit_gen
- name: sharding_csrs_continuous_config_stepdown_gen
- name: sharded_multi_stmt_txn_jscore_passthrough_gen
distros:
- rhel8.8-medium

View File

@ -1,752 +0,0 @@
# RHEL build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux-x86-dynamic-compile-params # Essential set of compile parameters used for Linux dev variants.
run_on:
- rhel8.8-xlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
stepback: false
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux-x86-dynamic-enterprise-compile-expansions
has_packages: false
bazel_compile_flags: >-
--linkstatic=False
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_params # Essential set of compile parameters used for Linux dev variants.
run_on:
- rhel8.8-xlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: generate_buildid_to_debug_symbols_mapping
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_expansions # The most commonly used compile expansions.
has_packages: false
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_name linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_generic_expansions
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
repo_edition: enterprise
large_distro_name: rhel8.8-medium
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: *linux_x86_dynamic_compile_variant_name
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel-8-64-bit-dynamic-expansions
<<: *linux_x86_generic_expansions
has_packages: false
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
large_distro_name: rhel8.8-medium
- &enterprise-rhel-8-64-bit-template
name: enterprise-rhel-8-64-bit
display_name: "Enterprise RHEL 8"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions: &enterprise-rhel-8-64-bit-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-rhel8
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
test_flags: --excludeWithAnyTags=requires_ldap_pool
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: rhel88
repo_edition: enterprise
core_analyzer_distro_name: rhel8.8-large
tasks:
- name: compile_test_and_package_serial_no_unittests_TG
distros:
- rhel8.8-large
- name: .aggfuzzer !.feature_flag_guarded
- name: audit
- name: auth_audit_gen
- name: auth_gen
- name: causally_consistent_jscore_txns_passthrough
- name: .config_fuzzer !.large
- name: .encrypt !.sharding !.replica_sets !.aggregation !.jscore
- name: external_auth
- name: external_auth_aws
- name: .jscore .common !.decimal !.sharding
- name: jsCore_txns_large_txns_format
- name: .jstestfuzz .common !.feature_flag_guarded
- name: libunwind_tests
- name: .ocsp
- name: replica_sets_auth_gen
- name: replica_sets_jscore_passthrough_gen
- name: .replica_sets .multi_oplog
- name: sasl
- name: search
distros:
- rhel8.8-large
- name: search_community
distros:
- rhel8.8-large
- name: search_community_ssl
distros:
- rhel8.8-large
- name: search_auth
distros:
- rhel8.8-large
- name: search_no_pinned_connections_auth
- name: search_ssl
distros:
- rhel8.8-large
- name: sharding_auth_audit_gen
- name: .stitch
- name: .crypt
- name: unittest_shell_hang_analyzer_gen
- name: test_packages
distros:
- ubuntu2204-large
- name: .timeseries_crud
- name: vector_search
- name: vector_search_auth
- name: vector_search_ssl
- name: selinux_rhel8_enterprise
- name: generate_buildid_to_debug_symbols_mapping
- name: product_limits
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
buildvariants:
- <<: *generic_linux_compile_params
name: &linux-x86-dynamic-compile-future-tag-multiversion-latest linux-x86-dynamic-compile-future-tag-multiversion-latest
display_name: "Linux x86 Shared Library Compile (future git tag multiversion - latest)"
tags: []
expansions:
<<: *linux-x86-dynamic-enterprise-compile-expansions
bv_future_git_tag: r100.0.0-9999
compile_variant: *linux-x86-dynamic-compile-future-tag-multiversion-latest
archive_dist_test_debug_task_name: archive_dist_test_debug_future_git_tag_multiversion
tasks:
- name: version_expansions_future_git_tag_multiversion_gen
- name: compile_test_serial_future_git_tag_multiversion_TG
- <<: *generic_linux_compile_params
name: &linux-x86-dynamic-compile-future-tag-multiversion-last-continuous linux-x86-dynamic-compile-future-tag-multiversion-last-continuous
display_name: "Linux x86 Shared Library Compile (future git tag multiversion - last continuous)"
tags: []
expansions:
<<: *linux-x86-dynamic-enterprise-compile-expansions
compile_variant: *linux-x86-dynamic-compile-future-tag-multiversion-last-continuous
tasks:
- name: compile_and_package_serial_no_unittests_TG
- <<: *linux-x86-dynamic-compile-params
name: &linux-stitch-compile-suggested linux-stitch-compile-suggested
display_name: "* Linux x86 Stitch Enterprise Compile"
tags: ["suggested"]
expansions:
compile_variant: *linux-stitch-compile-suggested
tasks:
- name: .stitch
- <<: *linux-x86-dynamic-compile-params
name: &linux-crypt-compile linux-crypt-compile
display_name: "* Linux x86 Crypt Enterprise Compile"
tags: ["suggested"]
expansions:
compile_variant: *linux-crypt-compile
tasks:
- name: .crypt
- name: crypt_build_debug_and_test
- name: &linux-x86-dynamic-grpc linux-x86-dynamic-grpc
display_name: "~ Linux x86 Shared Library Enterprise with Ingress GRPC"
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-xlarge
stepback: false
expansions:
<<: *generic_linux_compile_expansions
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
compile_variant: *linux-x86-dynamic-grpc
clang_tidy_toolchain: v5
large_distro_name: rhel8.8-xlarge
test_flags: >-
--additionalFeatureFlags "featureFlagGRPC"
--excludeWithAnyTags=requires_external_data_source,requires_mongobridge,requires_auth,grpc_incompatible,creates_and_authenticates_user
--tlsMode preferTLS
--tlsCAFile jstests/libs/ca.pem
--shellTls
--shellTlsCertificateKeyFile jstests/libs/client.pem
--mongosTlsCertificateKeyFile jstests/libs/server.pem
--mongodTlsCertificateKeyFile jstests/libs/server.pem
--shellGRPC
tasks:
- name: run_unit_tests_TG
- name: compile_test_parallel_core_stream_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: generate_buildid_to_debug_symbols_mapping
# sharding_uninitialized_fcv_jscore_passthrough_gen spawns too many connections
# and processes to be used with TLS on a single host.
- name: .jscore .common !sharding_uninitialized_fcv_jscore_passthrough_gen !.auth !.txns
- name: sharded_jscore_txns
- name: .aggregation !.auth !aggregation_read_concern_majority_passthrough !aggregation_secondary_reads_gen
- name: .concurrency !.auth !concurrency_replication_causal_consistency_gen !concurrency_replication_multi_stmt_txn_gen !concurrency_replication_gen !concurrency_simultaneous_replication_gen !config_fuzzer_concurrency_replication_gen !config_fuzzer_concurrency_simultaneous_replication_gen
- name: .grpc_misc_js
- &enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
<<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags
display_name: "* Shared Library Enterprise RHEL 8 (all feature flags)"
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-small
stepback: false
expansions: &enterprise-rhel-8-64-bit-dynamic-all-feature-flags-expansions
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--runAllFeatureFlagTests
build_mongot: true
download_mongot_release: true
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags
distros:
- rhel8.8-medium
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags
distros:
- rhel8.8-medium
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_all_feature_flags
distros:
- rhel8.8-medium
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags-experimental
display_name: "* Shared Library Enterprise RHEL 8 (all feature flags) Experimental"
tags: ["suggested"]
tasks:
&experimental-task-list # TODO(SERVER-90936): Remove streams_kafka* and streams_lambda tests when they work with the "default" tag.
- name: streams_kafka
- name: streams_kafka_gwproxy
- name: streams_lambda
- name: streams_s3
- name: product_limits
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
name: enterprise-rhel-8-64-bit-dynamic-all-non-rollback-feature-flags
display_name: "Shared Library Enterprise RHEL 8 (all non-rollback feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
name: enterprise-rhel-8-64-bit-dynamic-all-non-rollback-feature-flags-experimental
display_name: "Shared Library Enterprise RHEL 8 (all non-rollback feature flags) Experimental"
tags: []
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
tasks: *experimental-task-list
- name: &enterprise-rhel-8-benchmarks enterprise-rhel-8-benchmarks
display_name: "* Enterprise RHEL 8 (Benchmarks)"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
expansions:
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--dbg_level=1
--separate_debug=False
compile_variant: *enterprise-rhel-8-benchmarks
tasks:
- name: compile_upload_benchmarks_TG
distros:
- rhel8.8-xlarge
- name: .benchmarks
# This build variant is used to run multiversion tests as part of burn_in_tags as these tests are
# currently only run on our daily builders.
- &linux-x86-multiversion-template
<<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-multiversion
display_name: "Enterprise RHEL 8 (implicit multiversion)"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions: &linux-x86-multiversion-expansions-template
<<: *linux_x86_generic_expansions
resmoke_jobs_factor: 0.25
tasks:
- name: .multiversion_fuzzer
- name: .multiversion_passthrough
- name: .random_multiversion_ds
- <<: *linux-x86-multiversion-template
name: enterprise-rhel-8-64-bit-multiversion-all-feature-flags
display_name: "Enterprise RHEL 8 (implicit multiversion & all feature flags)"
tags: []
expansions:
<<: *linux-x86-multiversion-expansions-template
# No feature flag tests since they aren't compatible with the older binaries.
test_flags: >-
--runNoFeatureFlagTests
# This variant exists because this is the only way to test future multiversion tags
# version_expansions_gen will pretend we are upgrading to "bv_future_git_tag"
# which is like simulating a branching task
- <<: *linux-x86-multiversion-template
name: enterprise-rhel-8-64-bit-future-git-tag-multiversion
display_name: "Enterprise RHEL 8 (future git tag multiversion)"
tags: []
expansions:
<<: *linux_x86_generic_expansions
resmoke_jobs_factor: 0.5
bv_future_git_tag: r100.0.0-9999
compile_variant: *linux-x86-dynamic-compile-future-tag-multiversion-latest
test_flags: >-
--excludeWithAnyTags=future_git_tag_incompatible
unique_gen_suffix: "-future"
last_versions: last_lts,last_continuous
multiversion_last_continuous_variant: *linux-x86-dynamic-compile-future-tag-multiversion-last-continuous
depends_on:
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
- name: archive_dist_test_debug_future_git_tag_multiversion
variant: *linux-x86-dynamic-compile-future-tag-multiversion-latest
- name: archive_dist_test
variant: *linux-x86-dynamic-compile-future-tag-multiversion-last-continuous
tasks:
- name: .multiversion !.future_git_tag_incompatible
- name: .multiversion_future_git_tag
- <<: *enterprise-rhel-8-64-bit-template
name: &hot_backups-rhel-8-64-bit hot_backups-rhel-8-64-bit
display_name: "hot_backups RHEL 8"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions:
<<: *enterprise-rhel-8-64-bit-expansions-template
additional_package_targets: ""
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--//bazel/config:enterprise_feature_all=False
--//bazel/config:enterprise_feature_hot_backups=True
--//bazel/config:enterprise_feature_magic_restore=True
--//bazel/config:enterprise_feature_ldap=True
--//bazel/config:enterprise_feature_sasl=True
--//bazel/config:enterprise_feature_encryptdb=True
--linkstatic=False
compile_variant: *hot_backups-rhel-8-64-bit
has_packages: false
tasks:
- name: compile_test_parallel_core_stream_TG
distros:
- rhel8.8-large
- name: run_unit_tests_TG
distros:
- rhel8.8-large
- name: compile_test_parallel_dbtest_stream_TG
distros:
- rhel8.8-large
- name: jsCore
distros:
- rhel8.8-large
- name: noPassthroughHotBackups_gen
- name: generate_buildid_to_debug_symbols_mapping
- name: &enterprise-rhel8-sdam-replica-set-monitor-64-bit enterprise-rhel8-sdam-replica-set-monitor-64-bit
display_name: "~ Enterprise RHEL 8 (with SdamReplicaSetMonitor)"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions:
<<: *linux_x86_generic_expansions
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
test_flags: >-
--mongosSetParameters="{replicaSetMonitorProtocol: sdam}"
--mongodSetParameters="{replicaSetMonitorProtocol: sdam}"
--excludeWithAnyTags=requires_streamable_rsm
large_distro_name: rhel8.8-large
compile_variant: *enterprise-rhel8-sdam-replica-set-monitor-64-bit
tasks:
- name: compile_test_parallel_core_stream_TG
distros:
- rhel8.8-large
- name: run_unit_tests_TG
distros:
- rhel8.8-large
- name: compile_test_parallel_dbtest_stream_TG
distros:
- rhel8.8-large
- name: compile_integration_and_test_parallel_stream_TG
distros:
- rhel8.8-large
- name: .aggregation !.no_async !.feature_flag_guarded !.requires_large_host
- name: .aggregation !.no_async !.feature_flag_guarded .requires_large_host
distros:
- rhel8.8-large
- name: sharding_auth_gen
- name: .sharding .causally_consistent !.wo_snapshot
- name: .concurrency .common !.kill_terminate !.feature_flag_guarded
- name: .jscore .common !.requires_large_host
- name: .jscore .common .requires_large_host
distros:
- rhel8.8-large
- name: .sharding .jscore !.wo_snapshot !.multi_stmt !.feature_flag_guarded
- name: .sharding .common !.csrs !.encrypt !.feature_flag_guarded
- name: sharding_max_mirroring_opportunistic_secondary_targeting_gen
- name: generate_buildid_to_debug_symbols_mapping
# This build variant injects old-format (pre-4.2) unique index keys for all new keys inserted into
# a index. This should not change correctness or user-observable server behavior.
- <<: *linux_x86_dynamic_compile_variant_dependency
name: enterprise-rhel-8-64-bit-old-unique-index-format
display_name: "Enterprise RHEL 8 (old unique index format)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
run_on:
- rhel8.8-small
expansions:
<<: *linux_x86_generic_expansions
test_flags: >-
--mongodSetParameters="{'failpoint.WTIndexCreateUniqueIndexesInOldFormat': {mode: 'alwaysOn'}, 'failpoint.WTIndexInsertUniqueKeysInOldFormat': {mode: 'alwaysOn'}}"
--excludeWithAnyTags=disables_test_commands,assumes_no_old_format_indexes
tasks:
- name: .aggfuzzer
- name: .aggregation !.no_async !.feature_flag_guarded !.requires_large_host
- name: .aggregation !.no_async !.feature_flag_guarded .requires_large_host
distros:
- rhel8.8-large
- name: auth_gen
- name: auth_audit_gen
- name: causally_consistent_jscore_txns_passthrough
- name: .concurrency .common !.large !.feature_flag_guarded
- name: .config_fuzzer !.large
- name: disk_wiredtiger
- name: initial_sync_fuzzer_gen
- name: fcv_upgrade_downgrade_replica_sets_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharding_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharded_collections_jscore_passthrough_gen
- name: jsCore
distros:
- rhel8.8-large
- name: jsCore_txns
- name: .multi_shard
- name: multiversion_auth_gen
- name: noPassthrough_gen
- name: .query_fuzzer
- name: .replica_sets !.large
- name: .resharding_fuzzer
- name: .rollbackfuzzer
- name: secondary_reads_passthrough_gen
- name: .sharding .txns
- name: .sharding .common !.feature_flag_guarded
- name: .updatefuzzer
- name: v1index_jscore_passthrough_gen
- name: &enterprise-rhel8-join-ingress-sessions-on-shutdown enterprise-rhel8-join-ingress-sessions-on-shutdown
display_name: '~ Enterprise RHEL 8 (with {joinIngressSessionsOnShutdown: "true"})'
tags: []
activate: false
run_on:
- rhel8.8-small
expansions:
<<: *linux_x86_generic_expansions
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
test_flags: >-
--mongosSetParameters="joinIngressSessionsOnShutdown: \"true\""
--mongodSetParameters="joinIngressSessionsOnShutdown: \"true\""
large_distro_name: rhel8.8-large
compile_variant: *enterprise-rhel8-join-ingress-sessions-on-shutdown
tasks:
- name: compile_test_serial_TG
distros:
- rhel8.8-large
- name: run_unit_tests_TG
distros:
- rhel8.8-large
patch_only: true
- name: compile_integration_and_test_no_audit_parallel_stream_TG
distros:
- rhel8.8-large
patch_only: true
- name: .aggregation !.no_async !.feature_flag_guarded !.requires_large_host
patch_only: true
- name: .aggregation !.no_async !.feature_flag_guarded .requires_large_host
patch_only: true
distros:
- rhel8.8-large
- name: sharding_auth_gen
patch_only: true
- name: .sharding .causally_consistent !.wo_snapshot
patch_only: true
- name: .concurrency .common !.kill_terminate !.feature_flag_guarded
patch_only: true
- name: .jscore .common !.requires_large_host
patch_only: true
- name: .jscore .common .requires_large_host
patch_only: true
distros:
- rhel8.8-large
- name: .sharding .jscore !.wo_snapshot !.multi_stmt !.feature_flag_guarded
patch_only: true
- name: .sharding .common !.csrs !.encrypt !.feature_flag_guarded
patch_only: true
- name: sharding_max_mirroring_opportunistic_secondary_targeting_gen
patch_only: true
### Query Patch-Specific Build Variants ###
- name: enterprise-rhel-8-64-bit-dynamic-query-quick-patch-only
display_name: "~ Shared Library Enterprise RHEL 8 Query Quick Patch Only"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- rhel8.8-small
stepback: false
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
target_resmoke_time: 30
max_sub_suites: 3
test_flags: >-
--excludeWithAnyTags=resource_intensive
depends_on:
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
tasks: &query-quick-alias-task-list
- name: aggregation
- name: aggregation_mongos_passthrough
distros:
- rhel8.8-large
- name: aggregation_sharded_collections_passthrough
distros:
- rhel8.8-large
- name: jsCore
distros:
- rhel8.8-xlarge
- name: search
distros:
- rhel8.8-xlarge
- name: change_streams
- name: query_golden_classic
- name: query_golden_sharding
- name: vector_search
- name: replica_sets_jscore_passthrough_gen
- name: sharding_jscore_passthrough_gen
- name: sharded_collections_jscore_passthrough_gen
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: check_feature_flag_tags
- name: check_for_todos
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags-required-query-quick-patch-only
display_name: "~ Shared Library Enterprise RHEL 8 Query Quick Patch Only (all feature flags)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-expansions
test_flags: >-
--runAllFeatureFlagTests
--excludeWithAnyTags=resource_intensive
tasks: *query-quick-alias-task-list
- name: enterprise-rhel-8-64-bit-dynamic-classic-engine-all-feature-flags-fuzzers
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
display_name: "*| Shared Library Enterprise RHEL 8 (Classic Engine all feature flags) Fuzzers"
tags: ["suggested"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-expansions
target_resmoke_time: 30
max_sub_suites: 3
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine}"
--runAllFeatureFlagTests
--excludeWithAnyTags=resource_intensive,featureFlagSbeFull
tasks:
- name: .aggfuzzer
- name: .change_stream_fuzzer !.serverless
- name: .query_fuzzer
- name: .updatefuzzer
- name: .jstestfuzz
- name: enterprise-rhel-8-64-bit-dynamic-classic-engine-all-non-rollback-feature-flags-fuzzers
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
display_name: "Shared Library Enterprise RHEL 8 (Classic Engine all non-rollback feature flags) Fuzzers"
tags: []
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-expansions
target_resmoke_time: 30
max_sub_suites: 3
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine}"
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
--excludeWithAnyTags=resource_intensive,featureFlagSbeFull
tasks:
- name: .aggfuzzer
- name: .change_stream_fuzzer !.serverless
- name: .query_fuzzer
- name: .updatefuzzer
- name: .jstestfuzz
### Security Patch-Specific Build Variants ###
- <<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-template
name: enterprise-rhel-8-64-bit-dynamic-all-feature-flags-required-security-patch-only
display_name: "~ Shared Library Enterprise RHEL 8 Security Patch Only (all feature flags)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-all-feature-flags-expansions
target_resmoke_time: 15
max_sub_suites: 15
tasks:
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
variant: *linux_x86_dynamic_compile_variant_name
- name: .audit .patch_build
- name: .encrypt .patch_build
- name: .sasl .patch_build
- name: external_auth
- name: external_auth_aws
- name: external_auth_oidc
- name: lint_fuzzer_sanity_patch
- name: tla-plus
display_name: "TLA+"
tags: []
run_on:
- rhel8.8-large
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
stepback: false
expansions:
timeout_secs: 345600 # 4 days
tasks:
- name: tla_plus

View File

@ -1,412 +0,0 @@
# RHEL build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: ubi8
display_name: "UBI 8"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubi8
expansions:
resmoke_jobs_factor: 1
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--build_enterprise=False
tooltags: ""
build_mongoreplay: true
test_flags: >-
--excludeWithAnyTags=requires_os_access
--enableEnterpriseTests=off
compile_variant: ubi8
tasks:
- name: compile_and_archive_dist_test_TG
distros:
- rhel8.8-large
- name: jsCore
- name: sharding_gen
- name: replica_sets_gen
- name: generate_buildid_to_debug_symbols_mapping
distros:
- rhel8.8-large
- name: rhel8
display_name: RHEL 8
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-rhel8
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--build_enterprise=False
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_increased_memlock_limits
--enableEnterpriseTests=off
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: rhel88
repo_edition: org
large_distro_name: rhel8.8-large
compile_variant: rhel88
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel8.8-large
- name: run_unit_tests_TG
distros:
- rhel8.8-large
- name: test_packages
distros:
- ubuntu2204-large
- name: selinux_rhel8_org
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- rhel8.8-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- rhel8.8-large
- name: enterprise-rhel-8-64-bit
display_name: "Enterprise RHEL 8"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-rhel8
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: rhel88
repo_edition: enterprise
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 3
large_distro_name: rhel8.8-medium
compile_variant: enterprise-rhel-8-64-bit
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel8.8-large
- name: compile_integration_and_test_parallel_stream_TG
distros:
- rhel8.8-large
- name: run_unit_tests_TG
distros:
- rhel8.8-large
- name: test_packages
distros:
- ubuntu2204-large
- name: selinux_rhel8_enterprise
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- rhel8.8-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- rhel8.8-large
- name: rhel-8-arm64
display_name: RHEL 8 arm64
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- rhel8.8-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-rhel8
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_increased_memlock_limits
--enableEnterpriseTests=off
has_packages: true
packager_script: packager.py
packager_arch: aarch64
packager_distro: rhel88
repo_edition: org
large_distro_name: rhel8.8-arm64-large
compile_variant: rhel-8-arm64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel8.8-arm64-large
- name: run_unit_tests_TG
distros:
- rhel8.8-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-small
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- rhel8.8-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- rhel8.8-arm64-large
- name: enterprise-rhel-8-arm64
display_name: "Enterprise RHEL 8 arm64"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-arm64-small
expansions:
large_distro_name: rhel8.8-arm64-large
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-rhel8
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source,resource_intensive
has_packages: true
packager_script: packager_enterprise.py
packager_arch: aarch64
packager_distro: rhel88
repo_edition: enterprise
compile_variant: enterprise-rhel-8-arm64
core_analyzer_distro_name: rhel8.8-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel8.8-arm64-large
- name: run_unit_tests_TG
distros:
- rhel8.8-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-small
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- rhel8.8-arm64-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- rhel8.8-arm64-large
- name: rhel93
display_name: RHEL 9.3
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel93-large
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-rhel93
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel93
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source
--enableEnterpriseTests=off
multiversion_platform: rhel93
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: rhel90
repo_edition: org
large_distro_name: rhel93-large
compile_variant: rhel93
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel93-large
- name: run_unit_tests_TG
distros:
- rhel93-large
- name: test_packages
distros:
- ubuntu2204-large
- name: selinux_rhel9_org
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- rhel93-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- rhel93-large
- name: enterprise-rhel-93-64-bit
display_name: "Enterprise RHEL 9.3"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel93-small
expansions:
additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-rhel93
bazel_compile_flags: --define=MONGO_DISTMOD=rhel93
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
multiversion_platform: rhel93
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: rhel90
repo_edition: enterprise
compile_variant: enterprise-rhel-93-64-bit
core_analyzer_distro_name: rhel93-large
large_distro_name: rhel93-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel93-large
- name: run_unit_tests_TG
distros:
- rhel93-large
- name: test_packages
distros:
- ubuntu2204-large
- name: selinux_rhel9_enterprise
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- rhel93-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- rhel93-large
- name: rhel93-arm64
display_name: RHEL 9.3 arm64
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel93-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-rhel93
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel93
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source
--enableEnterpriseTests=off
has_packages: true
packager_script: packager.py
packager_arch: aarch64
packager_distro: rhel90
repo_edition: org
large_distro_name: rhel93-arm64-large
compile_variant: rhel93-arm64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel93-arm64-large
- name: run_unit_tests_TG
distros:
- rhel93-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-small
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- rhel93-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- rhel93-arm64-large
- name: enterprise-rhel-93-arm64
display_name: "Enterprise RHEL 9.3 arm64"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel93-arm64-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-rhel93
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel93
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
has_packages: true
packager_script: packager_enterprise.py
packager_arch: aarch64
packager_distro: rhel90
repo_edition: enterprise
large_distro_name: rhel93-arm64-large
compile_variant: enterprise-rhel-93-arm64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- rhel93-arm64-large
- name: run_unit_tests_TG
distros:
- rhel93-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-small
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- rhel93-arm64-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- rhel93-arm64-large

View File

@ -1,750 +0,0 @@
# Build variant definitions for vanilla sanitizers
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_params # Essential set of compile parameters used for Linux dev variants.
run_on:
- rhel8.8-xlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: generate_buildid_to_debug_symbols_mapping
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_expansions # The most commonly used compile expansions.
has_packages: false
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_name linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_generic_expansions
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
repo_edition: enterprise
large_distro_name: rhel8.8-medium
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: *linux_x86_dynamic_compile_variant_name
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel-8-64-bit-dynamic-expansions
<<: *linux_x86_generic_expansions
has_packages: false
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
large_distro_name: rhel8.8-medium
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_debug_community_compile_expansions
<<: *generic_linux_compile_expansions
bazel_compile_flags: >-
--dbg=True
--opt=on
--linkstatic=False
--build_otel=True
--build_enterprise=False
- &linux_x86_dynamic_debug_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &linux_x86_dynamic_debug_compile_variant_name linux-x86-dynamic-debug-compile-required
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: linux-x86-dynamic-debug-compile-required
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_debug_aubsan_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &linux_debug_aubsan_compile_variant_name linux-debug-aubsan-compile-required
- name: archive_jstestshell
variant: *linux_debug_aubsan_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: linux-debug-aubsan-compile-required
# If you add anything to san_options, make sure the appropriate changes are
# also made in bazel.
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- aubsan_options: &aubsan_options >-
UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- ubsan_options: &ubsan_options UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &aubsan-lite-required-expansions
compile_variant: *linux_debug_aubsan_compile_variant_name
lang_environment: LANG=C
san_options: *aubsan_options
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under {A,UB}SAN build.
hang_analyzer_dump_core: false
max_sub_suites: 3
large_distro_name: rhel8.8-xlarge
xlarge_distro_name: rhel8.8-xxlarge
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel8-debug-tsan-compile-dependency
depends_on:
- name: archive_dist_test
variant: &enterprise-rhel8-debug-tsan-compile enterprise-rhel8-debug-tsan-compile
- name: archive_jstestshell
variant: *enterprise-rhel8-debug-tsan-compile
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel8-debug-tsan-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
lang_environment: LANG=C
toolchain_version: stable
compile_variant: *enterprise-rhel8-debug-tsan-compile
# If you add anything to san_options, make sure the appropriate
# changes are also made in bazel.
#
# TODO SERVER-49121: die_after_fork=0 is a temporary setting to
# allow tests to continue while we figure out why we're running
# afoul of it.
#
# TODO SERVER-65936: report_thread_leaks=0 suppresses reporting
# thread leaks, which we have because we don't do a clean shutdown
# of the ServiceContext.
#
san_options: TSAN_OPTIONS="abort_on_error=1:disable_coredump=0:handle_abort=1:halt_on_error=1:report_thread_leaks=0:die_after_fork=0:history_size=4:suppressions=etc/tsan.suppressions:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
build_mongot: true
download_mongot_release: true
bazel_compile_flags: >-
--config=dbg_tsan
--opt=on
--fission=no
# Avoid starting too many mongod's under TSAN build.
resmoke_jobs_factor: 0.3
large_distro_name: &enterprise-rhel8-debug-tsan-large-distro-name rhel8.8-xlarge
xlarge_distro_name: rhel8.8-xxlarge
core_analyzer_distro_name: rhel8.8-xxlarge
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
buildvariants:
- <<: *generic_linux_compile_params
name: &linux-x86-dynamic-debug-compile-required linux-x86-dynamic-debug-compile-required # TODO: replace with Sanitizer.
display_name: "! Linux x86 Shared Library DEBUG Compile"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
stepback: false
expansions:
<<: *linux_debug_community_compile_expansions
compile_variant: *linux-x86-dynamic-debug-compile-required
build_mongot: true
download_mongot_release: true
evergreen_remote_exec: on
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: .clang_tidy
distros:
- rhel8.8-xxlarge
- name: .development_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.stitch !.crypt
- name: .development_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt
distros:
- rhel8.8-xlarge
- name: .release_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.stitch !.crypt
- name: .release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.stitch !.crypt
distros:
- rhel8.8-xlarge
- <<: *generic_linux_compile_params
name: &linux-debug-aubsan-compile-required linux-debug-aubsan-compile-required
display_name: "! Linux x86 Shared Library {A,UB}SAN Enterprise Compile"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
expansions:
<<: *generic_linux_compile_expansions
san_options: *aubsan_options
bazel_compile_flags: >-
--config=dbg_aubsan
--opt=on
--fission=no
build_mongot: true
download_mongot_release: true
evergreen_remote_exec: on
compile_variant: *linux-debug-aubsan-compile-required
test_flags: >-
--excludeWithAnyTags=incompatible_aubsan
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: compile_integration_and_test_parallel_stream_TG
- name: compile_jstestshell_TG
- name: .development_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_aubsan
- name: .development_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_aubsan
distros:
- rhel8.8-xlarge
- name: .release_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_aubsan
- name: .release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_aubsan
distros:
- rhel8.8-xlarge
- name: .default .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_aubsan
- name: .default .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_aubsan
distros:
- rhel8.8-xlarge
- <<: *linux_x86_dynamic_debug_compile_variant_dependency
name: linux-64-debug-required
display_name: "! Linux x86 Shared Library DEBUG"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-medium
expansions:
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
test_flags: >-
--excludeWithAnyTags=requires_http_client
--enableEnterpriseTests=off
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
target_resmoke_time: 15
max_sub_suites: 5
large_distro_name: rhel8.8-medium
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: *linux_x86_dynamic_debug_compile_variant_name
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_community !.requires_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_community !.requires_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- rhel8.8-medium
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_community !.requires_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_community !.requires_all_feature_flags !.suggested_excluding_required__for_devprod_mitigation_only
distros:
- rhel8.8-medium
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-lite-required
display_name: "! Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG"
tags: ["required"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--excludeWithAnyTags=incompatible_aubsan
tasks:
- name: jsCore_in_parts_gen
- name: jsCore_txns
- name: jsCore_wildcard_indexes_gen
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan
display_name: "* Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG"
tags:
[
"suggested",
"forbid_tasks_tagged_with_experimental",
"emergency_release",
]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
test_flags: --excludeWithAnyTags=requires_increased_memlock_limits,incompatible_aubsan
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-xlarge
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-xlarge
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-xlarge
- name: .non_deterministic !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .non_deterministic .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-xlarge
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-roll-back-incremental-feature-flags
display_name: "Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG (roll back incremental feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This variant runs infrequently to reduce its cost.
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_aubsan
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-large
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-large
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-large
- name: .non_deterministic !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .non_deterministic .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- rhel8.8-large
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-experimental
display_name: "* Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG Experimental"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
test_flags: >-
--excludeWithAnyTags=requires_increased_memlock_limits
--excludeWithAnyTags=incompatible_aubsan
tasks:
- name: .multiversion_fuzzer
- name: .multiversion_passthrough
- name: .random_multiversion_ds
- name: .watchdog
- name: rhel8-asan
display_name: ~ ASAN RHEL 8
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
stepback: true
expansions:
lang_environment: LANG=C
san_options: *aubsan_options
bazel_compile_flags: >-
--opt=on
--allocator=system
--asan=True
--compiler_type=clang
--linkstatic=False
--build_enterprise=False
--separate_debug=False
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under ASAN build.
hang_analyzer_dump_core: false
test_flags: >-
--excludeWithAnyTags=requires_fast_memory,corrupts_data
--enableEnterpriseTests=off
compile_variant: rhel8-asan
tasks:
- name: compile_test_serial_TG
- name: run_unit_tests_TG
- name: .aggfuzzer .common !.feature_flag_guarded !.incompatible_system_allocator
- name: .jstestfuzz !.initsync !.feature_flag_guarded !.incompatible_system_allocator
- name: generate_buildid_to_debug_symbols_mapping
- name: &rhel8-debug-aubsan-lite_fuzzer rhel8-debug-aubsan-lite_fuzzer
display_name: "{A,UB}SAN Enterprise RHEL 8 FUZZER"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-xlarge
stepback: false
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
lang_environment: LANG=C
toolchain_version: stable
# If you add anything to san_options, make sure the appropriate changes are
# also made in bazel
san_options: *aubsan_options
bazel_compile_flags: >-
--config=dbg_aubsan
--opt=on
--fission=no
--fsan=True
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
--excludeWithAnyTags=corrupts_data
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under {A,UB}SAN build.
hang_analyzer_dump_core: false
compile_variant: *rhel8-debug-aubsan-lite_fuzzer
display_tasks:
- name: libfuzzertests!
execution_tasks:
- compile_and_archive_libfuzzertests
- fetch_and_run_libfuzzertests
tasks:
- name: compile_archive_and_run_libfuzzertests_TG
- name: enterprise-rhel8-debug-tsan-compile
display_name: "* TSAN Enterprise RHEL 8 DEBUG Compile"
tags:
[
"suggested",
"forbid_tasks_tagged_with_experimental",
"emergency_release",
]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
stepback: false
expansions:
<<: *enterprise-rhel8-debug-tsan-expansions-template
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: compile_integration_and_test_parallel_stream_TG
- name: compile_jstestshell_TG
- name: .development_critical .requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan
- name: .development_critical .requires_compile_variant .requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan
distros:
- rhel8.8-xlarge
- name: .release_critical .requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan
- name: .release_critical .requires_compile_variant .requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan
distros:
- rhel8.8-xlarge
- name: .default .requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan
- name: .default .requires_compile_variant .requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan
distros:
- rhel8.8-xlarge
- name: enterprise-rhel8-debug-tsan-required
display_name: "! TSAN Enterprise RHEL 8 DEBUG Essential"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-large
stepback: false
expansions:
<<: *enterprise-rhel8-debug-tsan-expansions-template
evergreen_remote_exec: on
test_flags: >-
--excludeWithAnyTags=tsan_incompatible
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: compile_jstestshell_TG
- name: .development_critical !.requires_large_host !.requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .development_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- <<: *enterprise-rhel8-debug-tsan-compile-dependency
name: enterprise-rhel8-debug-tsan
display_name: "* TSAN Enterprise RHEL 8 DEBUG"
tags:
[
"suggested",
"forbid_tasks_tagged_with_experimental",
"emergency_release",
]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day.
run_on:
- rhel8.8-large
stepback: false
expansions:
<<: *enterprise-rhel8-debug-tsan-expansions-template
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true, receiveChunkWaitForRangeDeleterTimeoutMS: 180000}"
--excludeWithAnyTags=tsan_incompatible
tasks:
- name: .mongot_e2e_tests !.requires_large_host
- name: .mongot_e2e_tests .requires_large_host
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .development_critical !.requires_large_host !.requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .development_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .release_critical !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .release_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .default !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .default .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .non_deterministic !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .non_deterministic .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .non_deterministic .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- <<: *enterprise-rhel8-debug-tsan-compile-dependency
name: enterprise-rhel8-debug-tsan-roll-back-incremental-feature-flags
display_name: "TSAN Enterprise RHEL 8 DEBUG (roll back incremental feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This variant runs infrequently to reduce its cost.
run_on:
- rhel8.8-large
stepback: false
expansions:
<<: *enterprise-rhel8-debug-tsan-expansions-template
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true, receiveChunkWaitForRangeDeleterTimeoutMS: 180000}"
--excludeWithAnyTags=tsan_incompatible
--disableUnreleasedIFRFlags
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .development_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .release_critical !.requires_large_host .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .release_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .default !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .default .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .non_deterministic !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
- name: .non_deterministic .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .non_deterministic .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-classic-engine
display_name: "* {A,UB}SAN Enterprise RHEL 8 DEBUG (Classic Engine)"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
test_flags: >-
--mongodSetParameters="{internalQueryFrameworkControl: forceClassicEngine, internalQueryEnableAggressiveSpillsInGroup: true}"
--excludeWithAnyTags=requires_increased_memlock_limits,featureFlagSbeFull,incompatible_aubsan
tasks:
- name: .aggregation !.sbe_only
- name: .auth
- name: audit
- name: .causally_consistent !.wo_snapshot
- name: .change_streams
# - name: disk_wiredtiger
- name: .misc_js
- name: .concurrency !.no_txns !.kill_terminate !.compute_mode !.feature_flag_guarded
- name: .encrypt
- name: external_auth
- name: external_auth_aws
- name: external_auth_oidc
- name: initial_sync_fuzzer_gen
- name: fcv_upgrade_downgrade_replica_sets_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharding_jscore_passthrough_gen
- name: fcv_upgrade_downgrade_sharded_collections_jscore_passthrough_gen
- name: .jscore .common !.sbe_only
- name: jsCore_min_batch_repeat_queries_multiplan_single_solutions_ese_gsm
- name: jsCore_txns_large_txns_format
- name: json_schema
- name: .multi_shard .common
- name: .query_fuzzer
- name: .read_write_concern
- name: replica_sets_large_txns_format_jscore_passthrough_gen
- name: .replica_sets !.multi_oplog
- name: .replica_sets .encrypt
- name: .resharding_fuzzer
- name: .retry
- name: .rollbackfuzzer
- name: .read_only
- name: sasl
- name: secondary_reads_passthrough_gen
- name: session_jscore_passthrough
- name: .sharding .jscore !.wo_snapshot !.feature_flag_guarded
- name: .sharding .common !.csrs !.jstestfuzz !.feature_flag_guarded
- name: .updatefuzzer
- name: unittest_shell_hang_analyzer_gen
- name: .watchdog
- name: enterprise-rhel-8-64-bit-dynamic-spider-monkey-dbg
display_name: "~ Shared Library Enterprise RHEL 8 SpiderMonkey Debug"
tags: []
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-small
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
# JS_GC_ZEAL modes can be found at https://github.com/mongodb/mongo/blob/r8.0.0-rc9/src/third_party/mozjs/extract/js/src/gc/GC.cpp#L563-L612.
# These modes correspond to a GC policy of generationalGC (mode 7) every 75 allocations, and a
# consistency check of the heap after every GC cycle (mode 15).
mongo_mozjs_options: "7;15,75"
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
--spider_monkey_dbg=True
compile_variant: enterprise-rhel-8-64-bit-dynamic-spider-monkey-dbg
exec_timeout_secs: 32400 # 9 hour timeout
timeout_secs: 18000 # 5 hour idle timeout
test_flags: >-
--includeWithAnyTags=requires_scripting
depends_on: []
tasks:
- name: compile_test_parallel_core_stream_TG
distros:
- rhel8.8-xlarge
- name: aggregation
- name: aggregation_mongos_passthrough
distros:
- rhel8.8-large
- name: auth_gen
- name: concurrency_simultaneous_gen
- name: jsCore
distros:
- rhel8.8-large
- name: noPassthrough_gen
- name: sharding_gen
- name: &rhel8-debug-ubsan-roll-back-incremental-feature-flags rhel8-debug-ubsan-roll-back-incremental-feature-flags
display_name: "Shared Library UBSAN Enterprise RHEL 8 DEBUG (roll back incremental feature flags)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This variant runs infrequently to reduce its cost.
run_on:
- rhel8.8-large
stepback: false
expansions:
toolchain_version: stable
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
lang_environment: LANG=C
san_options: *ubsan_options
bazel_compile_flags: >-
--dbg=True
--opt=on
--ubsan=True
--compiler_type=clang
--allocator=tcmalloc-gperf
--separate_debug=False
compile_variant: *rhel8-debug-ubsan-roll-back-incremental-feature-flags
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--excludeWithAnyTags=requires_increased_memlock_limits,all_feature_flags_incompatible
--disableUnreleasedIFRFlags
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under UBSAN build.
large_distro_name: rhel8.8-large
tasks:
- name: compile_and_archive_dist_test_TG
- name: .concurrency !.no_txns !.kill_terminate

View File

@ -1,697 +0,0 @@
# Instrumented build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_expansions # The most commonly used compile expansions.
has_packages: false
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_debug_aubsan_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &linux_debug_aubsan_compile_variant_name linux-debug-aubsan-compile-required
- name: archive_jstestshell
variant: *linux_debug_aubsan_compile_variant_name
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: linux-debug-aubsan-compile-required
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_dynamic_compile_variant_name linux-x86-dynamic-compile
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_and_lts_branches_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_x86_generic_expansions
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
repo_edition: enterprise
large_distro_name: rhel8.8-medium
core_analyzer_distro_name: rhel8.8-xlarge
compile_variant: *linux_x86_dynamic_compile_variant_name
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel-8-64-bit-dynamic-expansions
<<: *linux_x86_generic_expansions
has_packages: false
jstestfuzz_num_generated_files: 40
jstestfuzz_concurrent_num_files: 10
target_resmoke_time: 10
max_sub_suites: 5
idle_timeout_factor: 1.5
exec_timeout_factor: 1.5
large_distro_name: rhel8.8-medium
# If you add anything to san_options, make sure the appropriate changes are
# also made in bazel.
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- aubsan_options: &aubsan_options >-
UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1"
ASAN_OPTIONS="detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
# https://github.com/grpc/grpc/issues/21537 -- have to disable checking odr violations on gRPC if it is not in native Bazel build.
- grpc_aubsan_options: &grpc_aubsan_options >-
UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
LSAN_OPTIONS="suppressions=etc/lsan.suppressions:report_objects=1"
ASAN_OPTIONS="detect_odr_violation=0:detect_leaks=1:check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:strict_string_checks=true:detect_invalid_pointer_pairs=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- ubsan_options: &ubsan_options UBSAN_OPTIONS="print_stacktrace=1:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &aubsan-lite-required-expansions
compile_variant: *linux_debug_aubsan_compile_variant_name
lang_environment: LANG=C
san_options: *aubsan_options
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under {A,UB}SAN build.
hang_analyzer_dump_core: false
max_sub_suites: 3
large_distro_name: rhel8.8-xlarge
xlarge_distro_name: rhel8.8-xxlarge
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel8-debug-tsan-compile-dependency
depends_on:
- name: archive_dist_test
variant: &enterprise-rhel8-debug-tsan-compile enterprise-rhel8-debug-tsan-compile
- name: archive_jstestshell
variant: *enterprise-rhel8-debug-tsan-compile
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &enterprise-rhel8-debug-tsan-expansions-template
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
lang_environment: LANG=C
toolchain_version: stable
compile_variant: *enterprise-rhel8-debug-tsan-compile
# If you add anything to san_options, make sure the appropriate
# changes are also made in bazel.
#
# TODO SERVER-49121: die_after_fork=0 is a temporary setting to
# allow tests to continue while we figure out why we're running
# afoul of it.
#
# TODO SERVER-65936: report_thread_leaks=0 suppresses reporting
# thread leaks, which we have because we don't do a clean shutdown
# of the ServiceContext.
#
san_options: TSAN_OPTIONS="abort_on_error=1:disable_coredump=0:handle_abort=1:halt_on_error=1:report_thread_leaks=0:die_after_fork=0:history_size=4:suppressions=etc/tsan.suppressions:external_symbolizer_path=/opt/mongodbtoolchain/v5/bin/llvm-symbolizer"
build_mongot: true
download_mongot_release: true
bazel_compile_flags: >-
--config=dbg_tsan
--opt=on
--fission=no
# Avoid starting too many mongod's under TSAN build.
resmoke_jobs_factor: 0.3
large_distro_name: &enterprise-rhel8-debug-tsan-large-distro-name rhel8.8-xlarge
xlarge_distro_name: rhel8.8-xxlarge
core_analyzer_distro_name: rhel8.8-xxlarge
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
buildvariants:
###########################################
# Redhat buildvariants #
###########################################
- name: &enterprise-rhel-8-64-bit-dynamic-debug-mode enterprise-rhel-8-64-bit-dynamic-debug-mode
display_name: "Shared Library Enterprise RHEL 8 Debug Mode"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter
run_on:
- rhel8.8-small
stepback: false
expansions:
<<: *enterprise-rhel-8-64-bit-dynamic-expansions
compile_variant: *enterprise-rhel-8-64-bit-dynamic-debug-mode
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
--excludeWithAnyTags=incompatible_slow_machine
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--linkstatic=False
--use_glibcxx_debug=True
--dbg=True
--allocator=system
exec_timeout_secs: 32400 # 9 hour timeout
timeout_secs: 18000 # 5 hour idle timeout
large_distro_name: &enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name rhel8.8-xlarge
build_mongot: true
download_mongot_release: false
depends_on: []
tasks:
- name: compile_test_parallel_core_stream_TG
distros:
- rhel8.8-xlarge
- name: run_unit_tests_TG
distros:
- rhel8.8-xlarge
- name: compile_test_parallel_dbtest_stream_TG
distros:
- rhel8.8-xlarge
- name: compile_integration_and_test_parallel_stream_TG
distros:
- rhel8.8-large
- name: crypt_build_debug_and_test
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .development_critical !.requires_large_host !.requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .development_critical .requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .release_critical !.requires_large_host !.requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .release_critical .requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .default !.requires_large_host !.requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
- name: .default .requires_large_host !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .default .requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .non_deterministic !.requires_large_host !.requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
- name: .non_deterministic .requires_large_host !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
- name: .non_deterministic .requires_large_host_debug_mode !.incompatible_development_variant !.incompatible_debug_mode !.incompatible_system_allocator !.requires_all_feature_flags
distros:
- *enterprise-rhel-8-64-bit-dynamic-debug-mode-large-distro-name
###########################################
# Windows buildvariants #
###########################################
- name: &windows-debug-suggested windows-debug-suggested
display_name: "* Windows Server 2022 DEBUG"
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- windows-2022-small
expansions:
exe: ".exe"
content_type: application/zip
bazel_compile_flags: >-
--dbg=True
--opt=on
--define=MONGO_DISTMOD=windows
--build_enterprise=False
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
large_distro_name: windows-2022-large
test_flags: >-
--excludeWithAnyTags=incompatible_with_windows_tls
--enableEnterpriseTests=off
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
compile_variant: *windows-debug-suggested
tasks:
- name: compile_test_serial_TG
distros:
- windows-2022-xxlarge
- name: run_unit_tests_no_sandbox_TG
distros:
- windows-2022-xxlarge
- name: compile_integration_and_test_no_audit_parallel_stream_TG
distros:
- windows-2022-xxlarge
- name: .development_critical !.requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_windows !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_windows !.requires_all_feature_flags
distros:
- windows-2022-large
- name: .release_critical !.requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_windows !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_windows !.requires_all_feature_flags
distros:
- windows-2022-large
- name: &enterprise-windows-debug-unoptimized enterprise-windows-debug-unoptimized
display_name: "Enterprise Windows Server 2022 DEBUG (Unoptimized)"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- windows-2022-small
expansions:
compile_variant: *enterprise-windows-debug-unoptimized
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
exe: ".exe"
content_type: application/zip
bazel_compile_flags: >-
--dbg=True
--opt=off
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
resmoke_jobs_max: 1
test_flags: >-
--excludeWithAnyTags=incompatible_with_windows_tls
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks:
# 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_and_archive_dist_test_TG
distros:
- windows-2022-xxlarge
- name: audit
# Do not add more tasks to this list.
###########################################
# macos buildvariants #
###########################################
- name: &macos-debug-suggested macos-debug-suggested
display_name: "* macOS arm64 DEBUG"
tags: ["suggested", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- macos-14-arm64
expansions:
compile_variant: *macos-debug-suggested
test_flags: >-
--excludeWithAnyTags=incompatible_with_macos
--enableEnterpriseTests=off
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
resmoke_jobs_max: 6
bazel_compile_flags: >-
--dbg=True
--opt=on
--build_enterprise=False
tasks:
- name: compile_test_serial_TG
- name: run_unit_tests_TG
- name: .development_critical !.requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_mac !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_mac !.requires_all_feature_flags
distros:
- macos-14-arm64
- name: .release_critical !.requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_mac !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.incompatible_development_variant !.incompatible_community !.incompatible_mac !.requires_all_feature_flags
distros:
- macos-14-arm64
- name: &enterprise-macos enterprise-macos
display_name: "Enterprise macOS arm64 DEBUG"
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- macos-14-arm64
expansions:
compile_variant: *enterprise-macos
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
--excludeWithAnyTags=incompatible_with_macos,requires_gcm
bazel_compile_flags: >-
--dbg=True
--opt=on
resmoke_jobs_max: 6
tasks:
- name: compile_test_serial_TG
- name: run_unit_tests_TG
- name: audit
- name: auth_audit_gen
- name: fle
- name: fle2
- name: .jscore .common !.decimal !.sharding
- name: replica_sets_auth_gen
- name: sasl
- name: .crypt
###########################################
# Experimental buildvariants #
###########################################
- name: &rhel8-debug-ubsan-all-feature-flags rhel8-debug-ubsan-all-feature-flags
display_name: "* Shared Library UBSAN Enterprise RHEL 8 DEBUG (all feature flags)"
tags: ["suggested", "emergency_release"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
stepback: false
expansions:
toolchain_version: stable
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
lang_environment: LANG=C
san_options: *ubsan_options
bazel_compile_flags: >-
--dbg=True
--opt=on
--ubsan=True
--compiler_type=clang
--allocator=tcmalloc-gperf
--separate_debug=False
compile_variant: *rhel8-debug-ubsan-all-feature-flags
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--excludeWithAnyTags=requires_increased_memlock_limits,all_feature_flags_incompatible
--runAllFeatureFlagTests
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under UBSAN build.
large_distro_name: rhel8.8-large
tasks:
- name: compile_and_archive_dist_test_TG
- name: .concurrency !.no_txns !.kill_terminate
- name: disk_wiredtiger
- name: generate_buildid_to_debug_symbols_mapping
- name: rhel8-debug-ubsan-all-non-rollback-feature-flags
display_name: "Shared Library UBSAN Enterprise RHEL 8 DEBUG (all non-rollback feature flags)"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This variant runs infrequently to reduce its cost.
run_on:
- rhel8.8-large
stepback: false
expansions:
san_options: *ubsan_options
compile_variant: *rhel8-debug-ubsan-all-feature-flags
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--excludeWithAnyTags=requires_increased_memlock_limits,all_feature_flags_incompatible
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
multiversion_platform: rhel80
multiversion_platform_50_or_later: rhel8
multiversion_edition: enterprise
resmoke_jobs_factor: 0.3 # Avoid starting too many mongod's under UBSAN build.
large_distro_name: rhel8.8-large
depends_on:
- name: archive_dist_test
variant: *rhel8-debug-ubsan-all-feature-flags
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
tasks:
- name: .concurrency !.no_txns !.kill_terminate
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-all-feature-flags
display_name: "* Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG (all feature flags)"
tags:
[
"suggested",
"forbid_tasks_tagged_with_experimental",
"emergency_release",
]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--runAllFeatureFlagTests
--excludeWithAnyTags=incompatible_aubsan
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks: &rhel8-debug-aubsan-task-list
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- rhel8.8-xlarge
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- rhel8.8-xlarge
- name: .default !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- rhel8.8-xlarge
- name: .non_deterministic !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .non_deterministic .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_aubsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- rhel8.8-xlarge
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-experimental-all-feature-flags
display_name: "* Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG Experimental (all feature flags)"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--runAllFeatureFlagTests
--excludeWithAnyTags=incompatible_aubsan
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks:
- name: .multiversion_fuzzer
- name: .multiversion_passthrough
- name: .random_multiversion_ds
- name: .watchdog
- name: .serverless !.change_stream_fuzzer
distros:
- rhel8.8-xlarge
- <<: *linux_debug_aubsan_compile_variant_dependency
name: rhel8-debug-aubsan-non-rollback-feature-flags
display_name: "Shared Library {A,UB}SAN Enterprise RHEL 8 DEBUG (all non-rollback feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This variant runs infrequently to reduce its cost.
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
--excludeWithAnyTags=incompatible_aubsan
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
tasks: *rhel8-debug-aubsan-task-list
- name: &rhel8-debug-aubsan-benchmarks rhel8-debug-aubsan-benchmarks
display_name: "* {A,UB}SAN Enterprise RHEL 8 DEBUG (Benchmarks)"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
expansions:
<<: *generic_linux_compile_expansions
san_options: *aubsan_options
bazel_compile_flags: >-
--config=dbg_aubsan
--opt=on
--fission=no
test_flags: >-
--benchmarkRepetitions=1
--excludeWithAnyTags=incompatible_aubsan
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
compile_variant: *rhel8-debug-aubsan-benchmarks
tasks:
- name: compile_upload_benchmarks_TG
distros:
- rhel8.8-xlarge
- name: .benchmarks
- <<: *enterprise-rhel8-debug-tsan-compile-dependency
name: enterprise-rhel8-debug-tsan-all-feature-flags
display_name: "* TSAN Enterprise RHEL 8 DEBUG (all feature flags)"
tags:
[
"suggested",
"forbid_tasks_tagged_with_experimental",
"emergency_release",
]
cron: "0 4 1-31/2 * *" # For cost reasons, we run this variant every other day.
run_on:
- rhel8.8-large
stepback: false
expansions:
<<: *enterprise-rhel8-debug-tsan-expansions-template
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true, receiveChunkWaitForRangeDeleterTimeoutMS: 180000}"
--excludeWithAnyTags=tsan_incompatible
--runAllFeatureFlagTests
tasks: &enterprise-rhel8-debug-tsan-task-list
- name: .development_critical !.requires_large_host !.requires_compile_variant !.requires_large_host_tsan !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .development_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .release_critical !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .release_critical .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .default !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .default .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .default .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .non_deterministic !.requires_large_host !.requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
- name: .non_deterministic .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- name: .non_deterministic .requires_large_host_tsan !.requires_compile_variant !.incompatible_development_variant !.incompatible_tsan !.incompatible_system_allocator !.incompatible_all_feature_flags
distros:
- *enterprise-rhel8-debug-tsan-large-distro-name
- <<: *enterprise-rhel8-debug-tsan-compile-dependency
name: enterprise-rhel8-debug-tsan-all-non-rollback-feature-flags
display_name: "TSAN Enterprise RHEL 8 DEBUG (all non-rollback feature flags)"
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This variant runs infrequently to reduce its cost.
run_on:
- rhel8.8-large
stepback: false
expansions:
<<: *enterprise-rhel8-debug-tsan-expansions-template
test_flags: >-
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true, receiveChunkWaitForRangeDeleterTimeoutMS: 180000}"
--excludeWithAnyTags=tsan_incompatible
--runAllFeatureFlagTests --disableUnreleasedIFRFlags
tasks: *enterprise-rhel8-debug-tsan-task-list
- name: &enterprise-rhel8-unoptimized-64-bit enterprise-rhel8-unoptimized-64-bit
display_name: "~ Enterprise RHEL 8 DEBUG (Unoptimized)"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
expansions:
bazel_compile_flags: >-
--define=MONGO_DISTMOD=rhel88
--dbg=True
--opt=off
--detect_odr_violations=True
--linker=gold
--linkstatic=False
compile_variant: *enterprise-rhel8-unoptimized-64-bit
tasks:
- name: compile_test_parallel_core_stream_TG
distros:
- rhel8.8-large
- name: run_unit_tests_TG
distros:
- rhel8.8-large
- name: compile_test_parallel_dbtest_stream_TG
distros:
- rhel8.8-large
- name: generate_buildid_to_debug_symbols_mapping
distros:
- rhel8.8-large
- name: &linux-debug-aubsan-compile-grpc linux-debug-aubsan-compile-grpc
display_name: "~ Linux x86 Shared Library {A,UB}SAN Enterprise Compile with Ingress GRPC"
tags: ["experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- rhel8.8-large
expansions:
<<: *aubsan-lite-required-expansions
has_packages: false
san_options: *grpc_aubsan_options
bazel_compile_flags: >-
--config=dbg_aubsan
--opt=on
--fission=no
--use_ocsp_stapling=False
compile_variant: *linux-debug-aubsan-compile-grpc
large_distro_name: rhel80-xlarge
test_flags: >-
--additionalFeatureFlags "featureFlagGRPC"
--excludeWithAnyTags=requires_external_data_source,requires_mongobridge,requires_auth,grpc_incompatible,creates_and_authenticates_user
--tlsMode preferTLS
--tlsCAFile jstests/libs/ca.pem
--shellTls
--shellTlsCertificateKeyFile jstests/libs/client.pem
--mongosTlsCertificateKeyFile jstests/libs/server.pem
--mongodTlsCertificateKeyFile jstests/libs/server.pem
--shellGRPC
tasks:
- name: run_unit_tests_TG
- name: compile_test_parallel_core_stream_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: generate_buildid_to_debug_symbols_mapping
# sharding_uninitialized_fcv_jscore_passthrough_gen spawns too many connections
# and processes to be used with TLS on a single host.
# aggregation_sharded_collections_causally_consistent_passthrough,
# aggregation_sharded_collections_passthrough, and
# sharding_jscore_passthrough_with_balancer_gen are too resource intensive with TLS and
# gRPC to run under the sanitizer.
- name: .jscore .common !sharding_uninitialized_fcv_jscore_passthrough_gen !sharding_jscore_passthrough_with_balancer_gen !.auth !.txns
- name: sharded_jscore_txns
- name: .aggregation !.auth !aggregation_read_concern_majority_passthrough !aggregation_secondary_reads_gen !aggregation_sharded_collections_causally_consistent_passthrough !aggregation_sharded_collections_passthrough
- name: .grpc_misc_js

View File

@ -1,102 +0,0 @@
# SUSE/SLES build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: enterprise-suse15-64
display_name: Enterprise SLES 15 (SP5)
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- suse15sp5-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-suse15
bazel_compile_flags: >-
--define=MONGO_DISTMOD=suse15
--build_otel=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source,requires_increased_memlock_limits,requires_ldap_pool,resource_intensive
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: suse15
repo_edition: enterprise
compile_variant: enterprise-suse15-64
core_analyzer_distro_name: suse15sp5-large
core_analyzer_gdb_index_cache: off
tasks:
- name: compile_test_and_package_serial_TG
distros:
- suse15sp5-large
- name: run_unit_tests_TG
distros:
- suse15sp5-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- suse15sp5-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- suse15sp5-large
- name: suse15
display_name: SUSE 15 (SP5)
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- suse15sp5-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-suse15
bazel_compile_flags: >-
--define=MONGO_DISTMOD=suse15
--build_otel=False
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_increased_memlock_limits
--enableEnterpriseTests=off
multiversion_platform: suse15
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: suse15
repo_edition: org
large_distro_name: suse15sp5-large
compile_variant: suse15
core_analyzer_gdb_index_cache: off
tasks:
- name: compile_test_and_package_serial_TG
distros:
- suse15sp5-large
- name: run_unit_tests_TG
distros:
- suse15sp5-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- suse15sp5-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- suse15sp5-large

View File

@ -1,63 +0,0 @@
# Ubuntu build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: &ubuntu2204-x86-64-bazel-compile ubuntu2204-x86-64-bazel-compile
display_name: "Ubuntu 22.04 x86_64 Enterprise Bazel Compile"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-large
stepback: false
expansions:
compile_variant: *ubuntu2204-x86-64-bazel-compile
tasks:
- name: compile_bazel_TG
- name: run_bazel_TG
- name: &workstation_bazel_cache_hydration_arm64 workstation_bazel_cache_hydration_arm64
display_name: "~ Workstation Bazel Cache Hydration arm64"
tags: ["bazel_cache_hydration"]
cron: "0 * * * *" # Every hour
run_on:
- ubuntu2204-arm64-large
stepback: false
expansions:
compile_variant: *workstation_bazel_cache_hydration_arm64
evergreen_remote_exec: on
tasks:
- name: hydrate_bazel_profile_TG
- name: .clang_tidy
- name: &workstation_bazel_cache_hydration_x86_64 workstation_bazel_cache_hydration_x86_64
display_name: "~ Workstation Bazel Cache Hydration x86_64"
tags: ["bazel_cache_hydration"]
cron: "30 * * * *" # Every hour, 30 min offset
run_on:
- ubuntu2204-large
stepback: false
expansions:
compile_variant: *workstation_bazel_cache_hydration_x86_64
evergreen_remote_exec: on
tasks:
- name: hydrate_bazel_profile_TG
- name: .clang_tidy
- name: &upload_source_graph_index upload_source_graph_index
display_name: "~ Upload Source Graph Index"
tags: ["source_graph_indexing"]
# This is currently disabled since our demo license expired
activate: false
# cron: "30 * * * *" # Every hour, 30 min offset
# SourceGraph's indexer requires a lot of CPU to execute in a reasonable amount of time
run_on:
- rhel93-xxlarge
stepback: false
expansions:
compile_variant: *upload_source_graph_index
evergreen_remote_exec: on
tasks:
- name: build_source_graph_index_TG

View File

@ -1,664 +0,0 @@
# Ubuntu build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- &ubuntu2204-template
name: &ubuntu2204 ubuntu2204
display_name: Ubuntu 22.04
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-ubuntu2204
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2204
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_increased_memlock_limits
--enableEnterpriseTests=off
multiversion_platform: ubuntu2204
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: ubuntu2204
repo_edition: org
large_distro_name: ubuntu2204-large
compile_variant: ubuntu2204
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2204-large
- name: run_unit_tests_TG
distros:
- ubuntu2204-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2204-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2204-large
- <<: *ubuntu2204-template
name: ubuntu2204-powercycle
display_name: Ubuntu 22.04 Powercycle
tags: []
depends_on:
- name: archive_dist_test
variant: *ubuntu2204
tasks:
- name: .powercycle
- &ubuntu2404-template
name: &ubuntu2404 ubuntu2404
display_name: Ubuntu 24.04
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2404-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-ubuntu2404
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2404
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_increased_memlock_limits,requires_updated_oscrypto
--enableEnterpriseTests=off
multiversion_platform: ubuntu2404
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: ubuntu2404
repo_edition: org
large_distro_name: ubuntu2404-large
compile_variant: ubuntu2404
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2404-large
- name: run_unit_tests_TG
distros:
- ubuntu2204-large
- name: test_packages
distros:
- ubuntu2404-large
- name: .development_critical !.requires_large_host !.incompatible_community !.incompatible_oscrypto
- name: .development_critical .requires_large_host !.incompatible_community !.incompatible_oscrypto
distros:
- ubuntu2404-large
- name: .release_critical !.requires_large_host !.incompatible_community !.incompatible_oscrypto
- name: .release_critical .requires_large_host !.incompatible_community !.incompatible_oscrypto
distros:
- ubuntu2404-large
- <<: *ubuntu2404-template
name: ubuntu2404-powercycle
display_name: Ubuntu 24.04 Powercycle
tags: []
depends_on:
- name: archive_dist_test
variant: *ubuntu2404
tasks:
- name: .powercycle
- name: ubuntu2004
display_name: Ubuntu 20.04
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2004-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: x86_64-ubuntu2004
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2004
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source
--enableEnterpriseTests=off
multiversion_platform: ubuntu2004
multiversion_edition: targeted
has_packages: true
packager_script: packager.py
packager_arch: x86_64
packager_distro: ubuntu2004
repo_edition: org
large_distro_name: ubuntu2004-large
compile_variant: ubuntu2004
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2004-large
- name: run_unit_tests_TG
distros:
- ubuntu2004-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2004-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2004-large
- &enterprise-ubuntu2004-64-template
name: &enterprise-ubuntu2004-64 enterprise-ubuntu2004-64
display_name: Enterprise Ubuntu 20.04
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2004-small
stepback: false
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-ubuntu2004
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2004
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
multiversion_platform: ubuntu2004
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: ubuntu2004
repo_edition: enterprise
large_distro_name: ubuntu2004-large
compile_variant: enterprise-ubuntu2004-64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2004-large
- name: run_unit_tests_TG
distros:
- ubuntu2004-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- ubuntu2004-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- ubuntu2004-large
# This variant is owned by the security team and is special
# because these tests require headless support to run
- <<: *enterprise-ubuntu2004-64-template
name: enterprise-ubuntu2004-64-security
display_name: Enterprise Ubuntu 20.04 Security
tags: []
depends_on:
- name: archive_dist_test
variant: *enterprise-ubuntu2004-64
tasks:
- name: external_auth_oidc
- name: external_auth_oidc_azure
- name: external_auth_oidc_gcp
- name: enterprise-ubuntu2204-64
display_name: Enterprise Ubuntu 22.04
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-small
stepback: false
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-ubuntu2204
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2204
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
multiversion_platform: ubuntu2204
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: ubuntu2204
repo_edition: enterprise
large_distro_name: ubuntu2204-large
compile_variant: enterprise-ubuntu2204-64
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2204-large
- name: run_unit_tests_TG
distros:
- ubuntu2204-large
- name: test_packages
distros:
- ubuntu2204-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- ubuntu2204-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- ubuntu2204-large
- name: enterprise-ubuntu2204-jepsen-plain
display_name: Jepsen Tests
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-small
# TODO SERVER-102932 remove --allocator=tcmalloc-gperf
expansions:
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2204
--allocator=tcmalloc-gperf
--disable_streams=True
compile_all_but_not_unittests_flags: >-
--linkopt=-s
large_distro_name: ubuntu2204-large
compile_variant: enterprise-ubuntu2204-jepsen-plain
tasks:
- name: compile_and_archive_dist_test_TG
distros:
- ubuntu2204-large
- name: .jepsen
distros:
- ubuntu2204-large
- name: enterprise-ubuntu2204-jepsen
display_name: Jepsen Docker Tests
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-small
stepback: false
expansions:
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2204
large_distro_name: ubuntu2204-large
compile_variant: enterprise-ubuntu2204-64
tasks:
- name: compile_and_archive_dist_test_TG
distros:
- ubuntu2204-large
- name: .jepsen_docker
distros:
- ubuntu2204-large
- name: enterprise-ubuntu2004-arm64
display_name: Enterprise Ubuntu 20.04 arm64
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2004-arm64
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-ubuntu2004
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2004
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
resmoke_jobs_max: 4 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager_enterprise.py
packager_arch: arm64
packager_distro: ubuntu2004
repo_edition: enterprise
multiversion_platform: ubuntu2004
multiversion_architecture: aarch64
multiversion_edition: enterprise
compile_variant: enterprise-ubuntu2004-arm64
large_distro_name: ubuntu2004-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2004-arm64-large
- name: run_unit_tests_TG
distros:
- ubuntu2004-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-small
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- ubuntu2004-arm64-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- ubuntu2004-arm64-large
- name: ubuntu2004-arm64
display_name: Ubuntu 20.04 arm64
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2004-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-ubuntu2004
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2004
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source
--enableEnterpriseTests=off
resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager.py
packager_arch: arm64
packager_distro: ubuntu2004
repo_edition: org
multiversion_platform: ubuntu2004
multiversion_architecture: aarch64
multiversion_edition: targeted
compile_variant: ubuntu2004-arm64
large_distro_name: ubuntu2004-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2004-arm64-large
- name: run_unit_tests_TG
distros:
- ubuntu2004-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-small
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2004-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2004-arm64-large
- name: enterprise-ubuntu2204-arm64
display_name: Enterprise Ubuntu 22.04 arm64
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-arm64-small
expansions:
additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-ubuntu2204
bazel_compile_flags: --define=MONGO_DISTMOD=ubuntu2204
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source
resmoke_jobs_max: 4 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager_enterprise.py
packager_arch: arm64
packager_distro: ubuntu2204
repo_edition: enterprise
multiversion_platform: ubuntu2204
multiversion_architecture: aarch64
multiversion_edition: enterprise
compile_variant: enterprise-ubuntu2204-arm64
large_distro_name: ubuntu2204-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2204-arm64-large
- name: run_unit_tests_TG
distros:
- ubuntu2204-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-large
- name: .development_critical !.requires_large_host
- name: .development_critical .requires_large_host
distros:
- ubuntu2204-arm64-large
- name: .release_critical !.requires_large_host
- name: .release_critical .requires_large_host
distros:
- ubuntu2204-arm64-large
- name: ubuntu2204-arm64
display_name: Ubuntu 22.04 arm64
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2204-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-ubuntu2204
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2204
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source
--enableEnterpriseTests=off
resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager.py
packager_arch: arm64
packager_distro: ubuntu2204
repo_edition: org
multiversion_platform: ubuntu2204
multiversion_architecture: aarch64
multiversion_edition: targeted
compile_variant: ubuntu2204-arm64
large_distro_name: ubuntu2204-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2204-arm64-large
- name: run_unit_tests_TG
distros:
- ubuntu2204-arm64-large
- name: test_packages
distros:
- ubuntu2204-arm64-large
- name: .development_critical !.requires_large_host !.incompatible_community
- name: .development_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2204-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_community
- name: .release_critical .requires_large_host !.incompatible_community
distros:
- ubuntu2204-arm64-large
- name: enterprise-ubuntu2404
display_name: Enterprise Ubuntu 24.04
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2404-small
stepback: false
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: x86_64-enterprise-ubuntu2404
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2404
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: --excludeWithAnyTags=requires_external_data_source,requires_updated_oscrypto
multiversion_platform: ubuntu2404
multiversion_edition: enterprise
has_packages: true
packager_script: packager_enterprise.py
packager_arch: x86_64
packager_distro: ubuntu2404
repo_edition: enterprise
large_distro_name: ubuntu2404-large
compile_variant: enterprise-ubuntu2404
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2404-large
- name: run_unit_tests_TG
distros:
- ubuntu2404-large
- name: test_packages
distros:
- ubuntu2404-large
- name: test_packages_release
distros:
- rhel94-large-packagetest
- name: .development_critical !.requires_large_host !.incompatible_oscrypto
- name: .development_critical .requires_large_host !.incompatible_oscrypto
distros:
- ubuntu2404-large
- name: .release_critical !.requires_large_host !.incompatible_oscrypto
- name: .release_critical .requires_large_host !.incompatible_oscrypto
distros:
- ubuntu2404-large
- name: ubuntu2404-arm64
display_name: Ubuntu 24.04 arm64
tags: ["bazel_check", "forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2404-arm64-small
expansions:
push_path: linux
push_bucket: downloads.mongodb.org
push_name: linux
push_arch: aarch64-ubuntu2404
bazel_compile_flags: >-
--define=MONGO_DISTMOD=ubuntu2404
--build_enterprise=False
compile_all_but_not_unittests_flags: >-
--linkopt=-s
test_flags: >-
--excludeWithAnyTags=requires_external_data_source,requires_updated_oscrypto
--enableEnterpriseTests=off
resmoke_jobs_max: 8 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager.py
packager_arch: arm64
packager_distro: ubuntu2404
repo_edition: org
multiversion_platform: ubuntu2404
multiversion_architecture: aarch64
multiversion_edition: targeted
compile_variant: ubuntu2404-arm64
large_distro_name: ubuntu2404-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2404-arm64-large
- name: run_unit_tests_TG
distros:
- ubuntu2404-arm64-large
- name: test_packages
distros:
- ubuntu2404-arm64-large
- name: .development_critical !.requires_large_host !.incompatible_community !.incompatible_oscrypto
- name: .development_critical .requires_large_host !.incompatible_community !.incompatible_oscrypto
distros:
- ubuntu2404-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_community !.incompatible_oscrypto
- name: .release_critical .requires_large_host !.incompatible_community !.incompatible_oscrypto
distros:
- ubuntu2404-arm64-large
- name: enterprise-ubuntu2404-arm64
display_name: Enterprise Ubuntu 24.04 arm64
tags: ["forbid_tasks_tagged_with_experimental"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- ubuntu2404-arm64-small
expansions:
additional_package_targets: archive-mongocryptd-stripped archive-mongocryptd-debug
push_path: linux
push_bucket: downloads.10gen.com
push_name: linux
push_arch: aarch64-enterprise-ubuntu2404
bazel_compile_flags: --define=MONGO_DISTMOD=ubuntu2404
test_flags: --excludeWithAnyTags=requires_external_data_source,requires_updated_oscrypto
resmoke_jobs_max: 4 # Avoid starting too many mongod's on ARM test servers
has_packages: true
packager_script: packager_enterprise.py
packager_arch: arm64
packager_distro: ubuntu2404
repo_edition: enterprise
multiversion_platform: ubuntu2404
multiversion_architecture: aarch64
multiversion_edition: enterprise
compile_variant: enterprise-ubuntu2404-arm64
large_distro_name: ubuntu2404-arm64-large
tasks:
- name: compile_test_and_package_serial_TG
distros:
- ubuntu2404-arm64-large
- name: run_unit_tests_TG
distros:
- ubuntu2404-arm64-large
- name: test_packages
distros:
- ubuntu2404-arm64-large
- name: test_packages_release
distros:
- rhel94-arm64-large-packagetest
- name: .development_critical !.requires_large_host !.incompatible_oscrypto
- name: .development_critical .requires_large_host !.incompatible_oscrypto
distros:
- ubuntu2404-arm64-large
- name: .release_critical !.requires_large_host !.incompatible_oscrypto
- name: .release_critical .requires_large_host !.incompatible_oscrypto
distros:
- ubuntu2404-arm64-large

View File

@ -1,167 +0,0 @@
# Windows build variants for testing development environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/windows/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/windows/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &windows_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &windows_compile_variant_name windows-compile-required
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: windows-compile-required
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/windows/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/windows/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &windows_expansions
compile_variant: *windows_compile_variant_name
burn_in_tests_build_variant: enterprise-windows-required
exe: ".exe"
content_type: application/zip
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
target_resmoke_time: 20
max_sub_suites: 5
large_distro_name: windows-2022-large
push_path: windows
push_bucket: downloads.10gen.com
push_name: windows
push_arch: x86_64-enterprise
test_flags: --excludeWithAnyTags=incompatible_with_windows_tls
external_auth_jobs_max: 1
buildvariants:
- name: &windows-compile-required windows-compile-required
display_name: "! Windows Server 2022 Enterprise Compile Essential"
tags: ["required", "bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- windows-2022-xxlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
expansions: &windows_compile_expansions
exe: ".exe"
ext: zip
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
//src/mongo/installer/msi:mongodb-win32-x86_64-windows
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
compile_variant: *windows-compile-required
tasks:
- name: compile_test_serial_no_unittests_TG
distros:
- windows-2022-xxxlarge-compile
- name: run_bazel_compiledb
- name: run_unit_tests_no_sandbox_TG
distros:
- windows-2022-xxxlarge-compile
- name: .development_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch .requires_execution_on_windows_patch_build
- name: .development_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch .requires_execution_on_windows_patch_build
distros:
- windows-2022-xxlarge
- name: .release_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch .requires_execution_on_windows_patch_build
- name: .release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch .requires_execution_on_windows_patch_build
distros:
- windows-2022-xxlarge
- name: .default .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_windows .requires_execution_on_windows_patch_build
- name: .default .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_windows .requires_execution_on_windows_patch_build
distros:
- windows-2022-xxlarge
- name: windows-compile-suggested
display_name: "* Windows Server 2022 Enterprise Compile Non-essential"
tags: ["suggested", "bazel_check", "forbid_tasks_tagged_with_experimental"]
run_on:
- windows-2022-xxlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
expansions: *windows_compile_expansions
tasks:
- name: .development_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch !.requires_execution_on_windows_patch_build
- name: .development_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch !.requires_execution_on_windows_patch_build
distros:
- windows-2022-xxlarge
- name: .release_critical .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch !.requires_execution_on_windows_patch_build
- name: .release_critical .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_windows !.stitch !.requires_execution_on_windows_patch_build
distros:
- windows-2022-xxlarge
- name: .default .requires_compile_variant !.requires_large_host !.incompatible_development_variant !.incompatible_windows !.requires_execution_on_windows_patch_build
- name: .default .requires_compile_variant .requires_large_host !.incompatible_development_variant !.incompatible_windows !.requires_execution_on_windows_patch_build
distros:
- windows-2022-xxlarge
# server_selection_json_test & server_discovery_and_monitoring_json_test depend on this
- name: compile_unittest_libaries_TG
- name: run_bazel_TG
- <<: *windows_compile_variant_dependency
name: enterprise-windows-required
display_name: "! Enterprise Windows Server 2022 essential tasks"
tags: ["required", "forbid_tasks_tagged_with_experimental"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- windows-2022-small
expansions: &windows_essential_expansions
<<: *windows_expansions
burn_in_tests_build_variant: enterprise-windows-required
exe: ".exe"
content_type: application/zip
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
target_resmoke_time: 20
max_sub_suites: 5
large_distro_name: windows-2022-xlarge
# To force disable feature flags even on the all feature flags variant, please use this file:
# buildscripts/resmokeconfig/fully_disabled_feature_flags.yml
test_flags: >-
--excludeWithAnyTags=incompatible_with_windows_tls
external_auth_jobs_max: 1
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
distros:
- windows-2022-xlarge
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags .requires_execution_on_windows_patch_build
distros:
- windows-2022-xlarge
# This Windows build variant exists to run all tasks that have been excluded from running on the required Windows build variant.
# See SERVER-79037 for how the essential set of tasks was computed.
- <<: *windows_compile_variant_dependency
name: enterprise-windows-non-essential
display_name: "* Enterprise Windows Server 2022 non-essential tasks"
tags: ["suggested"]
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- windows-2022-small
expansions:
<<: *windows_essential_expansions
burn_in_tests_build_variant: enterprise-windows-non-essential
tasks:
- name: .development_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
- name: .development_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
distros:
- windows-2022-xlarge
- name: .release_critical !.requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
- name: .release_critical .requires_large_host !.requires_compile_variant !.incompatible_development_variant !.incompatible_windows !.requires_all_feature_flags
distros:
- windows-2022-xlarge

View File

@ -1,58 +0,0 @@
# Windows build variants for testing development environments
#
# After the branching variants in this file
# should continue to run ONLY on a new LTS release (v7.0, v6.0 etc.) branch projects
# and should NOT run on a new rapid release (v7.1, v7.2 etc.) branch projects
buildvariants:
- name: enterprise-windows-inmem
display_name: Enterprise Windows Server 2022 (inMemory)
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- windows-2022-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
//src/mongo/installer/msi:mongodb-win32-x86_64-windows
exe: ".exe"
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
test_flags: >-
--storageEngine=inMemory
--excludeWithAnyTags=requires_persistence,requires_journaling,incompatible_with_windows_tls
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
large_distro_name: windows-2022-large
compile_variant: enterprise-windows-inmem
tasks:
- name: compile_test_serial_no_unittests_TG
distros:
- windows-2022-xxlarge
- name: .aggfuzzer .common !.feature_flag_guarded
- name: audit
- name: auth_audit_gen
- name: causally_consistent_jscore_txns_passthrough
- name: .concurrency .common !.feature_flag_guarded
distros:
- windows-2022-large
- name: concurrency_replication_causal_consistency_gen
- name: initial_sync_fuzzer_gen
- name: .jscore .common !.decimal !.sharding !.requires_large_host
- name: .jscore .common !.decimal !.sharding .requires_large_host
distros:
- windows-2022-large
- name: .jstestfuzz .common !.feature_flag_guarded
- name: .read_write_concern .linearize !.durable_history
- name: replica_sets_auth_gen
- name: replica_sets_jscore_passthrough_gen
- name: replica_sets_multi_stmt_txn_jscore_passthrough_gen
- name: sasl
- name: .sharding .txns
- name: sharding_auth_audit_gen
- name: .ssl
- name: .resharding_fuzzer

View File

@ -1,145 +0,0 @@
# Windows build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/windows/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/windows/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &windows_compile_variant_dependency
depends_on:
- name: archive_dist_test
variant: &windows_compile_variant_name windows-compile-required
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
# - name: generate_buildid_to_debug_symbols_mapping
# variant: windows-compile-required
# THIS HAS COPIES IN:
# - etc/evergreen_yml_components/variants/windows/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/windows/test_dev.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &windows_expansions
compile_variant: *windows_compile_variant_name
burn_in_tests_build_variant: enterprise-windows-all-feature-flags-required
exe: ".exe"
content_type: application/zip
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
target_resmoke_time: 20
max_sub_suites: 5
large_distro_name: windows-2022-large
push_path: windows
push_bucket: downloads.10gen.com
push_name: windows
push_arch: x86_64-enterprise
test_flags: --excludeWithAnyTags=incompatible_with_windows_tls
external_auth_jobs_max: 1
buildvariants:
# Note that this task is currently optional;
# This will eventually become suggested, then required.
- name: &windows-bazel-compile windows-bazel-compile
display_name: "Windows Server 2022 Enterprise Bazel Compile"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- windows-2022-xxlarge
stepback: false
expansions:
exe: ".exe"
ext: zip
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
compile_variant: *windows-bazel-compile
tasks:
- name: compile_bazel_windows_TG
### QO & QE Patch-Specific Build Variants ###
- name: &windows-compile-query-patch-only windows-compile-query-patch-only
display_name: "~ Windows Server 2022 Enterprise Compile Query Patch Only"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- windows-2022-small
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
//src/mongo/installer/msi:mongodb-win32-x86_64-windows
exe: ".exe"
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
skip_archive_dist_test_debug_activate: True
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
large_distro_name: windows-2022-large
test_flags: --excludeWithAnyTags=incompatible_with_windows_tls
external_auth_jobs_max: 1
compile_variant: *windows-compile-query-patch-only
tasks:
- name: archive_dist_test_TG
distros:
- windows-2022-xxlarge
- name: &enterprise-windows-benchmarks enterprise-windows-benchmarks
display_name: "* Enterprise Windows Server 2022 (Benchmarks)"
tags: ["suggested"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- windows-2022-xxlarge # To accommodate OOD issues noted in BF-31698
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
//src/mongo/installer/msi:mongodb-win32-x86_64-windows
exe: ".exe"
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
large_distro_name: windows-2022-large
test_flags: --excludeWithAnyTags=incompatible_with_windows_tls
external_auth_jobs_max: 1
compile_variant: *enterprise-windows-benchmarks
tasks:
- name: compile_upload_benchmarks_TG
distros:
- windows-2022-xxlarge
- name: .benchmarks !benchmarks_orphaned_first_half !benchmarks_orphaned_second_half
### Security Patch-Specific Build Variants ###
- <<: *windows_compile_variant_dependency
name: windows-compile-security-patch-only
display_name: "~ Windows Server 2022 Security Patch Only"
tags: []
cron: "0 4 * * 0" # From the ${project_weekly_cron} parameter # This is a patch-only variant but we run on mainline to pick up task history.
run_on:
- windows-2022-small
expansions:
<<: *windows_expansions
exe: ".exe"
tasks:
- name: .encrypt .patch_build
- name: .sasl .patch_build
- name: external_auth_aws
- name: sasl_windows_cyrussasl

View File

@ -1,127 +0,0 @@
# Windows build variants for testing release environments
#
# After the branching variants in this file
# should continue to run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
buildvariants:
- name: windows
display_name: Windows Server 2022
tags: []
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- windows-2022-small
expansions:
additional_package_targets: //src/mongo/installer/msi:mongodb-win32-x86_64-windows
exe: ".exe"
push_path: windows
push_bucket: downloads.mongodb.org
push_name: windows
push_arch: x86_64
multiversion_platform: windows
multiversion_edition: base
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
--build_enterprise=False
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
large_distro_name: windows-2022-large
test_flags: >-
--excludeWithAnyTags=incompatible_with_windows_tls,requires_external_data_source
--enableEnterpriseTests=off
compile_variant: windows
tasks:
- name: compile_test_and_package_serial_TG
distros:
- windows-2022-xxlarge
- name: run_unit_tests_no_sandbox_TG
distros:
- windows-2022-xxlarge
- name: .development_critical !.requires_large_host !.incompatible_community !.incompatible_windows
- name: .development_critical .requires_large_host !.incompatible_community !.incompatible_windows
distros:
- windows-2022-large
- name: .windows_release_critical
- name: push
depends_on:
- .windows_release_critical
- name: package
- name: jsCore
- name: run_dbtest
- name: replica_sets_jscore_passthrough_gen
- name: .release_critical !.requires_large_host !.incompatible_community !.incompatible_windows !push !publish_packages
- name: .release_critical .requires_large_host !.incompatible_community !.incompatible_windows !push !publish_packages
distros:
- windows-2022-large
- &enterprise-windows-template
name: &enterprise-windows enterprise-windows
display_name: "Enterprise Windows Server 2022"
tags: ["bazel_check"]
cron: "0 4 * * *" # From the ${project_nightly_cron} parameter.
run_on:
- windows-2022-small
expansions:
exe: ".exe"
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
//src/mongo/installer/msi:mongodb-win32-x86_64-windows
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
target_resmoke_time: 20
max_sub_suites: 3
large_distro_name: windows-2022-large
push_path: windows
push_bucket: downloads.10gen.com
push_name: windows
push_arch: x86_64-enterprise
test_flags: --excludeWithAnyTags=incompatible_with_windows_tls,requires_external_data_source
exec_timeout_secs: 14400 # 3 hour timeout
external_auth_jobs_max: 1
compile_variant: enterprise-windows
tasks:
- name: compile_test_and_package_serial_TG
distros:
- windows-2022-xxlarge
- name: run_unit_tests_no_sandbox_TG
distros:
- windows-2022-xxlarge
- name: .development_critical !.requires_large_host !.incompatible_windows
- name: .development_critical .requires_large_host !.incompatible_windows
distros:
- windows-2022-large
- name: .windows_release_critical
- name: push
depends_on:
- .windows_release_critical
- name: package
- name: jsCore
- name: run_dbtest
- name: replica_sets_jscore_passthrough_gen
- name: .release_critical !.requires_large_host !.incompatible_windows !push !publish_packages
- name: .release_critical .requires_large_host !.incompatible_windows !push !publish_packages
distros:
- windows-2022-large
# This variant is owned by the security team and is special
# because these tests require specific distro to run on
- <<: *enterprise-windows-template
name: enterprise-windows-security
display_name: Enterprise Windows Server 2022 Security
tags: []
depends_on:
- name: archive_dist_test
variant: *enterprise-windows
tasks:
- name: external_auth_windows
distros:
- windows-2016-dc
- name: sasl_windows_cyrussasl

View File

@ -1,178 +0,0 @@
# WiredTiger build variants for testing development environments
#
# After the branching variants in this file
# should NOT run on a new rapid release (v7.1, v7.2 etc.)
# and LTS release (v7.0, v6.0 etc.) branch projects
variables:
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_params # Essential set of compile parameters used for Linux dev variants.
run_on:
- rhel8.8-xlarge
activate: true # These compile variants run on every commit to reduce latency of the auto-reverter.
tasks:
- name: compile_test_parallel_core_stream_TG
- name: run_unit_tests_TG
- name: compile_test_parallel_dbtest_stream_TG
- name: generate_buildid_to_debug_symbols_mapping
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/sanitizer/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/rhel/test_dev_master_branch_only.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &generic_linux_compile_expansions # The most commonly used compile expansions.
has_packages: false
# THIS HAS COPIES IN
# - etc/evergreen_yml_components/variants/sanitizer/test_dev.yml
# - etc/evergreen_yml_components/variants/wiredtiger/test_dev_master_branch_only.yml
# ANY MODIFICATIONS HERE SHOULD ALSO BE MADE IN THOSE FILES
- &linux_debug_community_compile_expansions
<<: *generic_linux_compile_expansions
bazel_compile_flags: >-
--dbg=True
--opt=on
--linkstatic=False
--build_enterprise=False
buildvariants:
- <<: *generic_linux_compile_params
name: &linux-x86-dynamic-debug-wtdevelop-compile linux-x86-dynamic-debug-wtdevelop-compile
display_name: "~ Linux WiredTiger develop DEBUG Compile"
tags: []
activate: false
modules:
- wtdevelop
expansions:
<<: *linux_debug_community_compile_expansions
use_wt_develop: true
compile_variant: *linux-x86-dynamic-debug-wtdevelop-compile
evergreen_remote_exec: on
- name: linux-64-debug-wtdevelop
display_name: "~ Linux DEBUG WiredTiger develop"
tags: []
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- rhel8.8-medium
modules:
- wtdevelop
depends_on:
- name: archive_dist_test
variant: &linux_x86_dynamic_debug_wtdevelop_compile_variant_name linux-x86-dynamic-debug-wtdevelop-compile
- name: version_gen
variant: generate-tasks-for-version
# This is added because of EVG-18211.
# Without this we are adding extra dependencies on evergreen and it is causing strain
omit_generated_tasks: true
expansions:
use_wt_develop: true
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
large_distro_name: rhel8.8-medium
max_sub_suites: "5"
target_resmoke_time: "15"
bazel_compile_flags: >-
--dbg=True
--opt=on
--linkstatic=False
--build_enterprise=False
test_flags: >-
--excludeWithAnyTags=requires_http_client
--enableEnterpriseTests=off
--mongodSetParameters="{internalQueryEnableAggressiveSpillsInGroup: true}"
compile_variant: *linux_x86_dynamic_debug_wtdevelop_compile_variant_name
tasks:
- name: .aggregation !.encrypt !.feature_flag_guarded
- name: .auth !.audit !.multiversion
- name: sharding_auth_gen
- name: .causally_consistent !.wo_snapshot
- name: .change_streams !.multiversion
- name: .clustered_collections
- name: .misc_js
- name: disk_wiredtiger
- name: .jscore .common
- name: jsCore_txns_large_txns_format
- name: json_schema
- name: query_golden_classic
- name: query_golden_sharding
- name: libunwind_tests
- name: .multi_shard
- name: multi_stmt_txn_jscore_passthrough_with_migration_gen
- name: .ocsp
- name: .read_write_concern
- name: .replica_sets !.encrypt !.fcbis
- name: replica_sets_reconfig_jscore_passthrough_gen
- name: replica_sets_reconfig_jscore_stepdown_passthrough_gen
- name: .retry
- name: .read_only
- name: session_jscore_passthrough
- name: sharded_multi_stmt_txn_jscore_passthrough_gen
- name: .sharding .jscore !.wo_snapshot !.feature_flag_guarded
- name: sharding_gen
- name: sharding_max_mirroring_opportunistic_secondary_targeting_gen
- name: &enterprise-windows-wtdevelop enterprise-windows-wtdevelop
display_name: "~ Enterprise Windows Server 2022 WiredTiger develop"
tags: []
cron: "0 */4 * * *" # From the ${project_required_suggested_cron} parameter
run_on:
- windows-2022-small
modules:
- wtdevelop
expansions:
additional_package_targets: >-
archive-mongocryptd-stripped
archive-mongocryptd-debug
//src/mongo/installer/msi:mongodb-win32-x86_64-windows
exe: ".exe"
content_type: application/zip
bazel_compile_flags: >-
--define=MONGO_DISTMOD=windows
python: "/cygdrive/c/python/python310/python.exe"
ext: zip
multiversion_platform: windows
multiversion_edition: enterprise
jstestfuzz_num_generated_files: 35
large_distro_name: windows-2022-large
test_flags: --excludeWithAnyTags=incompatible_with_windows_tls
external_auth_jobs_max: 1
use_wt_develop: true
compile_variant: *enterprise-windows-wtdevelop
tasks:
- name: compile_test_serial_TG
distros:
- windows-2022-xxlarge
- name: run_unit_tests_no_sandbox_TG
distros:
- windows-2022-xxlarge
- name: burn_in_tests_gen
depends_on:
- name: version_burn_in_gen
variant: generate-tasks-for-version
omit_generated_tasks: true
- name: archive_dist_test
- name: .aggfuzzer .common !.feature_flag_guarded
- name: audit
- name: auth_audit_gen
- name: buildscripts_test
- name: causally_consistent_jscore_txns_passthrough
- name: .encrypt !.aggregation !.gcm !.feature_flag_guarded
- name: external_auth
- name: external_auth_aws
- name: external_auth_windows
distros:
- windows-2016-dc
- name: .jscore .common !.sharding !.requires_large_host
- name: .jscore .common !.sharding .requires_large_host
distros:
- windows-2022-large
- name: .jstestfuzz .common !.feature_flag_guarded
- name: replica_sets_auth_gen
- name: sasl
- name: sharding_auth_audit_gen

View File

@ -668,8 +668,14 @@ public:
return binData(len);
} else {
// Skip extra size
len = valuestrsize() - 4;
return value() + 5 + 4;
auto ssize = valuestrsize();
if (ssize >= 4) {
len = ssize - 4;
return value() + 5 + 4;
} else {
len = 0;
return nullptr;
}
}
}

View File

@ -95,6 +95,18 @@ TEST(BSONElement, BinDataToString) {
"62696E6172792064617461007769746820616E20756E6B6E6F776E2074797065)");
}
TEST(BSONElement, BinDataCleanWithByteArrayDeprecatedTooSmall) {
// ByteArrayDeprecated has a nonsense 4-byte redundant length field. We
// must handle the case where the element is too small to hold that field.
std::vector<uint8_t> input{'2', '0'};
int len;
BSONObjBuilder{}
.appendBinData("f", input.size(), ByteArrayDeprecated, input.data())
.obj()["f"]
.binDataClean(len);
ASSERT_EQ(len, 0);
}
std::string vecStr(std::vector<uint8_t> v) {
std::string r = "[";
StringData sep;

View File

@ -220,7 +220,8 @@ public:
int len;
const char* data = owned["data"].binDataClean(len);
// This is potentially an expensive operation, so do it out of the lock
md5_append(&st, (const md5_byte_t*)(data), len);
if (len > 0)
md5_append(&st, reinterpret_cast<const md5_byte_t*>(data), len);
n++;
CurOpFailpointHelpers::waitWhileFailPointEnabled(