From 3674a202ccc576c5c7772d5ac3f491efe96fb97f Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Wed, 11 Jan 2023 11:38:17 -0600 Subject: [PATCH 01/10] Remove Valgrind tests from Evergreen --- .evergreen/compile-unix.sh | 18 +- .evergreen/config.yml | 1878 ++--------------- .evergreen/run-auth-tests.sh | 7 - .evergreen/run-mock-server-tests.sh | 11 +- .evergreen/run-tests-bson.sh | 9 +- .evergreen/run-tests.sh | 10 +- .evergreen/valgrind.sh | 13 - build/evergreen_config_lib/functions.py | 5 +- build/evergreen_config_lib/tasks.py | 45 +- build/evergreen_config_lib/variants.py | 25 +- build/generate-evergreen-config.py | 1 - src/libbson/doc/guides.rst | 1 - src/libbson/doc/valgrind.rst | 16 - src/libbson/src/bson/bson-types.h | 2 +- src/libmongoc/doc/basic-troubleshooting.rst | 3 +- src/libmongoc/tests/TestSuite.c | 20 +- src/libmongoc/tests/TestSuite.h | 18 +- src/libmongoc/tests/test-happy-eyeballs.c | 2 +- src/libmongoc/tests/test-libmongoc.c | 11 - src/libmongoc/tests/test-libmongoc.h | 2 - src/libmongoc/tests/test-mongoc-bulk.c | 4 - src/libmongoc/tests/test-mongoc-client-pool.c | 2 +- .../tests/test-mongoc-topology-scanner.c | 6 +- src/libmongoc/tests/test-mongoc-topology.c | 10 +- 24 files changed, 185 insertions(+), 1934 deletions(-) delete mode 100644 .evergreen/valgrind.sh delete mode 100644 src/libbson/doc/valgrind.rst diff --git a/.evergreen/compile-unix.sh b/.evergreen/compile-unix.sh index cc14038024..94cf97037f 100755 --- a/.evergreen/compile-unix.sh +++ b/.evergreen/compile-unix.sh @@ -9,7 +9,6 @@ set -o errexit # Exit the script with error if any of the commands fail # RELEASE Use the fully qualified release archive # DEBUG Use debug configure flags # TRACING Use function tracing -# VALGRIND Run the test suite through valgrind # CC Which compiler to use # ANALYZE Run the build through clangs scan-build # COVERAGE Produce code coverage reports @@ -33,7 +32,6 @@ C_STD_VERSION=${CSTD_VERSION:-99} RELEASE=${RELEASE:-OFF} DEBUG=${DEBUG:-OFF} TRACING=${TRACING:-OFF} -VALGRIND=${VALGRIND:-OFF} ANALYZE=${ANALYZE:-OFF} COVERAGE=${COVERAGE:-OFF} RDTSCP=${RDTSCP:-OFF} @@ -54,7 +52,6 @@ echo "MARCH: $MARCH" echo "RELEASE: $RELEASE" echo "DEBUG: $DEBUG" echo "TRACING: $TRACING" -echo "VALGRIND: $VALGRIND" echo "CC: $CC" echo "ANALYZE: $ANALYZE" echo "COVERAGE: $COVERAGE" @@ -289,17 +286,6 @@ if [ "$SKIP_MOCK_TESTS" = "ON" ]; then exit 0 fi -if [ "$VALGRIND" = "ON" ]; then - # Defines "run_valgrind" shell function. - . $DIR/valgrind.sh -else - # Define a no-op function. - run_valgrind () - { - $@ - } -fi - export MONGOC_TEST_SERVER_LOG=stdout # Write stderr to error.log and to console. Turn off tracing to avoid spurious @@ -308,10 +294,10 @@ mkfifo pipe || true if [ -e pipe ]; then set +o xtrace tee error.log < pipe & - run_valgrind ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt 2>pipe + ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt 2>pipe rm pipe else - run_valgrind ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt + ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt fi # Check if the error.log exists, and is more than 0 byte diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 64ad4a31be..b262305648 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -426,7 +426,6 @@ functions: export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} - export VALGRIND=${VALGRIND} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} @@ -515,7 +514,6 @@ functions: export ATLAS_TLS12_SRV='${atlas_tls12_srv}' export REQUIRE_TLS12='${require_tls12}' export OBSOLETE_TLS='${obsolete_tls}' - export VALGRIND='${valgrind}' export ATLAS_SERVERLESS_SRV='${atlas_serverless_srv}' export ATLAS_SERVERLESS='${atlas_serverless}' sh .evergreen/run-auth-tests.sh @@ -527,7 +525,7 @@ functions: shell: bash script: |- set -o errexit - CC="${CC}" VALGRIND=${VALGRIND} sh .evergreen/run-mock-server-tests.sh + CC="${CC}" sh .evergreen/run-mock-server-tests.sh cleanup: - command: shell.exec params: @@ -743,7 +741,6 @@ functions: export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} - export VALGRIND=${VALGRIND} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} @@ -1099,26 +1096,6 @@ tasks: export SANITIZE="" CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - func: upload build -- name: debug-compile-valgrind - tags: - - debug-compile - - special - - valgrind - commands: - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - export DEBUG="ON" - export SANITIZE="" - export SASL="OFF" - export SSL="OPENSSL" - export VALGRIND="ON" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build - name: debug-compile-coverage tags: - coverage @@ -1974,1130 +1951,164 @@ tasks: export DEBUG="ON" export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_CLIENT_SIDE_ENCRYPTION=ON" export SANITIZE="" - export SASL="AUTO" - export SSL="OPENSSL_STATIC" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build -- name: debug-compile-sasl-darwinssl-cse - tags: - - client-side-encryption - - darwinssl - - debug-compile - - sasl - - special - commands: - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_MONGOC=OFF" - export SANITIZE="" - export SASL="AUTO" - export SKIP_MOCK_TESTS="ON" - export SSL="DARWIN" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - rm CMakeCache.txt - set -o errexit - export COMPILE_LIBMONGOCRYPT="ON" - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_CLIENT_SIDE_ENCRYPTION=ON" - export SANITIZE="" - export SASL="AUTO" - export SSL="DARWIN" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build -- name: debug-compile-sasl-winssl-cse - tags: - - client-side-encryption - - debug-compile - - sasl - - special - - winssl - commands: - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_MONGOC=OFF" - export SANITIZE="" - export SASL="AUTO" - export SKIP_MOCK_TESTS="ON" - export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - rm CMakeCache.txt - set -o errexit - export COMPILE_LIBMONGOCRYPT="ON" - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_CLIENT_SIDE_ENCRYPTION=ON" - export SANITIZE="" - export SASL="AUTO" - export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build -- name: debug-compile-asan-openssl-cse - tags: - - asan-clang - - client-side-encryption - - debug-compile - commands: - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - export CFLAGS="-fno-omit-frame-pointer" - export CHECK_LOG="ON" - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_MONGOC=OFF -DENABLE_EXTRA_ALIGNMENT=OFF" - export PATH="/usr/lib/llvm-3.8/bin:$PATH" - export SANITIZE="address" - export SKIP_MOCK_TESTS="ON" - export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - rm CMakeCache.txt - set -o errexit - export CFLAGS="-fno-omit-frame-pointer" - export CHECK_LOG="ON" - export COMPILE_LIBMONGOCRYPT="ON" - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_CLIENT_SIDE_ENCRYPTION=ON -DENABLE_EXTRA_ALIGNMENT=OFF" - export PATH="/usr/lib/llvm-3.8/bin:$PATH" - export SANITIZE="address" - export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build -- name: debug-compile-nosasl-openssl-1.0.1 - commands: - - func: install ssl - vars: - SSL: openssl-1.0.1u - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - export CFLAGS="-Wno-redundant-decls" - export DEBUG="ON" - export SANITIZE="" - export SASL="OFF" - export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build -- name: debug-compile-tsan-openssl - tags: - - special - - tsan - commands: - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - export CFLAGS="-fno-omit-frame-pointer" - export CHECK_LOG="ON" - export DEBUG="ON" - export EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF -DENABLE_SHM_COUNTERS=OFF" - export SANITIZE="thread" - export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh - - func: upload build -- name: build-and-test-with-toolchain - commands: - - command: s3.get - params: - aws_key: ${toolchain_aws_key} - aws_secret: ${toolchain_aws_secret} - remote_file: mongo-c-toolchain/${distro_id}/mongo-c-toolchain.tar.gz - bucket: mongo-c-toolchain - local_file: mongo-c-toolchain.tar.gz - - command: shell.exec - type: test - params: - working_dir: mongoc - shell: bash - script: |- - set -o errexit - sh ./.evergreen/build-and-test-with-toolchain.sh -- name: test-valgrind-latest-server-auth-nosasl-openssl - tags: - - latest - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: latest - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-latest-server-noauth-nosasl-nossl - tags: - - latest - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: latest - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-latest-replica-set-auth-nosasl-openssl - tags: - - latest - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: latest - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-latest-replica-set-noauth-nosasl-nossl - tags: - - latest - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: latest - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-latest-sharded-auth-nosasl-openssl - tags: - - latest - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: latest - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-latest-sharded-noauth-nosasl-nossl - tags: - - latest - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: latest - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-6.0-server-auth-nosasl-openssl - tags: - - '6.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: '6.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-6.0-server-noauth-nosasl-nossl - tags: - - '6.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: '6.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-6.0-replica-set-auth-nosasl-openssl - tags: - - '6.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: '6.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-6.0-replica-set-noauth-nosasl-nossl - tags: - - '6.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: '6.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-6.0-sharded-auth-nosasl-openssl - tags: - - '6.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: '6.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-6.0-sharded-noauth-nosasl-nossl - tags: - - '6.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: '6.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-5.0-server-auth-nosasl-openssl - tags: - - '5.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: '5.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-5.0-server-noauth-nosasl-nossl - tags: - - '5.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: '5.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-5.0-replica-set-auth-nosasl-openssl - tags: - - '5.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: '5.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-5.0-replica-set-noauth-nosasl-nossl - tags: - - '5.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: '5.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-5.0-sharded-auth-nosasl-openssl - tags: - - '5.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: '5.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-5.0-sharded-noauth-nosasl-nossl - tags: - - '5.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: '5.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.4-server-auth-nosasl-openssl - tags: - - '4.4' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: '4.4' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.4-server-noauth-nosasl-nossl - tags: - - '4.4' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: '4.4' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.4-replica-set-auth-nosasl-openssl - tags: - - '4.4' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: '4.4' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.4-replica-set-noauth-nosasl-nossl - tags: - - '4.4' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: '4.4' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.4-sharded-auth-nosasl-openssl - tags: - - '4.4' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: '4.4' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.4-sharded-noauth-nosasl-nossl - tags: - - '4.4' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: '4.4' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.2-server-auth-nosasl-openssl - tags: - - '4.2' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: '4.2' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.2-server-noauth-nosasl-nossl - tags: - - '4.2' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: '4.2' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.2-replica-set-auth-nosasl-openssl - tags: - - '4.2' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: '4.2' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.2-replica-set-noauth-nosasl-nossl - tags: - - '4.2' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: '4.2' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.2-sharded-auth-nosasl-openssl - tags: - - '4.2' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: '4.2' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.2-sharded-noauth-nosasl-nossl - tags: - - '4.2' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: '4.2' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.0-server-auth-nosasl-openssl - tags: - - '4.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: '4.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.0-server-noauth-nosasl-nossl - tags: - - '4.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: '4.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.0-replica-set-auth-nosasl-openssl - tags: - - '4.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: '4.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.0-replica-set-noauth-nosasl-nossl - tags: - - '4.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: '4.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-4.0-sharded-auth-nosasl-openssl - tags: - - '4.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: '4.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-4.0-sharded-noauth-nosasl-nossl - tags: - - '4.0' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: '4.0' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-3.6-server-auth-nosasl-openssl + export SASL="AUTO" + export SSL="OPENSSL_STATIC" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + - func: upload build +- name: debug-compile-sasl-darwinssl-cse tags: - - '3.6' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind + - client-side-encryption + - darwinssl + - debug-compile + - sasl + - special commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: server - VERSION: '3.6' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-3.6-server-noauth-nosasl-nossl + - command: shell.exec + type: test + params: + working_dir: mongoc + shell: bash + script: |- + set -o errexit + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_MONGOC=OFF" + export SANITIZE="" + export SASL="AUTO" + export SKIP_MOCK_TESTS="ON" + export SSL="DARWIN" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + rm CMakeCache.txt + set -o errexit + export COMPILE_LIBMONGOCRYPT="ON" + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_CLIENT_SIDE_ENCRYPTION=ON" + export SANITIZE="" + export SASL="AUTO" + export SSL="DARWIN" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + - func: upload build +- name: debug-compile-sasl-winssl-cse tags: - - '3.6' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind + - client-side-encryption + - debug-compile + - sasl + - special + - winssl commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: server - VERSION: '3.6' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-3.6-replica-set-auth-nosasl-openssl + - command: shell.exec + type: test + params: + working_dir: mongoc + shell: bash + script: |- + set -o errexit + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_MONGOC=OFF" + export SANITIZE="" + export SASL="AUTO" + export SKIP_MOCK_TESTS="ON" + export SSL="WINDOWS" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + rm CMakeCache.txt + set -o errexit + export COMPILE_LIBMONGOCRYPT="ON" + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_CLIENT_SIDE_ENCRYPTION=ON" + export SANITIZE="" + export SASL="AUTO" + export SSL="WINDOWS" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + - func: upload build +- name: debug-compile-asan-openssl-cse tags: - - '3.6' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind + - asan-clang + - client-side-encryption + - debug-compile commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: replica_set - VERSION: '3.6' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-3.6-replica-set-noauth-nosasl-nossl - tags: - - '3.6' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind + - command: shell.exec + type: test + params: + working_dir: mongoc + shell: bash + script: |- + set -o errexit + export CFLAGS="-fno-omit-frame-pointer" + export CHECK_LOG="ON" + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_PIC=ON -DENABLE_MONGOC=OFF -DENABLE_EXTRA_ALIGNMENT=OFF" + export PATH="/usr/lib/llvm-3.8/bin:$PATH" + export SANITIZE="address" + export SKIP_MOCK_TESTS="ON" + export SSL="OPENSSL" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + rm CMakeCache.txt + set -o errexit + export CFLAGS="-fno-omit-frame-pointer" + export CHECK_LOG="ON" + export COMPILE_LIBMONGOCRYPT="ON" + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_CLIENT_SIDE_ENCRYPTION=ON -DENABLE_EXTRA_ALIGNMENT=OFF" + export PATH="/usr/lib/llvm-3.8/bin:$PATH" + export SANITIZE="address" + export SSL="OPENSSL" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + - func: upload build +- name: debug-compile-nosasl-openssl-1.0.1 commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: replica_set - VERSION: '3.6' - - func: run tests + - func: install ssl vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' -- name: test-valgrind-3.6-sharded-auth-nosasl-openssl + SSL: openssl-1.0.1u + - command: shell.exec + type: test + params: + working_dir: mongoc + shell: bash + script: |- + set -o errexit + export CFLAGS="-Wno-redundant-decls" + export DEBUG="ON" + export SANITIZE="" + export SASL="OFF" + export SSL="OPENSSL" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + - func: upload build +- name: debug-compile-tsan-openssl tags: - - '3.6' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind + - special + - tsan commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: auth - SSL: openssl - TOPOLOGY: sharded_cluster - VERSION: '3.6' - - func: run tests - vars: - ASAN: 'off' - AUTH: auth - SSL: openssl - VALGRIND: 'on' -- name: test-valgrind-3.6-sharded-noauth-nosasl-nossl - tags: - - '3.6' - - test-valgrind - exec_timeout_secs: 14400 - depends_on: - name: debug-compile-valgrind + - command: shell.exec + type: test + params: + working_dir: mongoc + shell: bash + script: |- + set -o errexit + export CFLAGS="-fno-omit-frame-pointer" + export CHECK_LOG="ON" + export DEBUG="ON" + export EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF -DENABLE_SHM_COUNTERS=OFF" + export SANITIZE="thread" + export SSL="OPENSSL" + CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + - func: upload build +- name: build-and-test-with-toolchain commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: bootstrap mongo-orchestration - vars: - AUTH: noauth - SSL: nossl - TOPOLOGY: sharded_cluster - VERSION: '3.6' - - func: run tests - vars: - ASAN: 'off' - AUTH: noauth - SSL: nossl - VALGRIND: 'on' + - command: s3.get + params: + aws_key: ${toolchain_aws_key} + aws_secret: ${toolchain_aws_secret} + remote_file: mongo-c-toolchain/${distro_id}/mongo-c-toolchain.tar.gz + bucket: mongo-c-toolchain + local_file: mongo-c-toolchain.tar.gz + - command: shell.exec + type: test + params: + working_dir: mongoc + shell: bash + script: |- + set -o errexit + sh ./.evergreen/build-and-test-with-toolchain.sh - name: test-asan-latest-server-auth-nosasl-openssl-cse tags: - client-side-encryption @@ -3123,7 +2134,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-latest-server-auth-nosasl-openssl tags: - latest @@ -3145,7 +2155,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-latest-server-noauth-nosasl-nossl tags: - latest @@ -3167,7 +2176,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-latest-replica-set-auth-nosasl-openssl-cse tags: - client-side-encryption @@ -3193,7 +2201,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-latest-replica-set-auth-nosasl-openssl tags: - latest @@ -3215,7 +2222,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-latest-replica-set-noauth-nosasl-nossl tags: - latest @@ -3237,7 +2243,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-latest-sharded-auth-nosasl-openssl tags: - latest @@ -3259,7 +2264,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-latest-sharded-noauth-nosasl-nossl tags: - latest @@ -3281,7 +2285,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-6.0-server-auth-nosasl-openssl-cse tags: - '6.0' @@ -3307,7 +2310,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-6.0-server-auth-nosasl-openssl tags: - '6.0' @@ -3329,7 +2331,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-6.0-server-noauth-nosasl-nossl tags: - '6.0' @@ -3351,7 +2352,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-6.0-replica-set-auth-nosasl-openssl-cse tags: - '6.0' @@ -3377,7 +2377,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-6.0-replica-set-auth-nosasl-openssl tags: - '6.0' @@ -3399,7 +2398,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-6.0-replica-set-noauth-nosasl-nossl tags: - '6.0' @@ -3421,7 +2419,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-6.0-sharded-auth-nosasl-openssl tags: - '6.0' @@ -3443,7 +2440,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-6.0-sharded-noauth-nosasl-nossl tags: - '6.0' @@ -3465,7 +2461,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-5.0-server-auth-nosasl-openssl-cse tags: - '5.0' @@ -3491,7 +2486,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-5.0-server-auth-nosasl-openssl tags: - '5.0' @@ -3513,7 +2507,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-5.0-server-noauth-nosasl-nossl tags: - '5.0' @@ -3535,7 +2528,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-5.0-replica-set-auth-nosasl-openssl tags: - '5.0' @@ -3557,7 +2549,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-5.0-replica-set-noauth-nosasl-nossl tags: - '5.0' @@ -3579,7 +2570,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-5.0-sharded-auth-nosasl-openssl tags: - '5.0' @@ -3601,7 +2591,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-5.0-sharded-noauth-nosasl-nossl tags: - '5.0' @@ -3623,7 +2612,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.4-server-auth-nosasl-openssl-cse tags: - '4.4' @@ -3649,7 +2637,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-4.4-server-auth-nosasl-openssl tags: - '4.4' @@ -3671,7 +2658,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.4-server-noauth-nosasl-nossl tags: - '4.4' @@ -3693,7 +2679,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.4-replica-set-auth-nosasl-openssl tags: - '4.4' @@ -3715,7 +2700,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.4-replica-set-noauth-nosasl-nossl tags: - '4.4' @@ -3737,7 +2721,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.4-sharded-auth-nosasl-openssl tags: - '4.4' @@ -3759,7 +2742,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.4-sharded-noauth-nosasl-nossl tags: - '4.4' @@ -3781,7 +2763,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.2-server-auth-nosasl-openssl-cse tags: - '4.2' @@ -3807,7 +2788,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-asan-4.2-server-auth-nosasl-openssl tags: - '4.2' @@ -3829,7 +2809,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.2-server-noauth-nosasl-nossl tags: - '4.2' @@ -3851,7 +2830,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.2-replica-set-auth-nosasl-openssl tags: - '4.2' @@ -3873,7 +2851,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.2-replica-set-noauth-nosasl-nossl tags: - '4.2' @@ -3895,7 +2872,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.2-sharded-auth-nosasl-openssl tags: - '4.2' @@ -3917,7 +2893,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.2-sharded-noauth-nosasl-nossl tags: - '4.2' @@ -3939,7 +2914,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.0-server-auth-nosasl-openssl tags: - '4.0' @@ -3961,7 +2935,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.0-server-noauth-nosasl-nossl tags: - '4.0' @@ -3983,7 +2956,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.0-replica-set-auth-nosasl-openssl tags: - '4.0' @@ -4005,7 +2977,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.0-replica-set-noauth-nosasl-nossl tags: - '4.0' @@ -4027,7 +2998,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-4.0-sharded-auth-nosasl-openssl tags: - '4.0' @@ -4049,7 +3019,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-4.0-sharded-noauth-nosasl-nossl tags: - '4.0' @@ -4071,7 +3040,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-3.6-server-auth-nosasl-openssl tags: - '3.6' @@ -4093,7 +3061,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-3.6-server-noauth-nosasl-nossl tags: - '3.6' @@ -4115,7 +3082,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-3.6-replica-set-auth-nosasl-openssl tags: - '3.6' @@ -4137,7 +3103,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-3.6-replica-set-noauth-nosasl-nossl tags: - '3.6' @@ -4159,7 +3124,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-asan-3.6-sharded-auth-nosasl-openssl tags: - '3.6' @@ -4181,7 +3145,6 @@ tasks: ASAN: 'on' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-asan-3.6-sharded-noauth-nosasl-nossl tags: - '3.6' @@ -4203,7 +3166,6 @@ tasks: ASAN: 'on' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-tsan-latest-server-auth-nosasl-openssl tags: - latest @@ -4225,7 +3187,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-latest-server-noauth-nosasl-openssl tags: - latest @@ -4247,7 +3208,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-latest-replica-set-auth-nosasl-openssl tags: - latest @@ -4269,7 +3229,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-latest-replica-set-noauth-nosasl-openssl tags: - latest @@ -4291,7 +3250,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-latest-sharded-auth-nosasl-openssl tags: - latest @@ -4313,7 +3271,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-latest-sharded-noauth-nosasl-openssl tags: - latest @@ -4335,7 +3292,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-6.0-server-auth-nosasl-openssl tags: - '6.0' @@ -4357,7 +3313,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-6.0-server-noauth-nosasl-openssl tags: - '6.0' @@ -4379,7 +3334,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-6.0-replica-set-auth-nosasl-openssl tags: - '6.0' @@ -4401,7 +3355,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-6.0-replica-set-noauth-nosasl-openssl tags: - '6.0' @@ -4423,7 +3376,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-6.0-sharded-auth-nosasl-openssl tags: - '6.0' @@ -4445,7 +3397,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-6.0-sharded-noauth-nosasl-openssl tags: - '6.0' @@ -4467,7 +3418,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-5.0-server-auth-nosasl-openssl tags: - '5.0' @@ -4489,7 +3439,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-5.0-server-noauth-nosasl-openssl tags: - '5.0' @@ -4511,7 +3460,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-5.0-replica-set-auth-nosasl-openssl tags: - '5.0' @@ -4533,7 +3481,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-5.0-replica-set-noauth-nosasl-openssl tags: - '5.0' @@ -4555,7 +3502,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-5.0-sharded-auth-nosasl-openssl tags: - '5.0' @@ -4577,7 +3523,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-5.0-sharded-noauth-nosasl-openssl tags: - '5.0' @@ -4599,7 +3544,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.4-server-auth-nosasl-openssl tags: - '4.4' @@ -4621,7 +3565,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.4-server-noauth-nosasl-openssl tags: - '4.4' @@ -4643,7 +3586,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.4-replica-set-auth-nosasl-openssl tags: - '4.4' @@ -4665,7 +3607,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.4-replica-set-noauth-nosasl-openssl tags: - '4.4' @@ -4687,7 +3628,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.4-sharded-auth-nosasl-openssl tags: - '4.4' @@ -4709,7 +3649,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.4-sharded-noauth-nosasl-openssl tags: - '4.4' @@ -4731,7 +3670,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.2-server-auth-nosasl-openssl tags: - '4.2' @@ -4753,7 +3691,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.2-server-noauth-nosasl-openssl tags: - '4.2' @@ -4775,7 +3712,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.2-replica-set-auth-nosasl-openssl tags: - '4.2' @@ -4797,7 +3733,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.2-replica-set-noauth-nosasl-openssl tags: - '4.2' @@ -4819,7 +3754,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.2-sharded-auth-nosasl-openssl tags: - '4.2' @@ -4841,7 +3775,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.2-sharded-noauth-nosasl-openssl tags: - '4.2' @@ -4863,7 +3796,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.0-server-auth-nosasl-openssl tags: - '4.0' @@ -4885,7 +3817,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.0-server-noauth-nosasl-openssl tags: - '4.0' @@ -4907,7 +3838,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.0-replica-set-auth-nosasl-openssl tags: - '4.0' @@ -4929,7 +3859,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.0-replica-set-noauth-nosasl-openssl tags: - '4.0' @@ -4951,7 +3880,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.0-sharded-auth-nosasl-openssl tags: - '4.0' @@ -4973,7 +3901,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-4.0-sharded-noauth-nosasl-openssl tags: - '4.0' @@ -4995,7 +3922,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-3.6-server-auth-nosasl-openssl tags: - '3.6' @@ -5017,7 +3943,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-3.6-server-noauth-nosasl-openssl tags: - '3.6' @@ -5039,7 +3964,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-3.6-replica-set-auth-nosasl-openssl tags: - '3.6' @@ -5061,7 +3985,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-3.6-replica-set-noauth-nosasl-openssl tags: - '3.6' @@ -5083,7 +4006,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-tsan-3.6-sharded-auth-nosasl-openssl tags: - '3.6' @@ -5105,7 +4027,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-tsan-3.6-sharded-noauth-nosasl-openssl tags: - '3.6' @@ -5127,7 +4048,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-coverage-latest-server-auth-nosasl-openssl tags: - latest @@ -5145,7 +4065,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-latest-server-noauth-nosasl-nossl tags: @@ -5164,7 +4083,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-latest-replica-set-auth-nosasl-openssl tags: @@ -5183,7 +4101,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-latest-replica-set-noauth-nosasl-nossl tags: @@ -5202,7 +4119,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-latest-sharded-auth-nosasl-openssl tags: @@ -5221,7 +4137,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-latest-sharded-noauth-nosasl-nossl tags: @@ -5240,7 +4155,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-6.0-server-auth-nosasl-openssl tags: @@ -5259,7 +4173,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-6.0-server-noauth-nosasl-nossl tags: @@ -5278,7 +4191,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-6.0-replica-set-auth-nosasl-openssl tags: @@ -5297,7 +4209,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-6.0-replica-set-noauth-nosasl-nossl tags: @@ -5316,7 +4227,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-6.0-sharded-auth-nosasl-openssl tags: @@ -5335,7 +4245,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-6.0-sharded-noauth-nosasl-nossl tags: @@ -5354,7 +4263,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-5.0-server-auth-nosasl-openssl tags: @@ -5373,7 +4281,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-5.0-server-noauth-nosasl-nossl tags: @@ -5392,7 +4299,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-5.0-replica-set-auth-nosasl-openssl tags: @@ -5411,7 +4317,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-5.0-replica-set-noauth-nosasl-nossl tags: @@ -5430,7 +4335,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-5.0-sharded-auth-nosasl-openssl tags: @@ -5449,7 +4353,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-5.0-sharded-noauth-nosasl-nossl tags: @@ -5468,7 +4371,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.4-server-auth-nosasl-openssl tags: @@ -5487,7 +4389,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.4-server-noauth-nosasl-nossl tags: @@ -5506,7 +4407,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.4-replica-set-auth-nosasl-openssl tags: @@ -5525,7 +4425,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.4-replica-set-noauth-nosasl-nossl tags: @@ -5544,7 +4443,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.4-sharded-auth-nosasl-openssl tags: @@ -5563,7 +4461,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.4-sharded-noauth-nosasl-nossl tags: @@ -5582,7 +4479,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.2-server-auth-nosasl-openssl tags: @@ -5601,7 +4497,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.2-server-noauth-nosasl-nossl tags: @@ -5620,7 +4515,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.2-replica-set-auth-nosasl-openssl tags: @@ -5639,7 +4533,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.2-replica-set-noauth-nosasl-nossl tags: @@ -5658,7 +4551,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.2-sharded-auth-nosasl-openssl tags: @@ -5677,7 +4569,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.2-sharded-noauth-nosasl-nossl tags: @@ -5696,7 +4587,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.0-server-auth-nosasl-openssl tags: @@ -5715,7 +4605,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.0-server-noauth-nosasl-nossl tags: @@ -5734,7 +4623,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.0-replica-set-auth-nosasl-openssl tags: @@ -5753,7 +4641,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.0-replica-set-noauth-nosasl-nossl tags: @@ -5772,7 +4659,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.0-sharded-auth-nosasl-openssl tags: @@ -5791,7 +4677,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-4.0-sharded-noauth-nosasl-nossl tags: @@ -5810,7 +4695,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-3.6-server-auth-nosasl-openssl tags: @@ -5829,7 +4713,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-3.6-server-noauth-nosasl-nossl tags: @@ -5848,7 +4731,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-3.6-replica-set-auth-nosasl-openssl tags: @@ -5867,7 +4749,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-3.6-replica-set-noauth-nosasl-nossl tags: @@ -5886,7 +4767,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-3.6-sharded-auth-nosasl-openssl tags: @@ -5905,7 +4785,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - func: update codecov.io - name: test-coverage-3.6-sharded-noauth-nosasl-nossl tags: @@ -5924,7 +4803,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - func: update codecov.io - name: test-latest-server-auth-sasl-openssl-cse tags: @@ -5954,7 +4832,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-latest-server-auth-sasl-openssl tags: - auth @@ -5979,7 +4856,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-latest-server-auth-sasl-openssl-static-cse tags: - auth @@ -6008,7 +4884,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-latest-server-auth-sasl-openssl-static tags: - auth @@ -6033,7 +4908,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-server-auth-sasl-darwinssl-cse tags: - auth @@ -6062,7 +4936,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-latest-server-auth-sasl-darwinssl tags: - auth @@ -6087,7 +4960,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-server-auth-sasl-winssl-cse tags: - auth @@ -6116,7 +4988,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-latest-server-auth-sasl-winssl tags: - auth @@ -6141,7 +5012,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-server-auth-sspi-winssl tags: - auth @@ -6166,7 +5036,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-server-auth-nosasl-openssl tags: - auth @@ -6191,7 +5060,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-latest-server-auth-nosasl-openssl-static tags: - auth @@ -6216,7 +5084,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-server-auth-nosasl-darwinssl tags: - auth @@ -6241,7 +5108,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-server-auth-nosasl-winssl tags: - auth @@ -6266,7 +5132,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-openssl-cse tags: - client-side-encryption @@ -6295,7 +5160,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-openssl tags: - latest @@ -6320,7 +5184,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-openssl-static-cse tags: - client-side-encryption @@ -6349,7 +5212,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-openssl-static tags: - latest @@ -6374,7 +5236,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-darwinssl-cse tags: - client-side-encryption @@ -6403,7 +5264,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-darwinssl tags: - darwinssl @@ -6428,7 +5288,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-winssl-cse tags: - client-side-encryption @@ -6457,7 +5316,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-latest-server-noauth-sasl-winssl tags: - latest @@ -6482,7 +5340,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-latest-server-noauth-nosasl-openssl tags: - latest @@ -6507,7 +5364,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-latest-server-noauth-nosasl-openssl-static tags: - latest @@ -6532,7 +5388,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-server-noauth-nosasl-darwinssl tags: - darwinssl @@ -6557,7 +5412,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-server-noauth-nosasl-winssl tags: - latest @@ -6582,7 +5436,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-latest-server-noauth-nosasl-nossl tags: - latest @@ -6607,7 +5460,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-openssl-cse tags: - auth @@ -6636,7 +5488,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-openssl tags: - auth @@ -6661,7 +5512,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-openssl-static-cse tags: - auth @@ -6690,7 +5540,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-openssl-static tags: - auth @@ -6715,7 +5564,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-darwinssl-cse tags: - auth @@ -6744,7 +5592,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-darwinssl tags: - auth @@ -6769,7 +5616,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-winssl-cse tags: - auth @@ -6798,7 +5644,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-sasl-winssl tags: - auth @@ -6823,7 +5668,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-nosasl-openssl tags: - auth @@ -6848,7 +5692,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-nosasl-openssl-static tags: - auth @@ -6873,7 +5716,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-replica-set-auth-nosasl-darwinssl tags: - auth @@ -6898,7 +5740,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-replica-set-auth-nosasl-winssl tags: - auth @@ -6923,7 +5764,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-openssl-cse tags: - client-side-encryption @@ -6952,7 +5792,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-openssl tags: - latest @@ -6977,7 +5816,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-openssl-static-cse tags: - client-side-encryption @@ -7006,7 +5844,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-openssl-static tags: - latest @@ -7031,7 +5868,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-darwinssl-cse tags: - client-side-encryption @@ -7060,7 +5896,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-darwinssl tags: - darwinssl @@ -7085,7 +5920,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-winssl-cse tags: - client-side-encryption @@ -7114,7 +5948,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-sasl-winssl tags: - latest @@ -7139,7 +5972,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-nosasl-openssl tags: - latest @@ -7164,7 +5996,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-nosasl-openssl-static tags: - latest @@ -7189,7 +6020,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-replica-set-noauth-nosasl-darwinssl tags: - darwinssl @@ -7214,7 +6044,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-nosasl-winssl tags: - latest @@ -7239,7 +6068,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-latest-replica-set-noauth-nosasl-nossl tags: - latest @@ -7264,7 +6092,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-latest-sharded-auth-sasl-openssl tags: - auth @@ -7289,7 +6116,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-latest-sharded-auth-sasl-openssl-static tags: - auth @@ -7314,7 +6140,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-sharded-auth-sasl-darwinssl tags: - auth @@ -7339,7 +6164,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-sharded-auth-sasl-winssl tags: - auth @@ -7364,7 +6188,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-sharded-auth-nosasl-openssl tags: - auth @@ -7389,7 +6212,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-latest-sharded-auth-nosasl-openssl-static tags: - auth @@ -7414,7 +6236,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-sharded-auth-nosasl-darwinssl tags: - auth @@ -7439,7 +6260,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-sharded-auth-nosasl-winssl tags: - auth @@ -7464,7 +6284,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-sasl-openssl tags: - latest @@ -7489,7 +6308,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-sasl-openssl-static tags: - latest @@ -7514,7 +6332,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-sharded-noauth-sasl-darwinssl tags: - darwinssl @@ -7539,7 +6356,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-sasl-winssl tags: - latest @@ -7564,7 +6380,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-nosasl-openssl tags: - latest @@ -7589,7 +6404,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-nosasl-openssl-static tags: - latest @@ -7614,7 +6428,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-latest-sharded-noauth-nosasl-darwinssl tags: - darwinssl @@ -7639,7 +6452,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-nosasl-winssl tags: - latest @@ -7664,7 +6476,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-latest-sharded-noauth-nosasl-nossl tags: - latest @@ -7689,7 +6500,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-openssl-cse tags: - '6.0' @@ -7718,7 +6528,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-openssl tags: - '6.0' @@ -7743,7 +6552,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-openssl-static-cse tags: - '6.0' @@ -7772,7 +6580,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-openssl-static tags: - '6.0' @@ -7797,7 +6604,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-darwinssl-cse tags: - '6.0' @@ -7826,7 +6632,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-darwinssl tags: - '6.0' @@ -7851,7 +6656,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-winssl-cse tags: - '6.0' @@ -7880,7 +6684,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-6.0-server-auth-sasl-winssl tags: - '6.0' @@ -7905,7 +6708,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-6.0-server-auth-nosasl-openssl tags: - '6.0' @@ -7930,7 +6732,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-6.0-server-auth-nosasl-openssl-static tags: - '6.0' @@ -7955,7 +6756,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-server-auth-nosasl-darwinssl tags: - '6.0' @@ -7980,7 +6780,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-server-auth-nosasl-winssl tags: - '6.0' @@ -8005,7 +6804,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-openssl-cse tags: - '6.0' @@ -8034,7 +6832,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-openssl tags: - '6.0' @@ -8059,7 +6856,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-openssl-static-cse tags: - '6.0' @@ -8088,7 +6884,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-openssl-static tags: - '6.0' @@ -8113,7 +6908,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-darwinssl-cse tags: - '6.0' @@ -8142,7 +6936,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-darwinssl tags: - '6.0' @@ -8167,7 +6960,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-winssl-cse tags: - '6.0' @@ -8196,7 +6988,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-6.0-server-noauth-sasl-winssl tags: - '6.0' @@ -8221,7 +7012,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-6.0-server-noauth-nosasl-openssl tags: - '6.0' @@ -8246,7 +7036,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-6.0-server-noauth-nosasl-openssl-static tags: - '6.0' @@ -8271,7 +7060,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-server-noauth-nosasl-darwinssl tags: - '6.0' @@ -8296,7 +7084,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-server-noauth-nosasl-winssl tags: - '6.0' @@ -8321,7 +7108,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-6.0-server-noauth-nosasl-nossl tags: - '6.0' @@ -8346,7 +7132,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-openssl-cse tags: - '6.0' @@ -8375,7 +7160,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-openssl tags: - '6.0' @@ -8400,7 +7184,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-openssl-static-cse tags: - '6.0' @@ -8429,7 +7212,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-openssl-static tags: - '6.0' @@ -8454,7 +7236,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-darwinssl-cse tags: - '6.0' @@ -8483,7 +7264,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-darwinssl tags: - '6.0' @@ -8508,7 +7288,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-winssl-cse tags: - '6.0' @@ -8537,7 +7316,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-sasl-winssl tags: - '6.0' @@ -8562,7 +7340,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-nosasl-openssl tags: - '6.0' @@ -8587,7 +7364,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-nosasl-openssl-static tags: - '6.0' @@ -8612,7 +7388,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-replica-set-auth-nosasl-darwinssl tags: - '6.0' @@ -8637,7 +7412,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-replica-set-auth-nosasl-winssl tags: - '6.0' @@ -8662,7 +7436,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-openssl-cse tags: - '6.0' @@ -8691,7 +7464,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-openssl tags: - '6.0' @@ -8716,7 +7488,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-openssl-static-cse tags: - '6.0' @@ -8745,7 +7516,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-openssl-static tags: - '6.0' @@ -8770,7 +7540,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-darwinssl-cse tags: - '6.0' @@ -8799,7 +7568,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-darwinssl tags: - '6.0' @@ -8824,7 +7592,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-winssl-cse tags: - '6.0' @@ -8853,7 +7620,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-sasl-winssl tags: - '6.0' @@ -8878,7 +7644,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-nosasl-openssl tags: - '6.0' @@ -8903,7 +7668,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-nosasl-openssl-static tags: - '6.0' @@ -8928,7 +7692,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-nosasl-darwinssl tags: - '6.0' @@ -8953,7 +7716,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-nosasl-winssl tags: - '6.0' @@ -8978,7 +7740,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-6.0-replica-set-noauth-nosasl-nossl tags: - '6.0' @@ -9003,7 +7764,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-6.0-sharded-auth-sasl-openssl tags: - '6.0' @@ -9028,7 +7788,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-6.0-sharded-auth-sasl-openssl-static tags: - '6.0' @@ -9053,7 +7812,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-sharded-auth-sasl-darwinssl tags: - '6.0' @@ -9078,7 +7836,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-sharded-auth-sasl-winssl tags: - '6.0' @@ -9103,7 +7860,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-6.0-sharded-auth-nosasl-openssl tags: - '6.0' @@ -9128,7 +7884,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-6.0-sharded-auth-nosasl-openssl-static tags: - '6.0' @@ -9153,7 +7908,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-sharded-auth-nosasl-darwinssl tags: - '6.0' @@ -9178,7 +7932,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-sharded-auth-nosasl-winssl tags: - '6.0' @@ -9203,7 +7956,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-sasl-openssl tags: - '6.0' @@ -9228,7 +7980,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-sasl-openssl-static tags: - '6.0' @@ -9253,7 +8004,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-sharded-noauth-sasl-darwinssl tags: - '6.0' @@ -9278,7 +8028,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-sasl-winssl tags: - '6.0' @@ -9303,7 +8052,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-nosasl-openssl tags: - '6.0' @@ -9328,7 +8076,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-nosasl-openssl-static tags: - '6.0' @@ -9353,7 +8100,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-6.0-sharded-noauth-nosasl-darwinssl tags: - '6.0' @@ -9378,7 +8124,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-nosasl-winssl tags: - '6.0' @@ -9403,7 +8148,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-6.0-sharded-noauth-nosasl-nossl tags: - '6.0' @@ -9428,7 +8172,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-openssl-cse tags: - '5.0' @@ -9457,7 +8200,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-openssl tags: - '5.0' @@ -9482,7 +8224,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-openssl-static-cse tags: - '5.0' @@ -9511,7 +8252,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-openssl-static tags: - '5.0' @@ -9536,7 +8276,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-darwinssl-cse tags: - '5.0' @@ -9565,7 +8304,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-darwinssl tags: - '5.0' @@ -9590,7 +8328,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-winssl-cse tags: - '5.0' @@ -9619,7 +8356,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-5.0-server-auth-sasl-winssl tags: - '5.0' @@ -9644,7 +8380,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-5.0-server-auth-nosasl-openssl tags: - '5.0' @@ -9669,7 +8404,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-5.0-server-auth-nosasl-openssl-static tags: - '5.0' @@ -9694,7 +8428,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-server-auth-nosasl-darwinssl tags: - '5.0' @@ -9719,7 +8452,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-server-auth-nosasl-winssl tags: - '5.0' @@ -9744,7 +8476,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-openssl-cse tags: - '5.0' @@ -9773,7 +8504,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-openssl tags: - '5.0' @@ -9798,7 +8528,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-openssl-static-cse tags: - '5.0' @@ -9827,7 +8556,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-openssl-static tags: - '5.0' @@ -9852,7 +8580,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-darwinssl-cse tags: - '5.0' @@ -9881,7 +8608,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-darwinssl tags: - '5.0' @@ -9906,7 +8632,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-winssl-cse tags: - '5.0' @@ -9935,7 +8660,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-5.0-server-noauth-sasl-winssl tags: - '5.0' @@ -9960,7 +8684,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-5.0-server-noauth-nosasl-openssl tags: - '5.0' @@ -9985,7 +8708,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-5.0-server-noauth-nosasl-openssl-static tags: - '5.0' @@ -10010,7 +8732,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-server-noauth-nosasl-darwinssl tags: - '5.0' @@ -10035,7 +8756,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-server-noauth-nosasl-winssl tags: - '5.0' @@ -10060,7 +8780,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-5.0-server-noauth-nosasl-nossl tags: - '5.0' @@ -10085,7 +8804,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-5.0-replica-set-auth-sasl-openssl tags: - '5.0' @@ -10110,7 +8828,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-5.0-replica-set-auth-sasl-openssl-static tags: - '5.0' @@ -10135,7 +8852,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-replica-set-auth-sasl-darwinssl tags: - '5.0' @@ -10160,7 +8876,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-replica-set-auth-sasl-winssl tags: - '5.0' @@ -10185,7 +8900,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-5.0-replica-set-auth-nosasl-openssl tags: - '5.0' @@ -10210,7 +8924,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-5.0-replica-set-auth-nosasl-openssl-static tags: - '5.0' @@ -10235,7 +8948,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-replica-set-auth-nosasl-darwinssl tags: - '5.0' @@ -10260,7 +8972,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-replica-set-auth-nosasl-winssl tags: - '5.0' @@ -10285,7 +8996,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-sasl-openssl tags: - '5.0' @@ -10310,7 +9020,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-sasl-openssl-static tags: - '5.0' @@ -10335,7 +9044,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-sasl-darwinssl tags: - '5.0' @@ -10360,7 +9068,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-sasl-winssl tags: - '5.0' @@ -10385,7 +9092,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-nosasl-openssl tags: - '5.0' @@ -10410,7 +9116,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-nosasl-openssl-static tags: - '5.0' @@ -10435,7 +9140,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-nosasl-darwinssl tags: - '5.0' @@ -10460,7 +9164,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-nosasl-winssl tags: - '5.0' @@ -10485,7 +9188,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-5.0-replica-set-noauth-nosasl-nossl tags: - '5.0' @@ -10510,7 +9212,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-5.0-sharded-auth-sasl-openssl tags: - '5.0' @@ -10535,7 +9236,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-5.0-sharded-auth-sasl-openssl-static tags: - '5.0' @@ -10560,7 +9260,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-sharded-auth-sasl-darwinssl tags: - '5.0' @@ -10585,7 +9284,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-sharded-auth-sasl-winssl tags: - '5.0' @@ -10610,7 +9308,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-5.0-sharded-auth-nosasl-openssl tags: - '5.0' @@ -10635,7 +9332,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-5.0-sharded-auth-nosasl-openssl-static tags: - '5.0' @@ -10660,7 +9356,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-sharded-auth-nosasl-darwinssl tags: - '5.0' @@ -10685,7 +9380,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-sharded-auth-nosasl-winssl tags: - '5.0' @@ -10710,7 +9404,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-sasl-openssl tags: - '5.0' @@ -10735,7 +9428,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-sasl-openssl-static tags: - '5.0' @@ -10760,7 +9452,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-sharded-noauth-sasl-darwinssl tags: - '5.0' @@ -10785,7 +9476,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-sasl-winssl tags: - '5.0' @@ -10810,7 +9500,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-nosasl-openssl tags: - '5.0' @@ -10835,7 +9524,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-nosasl-openssl-static tags: - '5.0' @@ -10860,7 +9548,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-5.0-sharded-noauth-nosasl-darwinssl tags: - '5.0' @@ -10885,7 +9572,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-nosasl-winssl tags: - '5.0' @@ -10910,7 +9596,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-5.0-sharded-noauth-nosasl-nossl tags: - '5.0' @@ -10935,7 +9620,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-openssl-cse tags: - '4.4' @@ -10964,7 +9648,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-openssl tags: - '4.4' @@ -10989,7 +9672,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-openssl-static-cse tags: - '4.4' @@ -11018,7 +9700,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-openssl-static tags: - '4.4' @@ -11043,7 +9724,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-darwinssl-cse tags: - '4.4' @@ -11072,7 +9752,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-darwinssl tags: - '4.4' @@ -11097,7 +9776,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-winssl-cse tags: - '4.4' @@ -11126,7 +9804,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-4.4-server-auth-sasl-winssl tags: - '4.4' @@ -11151,7 +9828,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.4-server-auth-nosasl-openssl tags: - '4.4' @@ -11176,7 +9852,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.4-server-auth-nosasl-openssl-static tags: - '4.4' @@ -11201,7 +9876,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-server-auth-nosasl-darwinssl tags: - '4.4' @@ -11226,7 +9900,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-server-auth-nosasl-winssl tags: - '4.4' @@ -11251,7 +9924,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-openssl-cse tags: - '4.4' @@ -11280,7 +9952,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-openssl tags: - '4.4' @@ -11305,7 +9976,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-openssl-static-cse tags: - '4.4' @@ -11334,7 +10004,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-openssl-static tags: - '4.4' @@ -11359,7 +10028,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-darwinssl-cse tags: - '4.4' @@ -11388,7 +10056,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-darwinssl tags: - '4.4' @@ -11413,7 +10080,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-winssl-cse tags: - '4.4' @@ -11442,7 +10108,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-4.4-server-noauth-sasl-winssl tags: - '4.4' @@ -11467,7 +10132,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.4-server-noauth-nosasl-openssl tags: - '4.4' @@ -11492,7 +10156,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.4-server-noauth-nosasl-openssl-static tags: - '4.4' @@ -11517,7 +10180,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-server-noauth-nosasl-darwinssl tags: - '4.4' @@ -11542,7 +10204,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-server-noauth-nosasl-winssl tags: - '4.4' @@ -11567,7 +10228,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.4-server-noauth-nosasl-nossl tags: - '4.4' @@ -11592,7 +10252,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.4-replica-set-auth-sasl-openssl tags: - '4.4' @@ -11617,7 +10276,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.4-replica-set-auth-sasl-openssl-static tags: - '4.4' @@ -11642,7 +10300,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-replica-set-auth-sasl-darwinssl tags: - '4.4' @@ -11667,7 +10324,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-replica-set-auth-sasl-winssl tags: - '4.4' @@ -11692,7 +10348,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.4-replica-set-auth-nosasl-openssl tags: - '4.4' @@ -11717,7 +10372,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.4-replica-set-auth-nosasl-openssl-static tags: - '4.4' @@ -11742,7 +10396,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-replica-set-auth-nosasl-darwinssl tags: - '4.4' @@ -11767,7 +10420,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-replica-set-auth-nosasl-winssl tags: - '4.4' @@ -11792,7 +10444,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-sasl-openssl tags: - '4.4' @@ -11817,7 +10468,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-sasl-openssl-static tags: - '4.4' @@ -11842,7 +10492,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-sasl-darwinssl tags: - '4.4' @@ -11867,7 +10516,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-sasl-winssl tags: - '4.4' @@ -11892,7 +10540,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-nosasl-openssl tags: - '4.4' @@ -11917,7 +10564,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-nosasl-openssl-static tags: - '4.4' @@ -11942,7 +10588,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-nosasl-darwinssl tags: - '4.4' @@ -11967,7 +10612,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-nosasl-winssl tags: - '4.4' @@ -11992,7 +10636,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.4-replica-set-noauth-nosasl-nossl tags: - '4.4' @@ -12017,7 +10660,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.4-sharded-auth-sasl-openssl tags: - '4.4' @@ -12042,7 +10684,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.4-sharded-auth-sasl-openssl-static tags: - '4.4' @@ -12067,7 +10708,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-sharded-auth-sasl-darwinssl tags: - '4.4' @@ -12092,7 +10732,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-sharded-auth-sasl-winssl tags: - '4.4' @@ -12117,7 +10756,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.4-sharded-auth-nosasl-openssl tags: - '4.4' @@ -12142,7 +10780,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.4-sharded-auth-nosasl-openssl-static tags: - '4.4' @@ -12167,7 +10804,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-sharded-auth-nosasl-darwinssl tags: - '4.4' @@ -12192,7 +10828,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-sharded-auth-nosasl-winssl tags: - '4.4' @@ -12217,7 +10852,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-sasl-openssl tags: - '4.4' @@ -12242,7 +10876,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-sasl-openssl-static tags: - '4.4' @@ -12267,7 +10900,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-sharded-noauth-sasl-darwinssl tags: - '4.4' @@ -12292,7 +10924,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-sasl-winssl tags: - '4.4' @@ -12317,7 +10948,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-nosasl-openssl tags: - '4.4' @@ -12342,7 +10972,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-nosasl-openssl-static tags: - '4.4' @@ -12367,7 +10996,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.4-sharded-noauth-nosasl-darwinssl tags: - '4.4' @@ -12392,7 +11020,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-nosasl-winssl tags: - '4.4' @@ -12417,7 +11044,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.4-sharded-noauth-nosasl-nossl tags: - '4.4' @@ -12442,7 +11068,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-openssl-cse tags: - '4.2' @@ -12471,7 +11096,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-openssl tags: - '4.2' @@ -12496,7 +11120,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-openssl-static-cse tags: - '4.2' @@ -12525,7 +11148,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-openssl-static tags: - '4.2' @@ -12550,7 +11172,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-darwinssl-cse tags: - '4.2' @@ -12579,7 +11200,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-darwinssl tags: - '4.2' @@ -12604,7 +11224,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-winssl-cse tags: - '4.2' @@ -12633,7 +11252,6 @@ tasks: AUTH: auth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-4.2-server-auth-sasl-winssl tags: - '4.2' @@ -12658,7 +11276,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.2-server-auth-nosasl-openssl tags: - '4.2' @@ -12683,7 +11300,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.2-server-auth-nosasl-openssl-static tags: - '4.2' @@ -12708,7 +11324,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-server-auth-nosasl-darwinssl tags: - '4.2' @@ -12733,7 +11348,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-server-auth-nosasl-winssl tags: - '4.2' @@ -12758,7 +11372,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-openssl-cse tags: - '4.2' @@ -12787,7 +11400,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-openssl tags: - '4.2' @@ -12812,7 +11424,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-openssl-static-cse tags: - '4.2' @@ -12841,7 +11452,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-openssl-static tags: - '4.2' @@ -12866,7 +11476,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-darwinssl-cse tags: - '4.2' @@ -12895,7 +11504,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-darwinssl tags: - '4.2' @@ -12920,7 +11528,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-winssl-cse tags: - '4.2' @@ -12949,7 +11556,6 @@ tasks: AUTH: noauth CLIENT_SIDE_ENCRYPTION: 'on' SSL: winssl - VALGRIND: 'off' - name: test-4.2-server-noauth-sasl-winssl tags: - '4.2' @@ -12974,7 +11580,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.2-server-noauth-nosasl-openssl tags: - '4.2' @@ -12999,7 +11604,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.2-server-noauth-nosasl-openssl-static tags: - '4.2' @@ -13024,7 +11628,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-server-noauth-nosasl-darwinssl tags: - '4.2' @@ -13049,7 +11652,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-server-noauth-nosasl-winssl tags: - '4.2' @@ -13074,7 +11676,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.2-server-noauth-nosasl-nossl tags: - '4.2' @@ -13099,7 +11700,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.2-replica-set-auth-sasl-openssl tags: - '4.2' @@ -13124,7 +11724,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.2-replica-set-auth-sasl-openssl-static tags: - '4.2' @@ -13149,7 +11748,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-replica-set-auth-sasl-darwinssl tags: - '4.2' @@ -13174,7 +11772,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-replica-set-auth-sasl-winssl tags: - '4.2' @@ -13199,7 +11796,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.2-replica-set-auth-nosasl-openssl tags: - '4.2' @@ -13224,7 +11820,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.2-replica-set-auth-nosasl-openssl-static tags: - '4.2' @@ -13249,7 +11844,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-replica-set-auth-nosasl-darwinssl tags: - '4.2' @@ -13274,7 +11868,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-replica-set-auth-nosasl-winssl tags: - '4.2' @@ -13299,7 +11892,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-sasl-openssl tags: - '4.2' @@ -13324,7 +11916,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-sasl-openssl-static tags: - '4.2' @@ -13349,7 +11940,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-sasl-darwinssl tags: - '4.2' @@ -13374,7 +11964,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-sasl-winssl tags: - '4.2' @@ -13399,7 +11988,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-nosasl-openssl tags: - '4.2' @@ -13424,7 +12012,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-nosasl-openssl-static tags: - '4.2' @@ -13449,7 +12036,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-nosasl-darwinssl tags: - '4.2' @@ -13474,7 +12060,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-nosasl-winssl tags: - '4.2' @@ -13499,7 +12084,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.2-replica-set-noauth-nosasl-nossl tags: - '4.2' @@ -13524,7 +12108,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.2-sharded-auth-sasl-openssl tags: - '4.2' @@ -13549,7 +12132,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.2-sharded-auth-sasl-openssl-static tags: - '4.2' @@ -13574,7 +12156,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-sharded-auth-sasl-darwinssl tags: - '4.2' @@ -13599,7 +12180,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-sharded-auth-sasl-winssl tags: - '4.2' @@ -13624,7 +12204,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.2-sharded-auth-nosasl-openssl tags: - '4.2' @@ -13649,7 +12228,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.2-sharded-auth-nosasl-openssl-static tags: - '4.2' @@ -13674,7 +12252,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-sharded-auth-nosasl-darwinssl tags: - '4.2' @@ -13699,7 +12276,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-sharded-auth-nosasl-winssl tags: - '4.2' @@ -13724,7 +12300,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-sasl-openssl tags: - '4.2' @@ -13749,7 +12324,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-sasl-openssl-static tags: - '4.2' @@ -13774,7 +12348,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-sharded-noauth-sasl-darwinssl tags: - '4.2' @@ -13799,7 +12372,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-sasl-winssl tags: - '4.2' @@ -13824,7 +12396,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-nosasl-openssl tags: - '4.2' @@ -13849,7 +12420,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-nosasl-openssl-static tags: - '4.2' @@ -13874,7 +12444,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.2-sharded-noauth-nosasl-darwinssl tags: - '4.2' @@ -13899,7 +12468,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-nosasl-winssl tags: - '4.2' @@ -13924,7 +12492,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.2-sharded-noauth-nosasl-nossl tags: - '4.2' @@ -13949,7 +12516,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.0-server-auth-sasl-openssl tags: - '4.0' @@ -13974,7 +12540,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.0-server-auth-sasl-openssl-static tags: - '4.0' @@ -13999,7 +12564,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-server-auth-sasl-darwinssl tags: - '4.0' @@ -14024,7 +12588,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-server-auth-sasl-winssl tags: - '4.0' @@ -14049,7 +12612,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.0-server-auth-nosasl-openssl tags: - '4.0' @@ -14074,7 +12636,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.0-server-auth-nosasl-openssl-static tags: - '4.0' @@ -14099,7 +12660,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-server-auth-nosasl-darwinssl tags: - '4.0' @@ -14124,7 +12684,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-server-auth-nosasl-winssl tags: - '4.0' @@ -14149,7 +12708,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.0-server-noauth-sasl-openssl tags: - '4.0' @@ -14174,7 +12732,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.0-server-noauth-sasl-openssl-static tags: - '4.0' @@ -14199,7 +12756,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-server-noauth-sasl-darwinssl tags: - '4.0' @@ -14224,7 +12780,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-server-noauth-sasl-winssl tags: - '4.0' @@ -14249,7 +12804,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.0-server-noauth-nosasl-openssl tags: - '4.0' @@ -14274,7 +12828,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.0-server-noauth-nosasl-openssl-static tags: - '4.0' @@ -14299,7 +12852,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-server-noauth-nosasl-darwinssl tags: - '4.0' @@ -14324,7 +12876,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-server-noauth-nosasl-winssl tags: - '4.0' @@ -14349,7 +12900,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.0-server-noauth-nosasl-nossl tags: - '4.0' @@ -14374,7 +12924,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.0-replica-set-auth-sasl-openssl tags: - '4.0' @@ -14399,7 +12948,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.0-replica-set-auth-sasl-openssl-static tags: - '4.0' @@ -14424,7 +12972,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-replica-set-auth-sasl-darwinssl tags: - '4.0' @@ -14449,7 +12996,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-replica-set-auth-sasl-winssl tags: - '4.0' @@ -14474,7 +13020,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.0-replica-set-auth-nosasl-openssl tags: - '4.0' @@ -14499,7 +13044,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.0-replica-set-auth-nosasl-openssl-static tags: - '4.0' @@ -14524,7 +13068,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-replica-set-auth-nosasl-darwinssl tags: - '4.0' @@ -14549,7 +13092,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-replica-set-auth-nosasl-winssl tags: - '4.0' @@ -14574,7 +13116,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-sasl-openssl tags: - '4.0' @@ -14599,7 +13140,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-sasl-openssl-static tags: - '4.0' @@ -14624,7 +13164,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-sasl-darwinssl tags: - '4.0' @@ -14649,7 +13188,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-sasl-winssl tags: - '4.0' @@ -14674,7 +13212,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-nosasl-openssl tags: - '4.0' @@ -14699,7 +13236,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-nosasl-openssl-static tags: - '4.0' @@ -14724,7 +13260,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-nosasl-darwinssl tags: - '4.0' @@ -14749,7 +13284,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-nosasl-winssl tags: - '4.0' @@ -14774,7 +13308,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.0-replica-set-noauth-nosasl-nossl tags: - '4.0' @@ -14799,7 +13332,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-4.0-sharded-auth-sasl-openssl tags: - '4.0' @@ -14824,7 +13356,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.0-sharded-auth-sasl-openssl-static tags: - '4.0' @@ -14849,7 +13380,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-sharded-auth-sasl-darwinssl tags: - '4.0' @@ -14874,7 +13404,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-sharded-auth-sasl-winssl tags: - '4.0' @@ -14899,7 +13428,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.0-sharded-auth-nosasl-openssl tags: - '4.0' @@ -14924,7 +13452,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-4.0-sharded-auth-nosasl-openssl-static tags: - '4.0' @@ -14949,7 +13476,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-sharded-auth-nosasl-darwinssl tags: - '4.0' @@ -14974,7 +13500,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-sharded-auth-nosasl-winssl tags: - '4.0' @@ -14999,7 +13524,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-sasl-openssl tags: - '4.0' @@ -15024,7 +13548,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-sasl-openssl-static tags: - '4.0' @@ -15049,7 +13572,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-sharded-noauth-sasl-darwinssl tags: - '4.0' @@ -15074,7 +13596,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-sasl-winssl tags: - '4.0' @@ -15099,7 +13620,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-nosasl-openssl tags: - '4.0' @@ -15124,7 +13644,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-nosasl-openssl-static tags: - '4.0' @@ -15149,7 +13668,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-4.0-sharded-noauth-nosasl-darwinssl tags: - '4.0' @@ -15174,7 +13692,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-nosasl-winssl tags: - '4.0' @@ -15199,7 +13716,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-4.0-sharded-noauth-nosasl-nossl tags: - '4.0' @@ -15224,7 +13740,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-3.6-server-auth-sasl-openssl tags: - '3.6' @@ -15249,7 +13764,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-3.6-server-auth-sasl-openssl-static tags: - '3.6' @@ -15274,7 +13788,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-server-auth-sasl-darwinssl tags: - '3.6' @@ -15299,7 +13812,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-server-auth-sasl-winssl tags: - '3.6' @@ -15324,7 +13836,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-3.6-server-auth-nosasl-openssl tags: - '3.6' @@ -15349,7 +13860,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-3.6-server-auth-nosasl-openssl-static tags: - '3.6' @@ -15374,7 +13884,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-server-auth-nosasl-darwinssl tags: - '3.6' @@ -15399,7 +13908,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-server-auth-nosasl-winssl tags: - '3.6' @@ -15424,7 +13932,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-3.6-server-noauth-sasl-openssl tags: - '3.6' @@ -15449,7 +13956,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-3.6-server-noauth-sasl-openssl-static tags: - '3.6' @@ -15474,7 +13980,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-server-noauth-sasl-darwinssl tags: - '3.6' @@ -15499,7 +14004,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-server-noauth-sasl-winssl tags: - '3.6' @@ -15524,7 +14028,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-3.6-server-noauth-nosasl-openssl tags: - '3.6' @@ -15549,7 +14052,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-3.6-server-noauth-nosasl-openssl-static tags: - '3.6' @@ -15574,7 +14076,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-server-noauth-nosasl-darwinssl tags: - '3.6' @@ -15599,7 +14100,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-server-noauth-nosasl-winssl tags: - '3.6' @@ -15624,7 +14124,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-3.6-server-noauth-nosasl-nossl tags: - '3.6' @@ -15649,7 +14148,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-3.6-replica-set-auth-sasl-openssl tags: - '3.6' @@ -15674,7 +14172,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-3.6-replica-set-auth-sasl-openssl-static tags: - '3.6' @@ -15699,7 +14196,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-replica-set-auth-sasl-darwinssl tags: - '3.6' @@ -15724,7 +14220,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-replica-set-auth-sasl-winssl tags: - '3.6' @@ -15749,7 +14244,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-3.6-replica-set-auth-nosasl-openssl tags: - '3.6' @@ -15774,7 +14268,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-3.6-replica-set-auth-nosasl-openssl-static tags: - '3.6' @@ -15799,7 +14292,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-replica-set-auth-nosasl-darwinssl tags: - '3.6' @@ -15824,7 +14316,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-replica-set-auth-nosasl-winssl tags: - '3.6' @@ -15849,7 +14340,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-sasl-openssl tags: - '3.6' @@ -15874,7 +14364,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-sasl-openssl-static tags: - '3.6' @@ -15899,7 +14388,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-sasl-darwinssl tags: - '3.6' @@ -15924,7 +14412,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-sasl-winssl tags: - '3.6' @@ -15949,7 +14436,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-nosasl-openssl tags: - '3.6' @@ -15974,7 +14460,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-nosasl-openssl-static tags: - '3.6' @@ -15999,7 +14484,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-nosasl-darwinssl tags: - '3.6' @@ -16024,7 +14508,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-nosasl-winssl tags: - '3.6' @@ -16049,7 +14532,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-3.6-replica-set-noauth-nosasl-nossl tags: - '3.6' @@ -16074,7 +14556,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-3.6-sharded-auth-sasl-openssl tags: - '3.6' @@ -16099,7 +14580,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-3.6-sharded-auth-sasl-openssl-static tags: - '3.6' @@ -16124,7 +14604,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-sharded-auth-sasl-darwinssl tags: - '3.6' @@ -16149,7 +14628,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-sharded-auth-sasl-winssl tags: - '3.6' @@ -16174,7 +14652,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-3.6-sharded-auth-nosasl-openssl tags: - '3.6' @@ -16199,7 +14676,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl - VALGRIND: 'off' - name: test-3.6-sharded-auth-nosasl-openssl-static tags: - '3.6' @@ -16224,7 +14700,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-sharded-auth-nosasl-darwinssl tags: - '3.6' @@ -16249,7 +14724,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-sharded-auth-nosasl-winssl tags: - '3.6' @@ -16274,7 +14748,6 @@ tasks: ASAN: 'off' AUTH: auth SSL: winssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-sasl-openssl tags: - '3.6' @@ -16299,7 +14772,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-sasl-openssl-static tags: - '3.6' @@ -16324,7 +14796,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-sharded-noauth-sasl-darwinssl tags: - '3.6' @@ -16349,7 +14820,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-sasl-winssl tags: - '3.6' @@ -16374,7 +14844,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-nosasl-openssl tags: - '3.6' @@ -16399,7 +14868,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-nosasl-openssl-static tags: - '3.6' @@ -16424,7 +14892,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: openssl-static - VALGRIND: 'off' - name: test-3.6-sharded-noauth-nosasl-darwinssl tags: - '3.6' @@ -16449,7 +14916,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: darwinssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-nosasl-winssl tags: - '3.6' @@ -16474,7 +14940,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: winssl - VALGRIND: 'off' - name: test-3.6-sharded-noauth-nosasl-nossl tags: - '3.6' @@ -16499,7 +14964,6 @@ tasks: ASAN: 'off' AUTH: noauth SSL: nossl - VALGRIND: 'off' - name: test-dns-openssl depends_on: name: debug-compile-sasl-openssl @@ -16813,19 +15277,6 @@ tasks: vars: BUILD_NAME: debug-compile-nosasl-openssl - func: run auth tests -- name: test-valgrind-memcheck-mock-server - tags: - - test-valgrind - depends_on: - name: debug-compile-valgrind - commands: - - func: fetch build - vars: - BUILD_NAME: debug-compile-valgrind - - func: run mock server tests - vars: - SSL: ssl - VALGRIND: 'on' - name: test-asan-memcheck-mock-server tags: - test-asan @@ -16877,8 +15328,8 @@ tasks: - func: update codecov.io - name: authentication-tests-memcheck tags: + - asan - authentication-tests - - valgrind commands: - command: shell.exec type: test @@ -16887,10 +15338,10 @@ tasks: shell: bash script: |- set -o errexit - VALGRIND=ON DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL sh .evergreen/compile.sh + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL sh .evergreen/compile.sh - func: run auth tests vars: - valgrind: 'true' + ASAN: 'on' - name: test-versioned-api tags: - versioned-api @@ -24256,7 +22707,6 @@ buildvariants: distros: - ubuntu1804-build - .debug-compile !.sspi .nossl - - debug-compile-valgrind - debug-compile-no-counters - compile-tracing - link-with-cmake @@ -24436,7 +22886,7 @@ buildvariants: - .debug-compile !.sspi .openssl - .debug-compile !.sspi .nossl - .authentication-tests .openssl - - .authentication-tests .valgrind + - .authentication-tests .asan - .4.4 .openssl !.nosasl .server - .4.2 .openssl !.nosasl .server - .4.0 .openssl !.nosasl .server @@ -24594,7 +23044,7 @@ buildvariants: - .debug-compile !.sspi .openssl - .debug-compile !.sspi .nossl - .authentication-tests .openssl - - .authentication-tests .valgrind + - .authentication-tests .asan - .latest .openssl !.nosasl .server - .latest .nossl - .latest .openssl .nosasl .replica_set @@ -24849,28 +23299,6 @@ buildvariants: - .6.0 .openssl !.nosasl .server - .5.0 .openssl !.nosasl .server batchtime: 1440 -- name: valgrind-ubuntu - display_name: Valgrind Tests (Ubuntu 18.04) - expansions: - CC: gcc - run_on: ubuntu1804-build - tasks: - - .debug-compile !.sspi .openssl !.sasl - - .debug-compile !.sspi .nossl !.sasl - - .debug-compile .special .valgrind - - .test-valgrind !.3.6 - batchtime: 1440 -- name: valgrind-ubuntu-1404 - display_name: Valgrind Tests - MongoDB (pre 4.0) (Ubuntu 14.04) - expansions: - CC: gcc - run_on: ubuntu1404-build - tasks: - - .debug-compile !.sspi .openssl !.sasl - - .debug-compile !.sspi .nossl !.sasl - - .debug-compile .special .valgrind - - .test-valgrind .3.6 - batchtime: 1440 - name: asan-ubuntu display_name: ASAN Tests (Ubuntu 18.04) expansions: diff --git a/.evergreen/run-auth-tests.sh b/.evergreen/run-auth-tests.sh index fe6ba22e84..99886c5ae0 100644 --- a/.evergreen/run-auth-tests.sh +++ b/.evergreen/run-auth-tests.sh @@ -21,7 +21,6 @@ set +o xtrace # Don't echo commands # ATLAS_TLS12_SRV=${atlas_tls12_srv} # Evergreen variable # REQUIRE_TLS12=${require_tls12} # libmongoc requires TLS 1.2+ # OBSOLETE_TLS=${obsolete_tls} # libmongoc was built with old TLS lib, don't try connecting to Atlas -# VALGRIND=${valgrind} # Whether to run with valgrind # ATLAS_SERVERLESS_SRV=${atlas_serverless_srv} # Evergreen variable # ATLAS_SERVERLESS=${atlas_serverless} # Evergreen variable @@ -63,12 +62,6 @@ case "$OS" in IP_ADDR=`getent hosts $AUTH_HOST | head -n 1 | awk '{print $1}'` esac -if [ "${valgrind}" = "true" ]; then - . $DIR/valgrind.sh - PING="run_valgrind $PING" - TEST_GSSAPI="run_valgrind $TEST_GSSAPI" -fi - if test -f /tmp/drivers.keytab; then kinit -k -t /tmp/drivers.keytab -p drivers@LDAPTEST.10GEN.CC || true fi diff --git a/.evergreen/run-mock-server-tests.sh b/.evergreen/run-mock-server-tests.sh index 7b9ec55071..3b8bec6e91 100755 --- a/.evergreen/run-mock-server-tests.sh +++ b/.evergreen/run-mock-server-tests.sh @@ -4,7 +4,7 @@ set -o errexit # Exit the script with error if any of the commands fail OS=$(uname -s | tr '[:upper:]' '[:lower:]') DNS=${DNS:-nodns} -echo "CC='${CC}' VALGRIND=${VALGRIND}" +echo "CC='${CC}'" [ -z "$MARCH" ] && MARCH=$(uname -m | tr '[:upper:]' '[:lower:]') TEST_ARGS="-d -F test-results.json --skip-tests .evergreen/skip-tests.txt" @@ -30,13 +30,6 @@ case "$OS" in *) ulimit -c unlimited || true - if [ "$VALGRIND" = "on" ]; then - . $DIR/valgrind.sh - run_valgrind ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS - else - ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS - fi - + ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS ;; esac - diff --git a/.evergreen/run-tests-bson.sh b/.evergreen/run-tests-bson.sh index 08ddc921b7..95b40fcf9a 100755 --- a/.evergreen/run-tests-bson.sh +++ b/.evergreen/run-tests-bson.sh @@ -32,13 +32,6 @@ case "$OS" in *) ulimit -c unlimited || true - if [ "$VALGRIND" = "on" ]; then - DIR=$(dirname $0) - . $DIR/valgrind.sh - run_valgrind ./src/libmongoc/test-libmongoc --no-fork --skip-tests .evergreen/skip-tests.txt $TEST_ARGS - else - ./.libs/test-libbson "--no-fork $TEST_ARGS" - fi + ./.libs/test-libbson "--no-fork $TEST_ARGS" ;; esac - diff --git a/.evergreen/run-tests.sh b/.evergreen/run-tests.sh index 6a832be996..29950bec70 100755 --- a/.evergreen/run-tests.sh +++ b/.evergreen/run-tests.sh @@ -15,7 +15,7 @@ export ASAN_OPTIONS="detect_leaks=1 abort_on_error=1 symbolize=1" export ASAN_SYMBOLIZER_PATH="/opt/mongodbtoolchain/v3/bin/llvm-symbolizer" export TSAN_OPTIONS="suppressions=./.tsan-suppressions" -echo "COMPRESSORS='${COMPRESSORS}' CC='${CC}' AUTH=${AUTH} SSL=${SSL} URI=${URI} IPV4_ONLY=${IPV4_ONLY} VALGRIND=${VALGRIND} MONGOC_TEST_URI=${MONGOC_TEST_URI}" +echo "COMPRESSORS='${COMPRESSORS}' CC='${CC}' AUTH=${AUTH} SSL=${SSL} URI=${URI} IPV4_ONLY=${IPV4_ONLY} MONGOC_TEST_URI=${MONGOC_TEST_URI}" [ -z "$MARCH" ] && MARCH=$(uname -m | tr '[:upper:]' '[:lower:]') TEST_ARGS="-d -F test-results.json --skip-tests .evergreen/skip-tests.txt" @@ -69,7 +69,6 @@ fi DIR=$(dirname $0) . $DIR/add-build-dirs-to-paths.sh -. $DIR/valgrind.sh check_mongocryptd() { if [ "$CLIENT_SIDE_ENCRYPTION" = "on" -a "$ASAN" = "on" ]; then @@ -161,12 +160,7 @@ case "$OS" in export PATH=$PATH:$(pwd)/mongodb/bin check_mongocryptd - if [ "$VALGRIND" = "on" ]; then - . $DIR/valgrind.sh - run_valgrind ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS -d - else - ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS -d - fi + ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS -d ;; esac diff --git a/.evergreen/valgrind.sh b/.evergreen/valgrind.sh deleted file mode 100644 index c8f756b2b8..0000000000 --- a/.evergreen/valgrind.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -set -o errexit # Exit the script with error if any of the commands fail - -run_valgrind () -{ - # Set MONGOC_TEST_VALGRIND to disable asserts that may fail in valgrind - # Do not do leak detection, as ASAN tests are set to detect leaks, and - # leak detection on valgrind is slower. - MONGOC_TEST_SKIP_SLOW=on MONGOC_TEST_VALGRIND=on valgrind \ - --error-exitcode=1 --leak-check=no --gen-suppressions=all \ - --keep-stacktraces=none --suppressions=valgrind.suppressions \ - $@ -} diff --git a/build/evergreen_config_lib/functions.py b/build/evergreen_config_lib/functions.py index f5f906553a..716c26f97e 100644 --- a/build/evergreen_config_lib/functions.py +++ b/build/evergreen_config_lib/functions.py @@ -296,7 +296,6 @@ export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} - export VALGRIND=${VALGRIND} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} @@ -380,7 +379,6 @@ export ATLAS_TLS12_SRV='${atlas_tls12_srv}' export REQUIRE_TLS12='${require_tls12}' export OBSOLETE_TLS='${obsolete_tls}' - export VALGRIND='${valgrind}' export ATLAS_SERVERLESS_SRV='${atlas_serverless_srv}' export ATLAS_SERVERLESS='${atlas_serverless}' sh .evergreen/run-auth-tests.sh @@ -388,7 +386,7 @@ )), ('run mock server tests', Function( shell_mongoc( - r'CC="${CC}" VALGRIND=${VALGRIND} sh .evergreen/run-mock-server-tests.sh'), + r'CC="${CC}" sh .evergreen/run-mock-server-tests.sh'), )), ('cleanup', Function( shell_mongoc(r''' @@ -544,7 +542,6 @@ export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} - export VALGRIND=${VALGRIND} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} diff --git a/build/evergreen_config_lib/tasks.py b/build/evergreen_config_lib/tasks.py index 6edff67d6a..ccf095d76e 100644 --- a/build/evergreen_config_lib/tasks.py +++ b/build/evergreen_config_lib/tasks.py @@ -197,11 +197,6 @@ def __init__(self, task_name, suffix_commands, orchestration=True, **kwargs): SpecialTask('debug-compile-c11', tags=['debug-compile', 'c11', 'stdflags'], C_STD_VERSION='11'), - SpecialTask('debug-compile-valgrind', - tags=['debug-compile', 'valgrind'], - SASL='OFF', - SSL='OPENSSL', - VALGRIND='ON'), SpecialTask('debug-compile-coverage', tags=['debug-compile', 'coverage'], COVERAGE='ON', @@ -469,8 +464,7 @@ def __init__(self, task_name, suffix_commands, orchestration=True, **kwargs): class IntegrationTask(MatrixTask): - axes = OD([('valgrind', ['valgrind', False]), - ('sanitizer', ['asan', 'tsan', False]), + axes = OD([('sanitizer', ['asan', 'tsan', False]), ('coverage', ['coverage', False]), ('version', ['latest', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6']), @@ -483,11 +477,7 @@ class IntegrationTask(MatrixTask): def __init__(self, *args, **kwargs): super(IntegrationTask, self).__init__(*args, **kwargs) - if self.valgrind: - self.add_tags('test-valgrind') - self.add_tags(self.version) - self.options['exec_timeout_secs'] = 14400 - elif self.coverage: + if self.coverage: self.add_tags('test-coverage') self.add_tags(self.version) elif self.sanitizer == "asan": @@ -506,9 +496,7 @@ def __init__(self, *args, **kwargs): self.add_tags("client-side-encryption") # E.g., test-latest-server-auth-sasl-ssl needs debug-compile-sasl-ssl. # Coverage tasks use a build function instead of depending on a task. - if self.valgrind: - self.add_dependency('debug-compile-valgrind') - elif self.sanitizer == "asan" and self.ssl and self.cse: + if self.sanitizer == "asan" and self.ssl and self.cse: self.add_dependency('debug-compile-asan-%s-cse' % ( self.display('ssl'),)) elif self.sanitizer == "asan" and self.ssl: @@ -558,8 +546,7 @@ def to_dict(self): extra["CLIENT_SIDE_ENCRYPTION"] = "on" commands.append(func('clone drivers-evergreen-tools')) commands.append(func('run kms servers')) - commands.append(run_tests(VALGRIND=self.on_off('valgrind'), - ASAN='on' if self.sanitizer == 'asan' else 'off', + commands.append(run_tests(ASAN='on' if self.sanitizer == 'asan' else 'off', AUTH=self.display('auth'), SSL=self.display('ssl'), **extra)) @@ -572,23 +559,10 @@ def _check_allowed(self): if self.sanitizer == 'tsan': require(self.ssl == 'openssl') prohibit(self.sasl) - prohibit(self.valgrind) prohibit(self.coverage) prohibit(self.cse) prohibit(self.version == "3.0") - if self.valgrind: - prohibit(self.cse) - prohibit(self.sanitizer) - prohibit(self.sasl) - require(self.ssl in ('openssl', False)) - prohibit(self.coverage) - # Valgrind only with auth+SSL or no auth + no SSL. - if self.auth: - require(self.ssl == 'openssl') - else: - prohibit(self.ssl) - if self.auth: require(self.ssl) @@ -829,11 +803,6 @@ def __init__(self, *args, **kwargs): all_tasks = chain(all_tasks, [ - PostCompileTask( - 'test-valgrind-memcheck-mock-server', - tags=['test-valgrind'], - depends_on='debug-compile-valgrind', - commands=[func('run mock server tests', VALGRIND='on', SSL='ssl')]), PostCompileTask( 'test-asan-memcheck-mock-server', tags=['test-asan'], @@ -863,13 +832,13 @@ def __init__(self, *args, **kwargs): func('update codecov.io')]), NamedTask( 'authentication-tests-memcheck', - tags=['authentication-tests', 'valgrind'], + tags=['authentication-tests', 'asan'], commands=[ shell_mongoc(""" - VALGRIND=ON DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO \ + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO \ SSL=OPENSSL sh .evergreen/compile.sh """), - func('run auth tests', valgrind='true')]), + func('run auth tests', ASAN='on')]), PostCompileTask( 'test-versioned-api', tags=['versioned-api'], diff --git a/build/evergreen_config_lib/variants.py b/build/evergreen_config_lib/variants.py index dd25ed8a8b..9608d377a2 100644 --- a/build/evergreen_config_lib/variants.py +++ b/build/evergreen_config_lib/variants.py @@ -45,7 +45,6 @@ def days(n): OD([('name', 'debug-compile-nosasl-openssl-static'), ('distros', ['ubuntu1804-build'])]), '.debug-compile !.sspi .nossl', - 'debug-compile-valgrind', 'debug-compile-no-counters', 'compile-tracing', 'link-with-cmake', @@ -191,7 +190,7 @@ def days(n): '.debug-compile !.sspi .openssl', '.debug-compile !.sspi .nossl', '.authentication-tests .openssl', - '.authentication-tests .valgrind', + '.authentication-tests .asan', '.4.4 .openssl !.nosasl .server', '.4.2 .openssl !.nosasl .server', '.4.0 .openssl !.nosasl .server', @@ -328,7 +327,7 @@ def days(n): '.debug-compile !.sspi .openssl', '.debug-compile !.sspi .nossl', '.authentication-tests .openssl', - '.authentication-tests .valgrind', + '.authentication-tests .asan', '.latest .openssl !.nosasl .server', '.latest .nossl', '.latest .openssl .nosasl .replica_set', @@ -566,26 +565,6 @@ def days(n): '.5.0 .openssl !.nosasl .server'], {'CC': 'gcc'}, batchtime=days(1)), - # Note, do not use Ubuntu 16.04 for valgrind, as the system valgrind - # has a bug with OpenSSL (https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/1574437) - Variant('valgrind-ubuntu', - 'Valgrind Tests (Ubuntu 18.04)', - 'ubuntu1804-build', - ['.debug-compile !.sspi .openssl !.sasl', - '.debug-compile !.sspi .nossl !.sasl', - '.debug-compile .special .valgrind', - '.test-valgrind !.3.6'], - {'CC': 'gcc'}, - batchtime=days(1)), - Variant('valgrind-ubuntu-1404', - 'Valgrind Tests - MongoDB (pre 4.0) (Ubuntu 14.04)', - 'ubuntu1404-build', - ['.debug-compile !.sspi .openssl !.sasl', - '.debug-compile !.sspi .nossl !.sasl', - '.debug-compile .special .valgrind', - '.test-valgrind .3.6'], - {'CC': 'gcc'}, - batchtime=days(1)), Variant('asan-ubuntu', 'ASAN Tests (Ubuntu 18.04)', 'ubuntu1804-test', diff --git a/build/generate-evergreen-config.py b/build/generate-evergreen-config.py index 85076f89da..c818c9ef90 100644 --- a/build/generate-evergreen-config.py +++ b/build/generate-evergreen-config.py @@ -51,7 +51,6 @@ config = OD([ ('stepback', True), ('command_type', 'system'), - # 60 minute max except valgrind tasks, which get 2 hours. ('exec_timeout_secs', 3600), ('functions', all_functions), ('pre', [ diff --git a/src/libbson/doc/guides.rst b/src/libbson/doc/guides.rst index 0d4b56849d..222fdd939d 100644 --- a/src/libbson/doc/guides.rst +++ b/src/libbson/doc/guides.rst @@ -8,4 +8,3 @@ Guides streaming-bson json - valgrind diff --git a/src/libbson/doc/valgrind.rst b/src/libbson/doc/valgrind.rst deleted file mode 100644 index 4898e3f043..0000000000 --- a/src/libbson/doc/valgrind.rst +++ /dev/null @@ -1,16 +0,0 @@ -:man_page: bson_valgrind - -Use Valgrind to Check For BSON Data Leaks -========================================= - -A stack-allocated :symbol:`bson_t` contains a small internal buffer; it only heap-allocates additional storage if necessary, depending on its data size. Therefore if you forget to call :symbol:`bson_destroy` on a stack-allocated :symbol:`bson_t`, it might or might not cause a leak that can be detected by valgrind during testing. - -To catch all potential BSON data leaks in your code, configure the BSON_MEMCHECK flag: - -.. code-block:: none - - cmake -DCMAKE_C_FLAGS="-DBSON_MEMCHECK -g" . - -With this flag set, every :symbol:`bson_t` mallocs at least one byte. Run your program's unittests with valgrind to verify all :symbol:`bson_t` structs are destroyed. - -Set the environment variable ``MONGOC_TEST_VALGRIND`` to ``on`` to skip timing-dependent tests known to fail with valgrind. diff --git a/src/libbson/src/bson/bson-types.h b/src/libbson/src/bson/bson-types.h index 498d543271..55bcda848d 100644 --- a/src/libbson/src/bson/bson-types.h +++ b/src/libbson/src/bson/bson-types.h @@ -127,7 +127,7 @@ typedef struct _bson_json_opts_t bson_json_opts_t; BSON_ALIGNED_BEGIN (128) typedef struct _bson_t { uint32_t flags; /* Internal flags for the bson_t. */ uint32_t len; /* Length of BSON data. */ - char *canary; /* For valgrind check */ + char *canary; /* For memcheck. */ uint8_t padding[120 - sizeof (char *)]; } bson_t BSON_ALIGNED_END (128); #else diff --git a/src/libmongoc/doc/basic-troubleshooting.rst b/src/libmongoc/doc/basic-troubleshooting.rst index e6c55d11df..6021b7b068 100644 --- a/src/libmongoc/doc/basic-troubleshooting.rst +++ b/src/libmongoc/doc/basic-troubleshooting.rst @@ -11,7 +11,7 @@ The following is a short list of things to check when you have a problem. * Did you call ``mongoc_init()`` in ``main()``? If not, you will likely see a segfault. * Have you leaked any clients or cursors as can be found with ``mongoc-stat ``? * Have packets been delivered to the server? See egress bytes from ``mongoc-stat ``. -* Does ``valgrind`` show any leaks? Ensure you call ``mongoc_cleanup()`` at the end of your process to cleanup lingering allocations from the MongoDB C driver. +* Does ``ASAN`` show any leaks? Ensure you call ``mongoc_cleanup()`` at the end of your process to cleanup lingering allocations from the MongoDB C driver. * If compiling your own copy of MongoDB C Driver, consider using the cmake option ``-DENABLE_TRACING=ON`` to enable function tracing and hex dumps of network packets to ``STDERR`` and ``STDOUT``. Performance Counters @@ -87,4 +87,3 @@ Think you've found a bug? Want to see a new feature in the MongoDB C driver? Ple * Click *Create Issue* - Please provide as much information as possible about the issue type and how to reproduce it. Bug reports in JIRA for all driver projects (i.e. CDRIVER, CSHARP, JAVA) and the Core Server (i.e. SERVER) project are *public*. - diff --git a/src/libmongoc/tests/TestSuite.c b/src/libmongoc/tests/TestSuite.c index 228cb80e9f..6df3082710 100644 --- a/src/libmongoc/tests/TestSuite.c +++ b/src/libmongoc/tests/TestSuite.c @@ -54,8 +54,7 @@ static TestSuite *gTestSuite; #define TEST_HELPTEXT (1 << 2) #define TEST_DEBUGOUTPUT (1 << 3) #define TEST_TRACE (1 << 4) -#define TEST_VALGRIND (1 << 5) -#define TEST_LISTTESTS (1 << 6) +#define TEST_LISTTESTS (1 << 5) MONGOC_PRINTF_FORMAT (1, 2) static void @@ -208,10 +207,6 @@ TestSuite_Init (TestSuite *suite, const char *name, int argc, char **argv) test_error ("'--ctest-run' cannot be specified with '-l' or '--match'"); } - if (test_framework_getenv_bool ("MONGOC_TEST_VALGRIND")) { - suite->flags |= TEST_VALGRIND; - } - mock_server_log = test_framework_getenv ("MONGOC_TEST_SERVER_LOG"); if (mock_server_log) { if (!strcmp (mock_server_log, "stdout")) { @@ -1228,19 +1223,6 @@ test_suite_debug_output (void) } -int -test_suite_valgrind (void) -{ - int ret; - - bson_mutex_lock (&gTestMutex); - ret = gTestSuite->flags & TEST_VALGRIND; - bson_mutex_unlock (&gTestMutex); - - return ret; -} - - MONGOC_PRINTF_FORMAT (1, 2) void test_suite_mock_server_log (const char *msg, ...) diff --git a/src/libmongoc/tests/TestSuite.h b/src/libmongoc/tests/TestSuite.h index 60c2449970..aa0fcac8c7 100644 --- a/src/libmongoc/tests/TestSuite.h +++ b/src/libmongoc/tests/TestSuite.h @@ -528,21 +528,15 @@ _test_error (const char *format, ...) BSON_GNUC_PRINTF (1, 2); } \ } while (0) -/* don't check durations when testing with valgrind */ -#define ASSERT_CMPTIME(actual, maxduration) \ - do { \ - if (!test_suite_valgrind ()) { \ - ASSERT_CMPINT (actual, <, maxduration); \ - } \ +#define ASSERT_CMPTIME(actual, maxduration) \ + do { \ + ASSERT_CMPINT (actual, <, maxduration); \ } while (0) -/* don't check durations when testing with valgrind */ #define ASSERT_WITHIN_TIME_INTERVAL(actual, minduration, maxduration) \ do { \ - if (!test_suite_valgrind ()) { \ - ASSERT_CMPINT (actual, >=, minduration); \ - ASSERT_CMPINT (actual, <, maxduration); \ - } \ + ASSERT_CMPINT (actual, >=, minduration); \ + ASSERT_CMPINT (actual, <, maxduration); \ } while (0) #if defined(_WIN32) && !defined(__MINGW32__) @@ -777,8 +771,6 @@ TestSuite_Destroy (TestSuite *suite); int test_suite_debug_output (void); -int -test_suite_valgrind (void); void test_suite_mock_server_log (const char *msg, ...); void diff --git a/src/libmongoc/tests/test-happy-eyeballs.c b/src/libmongoc/tests/test-happy-eyeballs.c index 59b08763b2..f03de1a5ee 100644 --- a/src/libmongoc/tests/test-happy-eyeballs.c +++ b/src/libmongoc/tests/test-happy-eyeballs.c @@ -332,7 +332,7 @@ _testcase_run (he_testcase_t *testcase) duration_ms = (bson_get_monotonic_time () - testcase->state.start) / (1000); - if (!test_suite_valgrind ()) { + { bool within_expected_duration = duration_ms >= expected->duration_min_ms && duration_ms < expected->duration_max_ms; diff --git a/src/libmongoc/tests/test-libmongoc.c b/src/libmongoc/tests/test-libmongoc.c index da535f8632..3a6b8b57ba 100644 --- a/src/libmongoc/tests/test-libmongoc.c +++ b/src/libmongoc/tests/test-libmongoc.c @@ -2026,13 +2026,6 @@ test_framework_skip_if_slow_or_live (void) } -int -test_framework_skip_if_valgrind (void) -{ - return test_suite_valgrind () ? 0 : 1; -} - - int test_framework_skip_if_windows (void) { @@ -2519,10 +2512,6 @@ test_framework_is_serverless (void) int test_framework_skip_if_time_sensitive (void) { - if (test_suite_valgrind ()) { - return 0; - } - /* Skip time sensitive tests on macOS per CDRIVER-3549. */ #ifdef __APPLE__ return 0; diff --git a/src/libmongoc/tests/test-libmongoc.h b/src/libmongoc/tests/test-libmongoc.h index 1ef455be73..bec85bb5a7 100644 --- a/src/libmongoc/tests/test-libmongoc.h +++ b/src/libmongoc/tests/test-libmongoc.h @@ -182,8 +182,6 @@ int test_framework_skip_if_slow (void); int test_framework_skip_if_slow_or_live (void); -int -test_framework_skip_if_valgrind (void); #define WIRE_VERSION_CHECK_DECLS(wv) \ int test_framework_skip_if_max_wire_version_less_than_##wv (void); \ diff --git a/src/libmongoc/tests/test-mongoc-bulk.c b/src/libmongoc/tests/test-mongoc-bulk.c index e28640db87..03615892e0 100644 --- a/src/libmongoc/tests/test-mongoc-bulk.c +++ b/src/libmongoc/tests/test-mongoc-bulk.c @@ -293,10 +293,6 @@ test_bulk_error_unordered (void) int i; mongoc_uri_t *uri; - if (test_suite_valgrind ()) { - bson_destroy (&opts); - return; - } mock_server = mock_server_with_auto_hello (WIRE_VERSION_MIN); mock_server_run (mock_server); diff --git a/src/libmongoc/tests/test-mongoc-client-pool.c b/src/libmongoc/tests/test-mongoc-client-pool.c index 642cdfd850..56f1cd742a 100644 --- a/src/libmongoc/tests/test-mongoc-client-pool.c +++ b/src/libmongoc/tests/test-mongoc-client-pool.c @@ -60,7 +60,7 @@ test_mongoc_client_pool_pop_timeout (void) duration_usec = bson_get_monotonic_time () - start; /* There is a possibility that the wait is a few milliseconds short. The * assertion is structured like this since the timeout is a rough lower bound - * and some test environments (e.g., valgrind) might slow things down. */ + * and some test environments might slow things down. */ BSON_ASSERT (duration_usec / 1000 >= 1990); mongoc_client_pool_push (pool, client); mongoc_uri_destroy (uri); diff --git a/src/libmongoc/tests/test-mongoc-topology-scanner.c b/src/libmongoc/tests/test-mongoc-topology-scanner.c index 9926b3d553..4711e557b2 100644 --- a/src/libmongoc/tests/test-mongoc-topology-scanner.c +++ b/src/libmongoc/tests/test-mongoc-topology-scanner.c @@ -762,13 +762,11 @@ test_topology_scanner_install (TestSuite *suite) test_topology_scanner_does_not_renegotiate_single, NULL, NULL, - test_framework_skip_if_slow_or_live, - test_framework_skip_if_valgrind); + test_framework_skip_if_slow_or_live); TestSuite_AddFull (suite, "/TOPOLOGY/scanner/renegotiate/pooled", test_topology_scanner_does_not_renegotiate_pooled, NULL, NULL, - test_framework_skip_if_slow_or_live, - test_framework_skip_if_valgrind); + test_framework_skip_if_slow_or_live); } diff --git a/src/libmongoc/tests/test-mongoc-topology.c b/src/libmongoc/tests/test-mongoc-topology.c index 3fd32ba90c..ac31535965 100644 --- a/src/libmongoc/tests/test-mongoc-topology.c +++ b/src/libmongoc/tests/test-mongoc-topology.c @@ -1040,9 +1040,7 @@ _test_select_succeed (bool try_once) duration_usec = bson_get_monotonic_time () - start; - if (!test_suite_valgrind ()) { - ASSERT_ALMOST_EQUAL (duration_usec / 1000, connect_timeout_ms); - } + ASSERT_ALMOST_EQUAL (duration_usec / 1000, connect_timeout_ms); mongoc_client_destroy (client); mongoc_uri_destroy (uri); @@ -2607,15 +2605,13 @@ test_topology_install (TestSuite *suite) test_topology_invalidate_server_single, NULL, NULL, - test_framework_skip_if_slow_or_live, - test_framework_skip_if_valgrind); + test_framework_skip_if_slow_or_live); TestSuite_AddFull (suite, "/Topology/invalidate_server/pooled", test_topology_invalidate_server_pooled, NULL, NULL, - test_framework_skip_if_slow_or_live, - test_framework_skip_if_valgrind); + test_framework_skip_if_slow_or_live); TestSuite_AddFull (suite, "/Topology/invalid_cluster_node", test_invalid_cluster_node, From ad4e0a93044c7901e8509097e5a632467579de7b Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Thu, 12 Jan 2023 10:09:41 -0600 Subject: [PATCH 02/10] Add bypass-dlclose.sh --- .evergreen/bypass-dlclose.sh | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .evergreen/bypass-dlclose.sh diff --git a/.evergreen/bypass-dlclose.sh b/.evergreen/bypass-dlclose.sh new file mode 100644 index 0000000000..503ea8e7b6 --- /dev/null +++ b/.evergreen/bypass-dlclose.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# bypass_dlclose +# +# Usage: +# bypass_dlclose command args... +# +# Parameters: +# "$@": command and arguments to evaluate. +# "$CC": compiler to use to compile and link the bypass_dlclose library. +# +# Evaluates the provided command and arguments with LD_PRELOAD defined to +bypass_dlclose() { + : "${1:?'bypass_dlclose expects at least one argument to run as command!'}" + : "${CC:?'bypass_dlclose expects environment variable CC to be defined!'}" + + declare tmp + + if ! tmp="$(mktemp -d)"; then + echo "Could not create temporary directory for bypass_dlclose library!" 1>&2 + return 1 + fi + trap 'rm -rf "$tmp"' EXIT + + declare ld_preload + + echo "int dlclose (void *handle) {(void) handle; return 0; }" >|"$tmp/bypass_dlclose.c" + + "$CC" -o "$tmp/bypass_dlclose.so" -shared -Og -g "$tmp/bypass_dlclose.c" || return + + ld_preload="$tmp/bypass_dlclose.so" + + # Clang uses its own libasan.so; do not preload it! + if [ "$CC" != "clang" ]; then + declare asan_path + asan_path="$($CC -print-file-name=libasan.so)" || return + ld_preload="$asan_path:$ld_preload" + fi + + LD_PRELOAD="$ld_preload:${LD_PRELOAD:-}" "$@" +} From 9c9f0480997b6af64d874859885fa0dfbf33dc2e Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Wed, 11 Jan 2023 11:42:18 -0600 Subject: [PATCH 03/10] Silence LSAN "unknown module" leak warnings when running test executables --- .evergreen/bypass-dlclose.sh | 2 +- .evergreen/compile-unix.sh | 15 ++- .evergreen/compile-windows.sh | 3 +- .evergreen/compile.sh | 7 +- .evergreen/config.yml | 134 ++++++++++++------------ .evergreen/run-auth-tests.sh | 14 ++- .evergreen/run-mock-server-tests.sh | 16 ++- .evergreen/run-tests-bson.sh | 18 +++- .evergreen/run-tests.sh | 23 ++-- build/evergreen_config_lib/functions.py | 18 ++-- build/evergreen_config_lib/tasks.py | 6 +- 11 files changed, 151 insertions(+), 105 deletions(-) diff --git a/.evergreen/bypass-dlclose.sh b/.evergreen/bypass-dlclose.sh index 503ea8e7b6..654997b840 100644 --- a/.evergreen/bypass-dlclose.sh +++ b/.evergreen/bypass-dlclose.sh @@ -26,7 +26,7 @@ bypass_dlclose() { echo "int dlclose (void *handle) {(void) handle; return 0; }" >|"$tmp/bypass_dlclose.c" - "$CC" -o "$tmp/bypass_dlclose.so" -shared -Og -g "$tmp/bypass_dlclose.c" || return + "$CC" -o "$tmp/bypass_dlclose.so" -shared "$tmp/bypass_dlclose.c" || return ld_preload="$tmp/bypass_dlclose.so" diff --git a/.evergreen/compile-unix.sh b/.evergreen/compile-unix.sh index 94cf97037f..2cca536d68 100755 --- a/.evergreen/compile-unix.sh +++ b/.evergreen/compile-unix.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o errexit # Exit the script with error if any of the commands fail # Supported/used environment variables: @@ -123,6 +124,14 @@ fi . $DIR/find-cmake.sh +if [[ "${SANITIZE}" =~ "address" ]]; then + echo "Bypassing dlclose to workaround ASAN warnings" + . "$DIR/bypass-dlclose.sh" +else + # Disable bypass otherwise. + bypass_dlclose() { "$@"; } +fi + # --strip-components is an GNU tar extension. Check if the platform # has GNU tar installed as `gtar`, otherwise we assume to be on # platform that supports it @@ -294,10 +303,10 @@ mkfifo pipe || true if [ -e pipe ]; then set +o xtrace tee error.log < pipe & - ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt 2>pipe + bypass_dlclose ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt 2>pipe rm pipe else - ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt + bypass_dlclose ./src/libmongoc/test-libmongoc --no-fork -d -F test-results.json --skip-tests $DIR/skip-tests.txt fi # Check if the error.log exists, and is more than 0 byte diff --git a/.evergreen/compile-windows.sh b/.evergreen/compile-windows.sh index 7514e3a61e..1474ec6c66 100755 --- a/.evergreen/compile-windows.sh +++ b/.evergreen/compile-windows.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o igncr # Ignore CR in this script set -o errexit # Exit the script with error if any of the commands fail diff --git a/.evergreen/compile.sh b/.evergreen/compile.sh index 9e44315e3b..1fd5ceb75a 100755 --- a/.evergreen/compile.sh +++ b/.evergreen/compile.sh @@ -1,14 +1,15 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o errexit # Exit the script with error if any of the commands fail OS=$(uname -s | tr '[:upper:]' '[:lower:]') case "$OS" in cygwin*) - sh ./.evergreen/compile-windows.sh + bash ./.evergreen/compile-windows.sh ;; *) - sh ./.evergreen/compile-unix.sh + bash ./.evergreen/compile-unix.sh ;; esac diff --git a/.evergreen/config.yml b/.evergreen/config.yml index b262305648..e0da3ccc9b 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -426,6 +426,7 @@ functions: export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} + export ASAN=${ASAN} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} @@ -477,7 +478,7 @@ functions: export MULTI_MONGOS_LB_URI="${MULTI_MONGOS_LB_URI}" export CRYPT_SHARED_LIB_PATH="${CRYPT_SHARED_LIB_PATH}" set -o errexit - sh .evergreen/run-tests.sh + bash .evergreen/run-tests.sh run tests bson: - command: shell.exec type: test @@ -486,7 +487,7 @@ functions: shell: bash script: |- set -o errexit - CC="${CC}" sh .evergreen/run-tests-bson.sh + CC="${CC}" bash .evergreen/run-tests-bson.sh run auth tests: - command: shell.exec type: test @@ -514,9 +515,11 @@ functions: export ATLAS_TLS12_SRV='${atlas_tls12_srv}' export REQUIRE_TLS12='${require_tls12}' export OBSOLETE_TLS='${obsolete_tls}' + export ASAN='${ASAN}' + export CC='${CC}' export ATLAS_SERVERLESS_SRV='${atlas_serverless_srv}' export ATLAS_SERVERLESS='${atlas_serverless}' - sh .evergreen/run-auth-tests.sh + bash .evergreen/run-auth-tests.sh run mock server tests: - command: shell.exec type: test @@ -525,7 +528,7 @@ functions: shell: bash script: |- set -o errexit - CC="${CC}" sh .evergreen/run-mock-server-tests.sh + CC="${CC}" ASAN=${ASAN} bash .evergreen/run-mock-server-tests.sh cleanup: - command: shell.exec params: @@ -671,7 +674,7 @@ functions: script: |- set -o errexit export EXTRA_CONFIGURE_FLAGS="-DENABLE_COVERAGE=ON -DENABLE_EXAMPLES=OFF" - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OFF SKIP_MOCK_TESTS=ON sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OFF SKIP_MOCK_TESTS=ON bash .evergreen/compile.sh debug-compile-coverage-notest-nosasl-openssl: - command: shell.exec type: test @@ -681,7 +684,7 @@ functions: script: |- set -o errexit export EXTRA_CONFIGURE_FLAGS="-DENABLE_COVERAGE=ON -DENABLE_EXAMPLES=OFF" - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL SKIP_MOCK_TESTS=ON sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL SKIP_MOCK_TESTS=ON bash .evergreen/compile.sh build mongohouse: - command: shell.exec type: test @@ -741,11 +744,12 @@ functions: export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} + export ASAN=${ASAN} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} export MONGODB_API_VERSION=1 - sh .evergreen/run-tests.sh + bash .evergreen/run-tests.sh unset MONGODB_API_VERSION run aws tests: - command: shell.exec @@ -929,7 +933,7 @@ tasks: export SNAPPY="OFF" export ZLIB="OFF" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: abi-compliance-check commands: @@ -951,7 +955,7 @@ tasks: export SNAPPY="OFF" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-compression-snappy tags: @@ -970,7 +974,7 @@ tasks: export SNAPPY="ON" export ZLIB="OFF" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-compression-zstd tags: @@ -989,7 +993,7 @@ tasks: export SNAPPY="OFF" export ZLIB="OFF" export ZSTD="ON" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-compression tags: @@ -1010,7 +1014,7 @@ tasks: export SNAPPY="ON" export ZLIB="BUNDLED" export ZSTD="ON" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-no-align tags: @@ -1029,7 +1033,7 @@ tasks: export SNAPPY="OFF" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosasl-nossl tags: @@ -1047,7 +1051,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export SSL="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-lto commands: @@ -1061,7 +1065,7 @@ tasks: export CFLAGS="-flto" export DEBUG="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-lto-thin commands: @@ -1075,7 +1079,7 @@ tasks: export CFLAGS="-flto=thin" export DEBUG="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-c11 tags: @@ -1094,7 +1098,7 @@ tasks: export C_STD_VERSION="11" export DEBUG="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-coverage tags: @@ -1112,7 +1116,7 @@ tasks: export COVERAGE="ON" export DEBUG="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - func: upload coverage - name: debug-compile-no-counters @@ -1130,7 +1134,7 @@ tasks: export DEBUG="ON" export ENABLE_SHM_COUNTERS="OFF" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-asan-clang tags: @@ -1155,7 +1159,7 @@ tasks: export SNAPPY="OFF" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-asan-gcc tags: @@ -1176,7 +1180,7 @@ tasks: export SNAPPY="OFF" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-asan-clang-openssl tags: @@ -1202,7 +1206,7 @@ tasks: export SSL="OPENSSL" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-ubsan tags: @@ -1225,7 +1229,7 @@ tasks: export SNAPPY="OFF" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-ubsan-with-extra-alignment tags: @@ -1248,7 +1252,7 @@ tasks: export SNAPPY="OFF" export ZLIB="BUNDLED" export ZSTD="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-scan-build tags: @@ -1268,7 +1272,7 @@ tasks: export CC="clang" export DEBUG="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - func: upload scan artifacts - command: shell.exec @@ -1294,7 +1298,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export TRACING="ON" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: release-compile depends_on: @@ -1310,7 +1314,7 @@ tasks: set -o errexit export RELEASE="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosasl-openssl tags: @@ -1328,7 +1332,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosasl-openssl-static tags: @@ -1346,7 +1350,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export SSL="OPENSSL_STATIC" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosasl-darwinssl tags: @@ -1364,7 +1368,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export SSL="DARWIN" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosasl-winssl tags: @@ -1382,7 +1386,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-nossl tags: @@ -1401,7 +1405,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-openssl tags: @@ -1420,7 +1424,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-openssl-static tags: @@ -1439,7 +1443,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="OPENSSL_STATIC" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-darwinssl tags: @@ -1458,7 +1462,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="DARWIN" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-winssl tags: @@ -1477,7 +1481,7 @@ tasks: export SANITIZE="" export SASL="CYRUS" export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sspi-nossl tags: @@ -1496,7 +1500,7 @@ tasks: export SANITIZE="" export SASL="SSPI" export SSL="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sspi-openssl tags: @@ -1515,7 +1519,7 @@ tasks: export SANITIZE="" export SASL="SSPI" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sspi-openssl-static tags: @@ -1534,7 +1538,7 @@ tasks: export SANITIZE="" export SASL="SSPI" export SSL="OPENSSL_STATIC" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-rdtscp commands: @@ -1548,7 +1552,7 @@ tasks: export DEBUG="ON" export ENABLE_RDTSCP="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sspi-winssl tags: @@ -1567,7 +1571,7 @@ tasks: export SANITIZE="" export SASL="SSPI" export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosrv tags: @@ -1583,7 +1587,7 @@ tasks: export DEBUG="ON" export SANITIZE="" export SRV="OFF" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: link-with-cmake depends_on: @@ -1889,7 +1893,7 @@ tasks: export CFLAGS="-Werror -Wno-cast-align" export DEBUG="ON" export SANITIZE="" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-openssl-cse tags: @@ -1912,7 +1916,7 @@ tasks: export SASL="AUTO" export SKIP_MOCK_TESTS="ON" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh rm CMakeCache.txt set -o errexit export COMPILE_LIBMONGOCRYPT="ON" @@ -1921,7 +1925,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-openssl-static-cse tags: @@ -1944,7 +1948,7 @@ tasks: export SASL="AUTO" export SKIP_MOCK_TESTS="ON" export SSL="OPENSSL_STATIC" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh rm CMakeCache.txt set -o errexit export COMPILE_LIBMONGOCRYPT="ON" @@ -1953,7 +1957,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="OPENSSL_STATIC" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-darwinssl-cse tags: @@ -1976,7 +1980,7 @@ tasks: export SASL="AUTO" export SKIP_MOCK_TESTS="ON" export SSL="DARWIN" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh rm CMakeCache.txt set -o errexit export COMPILE_LIBMONGOCRYPT="ON" @@ -1985,7 +1989,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="DARWIN" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-sasl-winssl-cse tags: @@ -2008,7 +2012,7 @@ tasks: export SASL="AUTO" export SKIP_MOCK_TESTS="ON" export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh rm CMakeCache.txt set -o errexit export COMPILE_LIBMONGOCRYPT="ON" @@ -2017,7 +2021,7 @@ tasks: export SANITIZE="" export SASL="AUTO" export SSL="WINDOWS" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-asan-openssl-cse tags: @@ -2040,7 +2044,7 @@ tasks: export SANITIZE="address" export SKIP_MOCK_TESTS="ON" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh rm CMakeCache.txt set -o errexit export CFLAGS="-fno-omit-frame-pointer" @@ -2051,7 +2055,7 @@ tasks: export PATH="/usr/lib/llvm-3.8/bin:$PATH" export SANITIZE="address" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-nosasl-openssl-1.0.1 commands: @@ -2070,7 +2074,7 @@ tasks: export SANITIZE="" export SASL="OFF" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: debug-compile-tsan-openssl tags: @@ -2090,7 +2094,7 @@ tasks: export EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF -DENABLE_SHM_COUNTERS=OFF" export SANITIZE="thread" export SSL="OPENSSL" - CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh + CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh - func: upload build - name: build-and-test-with-toolchain commands: @@ -15338,7 +15342,7 @@ tasks: shell: bash script: |- set -o errexit - SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL sh .evergreen/compile.sh + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL bash .evergreen/compile.sh - func: run auth tests vars: ASAN: 'on' @@ -15394,7 +15398,7 @@ tasks: shell: bash script: |- set -o errexit - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL bash .evergreen/compile.sh - func: run auth tests vars: obsolete_tls: true @@ -15411,7 +15415,7 @@ tasks: shell: bash script: |- set -o errexit - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL bash .evergreen/compile.sh - func: run auth tests vars: obsolete_tls: true @@ -15429,7 +15433,7 @@ tasks: script: |- set -o errexit export CFLAGS=-Wno-redundant-decls - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL bash .evergreen/compile.sh - func: run auth tests - func: upload build - name: build-and-run-authentication-tests-openssl-1.0.1-fips @@ -15445,7 +15449,7 @@ tasks: script: |- set -o errexit export CFLAGS=-Wno-redundant-decls - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL OPENSSL_FIPS=1 sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL OPENSSL_FIPS=1 bash .evergreen/compile.sh - func: run auth tests - func: upload build - name: build-and-run-authentication-tests-openssl-1.0.2 @@ -15460,7 +15464,7 @@ tasks: shell: bash script: |- set -o errexit - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL bash .evergreen/compile.sh - func: run auth tests - func: upload build - name: build-and-run-authentication-tests-openssl-1.1.0 @@ -15475,7 +15479,7 @@ tasks: shell: bash script: |- set -o errexit - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL bash .evergreen/compile.sh - func: run auth tests - func: upload build - name: build-and-run-authentication-tests-libressl-2.5 @@ -15490,7 +15494,7 @@ tasks: shell: bash script: |- set -o errexit - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=LIBRESSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=LIBRESSL bash .evergreen/compile.sh - func: run auth tests vars: require_tls12: true @@ -15508,7 +15512,7 @@ tasks: script: |- set -o errexit export CFLAGS=-Wno-redundant-decls - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=AUTO sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=AUTO bash .evergreen/compile.sh - func: run auth tests vars: require_tls12: true @@ -15525,7 +15529,7 @@ tasks: shell: bash script: |- set -o errexit - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=LIBRESSL sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=LIBRESSL bash .evergreen/compile.sh - func: run auth tests vars: require_tls12: true diff --git a/.evergreen/run-auth-tests.sh b/.evergreen/run-auth-tests.sh index 99886c5ae0..5affd331d4 100644 --- a/.evergreen/run-auth-tests.sh +++ b/.evergreen/run-auth-tests.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o errexit # Exit the script with error if any of the commands fail set +o xtrace # Don't echo commands @@ -21,13 +22,13 @@ set +o xtrace # Don't echo commands # ATLAS_TLS12_SRV=${atlas_tls12_srv} # Evergreen variable # REQUIRE_TLS12=${require_tls12} # libmongoc requires TLS 1.2+ # OBSOLETE_TLS=${obsolete_tls} # libmongoc was built with old TLS lib, don't try connecting to Atlas +# ASAN=${ASAN} # Whether to bypass calls to dlclose when running. # ATLAS_SERVERLESS_SRV=${atlas_serverless_srv} # Evergreen variable # ATLAS_SERVERLESS=${atlas_serverless} # Evergreen variable C_TIMEOUT="connectTimeoutMS=30000&serverSelectionTryOnce=false" - OS=$(uname -s | tr '[:upper:]' '[:lower:]') if grep -q "#define MONGOC_ENABLE_SASL 1" src/libmongoc/src/mongoc/mongoc-config.h; then SASL=1 @@ -43,6 +44,13 @@ fi DIR=$(dirname $0) . $DIR/add-build-dirs-to-paths.sh +if [[ "${ASAN}" =~ "on" ]]; then + echo "Bypassing dlclose to workaround ASAN warnings" + . "$DIR/bypass-dlclose.sh" +else + bypass_dlclose() { "$@"; } # Disable bypass otherwise. +fi + case "$OS" in cygwin*) PING="./src/libmongoc/Debug/mongoc-ping.exe" @@ -128,7 +136,7 @@ if [ $SASL -eq 1 ]; then $PING "mongodb://${AUTH_GSSAPI}@${IP_ADDR}/?authMechanism=GSSAPI&authMechanismProperties=CANONICALIZE_HOST_NAME:true&${C_TIMEOUT}" echo "Test threaded GSSAPI auth" - MONGOC_TEST_GSSAPI_HOST="${AUTH_HOST}" MONGOC_TEST_GSSAPI_USER="${AUTH_GSSAPI}" $TEST_GSSAPI + MONGOC_TEST_GSSAPI_HOST="${AUTH_HOST}" MONGOC_TEST_GSSAPI_USER="${AUTH_GSSAPI}" bypass_dlclose $TEST_GSSAPI echo "Threaded GSSAPI auth OK" if [ "${OS%_*}" = "cygwin" ]; then diff --git a/.evergreen/run-mock-server-tests.sh b/.evergreen/run-mock-server-tests.sh index 3b8bec6e91..4672d31c9f 100755 --- a/.evergreen/run-mock-server-tests.sh +++ b/.evergreen/run-mock-server-tests.sh @@ -1,10 +1,11 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o errexit # Exit the script with error if any of the commands fail OS=$(uname -s | tr '[:upper:]' '[:lower:]') DNS=${DNS:-nodns} -echo "CC='${CC}'" +echo "CC='${CC}' ASAN=${ASAN}" [ -z "$MARCH" ] && MARCH=$(uname -m | tr '[:upper:]' '[:lower:]') TEST_ARGS="-d -F test-results.json --skip-tests .evergreen/skip-tests.txt" @@ -22,14 +23,21 @@ export MONGOC_TEST_SKIP_SLOW="on" DIR=$(dirname $0) . $DIR/add-build-dirs-to-paths.sh +if [[ "${ASAN}" =~ "on" ]]; then + echo "Bypassing dlclose to workaround ASAN warnings" + . "$DIR/bypass-dlclose.sh" +else + bypass_dlclose() { "$@"; } # Disable bypass otherwise. +fi + case "$OS" in cygwin*) - ./src/libmongoc/test-libmongoc.exe $TEST_ARGS + bypass_dlclose ./src/libmongoc/test-libmongoc.exe $TEST_ARGS ;; *) ulimit -c unlimited || true - ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS + bypass_dlclose ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS ;; esac diff --git a/.evergreen/run-tests-bson.sh b/.evergreen/run-tests-bson.sh index 95b40fcf9a..b947409877 100755 --- a/.evergreen/run-tests-bson.sh +++ b/.evergreen/run-tests-bson.sh @@ -1,10 +1,11 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o errexit # Exit the script with error if any of the commands fail OS=$(uname -s | tr '[:upper:]' '[:lower:]') -echo "CC='${CC}'" +echo "CC='${CC}' ASAN='${ASAN}'" [ -z "$MARCH" ] && MARCH=$(uname -m | tr '[:upper:]' '[:lower:]') TEST_ARGS="-d -F test-results.json" @@ -15,6 +16,15 @@ if [ "$CC" = "mingw" ]; then exit 0 fi +DIR=$(dirname $0) + +if [[ "${ASAN}" =~ "on" ]]; then + echo "Bypassing dlclose to workaround ASAN warnings" + . "$DIR/bypass-dlclose.sh" +else + bypass_dlclose() { "$@"; } # Disable bypass otherwise. +fi + case "$OS" in cygwin*) export PATH=$PATH:`pwd`/src/libbson/Debug @@ -26,12 +36,12 @@ cd src/libbson case "$OS" in cygwin*) - ./Debug/test-libbson.exe $TEST_ARGS + bypass_dlclose ./Debug/test-libbson.exe $TEST_ARGS ;; *) ulimit -c unlimited || true - ./.libs/test-libbson "--no-fork $TEST_ARGS" + bypass_dlclose ./.libs/test-libbson "--no-fork $TEST_ARGS" ;; esac diff --git a/.evergreen/run-tests.sh b/.evergreen/run-tests.sh index 29950bec70..945e7d5ff6 100755 --- a/.evergreen/run-tests.sh +++ b/.evergreen/run-tests.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + set -o errexit # Exit the script with error if any of the commands fail @@ -15,7 +16,7 @@ export ASAN_OPTIONS="detect_leaks=1 abort_on_error=1 symbolize=1" export ASAN_SYMBOLIZER_PATH="/opt/mongodbtoolchain/v3/bin/llvm-symbolizer" export TSAN_OPTIONS="suppressions=./.tsan-suppressions" -echo "COMPRESSORS='${COMPRESSORS}' CC='${CC}' AUTH=${AUTH} SSL=${SSL} URI=${URI} IPV4_ONLY=${IPV4_ONLY} MONGOC_TEST_URI=${MONGOC_TEST_URI}" +echo "COMPRESSORS='${COMPRESSORS}' CC='${CC}' AUTH=${AUTH} SSL=${SSL} URI=${URI} IPV4_ONLY=${IPV4_ONLY} ASAN=${ASAN} MONGOC_TEST_URI=${MONGOC_TEST_URI}" [ -z "$MARCH" ] && MARCH=$(uname -m | tr '[:upper:]' '[:lower:]') TEST_ARGS="-d -F test-results.json --skip-tests .evergreen/skip-tests.txt" @@ -70,19 +71,19 @@ fi DIR=$(dirname $0) . $DIR/add-build-dirs-to-paths.sh +if [[ "${ASAN}" =~ "on" ]]; then + echo "Bypassing dlclose to workaround ASAN warnings" + . "$DIR/bypass-dlclose.sh" +else + bypass_dlclose() { "$@"; } # Disable bypass otherwise. +fi + check_mongocryptd() { if [ "$CLIENT_SIDE_ENCRYPTION" = "on" -a "$ASAN" = "on" ]; then # ASAN does not play well with spawned processes. In addition to --no-fork, do not spawn mongocryptd # for client-side encryption tests. export "MONGOC_TEST_MONGOCRYPTD_BYPASS_SPAWN=on" mongocryptd --logpath ./mongocryptd.logs --fork --pidfilepath="$(pwd)/mongocryptd.pid" - # ASAN reports an unhelpful leak of "unknown module" when linking against libmongocrypt - # (without even calling any functions) - # See https://github.com/google/sanitizers/issues/89 for an explanation behind this - # workaround. - echo "int dlclose(void *handle) { return 0; }" > bypass_dlclose.c - "$CC" -o bypass_dlclose.so -shared bypass_dlclose.c - export LD_PRELOAD="$(pwd)/bypass_dlclose.so:$LD_PRELOAD" fi } @@ -151,7 +152,7 @@ case "$OS" in check_mongocryptd chmod +x src/libmongoc/Debug/test-libmongoc.exe - ./src/libmongoc/Debug/test-libmongoc.exe $TEST_ARGS -d + bypass_dlclose ./src/libmongoc/Debug/test-libmongoc.exe $TEST_ARGS -d ;; *) @@ -160,7 +161,7 @@ case "$OS" in export PATH=$PATH:$(pwd)/mongodb/bin check_mongocryptd - ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS -d + bypass_dlclose ./src/libmongoc/test-libmongoc --no-fork $TEST_ARGS -d ;; esac diff --git a/build/evergreen_config_lib/functions.py b/build/evergreen_config_lib/functions.py index 716c26f97e..81887707ab 100644 --- a/build/evergreen_config_lib/functions.py +++ b/build/evergreen_config_lib/functions.py @@ -296,6 +296,7 @@ export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} + export ASAN=${ASAN} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} @@ -352,11 +353,11 @@ export MULTI_MONGOS_LB_URI="${MULTI_MONGOS_LB_URI}" export CRYPT_SHARED_LIB_PATH="${CRYPT_SHARED_LIB_PATH}" set -o errexit - sh .evergreen/run-tests.sh + bash .evergreen/run-tests.sh '''), )), ('run tests bson', Function( - shell_mongoc(r'CC="${CC}" sh .evergreen/run-tests-bson.sh'), + shell_mongoc(r'CC="${CC}" bash .evergreen/run-tests-bson.sh'), )), # Use "silent=True" to hide output since errors may contain credentials. ('run auth tests', Function( @@ -379,14 +380,16 @@ export ATLAS_TLS12_SRV='${atlas_tls12_srv}' export REQUIRE_TLS12='${require_tls12}' export OBSOLETE_TLS='${obsolete_tls}' + export ASAN='${ASAN}' + export CC='${CC}' export ATLAS_SERVERLESS_SRV='${atlas_serverless_srv}' export ATLAS_SERVERLESS='${atlas_serverless}' - sh .evergreen/run-auth-tests.sh + bash .evergreen/run-auth-tests.sh ''', silent=True), )), ('run mock server tests', Function( shell_mongoc( - r'CC="${CC}" sh .evergreen/run-mock-server-tests.sh'), + r'CC="${CC}" ASAN=${ASAN} bash .evergreen/run-mock-server-tests.sh'), )), ('cleanup', Function( shell_mongoc(r''' @@ -487,13 +490,13 @@ ('debug-compile-coverage-notest-nosasl-nossl', Function( shell_mongoc(r''' export EXTRA_CONFIGURE_FLAGS="-DENABLE_COVERAGE=ON -DENABLE_EXAMPLES=OFF" - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OFF SKIP_MOCK_TESTS=ON sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OFF SKIP_MOCK_TESTS=ON bash .evergreen/compile.sh '''), )), ('debug-compile-coverage-notest-nosasl-openssl', Function( shell_mongoc(r''' export EXTRA_CONFIGURE_FLAGS="-DENABLE_COVERAGE=ON -DENABLE_EXAMPLES=OFF" - DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL SKIP_MOCK_TESTS=ON sh .evergreen/compile.sh + DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=OFF SSL=OPENSSL SKIP_MOCK_TESTS=ON bash .evergreen/compile.sh '''), )), ('build mongohouse', Function( @@ -542,11 +545,12 @@ export SSL=${SSL} export URI=${URI} export IPV4_ONLY=${IPV4_ONLY} + export ASAN=${ASAN} export MONGOC_TEST_URI=${URI} export DNS=${DNS} export ASAN=${ASAN} export MONGODB_API_VERSION=1 - sh .evergreen/run-tests.sh + bash .evergreen/run-tests.sh unset MONGODB_API_VERSION '''), diff --git a/build/evergreen_config_lib/tasks.py b/build/evergreen_config_lib/tasks.py index ccf095d76e..ccddf20c0d 100644 --- a/build/evergreen_config_lib/tasks.py +++ b/build/evergreen_config_lib/tasks.py @@ -76,7 +76,7 @@ def to_dict(self): for opt, value in sorted(self.compile_sh_opt.items()): script += 'export %s="%s"\n' % (opt, value) - script += "CC='${CC}' MARCH='${MARCH}' sh .evergreen/compile.sh" + \ + script += "CC='${CC}' MARCH='${MARCH}' bash .evergreen/compile.sh" + \ self.extra_script task['commands'].append(shell_mongoc(script)) task['commands'].append(func('upload build')) @@ -836,7 +836,7 @@ def __init__(self, *args, **kwargs): commands=[ shell_mongoc(""" SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO \ - SSL=OPENSSL sh .evergreen/compile.sh + SSL=OPENSSL bash .evergreen/compile.sh """), func('run auth tests', ASAN='on')]), PostCompileTask( @@ -872,7 +872,7 @@ def __init__(self, version, patch, cflags=None, fips=False, enable_ssl=False, ** if fips: script += " OPENSSL_FIPS=1" - script += " sh .evergreen/compile.sh" + script += " bash .evergreen/compile.sh" super(SSLTask, self).__init__(commands=[ func('install ssl', SSL=full_version), From 54172cd40fa46adeadd49d6b10a249817f2fe016 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Wed, 11 Jan 2023 17:41:14 -0600 Subject: [PATCH 04/10] Remove authentication-tests-memcheck from GCC 7.5 due to flaky ASAN --- .evergreen/config.yml | 1 - build/evergreen_config_lib/variants.py | 1 - 2 files changed, 2 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index e0da3ccc9b..aaad47cc65 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -23048,7 +23048,6 @@ buildvariants: - .debug-compile !.sspi .openssl - .debug-compile !.sspi .nossl - .authentication-tests .openssl - - .authentication-tests .asan - .latest .openssl !.nosasl .server - .latest .nossl - .latest .openssl .nosasl .replica_set diff --git a/build/evergreen_config_lib/variants.py b/build/evergreen_config_lib/variants.py index 9608d377a2..e057238d75 100644 --- a/build/evergreen_config_lib/variants.py +++ b/build/evergreen_config_lib/variants.py @@ -327,7 +327,6 @@ def days(n): '.debug-compile !.sspi .openssl', '.debug-compile !.sspi .nossl', '.authentication-tests .openssl', - '.authentication-tests .asan', '.latest .openssl !.nosasl .server', '.latest .nossl', '.latest .openssl .nosasl .replica_set', From 11bae3c41c75ad57c755f2346a78eafc946d9a47 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Thu, 12 Jan 2023 16:15:11 -0600 Subject: [PATCH 05/10] Ensure ENABLE_EXTRA_ALIGNMENT=OFF for authentication-tests-memcheck --- .evergreen/config.yml | 2 +- build/evergreen_config_lib/tasks.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index aaad47cc65..aa6e4fbbb9 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -15342,7 +15342,7 @@ tasks: shell: bash script: |- set -o errexit - SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL bash .evergreen/compile.sh + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF" bash .evergreen/compile.sh - func: run auth tests vars: ASAN: 'on' diff --git a/build/evergreen_config_lib/tasks.py b/build/evergreen_config_lib/tasks.py index ccddf20c0d..48cae68352 100644 --- a/build/evergreen_config_lib/tasks.py +++ b/build/evergreen_config_lib/tasks.py @@ -835,8 +835,7 @@ def __init__(self, *args, **kwargs): tags=['authentication-tests', 'asan'], commands=[ shell_mongoc(""" - SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO \ - SSL=OPENSSL bash .evergreen/compile.sh + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF" bash .evergreen/compile.sh """), func('run auth tests', ASAN='on')]), PostCompileTask( From a5f41a26cc253b6a518614e4ba28bfccf124e791 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Thu, 12 Jan 2023 16:15:19 -0600 Subject: [PATCH 06/10] Restore authentication-tests-memcheck with GCC 7.5 --- .evergreen/config.yml | 1 + build/evergreen_config_lib/variants.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index aa6e4fbbb9..655639508e 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -23048,6 +23048,7 @@ buildvariants: - .debug-compile !.sspi .openssl - .debug-compile !.sspi .nossl - .authentication-tests .openssl + - .authentication-tests .asan - .latest .openssl !.nosasl .server - .latest .nossl - .latest .openssl .nosasl .replica_set diff --git a/build/evergreen_config_lib/variants.py b/build/evergreen_config_lib/variants.py index e057238d75..9608d377a2 100644 --- a/build/evergreen_config_lib/variants.py +++ b/build/evergreen_config_lib/variants.py @@ -327,6 +327,7 @@ def days(n): '.debug-compile !.sspi .openssl', '.debug-compile !.sspi .nossl', '.authentication-tests .openssl', + '.authentication-tests .asan', '.latest .openssl !.nosasl .server', '.latest .nossl', '.latest .openssl .nosasl .replica_set', From f8ec3eea96d0ccfea656b9722101b0f9c47c8d8e Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Thu, 12 Jan 2023 15:51:18 -0600 Subject: [PATCH 07/10] Move authentication-tests-memcheck with Clang from 3.8 to 6.0 --- .evergreen/config.yml | 4 ++-- build/evergreen_config_lib/tasks.py | 2 +- build/evergreen_config_lib/variants.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 655639508e..d2d4f58e96 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -15342,7 +15342,7 @@ tasks: shell: bash script: |- set -o errexit - SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF" bash .evergreen/compile.sh + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL EXTRA_CONFIGURE_FLAGS='-DENABLE_EXTRA_ALIGNMENT=OFF' bash .evergreen/compile.sh - func: run auth tests vars: ASAN: 'on' @@ -22890,7 +22890,6 @@ buildvariants: - .debug-compile !.sspi .openssl - .debug-compile !.sspi .nossl - .authentication-tests .openssl - - .authentication-tests .asan - .4.4 .openssl !.nosasl .server - .4.2 .openssl !.nosasl .server - .4.0 .openssl !.nosasl .server @@ -23341,6 +23340,7 @@ buildvariants: - debug-compile-nosasl-openssl-static - debug-compile-sasl-openssl-static - debug-compile-sspi-openssl-static + - .authentication-tests .asan - test-aws-openssl-regular-latest - test-aws-openssl-ec2-latest - test-aws-openssl-ecs-latest diff --git a/build/evergreen_config_lib/tasks.py b/build/evergreen_config_lib/tasks.py index 48cae68352..4a8ce33743 100644 --- a/build/evergreen_config_lib/tasks.py +++ b/build/evergreen_config_lib/tasks.py @@ -835,7 +835,7 @@ def __init__(self, *args, **kwargs): tags=['authentication-tests', 'asan'], commands=[ shell_mongoc(""" - SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL EXTRA_CONFIGURE_FLAGS="-DENABLE_EXTRA_ALIGNMENT=OFF" bash .evergreen/compile.sh + SANITIZE=address DEBUG=ON CC='${CC}' MARCH='${MARCH}' SASL=AUTO SSL=OPENSSL EXTRA_CONFIGURE_FLAGS='-DENABLE_EXTRA_ALIGNMENT=OFF' bash .evergreen/compile.sh """), func('run auth tests', ASAN='on')]), PostCompileTask( diff --git a/build/evergreen_config_lib/variants.py b/build/evergreen_config_lib/variants.py index 9608d377a2..fbeb26186c 100644 --- a/build/evergreen_config_lib/variants.py +++ b/build/evergreen_config_lib/variants.py @@ -190,7 +190,6 @@ def days(n): '.debug-compile !.sspi .openssl', '.debug-compile !.sspi .nossl', '.authentication-tests .openssl', - '.authentication-tests .asan', '.4.4 .openssl !.nosasl .server', '.4.2 .openssl !.nosasl .server', '.4.0 .openssl !.nosasl .server', @@ -593,6 +592,7 @@ def days(n): 'debug-compile-nosasl-openssl-static', 'debug-compile-sasl-openssl-static', 'debug-compile-sspi-openssl-static', + '.authentication-tests .asan', 'test-aws-openssl-regular-latest', 'test-aws-openssl-ec2-latest', 'test-aws-openssl-ecs-latest', From cd7955d86f2d275fb1fd0e3933bc1a0751a46e83 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 13 Jan 2023 11:04:33 -0600 Subject: [PATCH 08/10] Fix incomplete documentation in bypass-dlclose.sh --- .evergreen/bypass-dlclose.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.evergreen/bypass-dlclose.sh b/.evergreen/bypass-dlclose.sh index 654997b840..f6e7bf3b43 100644 --- a/.evergreen/bypass-dlclose.sh +++ b/.evergreen/bypass-dlclose.sh @@ -10,6 +10,9 @@ # "$CC": compiler to use to compile and link the bypass_dlclose library. # # Evaluates the provided command and arguments with LD_PRELOAD defined to +# preload a `bypass_dlclose.so` library defining a no-op `dlclose()`. +# If necessary, also preloads the `libasan.so` library to satisfy linker +# requirements. bypass_dlclose() { : "${1:?'bypass_dlclose expects at least one argument to run as command!'}" : "${CC:?'bypass_dlclose expects environment variable CC to be defined!'}" From 86440b6fa6ad5d2d12cb2ca9fded73f7f1bdbee3 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 13 Jan 2023 11:39:06 -0600 Subject: [PATCH 09/10] Reword comment for canary data member --- src/libbson/src/bson/bson-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libbson/src/bson/bson-types.h b/src/libbson/src/bson/bson-types.h index 55bcda848d..95e3511c32 100644 --- a/src/libbson/src/bson/bson-types.h +++ b/src/libbson/src/bson/bson-types.h @@ -127,7 +127,7 @@ typedef struct _bson_json_opts_t bson_json_opts_t; BSON_ALIGNED_BEGIN (128) typedef struct _bson_t { uint32_t flags; /* Internal flags for the bson_t. */ uint32_t len; /* Length of BSON data. */ - char *canary; /* For memcheck. */ + char *canary; /* For leak checks. */ uint8_t padding[120 - sizeof (char *)]; } bson_t BSON_ALIGNED_END (128); #else From 9739923d4bf67abe1d7a575733ba6b1f509903e1 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 13 Jan 2023 11:39:48 -0600 Subject: [PATCH 10/10] Rename authentication-tests-memcheck to authentication-tests-asan-memcheck --- .evergreen/config.yml | 2 +- build/evergreen_config_lib/tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index d2d4f58e96..1a60ffca36 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -15330,7 +15330,7 @@ tasks: DNS: 'on' SSL: ssl - func: update codecov.io -- name: authentication-tests-memcheck +- name: authentication-tests-asan-memcheck tags: - asan - authentication-tests diff --git a/build/evergreen_config_lib/tasks.py b/build/evergreen_config_lib/tasks.py index 4a8ce33743..d72618b8e0 100644 --- a/build/evergreen_config_lib/tasks.py +++ b/build/evergreen_config_lib/tasks.py @@ -831,7 +831,7 @@ def __init__(self, *args, **kwargs): run_tests(AUTH='auth', SSL='ssl', DNS='on'), func('update codecov.io')]), NamedTask( - 'authentication-tests-memcheck', + 'authentication-tests-asan-memcheck', tags=['authentication-tests', 'asan'], commands=[ shell_mongoc("""