From 22951e9a7a34cbf7574685bb38d993ff9e0da0b8 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:10 -0600 Subject: [PATCH 01/35] Silence venv activation error messages during post-task commands --- .evergreen/config_generator/components/funcs/stop_mongod.py | 4 ++-- .evergreen/generated_configs/functions.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.evergreen/config_generator/components/funcs/stop_mongod.py b/.evergreen/config_generator/components/funcs/stop_mongod.py index c8e54b9771..8f333826a4 100644 --- a/.evergreen/config_generator/components/funcs/stop_mongod.py +++ b/.evergreen/config_generator/components/funcs/stop_mongod.py @@ -13,8 +13,8 @@ class StopMongod(Function): set -o pipefail if cd drivers-evergreen-tools/.evergreen/orchestration 2>/dev/null; then . ../venv-utils.sh - if venvactivate venv; then - mongo-orchestration stop + if venvactivate venv 2>/dev/null; then + mongo-orchestration stop fi fi ''' diff --git a/.evergreen/generated_configs/functions.yml b/.evergreen/generated_configs/functions.yml index 0c447b3b1b..4a8088eb82 100644 --- a/.evergreen/generated_configs/functions.yml +++ b/.evergreen/generated_configs/functions.yml @@ -548,8 +548,8 @@ functions: set -o pipefail if cd drivers-evergreen-tools/.evergreen/orchestration 2>/dev/null; then . ../venv-utils.sh - if venvactivate venv; then - mongo-orchestration stop + if venvactivate venv 2>/dev/null; then + mongo-orchestration stop fi fi test: From 3603c8987ccac7866d6a60b10d3b95ab0eaf773f Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:11 -0600 Subject: [PATCH 02/35] Print uncaught exception message during component execution --- examples/api/runner.hh | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/examples/api/runner.hh b/examples/api/runner.hh index 294a7f33fd..4854838c9a 100644 --- a/examples/api/runner.hh +++ b/examples/api/runner.hh @@ -14,6 +14,7 @@ #pragma once +#include #include #include @@ -36,16 +37,19 @@ void runner_register_forking_component(void (*fn)(), char const* name); #define EXAMPLES_COMPONENT_NAME_STR EXAMPLES_COMPONENT_NAME_STR_IMPL(EXAMPLES_COMPONENT_NAME) #define EXAMPLES_COMPONENT_NAME_STR_IMPL(name) EXAMPLES_STR(name) -#define RUNNER_REGISTER_COMPONENT_IMPL(name, register_fn) \ - static void EXAMPLES_CONCAT3(name, _entry_point_, __LINE__)(void); \ - static void EXAMPLES_CONCAT4(name, _entry_point_, __LINE__, _guarded)(void) try { \ - EXAMPLES_CONCAT3(name, _entry_point_, __LINE__)(); \ - } catch (...) { \ - std::cout << EXAMPLES_STR(name) ":" << __LINE__ << ": failed: uncaught exception" << std::endl; \ - throw; \ - } \ - static int EXAMPLES_CONCAT2(name, _registrator) = \ - ((register_fn)(&EXAMPLES_CONCAT4(name, _entry_point_, __LINE__, _guarded), EXAMPLES_STR(name)), 0); \ +#define RUNNER_REGISTER_COMPONENT_IMPL(name, register_fn) \ + static void EXAMPLES_CONCAT3(name, _entry_point_, __LINE__)(void); \ + static void EXAMPLES_CONCAT4(name, _entry_point_, __LINE__, _guarded)(void) try { \ + EXAMPLES_CONCAT3(name, _entry_point_, __LINE__)(); \ + } catch (std::exception const& ex) { \ + std::cout << EXAMPLES_STR(name) ":" << __LINE__ << ": failed: uncaught exception: " << ex.what() << std::endl; \ + throw; \ + } catch (...) { \ + std::cout << EXAMPLES_STR(name) ":" << __LINE__ << ": failed: uncaught exception" << std::endl; \ + throw; \ + } \ + static int EXAMPLES_CONCAT2(name, _registrator) = \ + ((register_fn)(&EXAMPLES_CONCAT4(name, _entry_point_, __LINE__, _guarded), EXAMPLES_STR(name)), 0); \ static void EXAMPLES_CONCAT3(EXAMPLES_COMPONENT_NAME, _entry_point_, __LINE__)(void) #define RUNNER_REGISTER_COMPONENT() RUNNER_REGISTER_COMPONENT_IMPL(EXAMPLES_COMPONENT_NAME, ::runner_register_component) From 7761f496a35938dc7b2388b6e76396ad281b0a56 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:11 -0600 Subject: [PATCH 03/35] Avoid failure to spawn mongocryptd from failing API examples --- .../examples/clients/create/single/options/auto_encryption.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/api/mongocxx/examples/clients/create/single/options/auto_encryption.cpp b/examples/api/mongocxx/examples/clients/create/single/options/auto_encryption.cpp index 619773174a..91b67a35eb 100644 --- a/examples/api/mongocxx/examples/clients/create/single/options/auto_encryption.cpp +++ b/examples/api/mongocxx/examples/clients/create/single/options/auto_encryption.cpp @@ -67,6 +67,8 @@ RUNNER_REGISTER_COMPONENT_WITH_INSTANCE() { } catch (mongocxx::exception const& ex) { if (std::strstr(ex.what(), "ENABLE_CLIENT_SIDE_ENCRYPTION") != nullptr) { // Library may not be configured with TLS/SSL support enabled. + } else if (std::strstr(ex.what(), "mongocryptd") != nullptr) { + // Environment may not support spawning mongocryptd. } else { throw; } From 20f6543bbf7a3dba8f12311d3fe331798eb55768 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:11 -0600 Subject: [PATCH 04/35] Fix missing alignment parameter to std::aligned_storage --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh index 173edaf6d2..7f29bec927 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh @@ -94,7 +94,7 @@ class stack { } private: - typename std::aligned_storage::type _object_memory[size]; + typename std::aligned_storage::type _object_memory[size]; std::list _buckets; From 43c4c6a300db61667cb005a047e623cd79795d78 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:11 -0600 Subject: [PATCH 05/35] Silence -Wover-aligned warnings --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp | 6 ++++++ .../lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh | 6 ++++++ .../lib/mongocxx/v_noabi/mongocxx/client_session.cpp | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp index 7cc4931c59..f945babc20 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include + #include #include @@ -251,7 +253,11 @@ class core::impl { }; core::core(bool is_array) { + BSONCXX_PRIVATE_WARNINGS_PUSH(); + BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wover-aligned")); + BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4316)); _impl = make_unique(is_array); + BSONCXX_PRIVATE_WARNINGS_POP(); } core::core(core&&) noexcept = default; diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh index e3b6927e1a..33fc4eeb0b 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh @@ -37,6 +37,10 @@ namespace bsoncxx { namespace detail { +BSONCXX_PRIVATE_WARNINGS_PUSH(); +BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wover-aligned")); +BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4316)); + // Switch backend of make_unique by the type we are creating. // It would be easier to 'if constexpr' on whether we are an array and whether to direct-init or // value-init, but we don't have if-constexpr and we need it to guard against an uterance of a @@ -94,6 +98,8 @@ struct make_unique_impl {}; template struct make_unique_impl {}; +BSONCXX_PRIVATE_WARNINGS_POP(); + } // namespace detail } // namespace bsoncxx diff --git a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp index e127ceb648..96e459a042 100644 --- a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp +++ b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include + #include #include @@ -25,10 +27,14 @@ namespace mongocxx { namespace v_noabi { // Private constructors. +BSONCXX_PRIVATE_WARNINGS_PUSH(); +BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wover-aligned")); +BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4316)); client_session::client_session( mongocxx::v_noabi::client const* client, mongocxx::v_noabi::options::client_session const& options) : _impl(bsoncxx::make_unique(client, options)) {} +BSONCXX_PRIVATE_WARNINGS_POP(); client_session::client_session(client_session&&) noexcept = default; From 02825544c1033d07ca8adffc60f40dda6208097c Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:12 -0600 Subject: [PATCH 06/35] Ensure alignment of data members of new-allocated objects --- .../bsoncxx/v_noabi/bsoncxx/builder/core.cpp | 42 ++++++++++++++----- .../mongocxx/private/client_session.hh | 12 ++++-- 2 files changed, 41 insertions(+), 13 deletions(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp index f945babc20..ddbbf2a160 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp @@ -15,6 +15,7 @@ #include #include +#include #include #include @@ -72,14 +73,33 @@ class managed_bson_t { class core::impl { public: - impl(bool is_array) : _depth(0), _root_is_array(is_array), _n(0), _has_user_key(false) {} + ~impl() { + _root_ptr->~managed_bson_t(); + } + + impl(impl&&) = delete; + impl& operator=(impl&&) = delete; + + impl(impl const&) = delete; + impl& operator=(impl const&) = delete; + + impl(bool is_array) + : _depth(0), + _root_is_array(is_array), + _n(0), + _root_ptr([this] { + void* ptr = _root_storage; + std::size_t space = sizeof(_root_storage); + return new (std::align(alignof(managed_bson_t), sizeof(managed_bson_t), ptr, space)) managed_bson_t(); + }()), + _has_user_key(false) {} void reinit() { while (!_stack.empty()) { _stack.pop_back(); } - bson_reinit(_root.get()); + bson_reinit(_root_ptr->get()); _depth = 0; @@ -95,8 +115,8 @@ class core::impl { } uint32_t buf_len; - uint8_t* buf_ptr = bson_destroy_with_steal(_root.get(), true, &buf_len); - bson_init(_root.get()); + uint8_t* buf_ptr = bson_destroy_with_steal(_root_ptr->get(), true, &buf_len); + bson_init(_root_ptr->get()); return bsoncxx::v_noabi::document::value{buf_ptr, buf_len, bson_free_deleter}; } @@ -108,15 +128,15 @@ class core::impl { } uint32_t buf_len; - uint8_t* buf_ptr = bson_destroy_with_steal(_root.get(), true, &buf_len); - bson_init(_root.get()); + uint8_t* buf_ptr = bson_destroy_with_steal(_root_ptr->get(), true, &buf_len); + bson_init(_root_ptr->get()); return bsoncxx::v_noabi::array::value{buf_ptr, buf_len, bson_free_deleter}; } bson_t* back() { if (_stack.empty()) { - return _root.get(); + return _root_ptr->get(); } else { return &_stack.back().bson; } @@ -178,7 +198,7 @@ class core::impl { throw bsoncxx::v_noabi::exception{error_code::k_cannot_perform_document_operation_on_array}; } - return _root.get(); + return _root_ptr->get(); } // Throws bsoncxx::v_noabi::exception if the top-level BSON datum is a document. @@ -187,7 +207,7 @@ class core::impl { throw bsoncxx::v_noabi::exception{error_code::k_cannot_perform_array_operation_on_document}; } - return _root.get(); + return _root_ptr->get(); } bool is_array() { @@ -239,7 +259,9 @@ class core::impl { bool _root_is_array; std::size_t _n; - managed_bson_t _root; + + unsigned char _root_storage[2u * sizeof(managed_bson_t)]; + managed_bson_t* _root_ptr; // The bottom frame of _stack has _root as its parent. stack _stack; diff --git a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh index b3e2803aa8..d0c520dd7c 100644 --- a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh +++ b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh @@ -17,6 +17,7 @@ #include #include +#include #include #include @@ -73,7 +74,11 @@ bool with_transaction_cpp_cb(mongoc_client_session_t*, void* ctx, bson_t** reply class client_session::impl { public: impl(mongocxx::v_noabi::client const* client, options::client_session const& session_options) - : _client(client), _options(session_options), _session_t(nullptr, nullptr) { + : _client(client), _options(session_options), _session_t(nullptr, nullptr), _empty_cluster_time_ptr([this] { + void* ptr = const_cast(static_cast(_empty_cluster_time_storage)); + std::size_t space = sizeof(_empty_cluster_time_storage); + return new (std::align(alignof(bson_t), sizeof(bson_t), ptr, space)) bson_t BSON_INITIALIZER; + }()) { // Create a mongoc_session_opts_t from session_options. std::unique_ptr opt_t{ libmongoc::session_opts_new(), libmongoc::session_opts_destroy}; @@ -123,7 +128,7 @@ class client_session::impl { return bsoncxx::helpers::view_from_bson_t(ct); } - return bsoncxx::helpers::view_from_bson_t(&_empty_cluster_time); + return bsoncxx::helpers::view_from_bson_t(_empty_cluster_time_ptr); } bsoncxx::v_noabi::types::b_timestamp operation_time() const noexcept { @@ -236,7 +241,8 @@ class client_session::impl { unique_session _session_t; - bson_t _empty_cluster_time = BSON_INITIALIZER; + unsigned char _empty_cluster_time_storage[2u * sizeof(bson_t)]; + bson_t const* _empty_cluster_time_ptr; // Just a long-lasting empty bson_t. Destruction is not required. }; } // namespace v_noabi From 62c766a7d2e1aa68475aeeeef844c3460b230d1c Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:12 -0600 Subject: [PATCH 07/35] Silence -Walign-mismatch warnings for stack::emplace_back --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh index 7f29bec927..73338c8c19 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh @@ -77,7 +77,12 @@ class stack { _inc(); } + // Alignment is handled by `_object_memory`. + BSONCXX_PRIVATE_WARNINGS_PUSH(); + BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wunknown-warning-option")); + BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Walign-mismatch")); new (_get_ptr()) T(std::forward(args)...); + BSONCXX_PRIVATE_WARNINGS_POP(); } void pop_back() { From ce45e075bca6b8196283ff1396a6b435369a13e3 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:12 -0600 Subject: [PATCH 08/35] Use alignas instead of std::aligned_storage to address C2338 --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh | 2 +- src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh index 73338c8c19..8ef6ec84de 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh @@ -99,7 +99,7 @@ class stack { } private: - typename std::aligned_storage::type _object_memory[size]; + alignas(T) unsigned char _object_memory[sizeof(T) * size]; std::list _buckets; diff --git a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp index 233a11699a..fbecf2ee66 100644 --- a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp +++ b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp @@ -74,7 +74,7 @@ void user_log_handler( // A region of memory that acts as a sentintel value indicating that an instance object is being // destroyed. We only care about the address of this object, never its contents. -typename std::aligned_storage::type sentinel; +alignas(instance) unsigned char sentinel[sizeof(instance)]; std::atomic current_instance{nullptr}; static_assert(std::is_standard_layout::value, "Must be standard layout"); From abc542b8ef52f0df70240bb63e734d94fa3ef4c9 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:13 -0600 Subject: [PATCH 09/35] Address -Wsign-conversion warnings on ubuntu2204-arm64 --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/itoa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/itoa.cpp b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/itoa.cpp index 85c540854b..962118bfe8 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/itoa.cpp +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/itoa.cpp @@ -1051,7 +1051,7 @@ void itoa::_init() { while (_val > 0) { i--; - _buf[i] = static_cast((_val % 10) + '0'); + _buf[i] = static_cast((_val % 10) + '0'); _val = _val / 10; } From 31beecb65698bc8e4228e0fc8c32d9e6195af802 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:13 -0600 Subject: [PATCH 10/35] Fix expansion of uninstall directories on RHEL --- etc/generate-uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/generate-uninstall.sh b/etc/generate-uninstall.sh index cba7d7afd8..65593002bb 100755 --- a/etc/generate-uninstall.sh +++ b/etc/generate-uninstall.sh @@ -98,7 +98,7 @@ printf "printf \"Removing file \\\"share/mongo-cxx-driver/uninstall.sh\\\"\"\n" printf "(rm -f \"share/mongo-cxx-driver/uninstall.sh\" && printf \"\\\n\") || printf \" ... not removed\\\n\"\n" dirs="${dirs}share/mongo-cxx-driver\nshare\n" -echo "${dirs}" | sort -ru | while IFS= read -r dir; do +printf "${dirs}" | sort -ru | while IFS= read -r dir; do if [ -n "${dir}" ]; then printf "printf \"Removing directory \\\"%s\\\"\"\n" "${dir}" printf "(rmdir \"%s\" 2>/dev/null && printf \"\\\n\") || printf \" ... not removed (probably not empty)\\\n\"\n" "${dir}" From a399cbfa206c13f1ccdc5a25d163cf0551b99968 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:13 -0600 Subject: [PATCH 11/35] Add TEST_WITH_CSFLE to opt out of CSFLE setup routines --- .../components/integration.py | 3 ++ .evergreen/generated_configs/tasks.yml | 34 +++++++++++++++++++ .evergreen/scripts/test.sh | 5 ++- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/.evergreen/config_generator/components/integration.py b/.evergreen/config_generator/components/integration.py index bde82f3938..bda9bdc4e9 100644 --- a/.evergreen/config_generator/components/integration.py +++ b/.evergreen/config_generator/components/integration.py @@ -118,6 +118,9 @@ def tasks(): else: compile_vars |= {'RUN_DISTCHECK': 1} + if with_csfle != 'plain': + test_vars |= {'TEST_WITH_CSFLE': 'ON'} + updates += [KeyValueParam(key='build_type', value=build_type)] updates += [KeyValueParam(key=key, value=value) for key, value in compiler_to_vars(compiler).items()] diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 9af97cc846..7756b09005 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -718,6 +718,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-debian12-release-shared-csfle-latest-sharded run_on: debian12-large tags: [integration, debian12, release, shared, csfle, latest, sharded] @@ -742,6 +743,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-debian12-release-shared-cxx20-extra_alignment-latest-single run_on: debian12-large tags: [integration, debian12, release, shared, cxx20, extra_alignment, latest, single] @@ -1779,6 +1781,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-csfle-latest-sharded run_on: rhel90-arm64-large @@ -1804,6 +1807,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-cxx20-extra_alignment-latest-single run_on: rhel90-arm64-large @@ -1992,6 +1996,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" lib_dir: lib64 - name: integration-rhel90-release-shared-csfle-latest-sharded run_on: rhel90-large @@ -2017,6 +2022,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" lib_dir: lib64 - name: integration-rhel90-release-shared-cxx20-extra_alignment-latest-single run_on: rhel90-large @@ -2422,6 +2428,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-4.0-sharded run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "4.0", sharded] @@ -2446,6 +2453,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-4.2-replica run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", replica] @@ -2470,6 +2478,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-4.2-replica-mongocryptd run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", replica, mongocryptd] @@ -2494,6 +2503,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu1804-debug-shared-csfle-4.2-sharded run_on: ubuntu1804-large @@ -2519,6 +2529,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-4.2-sharded-mongocryptd run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", sharded, mongocryptd] @@ -2543,6 +2554,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu1804-debug-shared-csfle-4.4-replica run_on: ubuntu1804-large @@ -2568,6 +2580,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-4.4-replica-mongocryptd run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "4.4", replica, mongocryptd] @@ -2592,6 +2605,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu1804-debug-shared-csfle-4.4-sharded run_on: ubuntu1804-large @@ -2617,6 +2631,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-4.4-sharded-mongocryptd run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "4.4", sharded, mongocryptd] @@ -2641,6 +2656,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu1804-debug-shared-csfle-5.0-replica run_on: ubuntu1804-large @@ -2666,6 +2682,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-5.0-replica-mongocryptd run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "5.0", replica, mongocryptd] @@ -2690,6 +2707,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu1804-debug-shared-csfle-5.0-sharded run_on: ubuntu1804-large @@ -2715,6 +2733,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-5.0-sharded-mongocryptd run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "5.0", sharded, mongocryptd] @@ -2739,6 +2758,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu1804-debug-shared-csfle-6.0-replica run_on: ubuntu1804-large @@ -2764,6 +2784,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-csfle-6.0-sharded run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, csfle, "6.0", sharded] @@ -2788,6 +2809,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu1804-debug-shared-extra_alignment-4.0-single run_on: ubuntu1804-large tags: [integration, ubuntu1804, debug, shared, extra_alignment, "4.0", single] @@ -3138,6 +3160,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-debug-shared-csfle-7.0-sharded run_on: ubuntu2004-large tags: [integration, ubuntu2004, debug, shared, csfle, "7.0", sharded] @@ -3162,6 +3185,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-debug-shared-csfle-8.0-replica run_on: ubuntu2004-large tags: [integration, ubuntu2004, debug, shared, csfle, "8.0", replica] @@ -3186,6 +3210,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-debug-shared-csfle-8.0-sharded run_on: ubuntu2004-large tags: [integration, ubuntu2004, debug, shared, csfle, "8.0", sharded] @@ -3210,6 +3235,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-debug-shared-csfle-latest-replica run_on: ubuntu2004-large tags: [integration, ubuntu2004, debug, shared, csfle, latest, replica] @@ -3234,6 +3260,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-debug-shared-csfle-latest-replica-mongocryptd run_on: ubuntu2004-large tags: [integration, ubuntu2004, debug, shared, csfle, latest, replica, mongocryptd] @@ -3258,6 +3285,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu2004-debug-shared-csfle-latest-sharded run_on: ubuntu2004-large @@ -3283,6 +3311,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-debug-shared-csfle-latest-sharded-mongocryptd run_on: ubuntu2004-large tags: [integration, ubuntu2004, debug, shared, csfle, latest, sharded, mongocryptd] @@ -3307,6 +3336,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" use_mongocryptd: true - name: integration-ubuntu2004-debug-shared-extra_alignment-7.0-single run_on: ubuntu2004-large @@ -3504,6 +3534,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-release-shared-csfle-5.0-sharded run_on: ubuntu2004-large tags: [integration, ubuntu2004, release, shared, csfle, "5.0", sharded] @@ -3528,6 +3559,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-release-shared-csfle-latest-replica run_on: ubuntu2004-large tags: [integration, ubuntu2004, release, shared, csfle, latest, replica] @@ -3552,6 +3584,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-release-shared-csfle-latest-sharded run_on: ubuntu2004-large tags: [integration, ubuntu2004, release, shared, csfle, latest, sharded] @@ -3576,6 +3609,7 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_CSFLE: "ON" - name: integration-ubuntu2004-release-shared-extra_alignment-5.0-single run_on: ubuntu2004-large tags: [integration, ubuntu2004, release, shared, extra_alignment, "5.0", single] diff --git a/.evergreen/scripts/test.sh b/.evergreen/scripts/test.sh index 4b8ac5c453..31bd3b94d3 100755 --- a/.evergreen/scripts/test.sh +++ b/.evergreen/scripts/test.sh @@ -26,6 +26,7 @@ set -o pipefail : "${MONGODB_API_VERSION:-}" : "${platform:-}" : "${TEST_WITH_ASAN:-}" +: "${TEST_WITH_CSFLE:-}" : "${TEST_WITH_UBSAN:-}" : "${TEST_WITH_VALGRIND:-}" : "${use_mongocryptd:-}" @@ -105,7 +106,9 @@ command -v "${cmake_binary:?}" export MONGOCXX_TEST_TLS_CA_FILE="${DRIVERS_TOOLS:?}/.evergreen/x509gen/ca.pem" -if [ "$(uname -m)" == "ppc64le" ]; then +if [[ "${TEST_WITH_CSFLE:-}" != "ON" ]]; then + echo "Skipping CSFLE test setup (TEST_WITH_CSFLE is OFF)" +elif [ "$(uname -m)" == "ppc64le" ]; then echo "Skipping CSFLE test setup (CDRIVER-4246/CXX-2423)" else # export environment variables for encryption tests From 0ffa53de89df8fe997e1178289730f3b0cedbd2c Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:13 -0600 Subject: [PATCH 12/35] Move handling of lib vs. lib64 from config into scripts --- .../config_generator/components/funcs/test.py | 1 - .../funcs/test_atlas_connectivity.py | 6 +++- .../components/funcs/test_auth.py | 6 +++- .../components/integration.py | 3 -- .../config_generator/components/mongohouse.py | 1 + .../components/uninstall_check.py | 1 + .evergreen/generated_configs/functions.yml | 17 +++++++-- .evergreen/generated_configs/tasks.yml | 36 ------------------- .evergreen/scripts/test-mongohouse.sh | 6 ++-- .evergreen/scripts/test.sh | 32 +++++++---------- .evergreen/scripts/uninstall_check.sh | 20 +++++++---- .../bsoncxx/pkg-config/shared/build.sh | 1 - .../mongocxx/pkg-config/shared/build.sh | 1 - 13 files changed, 54 insertions(+), 77 deletions(-) diff --git a/.evergreen/config_generator/components/funcs/test.py b/.evergreen/config_generator/components/funcs/test.py index 1e56ee648b..0734e97875 100644 --- a/.evergreen/config_generator/components/funcs/test.py +++ b/.evergreen/config_generator/components/funcs/test.py @@ -29,7 +29,6 @@ class Test(Function): 'example_projects_cxxflags', 'example_projects_ldflags', 'generator', - 'lib_dir', 'MONGOCXX_TEST_TOPOLOGY', 'MONGODB_API_VERSION', 'platform', diff --git a/.evergreen/config_generator/components/funcs/test_atlas_connectivity.py b/.evergreen/config_generator/components/funcs/test_atlas_connectivity.py index bcd2352c2e..6e47b2f12e 100644 --- a/.evergreen/config_generator/components/funcs/test_atlas_connectivity.py +++ b/.evergreen/config_generator/components/funcs/test_atlas_connectivity.py @@ -13,7 +13,11 @@ class TestAtlasConnectivity(Function): script='''\ export MONGOC_INSTALL_PREFIX=$(pwd)/../mongoc export MONGOCXX_INSTALL_PREFIX=$(pwd)/build/install - export LIB_DIR=${lib_dir} + if [[ "${distro_id}" == rhel* ]]; then + export LIB_DIR=lib64 + else + export LIB_DIR=lib + fi export BUILD_TYPE=${build_type} export BUILD_DIR=$(pwd)/build diff --git a/.evergreen/config_generator/components/funcs/test_auth.py b/.evergreen/config_generator/components/funcs/test_auth.py index 7e34e0ce7e..47389b03ca 100644 --- a/.evergreen/config_generator/components/funcs/test_auth.py +++ b/.evergreen/config_generator/components/funcs/test_auth.py @@ -12,7 +12,11 @@ class TestAuth(Function): script='''\ export MONGOC_INSTALL_PREFIX=$(pwd)/../mongoc export MONGOCXX_INSTALL_PREFIX=$(pwd)/build/install - export LIB_DIR=${lib_dir} + if [[ "${distro_id}" == rhel* ]]; then + export LIB_DIR=lib64 + else + export LIB_DIR=lib + fi export BUILD_TYPE=${build_type} export BUILD_DIR=$(pwd)/build export URI="mongodb://bob:pwd123@localhost" diff --git a/.evergreen/config_generator/components/integration.py b/.evergreen/config_generator/components/integration.py index bda9bdc4e9..c9647d8d50 100644 --- a/.evergreen/config_generator/components/integration.py +++ b/.evergreen/config_generator/components/integration.py @@ -130,9 +130,6 @@ def tasks(): if build_type == 'Debug' and distro.os in ['ubuntu1804', 'ubuntu2004']: updates += [KeyValueParam(key='ENABLE_CODE_COVERAGE', value='ON')] - if 'rhel' in distro.os: - test_vars |= {'lib_dir': 'lib64'} - if link_type == 'static': compile_vars |= {'USE_STATIC_LIBS': 1} test_vars |= {'USE_STATIC_LIBS': 1} diff --git a/.evergreen/config_generator/components/mongohouse.py b/.evergreen/config_generator/components/mongohouse.py index a79e285217..270f946c63 100644 --- a/.evergreen/config_generator/components/mongohouse.py +++ b/.evergreen/config_generator/components/mongohouse.py @@ -49,6 +49,7 @@ class TestMongohouse(Function): commands = bash_exec( command_type=EvgCommandType.TEST, working_dir='mongo-cxx-driver', + include_expansions_in_env=['distro_id'], script='.evergreen/scripts/test-mongohouse.sh' ) diff --git a/.evergreen/config_generator/components/uninstall_check.py b/.evergreen/config_generator/components/uninstall_check.py index 9ec61fb54f..94abc01cc2 100644 --- a/.evergreen/config_generator/components/uninstall_check.py +++ b/.evergreen/config_generator/components/uninstall_check.py @@ -36,6 +36,7 @@ class UninstallCheck(Function): commands = bash_exec( command_type=EvgCommandType.TEST, working_dir='mongo-cxx-driver', + include_expansions_in_env=['distro_id'], script='''\ case "$OSTYPE" in darwin*|linux*) .evergreen/scripts/uninstall_check.sh ;; diff --git a/.evergreen/generated_configs/functions.yml b/.evergreen/generated_configs/functions.yml index 4a8088eb82..b3f7e95e51 100644 --- a/.evergreen/generated_configs/functions.yml +++ b/.evergreen/generated_configs/functions.yml @@ -576,7 +576,6 @@ functions: - example_projects_cxxflags - example_projects_ldflags - generator - - lib_dir - MONGOCXX_TEST_TOPOLOGY - MONGODB_API_VERSION - platform @@ -600,7 +599,11 @@ functions: - | export MONGOC_INSTALL_PREFIX=$(pwd)/../mongoc export MONGOCXX_INSTALL_PREFIX=$(pwd)/build/install - export LIB_DIR=${lib_dir} + if [[ "${distro_id}" == rhel* ]]; then + export LIB_DIR=lib64 + else + export LIB_DIR=lib + fi export BUILD_TYPE=${build_type} export BUILD_DIR=$(pwd)/build @@ -619,7 +622,11 @@ functions: - | export MONGOC_INSTALL_PREFIX=$(pwd)/../mongoc export MONGOCXX_INSTALL_PREFIX=$(pwd)/build/install - export LIB_DIR=${lib_dir} + if [[ "${distro_id}" == rhel* ]]; then + export LIB_DIR=lib64 + else + export LIB_DIR=lib + fi export BUILD_TYPE=${build_type} export BUILD_DIR=$(pwd)/build export URI="mongodb://bob:pwd123@localhost" @@ -643,6 +650,8 @@ functions: params: binary: bash working_dir: mongo-cxx-driver + include_expansions_in_env: + - distro_id args: - -c - .evergreen/scripts/test-mongohouse.sh @@ -652,6 +661,8 @@ functions: params: binary: bash working_dir: mongo-cxx-driver + include_expansions_in_env: + - distro_id args: - -c - | diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 7756b09005..5f9e6992ca 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -1231,7 +1231,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel81-power8-release-shared-extra_alignment-5.0-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, shared, extra_alignment, "5.0", single] @@ -1259,7 +1258,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel81-power8-release-shared-extra_alignment-latest-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, shared, extra_alignment, latest, single] @@ -1287,7 +1285,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel81-power8-release-shared-latest-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, shared, latest, single] @@ -1312,7 +1309,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel81-power8-release-static-5.0-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, static, "5.0", single] @@ -1339,7 +1335,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel81-power8-release-static-extra_alignment-5.0-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, static, extra_alignment, "5.0", single] @@ -1369,7 +1364,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel81-power8-release-static-extra_alignment-latest-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, static, extra_alignment, latest, single] @@ -1399,7 +1393,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel81-power8-release-static-latest-single run_on: rhel81-power8-large tags: [integration, rhel81-power8, release, static, latest, single] @@ -1426,7 +1419,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel83-zseries-release-shared-5.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, shared, "5.0", single] @@ -1451,7 +1443,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel83-zseries-release-shared-6.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, shared, "6.0", single] @@ -1476,7 +1467,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel83-zseries-release-shared-extra_alignment-5.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, shared, extra_alignment, "5.0", single] @@ -1504,7 +1494,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel83-zseries-release-shared-extra_alignment-6.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, shared, extra_alignment, "6.0", single] @@ -1532,7 +1521,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel83-zseries-release-shared-extra_alignment-latest-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, shared, extra_alignment, latest, single] @@ -1560,7 +1548,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel83-zseries-release-shared-latest-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, shared, latest, single] @@ -1585,7 +1572,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel83-zseries-release-static-5.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, static, "5.0", single] @@ -1612,7 +1598,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel83-zseries-release-static-6.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, static, "6.0", single] @@ -1639,7 +1624,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel83-zseries-release-static-extra_alignment-5.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, static, extra_alignment, "5.0", single] @@ -1669,7 +1653,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel83-zseries-release-static-extra_alignment-6.0-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, static, extra_alignment, "6.0", single] @@ -1699,7 +1682,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel83-zseries-release-static-extra_alignment-latest-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, static, extra_alignment, latest, single] @@ -1729,7 +1711,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel83-zseries-release-static-latest-single run_on: rhel83-zseries-large tags: [integration, rhel83-zseries, release, static, latest, single] @@ -1756,7 +1737,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-csfle-latest-replica run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, shared, csfle, latest, replica] @@ -1782,7 +1762,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_CSFLE: "ON" - lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-csfle-latest-sharded run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, shared, csfle, latest, sharded] @@ -1808,7 +1787,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: sharded TEST_WITH_CSFLE: "ON" - lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-cxx20-extra_alignment-latest-single run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, shared, cxx20, extra_alignment, latest, single] @@ -1838,7 +1816,6 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single REQUIRED_CXX_STANDARD: 20 example_projects_cxx_standard: 20 - lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-cxx20-latest-single run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, shared, cxx20, latest, single] @@ -1865,7 +1842,6 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single REQUIRED_CXX_STANDARD: 20 example_projects_cxx_standard: 20 - lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-extra_alignment-latest-single run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, shared, extra_alignment, latest, single] @@ -1892,7 +1868,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel90-arm64-release-shared-latest-single run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, shared, latest, single] @@ -1916,7 +1891,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel90-arm64-release-static-extra_alignment-latest-single run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, static, extra_alignment, latest, single] @@ -1945,7 +1919,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel90-arm64-release-static-latest-single run_on: rhel90-arm64-large tags: [integration, rhel90-arm64, release, static, latest, single] @@ -1971,7 +1944,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel90-release-shared-csfle-latest-replica run_on: rhel90-large tags: [integration, rhel90, release, shared, csfle, latest, replica] @@ -1997,7 +1969,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_CSFLE: "ON" - lib_dir: lib64 - name: integration-rhel90-release-shared-csfle-latest-sharded run_on: rhel90-large tags: [integration, rhel90, release, shared, csfle, latest, sharded] @@ -2023,7 +1994,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: sharded TEST_WITH_CSFLE: "ON" - lib_dir: lib64 - name: integration-rhel90-release-shared-cxx20-extra_alignment-latest-single run_on: rhel90-large tags: [integration, rhel90, release, shared, cxx20, extra_alignment, latest, single] @@ -2053,7 +2023,6 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single REQUIRED_CXX_STANDARD: 20 example_projects_cxx_standard: 20 - lib_dir: lib64 - name: integration-rhel90-release-shared-cxx20-latest-single run_on: rhel90-large tags: [integration, rhel90, release, shared, cxx20, latest, single] @@ -2080,7 +2049,6 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single REQUIRED_CXX_STANDARD: 20 example_projects_cxx_standard: 20 - lib_dir: lib64 - name: integration-rhel90-release-shared-extra_alignment-latest-single run_on: rhel90-large tags: [integration, rhel90, release, shared, extra_alignment, latest, single] @@ -2107,7 +2075,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel90-release-shared-latest-single run_on: rhel90-large tags: [integration, rhel90, release, shared, latest, single] @@ -2131,7 +2098,6 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - lib_dir: lib64 - name: integration-rhel90-release-static-extra_alignment-latest-single run_on: rhel90-large tags: [integration, rhel90, release, static, extra_alignment, latest, single] @@ -2160,7 +2126,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-rhel90-release-static-latest-single run_on: rhel90-large tags: [integration, rhel90, release, static, latest, single] @@ -2186,7 +2151,6 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single USE_STATIC_LIBS: 1 - lib_dir: lib64 - name: integration-ubuntu1804-arm64-release-shared-5.0-single run_on: ubuntu1804-arm64-large tags: [integration, ubuntu1804-arm64, release, shared, "5.0", single] diff --git a/.evergreen/scripts/test-mongohouse.sh b/.evergreen/scripts/test-mongohouse.sh index b10e0ac6bb..a9e8bae047 100755 --- a/.evergreen/scripts/test-mongohouse.sh +++ b/.evergreen/scripts/test-mongohouse.sh @@ -29,10 +29,10 @@ PREFIX="$(pwd)/../../mongoc" # Use LD_LIBRARY_PATH to inform the tests where to find dependencies on Linux. # This task only runs on Linux. -if [ -n "${lib_dir:-}" ]; then - export LD_LIBRARY_PATH=".:${PREFIX:?}/${lib_dir:?}/" +if [[ "${distro_id:?}" == rhel* ]]; then + export LD_LIBRARY_PATH=".:${PREFIX:?}/lib64" else - export LD_LIBRARY_PATH=".:${PREFIX:?}/lib/" + export LD_LIBRARY_PATH=".:${PREFIX:?}/lib" fi export MONGOHOUSE_TESTS_PATH diff --git a/.evergreen/scripts/test.sh b/.evergreen/scripts/test.sh index 31bd3b94d3..90ff68e04c 100755 --- a/.evergreen/scripts/test.sh +++ b/.evergreen/scripts/test.sh @@ -22,7 +22,6 @@ set -o pipefail : "${example_projects_cxxflags:-}" : "${example_projects_ldflags:-}" : "${generator:-}" -: "${lib_dir:-}" : "${MONGODB_API_VERSION:-}" : "${platform:-}" : "${TEST_WITH_ASAN:-}" @@ -46,17 +45,19 @@ popd # .. mongoc_dir="${working_dir:?}/../mongoc" export mongoc_dir +# Library directory differs on RHEL. +if [[ "${distro_id:?}" == rhel* ]]; then + LIB_DIR="lib64" +else + LIB_DIR="lib" +fi + # Use PATH / LD_LIBRARY_PATH / DYLD_LIBRARY_PATH to inform the tests where to find # mongoc library dependencies on Windows / Linux / Mac OS, respectively. # Additionally, on Windows, we also need to inform the tests where to find # mongocxx library dependencies. -if [ -n "${lib_dir:-}" ]; then - export LD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${lib_dir:?}/" - export DYLD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${lib_dir:?}/" -else - export LD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/lib/" - export DYLD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/lib/" -fi +export LD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${LIB_DIR:?}/" +export DYLD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${LIB_DIR:?}/" PATH="${working_dir:?}/build/src/mongocxx/test/${build_type:?}:${PATH:-}" PATH="${working_dir:?}/build/src/bsoncxx/test/${build_type:?}:${PATH:-}" PATH="${working_dir:?}/build/src/mongocxx/${build_type:?}:${PATH:-}" @@ -316,13 +317,8 @@ CMAKE_PREFIX_PATH="${mongoc_dir:?}:${working_dir:?}/build/install" export CMAKE_PREFIX_PATH PKG_CONFIG_PATH="" -if [ -n "${lib_dir:-}" ]; then - PKG_CONFIG_PATH+=":${mongoc_dir:?}/${lib_dir:?}/pkgconfig" - PKG_CONFIG_PATH+=":${working_dir:?}/build/install/${lib_dir:?}/pkgconfig" -else - PKG_CONFIG_PATH+=":${mongoc_dir:?}/lib/pkgconfig" - PKG_CONFIG_PATH+=":${working_dir:?}/build/install/lib/pkgconfig" -fi +PKG_CONFIG_PATH+=":${mongoc_dir:?}/${LIB_DIR:?}/pkgconfig" +PKG_CONFIG_PATH+=":${working_dir:?}/build/install/${LIB_DIR:?}/pkgconfig" export PKG_CONFIG_PATH # Environment variables used by example projects. @@ -341,11 +337,7 @@ elif [ "$(uname -s | tr '[:upper:]' '[:lower:]')" == "darwin" ]; then DYLD_LIBRARY_PATH="$(pwd)/build/install/lib:${DYLD_LIBRARY_PATH:-}" export DYLD_LIBRARY_PATH else - if [ -n "${lib_dir:-}" ]; then # only needed on Linux - LD_LIBRARY_PATH="${working_dir:?}/build/install/${lib_dir:?}:${LD_LIBRARY_PATH:-}" - else - LD_LIBRARY_PATH="${working_dir:?}/build/install/lib:${LD_LIBRARY_PATH:-}" - fi + LD_LIBRARY_PATH="${working_dir:?}/build/install/${LIB_DIR:?}:${LD_LIBRARY_PATH:-}" export LD_LIBRARY_PATH fi diff --git a/.evergreen/scripts/uninstall_check.sh b/.evergreen/scripts/uninstall_check.sh index 56d33ceb09..ed58bcdcba 100755 --- a/.evergreen/scripts/uninstall_check.sh +++ b/.evergreen/scripts/uninstall_check.sh @@ -5,7 +5,13 @@ set -o errexit # Exit the script with error if any of the commands fail BUILD_DIR="$(pwd)/build" INSTALL_DIR="$BUILD_DIR/install" -touch "$INSTALL_DIR/lib/canary.txt" +if [[ "${distro_id:?}" == rhel* ]]; then + LIB_DIR="lib64" +else + LIB_DIR="lib" +fi + +touch "$INSTALL_DIR/$LIB_DIR/canary.txt" ls -l "$INSTALL_DIR/share/mongo-cxx-driver" @@ -15,25 +21,25 @@ ls -l "$INSTALL_DIR/share/mongo-cxx-driver" ls -lR "$INSTALL_DIR" -if test -f "$INSTALL_DIR/lib/pkgconfig/libbsoncxx.pc"; then +if test -f "$INSTALL_DIR/$LIB_DIR/pkgconfig/libbsoncxx.pc"; then echo "libbsoncxx.pc found!" exit 1 else echo "libbsoncxx.pc check ok" fi -if test ! -f "$INSTALL_DIR/lib/canary.txt"; then +if test ! -f "$INSTALL_DIR/$LIB_DIR/canary.txt"; then echo "canary.txt not found!" exit 1 else echo "canary.txt check ok" fi -if test ! -d "$INSTALL_DIR/lib"; then - echo "$INSTALL_DIR/lib not found!" +if test ! -d "$INSTALL_DIR/$LIB_DIR"; then + echo "$INSTALL_DIR/$LIB_DIR not found!" exit 1 else - echo "$INSTALL_DIR/lib check ok" + echo "$INSTALL_DIR/$LIB_DIR check ok" fi -if test -f "$INSTALL_DIR/lib/pkgconfig/libmongocxx.pc"; then +if test -f "$INSTALL_DIR/$LIB_DIR/pkgconfig/libmongocxx.pc"; then echo "libmongocxx.pc found!" exit 1 else diff --git a/examples/projects/bsoncxx/pkg-config/shared/build.sh b/examples/projects/bsoncxx/pkg-config/shared/build.sh index 1076273750..f8daa0c40f 100755 --- a/examples/projects/bsoncxx/pkg-config/shared/build.sh +++ b/examples/projects/bsoncxx/pkg-config/shared/build.sh @@ -15,5 +15,4 @@ rm -rf build/* cd build $CXX $CXXFLAGS -Wall -Wextra -Werror -std="c++${CXX_STANDARD}" -c -o hello_bsoncxx.o ../../../hello_bsoncxx.cpp $(pkg-config --cflags libbsoncxx) $CXX $LDFLAGS -std="c++${CXX_STANDARD}" -o hello_bsoncxx hello_bsoncxx.o $(pkg-config --libs libbsoncxx) -export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:../../../../../../build/install/lib ./hello_bsoncxx diff --git a/examples/projects/mongocxx/pkg-config/shared/build.sh b/examples/projects/mongocxx/pkg-config/shared/build.sh index 37b355073d..1e8b21ebc8 100755 --- a/examples/projects/mongocxx/pkg-config/shared/build.sh +++ b/examples/projects/mongocxx/pkg-config/shared/build.sh @@ -20,5 +20,4 @@ $CXX $CXXFLAGS -Wall -Wextra -Werror -std="c++${CXX_STANDARD}" -c -o hello_mongo $CXX $LDFLAGS -std="c++${CXX_STANDARD}" -o hello_mongocxx hello_mongocxx.o $(pkg-config --libs libmongocxx) $PKGCONFIG_EXTRA_OPTS -export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:../../../../../../build/install/lib ./hello_mongocxx From 18dd0a72caf3db53bf5edc726cb9011ef0031414 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:14 -0600 Subject: [PATCH 13/35] Use DYLD_FALLBACK_LIBRARY_PATH instead of DYLD_LIBRARY_PATH --- .evergreen/scripts/connect.sh | 4 ++-- .evergreen/scripts/test.sh | 16 +++++++++------- .../mongocxx/cmake/static/CMakeLists.txt | 6 ------ .../projects/mongocxx/pkg-config/shared/build.sh | 4 ++-- .../projects/mongocxx/pkg-config/static/build.sh | 4 ++-- 5 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.evergreen/scripts/connect.sh b/.evergreen/scripts/connect.sh index 7a2b010bfd..704b8ddb9d 100755 --- a/.evergreen/scripts/connect.sh +++ b/.evergreen/scripts/connect.sh @@ -36,11 +36,11 @@ if [ -z "$BUILD_DIR" ]; then print_usage_and_exit "BUILD_DIR is a required environment variable." fi -# Use PATH / LD_LIBRARY_PATH / DYLD_LIBRARY_PATH to inform the tests where to find +# Use PATH / LD_LIBRARY_PATH / DYLD_FALLBACK_LIBRARY_PATH to inform the tests where to find # mongoc library dependencies on Windows / Linux / Mac OS, respectively. export PATH=$PATH:$MONGOC_INSTALL_PREFIX/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MONGOC_INSTALL_PREFIX/$LIB_DIR/ -export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$MONGOC_INSTALL_PREFIX/$LIB_DIR/ +export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$MONGOC_INSTALL_PREFIX/$LIB_DIR/ # Windows also needs to be informed where to find mongocxx library dependencies. export PATH=$PATH:$BUILD_DIR/src/bsoncxx/$BUILD_TYPE diff --git a/.evergreen/scripts/test.sh b/.evergreen/scripts/test.sh index 90ff68e04c..f38261f8d0 100755 --- a/.evergreen/scripts/test.sh +++ b/.evergreen/scripts/test.sh @@ -52,12 +52,12 @@ else LIB_DIR="lib" fi -# Use PATH / LD_LIBRARY_PATH / DYLD_LIBRARY_PATH to inform the tests where to find +# Use PATH / LD_LIBRARY_PATH / DYLD_FALLBACK_LIBRARY_PATH to inform the tests where to find # mongoc library dependencies on Windows / Linux / Mac OS, respectively. # Additionally, on Windows, we also need to inform the tests where to find # mongocxx library dependencies. -export LD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${LIB_DIR:?}/" -export DYLD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${LIB_DIR:?}/" +export LD_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${LIB_DIR:?}" +export DYLD_FALLBACK_LIBRARY_PATH="${working_dir:?}/build:${mongoc_dir:?}/${LIB_DIR:?}" PATH="${working_dir:?}/build/src/mongocxx/test/${build_type:?}:${PATH:-}" PATH="${working_dir:?}/build/src/bsoncxx/test/${build_type:?}:${PATH:-}" PATH="${working_dir:?}/build/src/mongocxx/${build_type:?}:${PATH:-}" @@ -333,12 +333,14 @@ export CXX_STANDARD="${example_projects_cxx_standard}" if [[ "$OSTYPE" =~ cygwin ]]; then export MSVC=1 -elif [ "$(uname -s | tr '[:upper:]' '[:lower:]')" == "darwin" ]; then - DYLD_LIBRARY_PATH="$(pwd)/build/install/lib:${DYLD_LIBRARY_PATH:-}" - export DYLD_LIBRARY_PATH else LD_LIBRARY_PATH="${working_dir:?}/build/install/${LIB_DIR:?}:${LD_LIBRARY_PATH:-}" - export LD_LIBRARY_PATH + DYLD_FALLBACK_LIBRARY_PATH="$(pwd)/build/install/lib:${DYLD_FALLBACK_LIBRARY_PATH:-}" +fi + +# MacOS needs some help finding dynamic libraries via rpath even with DYLD_FALLBACK_LIBRARY_PATH. +if [[ "${OSTYPE:?}" == darwin* ]]; then + LDFLAGS+="-rpath $(pwd)/build/install/lib -rpath $(pwd)/../mongoc/lib ${LDFLAGS:-}" fi # The example projects never run under valgrind, since we haven't added execution diff --git a/examples/projects/mongocxx/cmake/static/CMakeLists.txt b/examples/projects/mongocxx/cmake/static/CMakeLists.txt index 1cdd6094b3..f166b903ea 100644 --- a/examples/projects/mongocxx/cmake/static/CMakeLists.txt +++ b/examples/projects/mongocxx/cmake/static/CMakeLists.txt @@ -38,12 +38,6 @@ endif() # was used as the argument to CMAKE_INSTALL_PREFIX when building libmongocxx. find_package(mongocxx REQUIRED) -# We cannot rely on the DYLD_LIBRARY_PATH being propagated properly on OSX on -# evergreen, so pass extra arguments to pkg-config with the path information. -if (APPLE) - set(ENV{PKGCONFIG_EXTRA_OPTS} "-Wl,rpath $(pwd)/../mongoc/lib") -endif() - add_executable(hello_mongocxx ../../hello_mongocxx.cpp) target_link_libraries(hello_mongocxx diff --git a/examples/projects/mongocxx/pkg-config/shared/build.sh b/examples/projects/mongocxx/pkg-config/shared/build.sh index 1e8b21ebc8..2c1f6a4e02 100755 --- a/examples/projects/mongocxx/pkg-config/shared/build.sh +++ b/examples/projects/mongocxx/pkg-config/shared/build.sh @@ -16,8 +16,8 @@ CXX_STANDARD=${CXX_STANDARD:-11} rm -rf build/* cd build -$CXX $CXXFLAGS -Wall -Wextra -Werror -std="c++${CXX_STANDARD}" -c -o hello_mongocxx.o ../../../hello_mongocxx.cpp $(pkg-config --cflags libmongocxx) $PKGCONFIG_EXTRA_OPTS +$CXX $CXXFLAGS -Wall -Wextra -Werror -std="c++${CXX_STANDARD}" -c -o hello_mongocxx.o ../../../hello_mongocxx.cpp $(pkg-config --cflags libmongocxx) -$CXX $LDFLAGS -std="c++${CXX_STANDARD}" -o hello_mongocxx hello_mongocxx.o $(pkg-config --libs libmongocxx) $PKGCONFIG_EXTRA_OPTS +$CXX $LDFLAGS -std="c++${CXX_STANDARD}" -o hello_mongocxx hello_mongocxx.o $(pkg-config --libs libmongocxx) ./hello_mongocxx diff --git a/examples/projects/mongocxx/pkg-config/static/build.sh b/examples/projects/mongocxx/pkg-config/static/build.sh index 357dc6407c..3c8d426116 100755 --- a/examples/projects/mongocxx/pkg-config/static/build.sh +++ b/examples/projects/mongocxx/pkg-config/static/build.sh @@ -15,7 +15,7 @@ CXX_STANDARD=${CXX_STANDARD:-11} rm -rf build/* cd build -$CXX $CXXFLAGS -Wall -Wextra -Werror -std="c++${CXX_STANDARD}" -c -o hello_mongocxx.o ../../../hello_mongocxx.cpp $(pkg-config --cflags libmongocxx-static) $PKGCONFIG_EXTRA_OPTS +$CXX $CXXFLAGS -Wall -Wextra -Werror -std="c++${CXX_STANDARD}" -c -o hello_mongocxx.o ../../../hello_mongocxx.cpp $(pkg-config --cflags libmongocxx-static) # TODO: remove `-pthread` once CDRIVER-4776 is resolved. -$CXX $LDFLAGS -pthread -std="c++${CXX_STANDARD}" -o hello_mongocxx hello_mongocxx.o $(pkg-config --libs libmongocxx-static) $PKGCONFIG_EXTRA_OPTS +$CXX $LDFLAGS -pthread -std="c++${CXX_STANDARD}" -o hello_mongocxx hello_mongocxx.o $(pkg-config --libs libmongocxx-static) ./hello_mongocxx From 5e636f9546a75060fa0061b82930360ad9633be5 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:14 -0600 Subject: [PATCH 14/35] Use Astral UV to acquire clang-tidy on RHEL --- .../config_generator/components/clang_tidy.py | 3 +++ .evergreen/generated_configs/functions.yml | 1 + .evergreen/generated_configs/tasks.yml | 1 + etc/run-clang-tidy.sh | 18 +++++++++--------- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.evergreen/config_generator/components/clang_tidy.py b/.evergreen/config_generator/components/clang_tidy.py index 5f0e4af3ba..1762ba3977 100644 --- a/.evergreen/config_generator/components/clang_tidy.py +++ b/.evergreen/config_generator/components/clang_tidy.py @@ -1,4 +1,5 @@ from config_generator.components.funcs.install_c_driver import InstallCDriver +from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.setup import Setup from config_generator.etc.distros import compiler_to_vars, find_small_distro @@ -24,6 +25,7 @@ class ClangTidy(Function): 'cc_compiler', 'cxx_compiler', 'distro_id', + 'UV_INSTALL_DIR', ], script='etc/run-clang-tidy.sh', ) @@ -52,6 +54,7 @@ def tasks(): run_on=distro.name, commands=[ Setup.call(), + InstallUV.call(), InstallCDriver.call(compiler='clang'), ClangTidy.call(compiler='clang'), ], diff --git a/.evergreen/generated_configs/functions.yml b/.evergreen/generated_configs/functions.yml index b3f7e95e51..856e19bc1f 100644 --- a/.evergreen/generated_configs/functions.yml +++ b/.evergreen/generated_configs/functions.yml @@ -226,6 +226,7 @@ functions: - cc_compiler - cxx_compiler - distro_id + - UV_INSTALL_DIR args: - -c - etc/run-clang-tidy.sh diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 5f9e6992ca..1a09b2cc46 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -157,6 +157,7 @@ tasks: tags: [clang-tidy, ubuntu2004] commands: - func: setup + - func: install-uv - func: install_c_driver vars: cc_compiler: clang diff --git a/etc/run-clang-tidy.sh b/etc/run-clang-tidy.sh index a1e0d12da6..3ef87425fa 100755 --- a/etc/run-clang-tidy.sh +++ b/etc/run-clang-tidy.sh @@ -3,22 +3,22 @@ set -o errexit set -o pipefail +: "${UV_INSTALL_DIR:?}" # Not on windows-64-vs2015. + export CC="${cc_compiler:?}" export CXX="${cxx_compiler:?}" -if [[ "${distro_id:?}" != ubuntu* ]]; then - echo "run-clang-tidy.sh expects to be run on an Ubuntu distro!" 1>&2 +if [[ "${distro_id:?}" != rhel* ]]; then + echo "run-clang-tidy.sh expects to be run on a RHEL distro!" 1>&2 exit 1 fi if ! command -V parallel >/dev/null; then - sudo apt-get install -q -y parallel + sudo yum install -q -y parallel fi -if ! command -V clang-tidy >/dev/null; then - sudo apt-get install -q -y clang-tidy -fi -clang-tidy -version +PATH="${UV_INSTALL_DIR:?}:${PATH:-}" +uvx clang-tidy --version . ../mongoc/.evergreen/scripts/find-cmake-latest.sh cmake_binary="$(find_cmake_latest)" @@ -53,7 +53,7 @@ CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)" "${cmake_binary:?}" --build build # echo "Running clang-tidy with configuration:" -clang-tidy -p=build -dump-config +uvx clang-tidy -p=build -dump-config find_args=( -type f @@ -68,5 +68,5 @@ find src "${find_args[@]}" # TODO: update clang-tidy config and address warnings. { - find src "${find_args[@]}" | parallel clang-tidy --quiet -p=build {} 2>/dev/null + find src "${find_args[@]}" | parallel uvx clang-tidy --quiet -p=build {} 2>/dev/null } || true From 3c774443ad17a95a984fd1be3e2643a570b856eb Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:14 -0600 Subject: [PATCH 15/35] Refactor integration matrix to use highest-availability hosts --- .../components/integration.py | 221 +- .evergreen/config_generator/etc/distros.py | 8 + .evergreen/generated_configs/tasks.yml | 11565 ++++++++++++++-- .evergreen/generated_configs/variants.yml | 34 +- 4 files changed, 10535 insertions(+), 1293 deletions(-) diff --git a/.evergreen/config_generator/components/integration.py b/.evergreen/config_generator/components/integration.py index c9647d8d50..6da1d5fee7 100644 --- a/.evergreen/config_generator/components/integration.py +++ b/.evergreen/config_generator/components/integration.py @@ -1,5 +1,4 @@ from config_generator.components.funcs.compile import Compile -from config_generator.components.funcs.fetch_c_driver_source import FetchCDriverSource from config_generator.components.funcs.fetch_det import FetchDET from config_generator.components.funcs.install_c_driver import InstallCDriver from config_generator.components.funcs.install_uv import InstallUV @@ -10,7 +9,7 @@ from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str -from shrub.v3.evg_build_variant import BuildVariant, DisplayTask +from shrub.v3.evg_build_variant import BuildVariant from shrub.v3.evg_command import KeyValueParam, expansions_update from shrub.v3.evg_task import EvgTask, EvgTaskRef @@ -22,65 +21,78 @@ # pylint: disable=line-too-long # fmt: off -MATRIX = [ - ('debian10', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['5.0'], ['single', ]), - ('debian10', None, ['Release'], ['shared', ], [None], [None], ['plain'], [False, ], ['5.0'], [ 'replica', 'sharded']), - - ('debian11', None, ['Release'], ['shared', 'static'], [None, ], [None], ['plain'], [False, True], ['5.0'], ['single', ]), - ('debian11', None, ['Release'], ['shared', ], [ 20], [None], ['plain'], [False, True], ['5.0'], ['single', ]), - ('debian11', None, ['Release'], ['shared', ], [None, ], [None], ['plain'], [False, ], ['5.0'], [ 'replica', 'sharded']), - - ('debian12', None, ['Release'], ['shared', 'static'], [None, ], [None], ['plain', ], [False, True], ['latest'], ['single', ]), - ('debian12', None, ['Release'], ['shared', ], [ 20], [None], ['plain', ], [False, True], ['latest'], ['single', ]), - ('debian12', None, ['Release'], ['shared', ], [None, ], [None], [ 'csfle'], [False, ], ['latest'], [ 'replica', 'sharded']), - - ('macos-11-arm64', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['latest'], ['single']), - - ('macos-14', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['5.0', ], ['single']), - ('macos-14-arm64', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], [ 'latest'], ['single']), - - ('rhel81-power8', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['5.0', 'latest'], ['single']), - ('rhel83-zseries', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['5.0', '6.0', 'latest'], ['single']), - - ('rhel90', None, ['Release'], ['shared', 'static'], [None, ], [None], ['plain', ], [False, True], ['latest'], ['single', ]), - ('rhel90', None, ['Release'], ['shared', ], [ 20], [None], ['plain', ], [False, True], ['latest'], ['single', ]), - ('rhel90', None, ['Release'], ['shared', ], [None, ], [None], [ 'csfle'], [False, ], ['latest'], [ 'replica', 'sharded']), +LINUX_MATRIX = [ + # Linux x86_64 (full). + # RHEL 8 x86_64: 4.0+. + ('rhel80', None, ['Debug'], ['shared', 'static'], [11, 17], [None], ['plain', 'csfle'], [False], [ '4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), + ('rhel80', None, ['Debug'], ['shared', 'static'], [11, 17], [None], ['plain', ], [False], ['4.0', ], ['single', 'replica', 'sharded']), # CSFLE: 4.2+. + + # Linux ARM64 (full). + # Linux ARM64: 4.4+. + ('ubuntu2004-arm64', None, ['Debug'], ['shared', 'static'], [11, 17], [None], ['plain', 'csfle'], [False], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), + + # Linux Power (shared only, C++11 only, min-max-latest). + # RHEL 8 Power: 4.2+. + ('rhel8-power', None, ['Debug'], ['shared'], [11], [None], ['plain', 'csfle'], [False], ['4.2', '8.0', 'latest'], ['single', 'replica', 'sharded']), + + # Linux zSeries (shared only, C++11 only, min-max-latest). + # RHEL 8 zSeries: 5.0+. + ('rhel8-zseries', None, ['Debug'], ['shared'], [11], [None], ['plain', 'csfle'], [False], ['5.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), +] - ('rhel90-arm64', None, ['Release'], ['shared', 'static'], [None, ], [None], ['plain', ], [False, True], ['latest'], ['single', ]), - ('rhel90-arm64', None, ['Release'], ['shared', ], [ 20], [None], ['plain', ], [False, True], ['latest'], ['single', ]), - ('rhel90-arm64', None, ['Release'], ['shared', ], [None, ], [None], [ 'csfle'], [False, ], ['latest'], [ 'replica', 'sharded']), +MACOS_MATRIX = [ + # MacOS ARM64 (shared only, no extra alignment, min-max-latest). + # MacOS ARM64: 6.0+. + ('macos-14-arm64', None, ['Debug'], ['shared'], [11, 17], [None], ['plain', 'csfle'], [False], ['6.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), - ('ubuntu1804', None, ['Debug', ], ['shared'], [None], [None], ['plain', ], [False, True], ['4.0', '4.2', '4.4', '5.0', '6.0'], ['single', ]), - ('ubuntu1804', None, ['Debug', ], ['shared'], [None], [None], [ 'csfle', ], [False, ], ['4.0', '4.2', '4.4', '5.0', '6.0'], [ 'replica', 'sharded']), - ('ubuntu1804', None, ['Debug', ], ['shared'], [None], [None], [ 'crypt'], [False, ], [ '4.2', '4.4', '5.0', ], [ 'replica', 'sharded']), - ('ubuntu1804', None, [ 'Release'], ['shared'], [None], [None], ['plain', ], [False, ], [ '5.0', ], [ 'replica', 'sharded']), + # MacOS x86_64 (shared only, C++11 only, no extra alignment, min-max-latest). + # MacOS x86_64: 4.2+. + ('macos-14', None, ['Debug'], ['shared'], [11], [None], ['plain', 'csfle'], [False], ['4.2', '8.0', 'latest'], ['single', 'replica', 'sharded']), - ('ubuntu1804-arm64', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['5.0'], ['single']), +] - ('ubuntu2004', None, ['Debug', ], ['shared', ], [None], [None], ['plain', ], [False, True], [ '7.0', '8.0', 'latest'], ['single', ]), - ('ubuntu2004', None, ['Debug', ], ['shared', ], [None], [None], [ 'csfle', ], [False, ], [ '7.0', '8.0', 'latest'], [ 'replica', 'sharded']), - ('ubuntu2004', None, ['Debug', ], ['shared', ], [None], [None], [ 'crypt'], [False, ], [ 'latest'], [ 'replica', 'sharded']), - ('ubuntu2004', None, [ 'Release'], ['shared', 'static'], [None], [None], ['plain', ], [False, True], ['5.0', 'latest'], ['single', ]), - ('ubuntu2004', None, [ 'Release'], ['shared', ], [None], [None], [ 'csfle', ], [False, ], ['5.0', 'latest'], [ 'replica', 'sharded']), - ('ubuntu2004', None, [ 'Release'], ['shared', ], [None], [None], ['plain', ], [False, ], ['5.0', ], [ 'replica', 'sharded']), +WINDOWS_MATRIX = [ + # Windows x86_64 (min-max-latest). + # Windows x86_64: 4.2+. + ('windows-vsCurrent', 'vs2022x64', ['Debug'], ['shared'], [11, 17], [None], ['plain', 'csfle'], [False], ['4.2', '8.0', 'latest'], ['single', 'replica', 'sharded']), +] - ('ubuntu2004-arm64', None, ['Release'], ['shared', 'static'], [None], [None], ['plain'], [False, True], ['latest'], ['single']), +MONGOCRYPTD_MATRIX = [ + ('rhel80', None, ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), + ('ubuntu2004-arm64', None, ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), + ('rhel8-power', None, ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), + ('rhel8-zseries', None, ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), + ('macos-14-arm64', None, ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), + ('macos-14', None, ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), + ('windows-vsCurrent', 'vs2022x64', ['Debug'], ['shared'], [11], [None], ['crypt'], [False], ['latest'], ['replica']), +] - ('windows-vsCurrent', 'vs2019x64', ['Debug'], ['shared'], [None], [None], ['plain'], [False, True], ['4.0', '4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest'], ['single']), +EXTRA_ALIGNMENT_MATRIX = [ + ('rhel80', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), + ('ubuntu2004-arm64', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), + ('rhel8-power', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), + ('rhel8-zseries', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), + ('macos-14-arm64', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), + ('macos-14', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), + ('windows-vsCurrent', 'vs2022x64', ['Debug'], ['shared'], [11], [None], ['csfle'], [True], ['latest'], ['replica']), ] + # fmt: on # pylint: enable=line-too-long -def tasks(): - res = [] +ALL_MATRIX = LINUX_MATRIX + MACOS_MATRIX + WINDOWS_MATRIX + MONGOCRYPTD_MATRIX + EXTRA_ALIGNMENT_MATRIX - for distro_name, compiler, build_types, link_types, cxx_standards, polyfills, with_csfles, with_extra_aligns, mongodb_versions, topologies in MATRIX: + +def tasks(): + for distro_name, compiler, build_types, link_types, cxx_standards, polyfills, with_csfles, with_extra_aligns, mongodb_versions, topologies in ALL_MATRIX: for build_type, link_type, cxx_standard, polyfill, with_csfle, with_extra_align, mongodb_version, topology in product( build_types, link_types, cxx_standards, polyfills, with_csfles, with_extra_aligns, mongodb_versions, topologies, ): + distro = find_large_distro(distro_name) + name = f'{TAG}-{make_distro_str(distro_name, compiler, None)}-{build_type.lower()}-{link_type}' - tags = [TAG, distro_name, build_type.lower(), link_type] + tags = [TAG, distro_name, distro.os_type, build_type.lower(), link_type] if cxx_standard is not None: name += f'-cxx{cxx_standard}' @@ -105,8 +117,6 @@ def tasks(): name += '-mongocryptd' tags += ['mongocryptd'] - distro = find_large_distro(distro_name) - updates = [] icd_vars = {} compile_vars = {'ENABLE_TESTS': 'ON'} @@ -127,7 +137,7 @@ def tasks(): if distro.os_type == 'windows': test_vars |= {'example_projects_cxx_standard': 17} - if build_type == 'Debug' and distro.os in ['ubuntu1804', 'ubuntu2004']: + if build_type == 'Debug' and distro.os in ['ubuntu1804', 'ubuntu2004', 'ubuntu2204']: updates += [KeyValueParam(key='ENABLE_CODE_COVERAGE', value='ON')] if link_type == 'static': @@ -142,69 +152,31 @@ def tasks(): } commands = [expansions_update(updates=updates)] if updates else [] - - match with_csfle: - case 'plain': - if with_extra_align: - commands += [ - Setup.call(), - StartMongod.call(mongodb_version=mongodb_version, topology=topology), - InstallCDriver.call(vars=icd_vars | {'SKIP_INSTALL_LIBMONGOCRYPT': 1}), - InstallUV.call(), - Compile.call(polyfill=polyfill, vars=compile_vars), - FetchDET.call(), - RunKMSServers.call(), - Test.call(vars=test_vars), - ] - else: - commands += [ - Setup.call(), - StartMongod.call(mongodb_version=mongodb_version, topology=topology), - FetchCDriverSource.call(), - InstallUV.call(), - Compile.call(polyfill=polyfill, vars=compile_vars), - FetchDET.call(), - RunKMSServers.call(), - Test.call(vars=test_vars), - ] - case 'csfle': - commands += [ - Setup.call(), - StartMongod.call(mongodb_version=mongodb_version, topology=topology), - InstallCDriver.call(vars=icd_vars), - InstallUV.call(), - Compile.call(polyfill=polyfill, vars=compile_vars), - FetchDET.call(), - RunKMSServers.call(), - Test.call(vars=test_vars), - ] - case 'crypt': - commands += [ - Setup.call(), - StartMongod.call(mongodb_version=mongodb_version, topology=topology), - InstallCDriver.call(vars=icd_vars), - InstallUV.call(), - Compile.call(polyfill=polyfill, vars=compile_vars), - FetchDET.call(), - RunKMSServers.call(), - Test.call(vars=test_vars | {'use_mongocryptd': True}), - ] + commands += [ + Setup.call(), + StartMongod.call(mongodb_version=mongodb_version, topology=topology), + ] + [ + InstallCDriver.call(vars=icd_vars | ({'SKIP_INSTALL_LIBMONGOCRYPT': 1} if with_extra_align else {})), + ] + [ + InstallUV.call(), + Compile.call(polyfill=polyfill, vars=compile_vars), + FetchDET.call(), + RunKMSServers.call(), + ] + [ + Test.call(vars=test_vars | ({'use_mongocryptd': True} if with_csfle == 'crypt' else {})) + ] # PowerPC and zSeries are limited resources. - patchable = False if any(pattern in distro_name for pattern in ['power8', 'zseries']) else None - - res.append( - EvgTask( - name=name, - tags=tags, - run_on=distro.name, - patchable=patchable, - commands=commands, - ) + patchable = False if any(pattern in distro_name for pattern in ['power', 'zseries']) else None + + yield EvgTask( + name=name, + tags=tags, + run_on=distro.name, + patchable=patchable, + commands=commands, ) - return res - def variants(): tasks = [] @@ -212,16 +184,31 @@ def variants(): one_day = 1440 # Seconds. # PowerPC and zSeries are limited resources. - tasks = [ - EvgTaskRef(name=f'.{TAG} .rhel81-power8', batchtime=one_day), - EvgTaskRef(name=f'.{TAG} .rhel83-zseries', batchtime=one_day), - EvgTaskRef(name=f'.{TAG} !.rhel81-power8 !.rhel83-zseries'), + limited_distros = [ + 'rhel8-power', + 'rhel8-zseries', + 'rhel7-zseries', ] - return [ - BuildVariant( - name=f'{TAG}-matrix', - display_name=f'{TAG}-matrix', - tasks=tasks, - ), + matrices = [ + ('linux', '.linux !.mongocryptd !.extra_alignment', LINUX_MATRIX), + ('macos', '.macos !.mongocryptd !.extra_alignment', MACOS_MATRIX), + ('windows', '.windows !.mongocryptd !.extra_alignment', WINDOWS_MATRIX), + ('mongocryptd', '.mongocryptd', MONGOCRYPTD_MATRIX), + ('extra_alignment', '.extra_alignment', EXTRA_ALIGNMENT_MATRIX), ] + + for name, filter, matrix in matrices: + distros = sorted(list({entry[0] for entry in matrix})) + batched = [distro for distro in distros if distro in limited_distros] + tasks = [ + EvgTaskRef(name=f'.{TAG} {filter} .{distro}', batchtime=one_day) for distro in batched + ] + [ + EvgTaskRef(name=f'.{TAG} {filter}' + ''.join(f' !.{distro}' for distro in batched)) + ] + + yield BuildVariant( + name=f'{TAG}-matrix-{name}', + display_name=f'{TAG}-matrix-{name}', + tasks=tasks, + ) diff --git a/.evergreen/config_generator/etc/distros.py b/.evergreen/config_generator/etc/distros.py index 40933459a2..369fcee4ea 100644 --- a/.evergreen/config_generator/etc/distros.py +++ b/.evergreen/config_generator/etc/distros.py @@ -102,6 +102,9 @@ def validate_os_ver(cls, value): Distro(name='rhel71-power8-small', os='rhel', os_type='linux', os_ver='7.1', size='small', arch='power8'), Distro(name='rhel81-power8-large', os='rhel', os_type='linux', os_ver='8.1', size='large', arch='power8'), Distro(name='rhel81-power8-small', os='rhel', os_type='linux', os_ver='8.1', size='small', arch='power8'), + + Distro(name='rhel8-power-large', os='rhel', os_type='linux', os_ver='8', size='large', arch='power8'), + Distro(name='rhel8-power-small', os='rhel', os_type='linux', os_ver='8', size='small', arch='power8'), ] RHEL_ZSERIES_DISTROS = [ @@ -109,6 +112,11 @@ def validate_os_ver(cls, value): Distro(name='rhel72-zseries-small', os='rhel', os_type='linux', os_ver='7.2', size='small', arch='zseries'), Distro(name='rhel83-zseries-large', os='rhel', os_type='linux', os_ver='8.3', size='large', arch='zseries'), Distro(name='rhel83-zseries-small', os='rhel', os_type='linux', os_ver='8.3', size='small', arch='zseries'), + + Distro(name='rhel7-zseries-large', os='rhel', os_type='linux', os_ver='7', size='large', arch='zseries'), + Distro(name='rhel7-zseries-small', os='rhel', os_type='linux', os_ver='7', size='small', arch='zseries'), + Distro(name='rhel8-zseries-large', os='rhel', os_type='linux', os_ver='8', size='large', arch='zseries'), + Distro(name='rhel8-zseries-small', os='rhel', os_type='linux', os_ver='8', size='small', arch='zseries'), ] UBUNTU_DISTROS = [ diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 1a09b2cc46..6ac322122a 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -340,369 +340,399 @@ tasks: commands: - func: setup - func: docker-image-build - - name: integration-debian10-release-shared-5.0-replica - run_on: debian10-large - tags: [integration, debian10, release, shared, "5.0", replica] + - name: integration-macos-14-arm64-debug-shared-cxx11-6.0-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, "6.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - - name: integration-debian10-release-shared-5.0-sharded - run_on: debian10-large - tags: [integration, debian10, release, shared, "5.0", sharded] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-6.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, "6.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: TOPOLOGY: sharded_cluster - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded - - name: integration-debian10-release-shared-5.0-single - run_on: debian10-large - tags: [integration, debian10, release, shared, "5.0", single] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-6.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, "6.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-debian10-release-shared-extra_alignment-5.0-single - run_on: debian10-large - tags: [integration, debian10, release, shared, extra_alignment, "5.0", single] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-8.0-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-debian10-release-static-5.0-single - run_on: debian10-large - tags: [integration, debian10, release, static, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-8.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-debian10-release-static-extra_alignment-5.0-single - run_on: debian10-large - tags: [integration, debian10, release, static, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-8.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, "8.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-debian11-release-shared-5.0-replica - run_on: debian11-large - tags: [integration, debian11, release, shared, "5.0", replica] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-6.0-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, "6.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - - name: integration-debian11-release-shared-5.0-sharded - run_on: debian11-large - tags: [integration, debian11, release, shared, "5.0", sharded] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-6.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, "6.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: TOPOLOGY: sharded_cluster - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded - - name: integration-debian11-release-shared-5.0-single - run_on: debian11-large - tags: [integration, debian11, release, shared, "5.0", single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-6.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, "6.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-debian11-release-shared-cxx20-5.0-single - run_on: debian11-large - tags: [integration, debian11, release, shared, cxx20, "5.0", single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-8.0-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-debian11-release-shared-cxx20-extra_alignment-5.0-single - run_on: debian11-large - tags: [integration, debian11, release, shared, cxx20, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-8.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-debian11-release-shared-extra_alignment-5.0-single - run_on: debian11-large - tags: [integration, debian11, release, shared, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-8.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, "8.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-debian11-release-static-5.0-single - run_on: debian11-large - tags: [integration, debian11, release, static, "5.0", single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, extra_alignment, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 11 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-debian11-release-static-extra_alignment-5.0-single - run_on: debian11-large - tags: [integration, debian11, release, static, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-latest-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-debian12-release-shared-csfle-latest-replica - run_on: debian12-large - tags: [integration, debian12, release, shared, csfle, latest, replica] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, latest, replica, mongocryptd] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: @@ -713,21 +743,25 @@ tasks: - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-debian12-release-shared-csfle-latest-sharded - run_on: debian12-large - tags: [integration, debian12, release, shared, csfle, latest, sharded] + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-latest-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: @@ -738,859 +772,9687 @@ tasks: - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-debian12-release-shared-cxx20-extra_alignment-latest-single - run_on: debian12-large - tags: [integration, debian12, release, shared, cxx20, extra_alignment, latest, single] + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-csfle-latest-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, csfle, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-debian12-release-shared-cxx20-latest-single - run_on: debian12-large - tags: [integration, debian12, release, shared, cxx20, latest, single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-latest-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: + TOPOLOGY: replica_set mongodb_version: latest - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-debian12-release-shared-extra_alignment-latest-single - run_on: debian12-large - tags: [integration, debian12, release, shared, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-latest-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: + TOPOLOGY: sharded_cluster mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-debian12-release-shared-latest-single - run_on: debian12-large - tags: [integration, debian12, release, shared, latest, single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx11-latest-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx11, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: mongodb_version: latest - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-debian12-release-static-extra_alignment-latest-single - run_on: debian12-large - tags: [integration, debian12, release, static, extra_alignment, latest, single] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-arm64-debug-shared-cxx17-6.0-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, "6.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "6.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-debian12-release-static-latest-single - run_on: debian12-large - tags: [integration, debian12, release, static, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-6.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, "6.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-macos-11-arm64-release-shared-extra_alignment-latest-single - run_on: macos-11-arm64 - tags: [integration, macos-11-arm64, release, shared, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-6.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, "6.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + mongodb_version: "6.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-macos-11-arm64-release-shared-latest-single - run_on: macos-11-arm64 - tags: [integration, macos-11-arm64, release, shared, latest, single] + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-8.0-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-macos-11-arm64-release-static-extra_alignment-latest-single - run_on: macos-11-arm64 - tags: [integration, macos-11-arm64, release, static, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-8.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-macos-11-arm64-release-static-latest-single - run_on: macos-11-arm64 - tags: [integration, macos-11-arm64, release, static, latest, single] - commands: - - command: expansions.update + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-8.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, "8.0", single] + commands: + - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-macos-14-arm64-release-shared-extra_alignment-latest-single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-6.0-replica run_on: macos-14-arm64 - tags: [integration, macos-14-arm64, release, shared, extra_alignment, latest, single] + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, "6.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "6.0" - func: install_c_driver + - func: install-uv + - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-6.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-6.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-macos-14-arm64-release-shared-latest-single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-8.0-replica run_on: macos-14-arm64 - tags: [integration, macos-14-arm64, release, shared, latest, single] + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-8.0-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-8.0-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-macos-14-arm64-release-static-extra_alignment-latest-single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-latest-replica + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-latest-sharded run_on: macos-14-arm64 - tags: [integration, macos-14-arm64, release, static, extra_alignment, latest, single] + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: + TOPOLOGY: sharded_cluster mongodb_version: latest - func: install_c_driver + - func: install-uv + - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-csfle-latest-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-macos-14-arm64-release-static-latest-single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-latest-replica run_on: macos-14-arm64 - tags: [integration, macos-14-arm64, release, static, latest, single] + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: + TOPOLOGY: replica_set mongodb_version: latest - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-macos-14-release-shared-5.0-single - run_on: macos-14 - tags: [integration, macos-14, release, shared, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-latest-sharded + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-arm64-debug-shared-cxx17-latest-single + run_on: macos-14-arm64 + tags: [integration, macos-14-arm64, macos, debug, shared, cxx17, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-macos-14-release-shared-extra_alignment-5.0-single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-macos-14-debug-shared-cxx11-4.2-replica run_on: macos-14 - tags: [integration, macos-14, release, shared, extra_alignment, "5.0", single] + tags: [integration, macos-14, macos, debug, shared, cxx11, "4.2", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "4.2" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-macos-14-release-static-5.0-single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-4.2-sharded run_on: macos-14 - tags: [integration, macos-14, release, static, "5.0", single] + tags: [integration, macos-14, macos, debug, shared, cxx11, "4.2", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-macos-14-release-static-extra_alignment-5.0-single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-4.2-single run_on: macos-14 - tags: [integration, macos-14, release, static, extra_alignment, "5.0", single] + tags: [integration, macos-14, macos, debug, shared, cxx11, "4.2", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: "4.2" - func: install_c_driver + - func: install-uv + - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-8.0-replica + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-8.0-sharded + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-8.0-single + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-4.2-replica + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-4.2-sharded + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-4.2-single + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-8.0-replica + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-8.0-sharded + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-8.0-single + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, extra_alignment, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-latest-replica + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, latest, replica, mongocryptd] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-macos-14-debug-shared-cxx11-csfle-latest-sharded + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-csfle-latest-single + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-latest-replica + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-latest-sharded + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-macos-14-debug-shared-cxx11-latest-single + run_on: macos-14 + tags: [integration, macos-14, macos, debug, shared, cxx11, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-4.2-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, "4.2", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-4.2-sharded + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, "4.2", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-4.2-single + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, "4.2", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-8.0-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, "8.0", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-8.0-sharded + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, "8.0", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-8.0-single + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, "8.0", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-4.2-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "4.2", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-4.2-sharded + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "4.2", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-4.2-single + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "4.2", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-8.0-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "8.0", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-8.0-sharded + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "8.0", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-8.0-single + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "8.0", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, replica, mongocryptd] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-sharded + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-single + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-latest-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, latest, replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-latest-sharded + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, latest, sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-power-debug-shared-cxx11-latest-single + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, latest, single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-5.0-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "5.0", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-5.0-sharded + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "5.0", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-5.0-single + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "5.0", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-8.0-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "8.0", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-8.0-sharded + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "8.0", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-8.0-single + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "8.0", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-5.0-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "5.0", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-5.0-sharded + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "5.0", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-5.0-single + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "5.0", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-8.0-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "8.0", replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-8.0-sharded + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "8.0", sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-8.0-single + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "8.0", single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-latest-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, latest, replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, latest, replica, mongocryptd] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-latest-sharded + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, latest, sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-latest-single + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, latest, single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-latest-replica + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, latest, replica] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-latest-sharded + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, latest, sharded] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel8-zseries-debug-shared-cxx11-latest-single + run_on: rhel8-zseries-large + tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, latest, single] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, latest, replica, mongocryptd] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-rhel80-debug-shared-cxx11-csfle-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-csfle-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx11-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx11, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-shared-cxx17-4.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-csfle-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-shared-cxx17-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, shared, cxx17, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx11-4.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-csfle-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx11-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx11, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-rhel80-debug-static-cxx17-4.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-4.2-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "4.2", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-4.2-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "4.2", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-4.2-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "4.2", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.2" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-4.4-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-4.4-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-4.4-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-5.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-5.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-5.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-6.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-6.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-6.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-7.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-7.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-7.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-8.0-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-8.0-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-8.0-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-csfle-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-latest-replica + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-latest-sharded + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-rhel80-debug-static-cxx17-latest-single + run_on: rhel80-large + tags: [integration, rhel80, linux, debug, static, cxx17, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, latest, replica, mongocryptd] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-csfle-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, csfle, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx11-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx11, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "4.4", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "4.4", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "4.4", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.4" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "5.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "5.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "5.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "5.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "6.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "6.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "6.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "6.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "7.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "7.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "7.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "7.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-rhel81-power8-release-shared-5.0-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, shared, "5.0", single] - patchable: false + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel81-power8-release-shared-extra_alignment-5.0-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, shared, extra_alignment, "5.0", single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel81-power8-release-shared-extra_alignment-latest-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, shared, extra_alignment, latest, single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-csfle-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, csfle, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel81-power8-release-shared-latest-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, shared, latest, single] - patchable: false + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: + TOPOLOGY: replica_set mongodb_version: latest - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel81-power8-release-static-5.0-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, static, "5.0", single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-rhel81-power8-release-static-extra_alignment-5.0-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, static, extra_alignment, "5.0", single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-shared-cxx17-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, shared, cxx17, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-rhel81-power8-release-static-extra_alignment-latest-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, static, extra_alignment, latest, single] - patchable: false + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "4.4", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "4.4" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel81-power8-release-static-latest-single - run_on: rhel81-power8-large - tags: [integration, rhel81-power8, release, static, latest, single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "4.4", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel83-zseries-release-shared-5.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, shared, "5.0", single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "4.4", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "4.4" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel83-zseries-release-shared-6.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, shared, "6.0", single] - patchable: false + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "5.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "6.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "5.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel83-zseries-release-shared-extra_alignment-5.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, shared, extra_alignment, "5.0", single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "5.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: + TOPOLOGY: sharded_cluster mongodb_version: "5.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel83-zseries-release-shared-extra_alignment-6.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, shared, extra_alignment, "6.0", single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "5.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "6.0" + mongodb_version: "5.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel83-zseries-release-shared-extra_alignment-latest-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, shared, extra_alignment, latest, single] - patchable: false + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "6.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "6.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel83-zseries-release-shared-latest-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, shared, latest, single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "6.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel83-zseries-release-static-5.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, static, "5.0", single] - patchable: false + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "6.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det @@ -1598,552 +10460,615 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel83-zseries-release-static-6.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, static, "6.0", single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "7.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "6.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "7.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel83-zseries-release-static-extra_alignment-5.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, static, extra_alignment, "5.0", single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "7.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel83-zseries-release-static-extra_alignment-6.0-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, static, extra_alignment, "6.0", single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "7.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "6.0" + mongodb_version: "7.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel83-zseries-release-static-extra_alignment-latest-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, static, extra_alignment, latest, single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel83-zseries-release-static-latest-single - run_on: rhel83-zseries-large - tags: [integration, rhel83-zseries, release, static, latest, single] - patchable: false + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-rhel90-arm64-release-shared-csfle-latest-replica - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, shared, csfle, latest, replica] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, "8.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: latest + mongodb_version: "8.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-rhel90-arm64-release-shared-csfle-latest-sharded - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, shared, csfle, latest, sharded] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "4.4", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "4.4" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-rhel90-arm64-release-shared-cxx20-extra_alignment-latest-single - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, shared, cxx20, extra_alignment, latest, single] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "4.4", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-rhel90-arm64-release-shared-cxx20-latest-single - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, shared, cxx20, latest, single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "4.4", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + mongodb_version: "4.4" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-rhel90-arm64-release-shared-extra_alignment-latest-single - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, shared, extra_alignment, latest, single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "5.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "5.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel90-arm64-release-shared-latest-single - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, shared, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "5.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel90-arm64-release-static-extra_alignment-latest-single - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, static, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "5.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + mongodb_version: "5.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-rhel90-arm64-release-static-latest-single - run_on: rhel90-arm64-large - tags: [integration, rhel90-arm64, release, static, latest, single] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "6.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "6.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-rhel90-release-shared-csfle-latest-replica - run_on: rhel90-large - tags: [integration, rhel90, release, shared, csfle, latest, replica] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "6.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: latest + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-rhel90-release-shared-csfle-latest-sharded - run_on: rhel90-large - tags: [integration, rhel90, release, shared, csfle, latest, sharded] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "6.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest + mongodb_version: "6.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-rhel90-release-shared-cxx20-extra_alignment-latest-single - run_on: rhel90-large - tags: [integration, rhel90, release, shared, cxx20, extra_alignment, latest, single] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "7.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "7.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-rhel90-release-shared-cxx20-latest-single - run_on: rhel90-large - tags: [integration, rhel90, release, shared, cxx20, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "7.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 20 + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 20 - example_projects_cxx_standard: 20 - - name: integration-rhel90-release-shared-extra_alignment-latest-single - run_on: rhel90-large - tags: [integration, rhel90, release, shared, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "7.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + mongodb_version: "7.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel90-release-shared-latest-single - run_on: rhel90-large - tags: [integration, rhel90, release, shared, latest, single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-rhel90-release-static-extra_alignment-latest-single - run_on: rhel90-large - tags: [integration, rhel90, release, static, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-rhel90-release-static-latest-single - run_on: rhel90-large - tags: [integration, rhel90, release, static, latest, single] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, "8.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det @@ -2151,73 +11076,88 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-ubuntu1804-arm64-release-shared-5.0-single - run_on: ubuntu1804-arm64-large - tags: [integration, ubuntu1804-arm64, release, shared, "5.0", single] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-arm64-release-shared-extra_alignment-5.0-single - run_on: ubuntu1804-arm64-large - tags: [integration, ubuntu1804-arm64, release, shared, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-arm64-release-static-5.0-single - run_on: ubuntu1804-arm64-large - tags: [integration, ubuntu1804-arm64, release, static, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-csfle-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, csfle, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det @@ -2225,38 +11165,42 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-ubuntu1804-arm64-release-static-extra_alignment-5.0-single - run_on: ubuntu1804-arm64-large - tags: [integration, ubuntu1804-arm64, release, static, extra_alignment, "5.0", single] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 USE_STATIC_LIBS: 1 - - name: integration-ubuntu1804-debug-shared-4.0-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, "4.0", single] + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, latest, sharded] commands: - command: expansions.update params: @@ -2265,21 +11209,27 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "4.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-4.2-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, "4.2", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx11-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx11, latest, single] commands: - command: expansions.update params: @@ -2288,21 +11238,26 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "4.2" - - func: fetch_c_driver_source + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-4.4-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, "4.4", single] + REQUIRED_CXX_STANDARD: 11 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 11 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "4.4", replica] commands: - command: expansions.update params: @@ -2311,21 +11266,27 @@ tasks: - func: setup - func: start_mongod vars: + TOPOLOGY: replica_set mongodb_version: "4.4" - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-5.0-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "4.4", sharded] commands: - command: expansions.update params: @@ -2334,21 +11295,27 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "4.4" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-6.0-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, "6.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "4.4", single] commands: - command: expansions.update params: @@ -2357,21 +11324,26 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "6.0" - - func: fetch_c_driver_source + mongodb_version: "4.4" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-csfle-4.0-replica - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.0", replica] + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "5.0", replica] commands: - command: expansions.update params: @@ -2381,22 +11353,26 @@ tasks: - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "4.0" + mongodb_version: "5.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-4.0-sharded - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.0", sharded] + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "5.0", sharded] commands: - command: expansions.update params: @@ -2406,22 +11382,26 @@ tasks: - func: start_mongod vars: TOPOLOGY: sharded_cluster - mongodb_version: "4.0" + mongodb_version: "5.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-4.2-replica - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", replica] + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "5.0", single] commands: - command: expansions.update params: @@ -2430,23 +11410,26 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "4.2" + mongodb_version: "5.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-4.2-replica-mongocryptd - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", replica, mongocryptd] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "6.0", replica] commands: - command: expansions.update params: @@ -2456,23 +11439,26 @@ tasks: - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "4.2" + mongodb_version: "6.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu1804-debug-shared-csfle-4.2-sharded - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", sharded] + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "6.0", sharded] commands: - command: expansions.update params: @@ -2482,22 +11468,26 @@ tasks: - func: start_mongod vars: TOPOLOGY: sharded_cluster - mongodb_version: "4.2" + mongodb_version: "6.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-4.2-sharded-mongocryptd - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.2", sharded, mongocryptd] + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "6.0", single] commands: - command: expansions.update params: @@ -2506,24 +11496,26 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "4.2" + mongodb_version: "6.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu1804-debug-shared-csfle-4.4-replica - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.4", replica] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "7.0", replica] commands: - command: expansions.update params: @@ -2533,22 +11525,26 @@ tasks: - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "4.4" + mongodb_version: "7.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-4.4-replica-mongocryptd - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.4", replica, mongocryptd] + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "7.0", sharded] commands: - command: expansions.update params: @@ -2557,24 +11553,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "4.4" + TOPOLOGY: sharded_cluster + mongodb_version: "7.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu1804-debug-shared-csfle-4.4-sharded - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.4", sharded] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-7.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "7.0", single] commands: - command: expansions.update params: @@ -2583,23 +11582,26 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "4.4" + mongodb_version: "7.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-4.4-sharded-mongocryptd - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "4.4", sharded, mongocryptd] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-8.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "8.0", replica] commands: - command: expansions.update params: @@ -2608,24 +11610,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "4.4" + TOPOLOGY: replica_set + mongodb_version: "8.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu1804-debug-shared-csfle-5.0-replica - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "5.0", replica] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-8.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "8.0", sharded] commands: - command: expansions.update params: @@ -2634,23 +11639,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-5.0-replica-mongocryptd - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "5.0", replica, mongocryptd] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-8.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, "8.0", single] commands: - command: expansions.update params: @@ -2659,24 +11668,26 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "5.0" + mongodb_version: "8.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu1804-debug-shared-csfle-5.0-sharded - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "5.0", sharded] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-4.4-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "4.4", replica] commands: - command: expansions.update params: @@ -2685,23 +11696,28 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "4.4" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-5.0-sharded-mongocryptd - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "5.0", sharded, mongocryptd] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-4.4-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "4.4", sharded] commands: - command: expansions.update params: @@ -2711,23 +11727,27 @@ tasks: - func: start_mongod vars: TOPOLOGY: sharded_cluster - mongodb_version: "5.0" + mongodb_version: "4.4" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu1804-debug-shared-csfle-6.0-replica - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "6.0", replica] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-4.4-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "4.4", single] commands: - command: expansions.update params: @@ -2736,23 +11756,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "6.0" + mongodb_version: "4.4" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-csfle-6.0-sharded - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, csfle, "6.0", sharded] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-5.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "5.0", replica] commands: - command: expansions.update params: @@ -2761,23 +11785,28 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "6.0" + TOPOLOGY: replica_set + mongodb_version: "5.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu1804-debug-shared-extra_alignment-4.0-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, extra_alignment, "4.0", single] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-5.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "5.0", sharded] commands: - command: expansions.update params: @@ -2786,24 +11815,28 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "4.0" + TOPOLOGY: sharded_cluster + mongodb_version: "5.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-extra_alignment-4.2-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, extra_alignment, "4.2", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-5.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "5.0", single] commands: - command: expansions.update params: @@ -2812,24 +11845,27 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "4.2" + mongodb_version: "5.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-extra_alignment-4.4-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, extra_alignment, "4.4", single] + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-6.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "6.0", replica] commands: - command: expansions.update params: @@ -2838,24 +11874,28 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "4.4" + TOPOLOGY: replica_set + mongodb_version: "6.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-extra_alignment-5.0-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-6.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "6.0", sharded] commands: - command: expansions.update params: @@ -2864,24 +11904,28 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "6.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-debug-shared-extra_alignment-6.0-single - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, debug, shared, extra_alignment, "6.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-6.0-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "6.0", single] commands: - command: expansions.update params: @@ -2892,161 +11936,189 @@ tasks: vars: mongodb_version: "6.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu1804-release-shared-5.0-replica - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, release, shared, "5.0", replica] + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-7.0-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "7.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "7.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - - name: integration-ubuntu1804-release-shared-5.0-sharded - run_on: ubuntu1804-large - tags: [integration, ubuntu1804, release, shared, "5.0", sharded] + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-7.0-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "7.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: TOPOLOGY: sharded_cluster - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "7.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: sharded - - name: integration-ubuntu2004-arm64-release-shared-extra_alignment-latest-single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-7.0-single run_on: ubuntu2004-arm64-large - tags: [integration, ubuntu2004-arm64, release, shared, extra_alignment, latest, single] + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "7.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + mongodb_version: "7.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-arm64-release-shared-latest-single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-8.0-replica run_on: ubuntu2004-arm64-large - tags: [integration, ubuntu2004-arm64, release, shared, latest, single] + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-arm64-release-static-extra_alignment-latest-single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-8.0-sharded run_on: ubuntu2004-arm64-large - tags: [integration, ubuntu2004-arm64, release, static, extra_alignment, latest, single] + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-ubuntu2004-arm64-release-static-latest-single + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-8.0-single run_on: ubuntu2004-arm64-large - tags: [integration, ubuntu2004-arm64, release, static, latest, single] + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, "8.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 USE_STATIC_LIBS: 1 - func: fetch-det @@ -3054,10 +12126,13 @@ tasks: - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" USE_STATIC_LIBS: 1 - - name: integration-ubuntu2004-debug-shared-7.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, "7.0", single] + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, latest, replica] commands: - command: expansions.update params: @@ -3066,21 +12141,28 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "7.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-debug-shared-8.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, "8.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, latest, sharded] commands: - command: expansions.update params: @@ -3089,21 +12171,28 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "8.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-debug-shared-csfle-7.0-replica - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, "7.0", replica] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-csfle-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, csfle, latest, single] commands: - command: expansions.update params: @@ -3112,23 +12201,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "7.0" + mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-debug-shared-csfle-7.0-sharded - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, "7.0", sharded] + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-latest-replica + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, latest, replica] commands: - command: expansions.update params: @@ -3137,23 +12230,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "7.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-debug-shared-csfle-8.0-replica - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, "8.0", replica] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-latest-sharded + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, latest, sharded] commands: - command: expansions.update params: @@ -3162,23 +12259,27 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "8.0" + TOPOLOGY: sharded_cluster + mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-debug-shared-csfle-8.0-sharded - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, "8.0", sharded] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-ubuntu2004-arm64-debug-static-cxx17-latest-single + run_on: ubuntu2004-arm64-large + tags: [integration, ubuntu2004-arm64, linux, debug, static, cxx17, latest, single] commands: - command: expansions.update params: @@ -3187,352 +12288,416 @@ tasks: - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "8.0" + mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 + USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-debug-shared-csfle-latest-replica - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, latest, replica] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + USE_STATIC_LIBS: 1 + example_projects_cxx_standard: 17 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-4.2-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, "4.2", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: latest + mongodb_version: "4.2" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-debug-shared-csfle-latest-replica-mongocryptd - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, latest, replica, mongocryptd] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-4.2-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, "4.2", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: latest + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu2004-debug-shared-csfle-latest-sharded - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, latest, sharded] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-4.2-single + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, "4.2", single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest + mongodb_version: "4.2" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-debug-shared-csfle-latest-sharded-mongocryptd - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, csfle, latest, sharded, mongocryptd] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-8.0-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, "8.0", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "8.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - TEST_WITH_CSFLE: "ON" - use_mongocryptd: true - - name: integration-ubuntu2004-debug-shared-extra_alignment-7.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, extra_alignment, "7.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-8.0-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, "8.0", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "7.0" + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-debug-shared-extra_alignment-8.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, extra_alignment, "8.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-8.0-single + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, "8.0", single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-debug-shared-extra_alignment-latest-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, extra_alignment, latest, single] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-4.2-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, "4.2", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "4.2" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-debug-shared-latest-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, debug, shared, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-4.2-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, "4.2", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-release-shared-5.0-replica - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, "5.0", replica] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-4.2-single + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, "4.2", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica - - name: integration-ubuntu2004-release-shared-5.0-sharded - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, "5.0", sharded] + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-8.0-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, "8.0", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded - - name: integration-ubuntu2004-release-shared-5.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-8.0-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, "8.0", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-release-shared-csfle-5.0-replica - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, csfle, "5.0", replica] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-8.0-single + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, "8.0", single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: replica_set - mongodb_version: "5.0" + mongodb_version: "8.0" - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: replica + MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-release-shared-csfle-5.0-sharded - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, csfle, "5.0", sharded] + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, extra_alignment, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 + REQUIRED_CXX_STANDARD: 11 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-release-shared-csfle-latest-replica - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, csfle, latest, replica] + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-latest-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: @@ -3543,658 +12708,716 @@ tasks: - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-release-shared-csfle-latest-sharded - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, csfle, latest, sharded] + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, latest, replica, mongocryptd] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - TOPOLOGY: sharded_cluster + TOPOLOGY: replica_set mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: sharded + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" - - name: integration-ubuntu2004-release-shared-extra_alignment-5.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, extra_alignment, "5.0", single] + example_projects_cxx_standard: 11 + use_mongocryptd: true + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-latest-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-release-shared-extra_alignment-latest-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, extra_alignment, latest, single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-csfle-latest-single + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, csfle, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-release-shared-latest-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, shared, latest, single] + REQUIRED_CXX_STANDARD: 11 + TEST_WITH_CSFLE: "ON" + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-latest-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, latest, replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: + TOPOLOGY: replica_set mongodb_version: latest - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - - name: integration-ubuntu2004-release-static-5.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, static, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-latest-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, latest, sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 11 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-ubuntu2004-release-static-extra_alignment-5.0-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, static, extra_alignment, "5.0", single] + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx11-latest-single + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx11, latest, single] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 11 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-ubuntu2004-release-static-extra_alignment-latest-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, static, extra_alignment, latest, single] + REQUIRED_CXX_STANDARD: 11 + example_projects_cxx_standard: 11 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-4.2-replica + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, "4.2", replica] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: latest + TOPOLOGY: replica_set + mongodb_version: "4.2" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - USE_STATIC_LIBS: 1 + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-ubuntu2004-release-static-latest-single - run_on: ubuntu2004-large - tags: [integration, ubuntu2004, release, static, latest, single] + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-4.2-sharded + run_on: windows-vsCurrent-large + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, "4.2", sharded] commands: - command: expansions.update params: updates: - - { key: build_type, value: Release } + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: latest - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - USE_STATIC_LIBS: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single - USE_STATIC_LIBS: 1 - - name: integration-windows-2019-vs2019-x64-debug-shared-4.0-single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + example_projects_cxx_standard: 17 + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-4.2-single run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "4.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, "4.2", single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "4.0" - - func: fetch_c_driver_source + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-4.2-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-8.0-replica run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "4.2", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, "8.0", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "4.2" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-4.4-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-8.0-sharded run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "4.4", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, "8.0", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "4.4" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-5.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-8.0-single run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "5.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, "8.0", single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" - - func: fetch_c_driver_source + mongodb_version: "8.0" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-6.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-4.2-replica run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "6.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, "4.2", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "6.0" - - func: fetch_c_driver_source + TOPOLOGY: replica_set + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-7.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-4.2-sharded run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "7.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, "4.2", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "7.0" - - func: fetch_c_driver_source + TOPOLOGY: sharded_cluster + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-8.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-4.2-single run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, "8.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, "4.2", single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "8.0" - - func: fetch_c_driver_source + mongodb_version: "4.2" + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-4.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-8.0-replica run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "4.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, "8.0", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "4.0" + TOPOLOGY: replica_set + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-4.2-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-8.0-sharded run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "4.2", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, "8.0", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "4.2" + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-4.4-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-8.0-single run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "4.4", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, "8.0", single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "4.4" + mongodb_version: "8.0" - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-5.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-latest-replica run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "5.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, latest, replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-6.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-latest-sharded run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "6.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, latest, sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "6.0" + TOPOLOGY: sharded_cluster + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-7.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-csfle-latest-single run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "7.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, csfle, latest, single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "7.0" + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 + TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-8.0-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-latest-replica run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, "8.0", single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, latest, replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: - mongodb_version: "8.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-extra_alignment-latest-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-latest-sharded run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, extra_alignment, latest, single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, latest, sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: + TOPOLOGY: sharded_cluster mongodb_version: latest - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 + RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - - name: integration-windows-2019-vs2019-x64-debug-shared-latest-single + - name: integration-windows-2019-vs2022-x64-debug-shared-cxx17-latest-single run_on: windows-vsCurrent-large - tags: [integration, windows-vsCurrent, debug, shared, latest, single] + tags: [integration, windows-vsCurrent, windows, debug, shared, cxx17, latest, single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: generator, value: Visual Studio 16 2019 } + - { key: generator, value: Visual Studio 17 2022 } - { key: platform, value: x64 } - func: setup - func: start_mongod vars: mongodb_version: latest - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: ENABLE_TESTS: "ON" + REQUIRED_CXX_STANDARD: 17 RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single + REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - name: lint run_on: diff --git a/.evergreen/generated_configs/variants.yml b/.evergreen/generated_configs/variants.yml index a8a287b827..5173815cd8 100644 --- a/.evergreen/generated_configs/variants.yml +++ b/.evergreen/generated_configs/variants.yml @@ -40,14 +40,38 @@ buildvariants: display_name: Docker Build tasks: - name: .docker-build - - name: integration-matrix - display_name: integration-matrix + - name: integration-matrix-extra_alignment + display_name: integration-matrix-extra_alignment tasks: - - name: .integration .rhel81-power8 + - name: .integration .extra_alignment .rhel8-power batchtime: 1440 - - name: .integration .rhel83-zseries + - name: .integration .extra_alignment .rhel8-zseries batchtime: 1440 - - name: .integration !.rhel81-power8 !.rhel83-zseries + - name: .integration .extra_alignment !.rhel8-power !.rhel8-zseries + - name: integration-matrix-linux + display_name: integration-matrix-linux + tasks: + - name: .integration .linux !.mongocryptd !.extra_alignment .rhel8-power + batchtime: 1440 + - name: .integration .linux !.mongocryptd !.extra_alignment .rhel8-zseries + batchtime: 1440 + - name: .integration .linux !.mongocryptd !.extra_alignment !.rhel8-power !.rhel8-zseries + - name: integration-matrix-macos + display_name: integration-matrix-macos + tasks: + - name: .integration .macos !.mongocryptd !.extra_alignment + - name: integration-matrix-mongocryptd + display_name: integration-matrix-mongocryptd + tasks: + - name: .integration .mongocryptd .rhel8-power + batchtime: 1440 + - name: .integration .mongocryptd .rhel8-zseries + batchtime: 1440 + - name: .integration .mongocryptd !.rhel8-power !.rhel8-zseries + - name: integration-matrix-windows + display_name: integration-matrix-windows + tasks: + - name: .integration .windows !.mongocryptd !.extra_alignment - name: lint display_name: Lint tasks: From f5af8c02e8cfd1787ad119c93bdc53fd4b352a52 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:15 -0600 Subject: [PATCH 16/35] Refactor sanitizer matrix to use highest-availability distros --- .../config_generator/components/sanitizers.py | 7 +- .evergreen/generated_configs/tasks.yml | 1340 ++++++++++++++++- 2 files changed, 1282 insertions(+), 65 deletions(-) diff --git a/.evergreen/config_generator/components/sanitizers.py b/.evergreen/config_generator/components/sanitizers.py index 7609f57d30..491df55501 100644 --- a/.evergreen/config_generator/components/sanitizers.py +++ b/.evergreen/config_generator/components/sanitizers.py @@ -22,11 +22,8 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('ubuntu1804', ['asan' ], ['shared', 'static'], [False, True], ['5.0'], ['single']), - ('ubuntu1804', ['ubsan'], [ 'static'], [False, ], ['5.0'], ['single']), - - ('ubuntu2004', ['asan' ], ['shared', 'static'], [False, True], ['5.0'], ['single']), - ('ubuntu2004', ['ubsan'], [ 'static'], [False, ], ['5.0'], ['single']), + ('rhel80', ['asan', ], ['shared', 'static'], [False, True], ['4.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), + ('rhel80', [ 'ubsan'], [ 'static'], [False ], ['4.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 6ac322122a..399e322e85 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -13490,9 +13490,9 @@ tasks: commands: - func: setup - func: build-package-rpm - - name: sanitizers-asan-ubuntu1804-clang-shared-5.0-single - run_on: ubuntu1804-large - tags: [sanitizers, asan, ubuntu1804, clang, shared, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-4.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, "4.0", replica] commands: - command: expansions.update params: @@ -13503,7 +13503,8 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "4.0" - func: install_c_driver vars: SKIP_INSTALL_LIBMONGOCRYPT: 1 @@ -13517,15 +13518,15 @@ tasks: - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu1804-clang-shared-extra_alignment-5.0-single - run_on: ubuntu1804-large - tags: [sanitizers, asan, ubuntu1804, clang, shared, extra_alignment, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-4.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, "4.0", sharded] commands: - command: expansions.update params: @@ -13536,16 +13537,49 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-4.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" - func: install_c_driver vars: - BSON_EXTRA_ALIGNMENT: 1 SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: - BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 USE_SANITIZER_ASAN: "ON" - func: fetch-det - func: run_kms_servers @@ -13557,9 +13591,9 @@ tasks: example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu1804-clang-static-5.0-single - run_on: ubuntu1804-large - tags: [sanitizers, asan, ubuntu1804, clang, static, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-8.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, "8.0", replica] commands: - command: expansions.update params: @@ -13567,11 +13601,78 @@ tasks: - { key: build_type, value: Debug } - { key: cc_compiler, value: clang } - { key: cxx_compiler, value: clang++ } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-8.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-8.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" - func: install_c_driver vars: SKIP_INSTALL_LIBMONGOCRYPT: 1 @@ -13591,9 +13692,9 @@ tasks: example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu1804-clang-static-extra_alignment-5.0-single - run_on: ubuntu1804-large - tags: [sanitizers, asan, ubuntu1804, clang, static, extra_alignment, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-4.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, "4.0", replica] commands: - command: expansions.update params: @@ -13601,11 +13702,11 @@ tasks: - { key: build_type, value: Debug } - { key: cc_compiler, value: clang } - { key: cxx_compiler, value: clang++ } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "4.0" - func: install_c_driver vars: BSON_EXTRA_ALIGNMENT: 1 @@ -13620,15 +13721,15 @@ tasks: - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu2004-clang-shared-5.0-single - run_on: ubuntu2004-large - tags: [sanitizers, asan, ubuntu2004, clang, shared, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-4.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, "4.0", sharded] commands: - command: expansions.update params: @@ -13639,29 +13740,31 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" - func: install_c_driver vars: + BSON_EXTRA_ALIGNMENT: 1 SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 USE_SANITIZER_ASAN: "ON" - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu2004-clang-shared-extra_alignment-5.0-single - run_on: ubuntu2004-large - tags: [sanitizers, asan, ubuntu2004, clang, shared, extra_alignment, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-4.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, "4.0", single] commands: - command: expansions.update params: @@ -13672,7 +13775,7 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: "4.0" - func: install_c_driver vars: BSON_EXTRA_ALIGNMENT: 1 @@ -13693,9 +13796,9 @@ tasks: example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu2004-clang-static-5.0-single - run_on: ubuntu2004-large - tags: [sanitizers, asan, ubuntu2004, clang, static, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-8.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, "8.0", replica] commands: - command: expansions.update params: @@ -13703,33 +13806,34 @@ tasks: - { key: build_type, value: Debug } - { key: cc_compiler, value: clang } - { key: cxx_compiler, value: clang++ } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "8.0" - func: install_c_driver vars: + BSON_EXTRA_ALIGNMENT: 1 SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 USE_SANITIZER_ASAN: "ON" - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-asan-ubuntu2004-clang-static-extra_alignment-5.0-single - run_on: ubuntu2004-large - tags: [sanitizers, asan, ubuntu2004, clang, static, extra_alignment, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-8.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, "8.0", sharded] commands: - command: expansions.update params: @@ -13737,11 +13841,11 @@ tasks: - { key: build_type, value: Debug } - { key: cc_compiler, value: clang } - { key: cxx_compiler, value: clang++ } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" - func: install_c_driver vars: BSON_EXTRA_ALIGNMENT: 1 @@ -13756,15 +13860,15 @@ tasks: - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - - name: sanitizers-ubsan-ubuntu1804-clang-static-5.0-single - run_on: ubuntu1804-large - tags: [sanitizers, ubsan, ubuntu1804, clang, static, "5.0", single] + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-8.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, "8.0", single] commands: - command: expansions.update params: @@ -13772,33 +13876,33 @@ tasks: - { key: build_type, value: Debug } - { key: cc_compiler, value: clang } - { key: cxx_compiler, value: clang++ } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + mongodb_version: "8.0" - func: install_c_driver vars: + BSON_EXTRA_ALIGNMENT: 1 SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 - USE_SANITIZER_UBSAN: "ON" + USE_SANITIZER_ASAN: "ON" - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - TEST_WITH_UBSAN: "ON" + TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer - example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - - name: sanitizers-ubsan-ubuntu2004-clang-static-5.0-single - run_on: ubuntu2004-large - tags: [sanitizers, ubsan, ubuntu2004, clang, static, "5.0", single] + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-latest-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, latest, replica] commands: - command: expansions.update params: @@ -13806,11 +13910,1127 @@ tasks: - { key: build_type, value: Debug } - { key: cc_compiler, value: clang } - { key: cxx_compiler, value: clang++ } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-latest-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-latest-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, extra_alignment, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-latest-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-latest-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-shared-latest-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, shared, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-4.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-4.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-4.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-8.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-8.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-8.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-4.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-4.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-4.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-8.0-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-8.0-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-8.0-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-latest-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-latest-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-extra_alignment-latest-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, extra_alignment, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-latest-replica + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-latest-sharded + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-asan-rhel80-clang-static-latest-single + run_on: rhel80-large + tags: [sanitizers, asan, rhel80, clang, static, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_ASAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_ASAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=address + - name: sanitizers-ubsan-rhel80-clang-static-4.0-replica + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-4.0-sharded + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-4.0-single + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-8.0-replica + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, "8.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-8.0-sharded + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-8.0-single + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-latest-replica + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-latest-sharded + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + USE_SANITIZER_UBSAN: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_UBSAN: "ON" + example_projects_cc: clang + example_projects_cxx: clang++ + example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined + - name: sanitizers-ubsan-rhel80-clang-static-latest-single + run_on: rhel80-large + tags: [sanitizers, ubsan, rhel80, clang, static, latest, single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - { key: USE_STATIC_LIBS, value: "1" } + - func: setup + - func: start_mongod + vars: + mongodb_version: latest - func: install_c_driver vars: SKIP_INSTALL_LIBMONGOCRYPT: 1 From 9c42f2a0876aa52bc014b4cf52b30fc0b3fc9a61 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:15 -0600 Subject: [PATCH 17/35] Refactor uninstall check matrix to use highest-availability distros --- .../components/uninstall_check.py | 9 +- .evergreen/generated_configs/tasks.yml | 101 ++++++++++++++---- 2 files changed, 86 insertions(+), 24 deletions(-) diff --git a/.evergreen/config_generator/components/uninstall_check.py b/.evergreen/config_generator/components/uninstall_check.py index 94abc01cc2..b29607a2df 100644 --- a/.evergreen/config_generator/components/uninstall_check.py +++ b/.evergreen/config_generator/components/uninstall_check.py @@ -20,12 +20,9 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('debian10', 'gcc', [ 'Release'], ['shared']), - ('debian11', 'gcc', [ 'Release'], ['shared']), - ('debian12', 'gcc', [ 'Release'], ['shared']), - ('windows-vsCurrent', 'vs2017x64', ['Debug', 'Release'], ['shared']), - ('ubuntu1804', 'gcc', [ 'Release'], ['shared']), - ('ubuntu2004', 'gcc', [ 'Release'], ['shared']), + ('rhel80', 'gcc', ['Debug', 'Release'], ['shared', 'static']), + ('macos-14-arm64', 'clang', ['Debug', 'Release'], ['shared', 'static']), + ('windows-vsCurrent', 'vs2017x64', ['Debug', 'Release'], ['shared', 'static']), ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 399e322e85..89f4542fe6 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -15134,9 +15134,35 @@ tasks: - func: build_mongohouse - func: run_mongohouse - func: test_mongohouse - - name: uninstall-check-debian10-gcc-release-shared - run_on: debian10-large - tags: [uninstall-check, debian10, gcc, release, shared] + - name: uninstall-check-macos-14-arm64-clang-debug-shared + run_on: macos-14-arm64 + tags: [uninstall-check, macos-14-arm64, clang, debug, shared] + commands: + - func: setup + - func: fetch_c_driver_source + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - func: uninstall-check + - name: uninstall-check-macos-14-arm64-clang-debug-static + run_on: macos-14-arm64 + tags: [uninstall-check, macos-14-arm64, clang, debug, static] + commands: + - func: setup + - func: fetch_c_driver_source + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - func: uninstall-check + - name: uninstall-check-macos-14-arm64-clang-release-shared + run_on: macos-14-arm64 + tags: [uninstall-check, macos-14-arm64, clang, release, shared] commands: - func: setup - func: fetch_c_driver_source @@ -15144,12 +15170,12 @@ tasks: - func: compile vars: build_type: Release - cc_compiler: gcc - cxx_compiler: g++ + cc_compiler: clang + cxx_compiler: clang++ - func: uninstall-check - - name: uninstall-check-debian11-gcc-release-shared - run_on: debian11-large - tags: [uninstall-check, debian11, gcc, release, shared] + - name: uninstall-check-macos-14-arm64-clang-release-static + run_on: macos-14-arm64 + tags: [uninstall-check, macos-14-arm64, clang, release, static] commands: - func: setup - func: fetch_c_driver_source @@ -15157,25 +15183,38 @@ tasks: - func: compile vars: build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - func: uninstall-check + - name: uninstall-check-rhel80-gcc-debug-shared + run_on: rhel80-large + tags: [uninstall-check, rhel80, gcc, debug, shared] + commands: + - func: setup + - func: fetch_c_driver_source + - func: install-uv + - func: compile + vars: + build_type: Debug cc_compiler: gcc cxx_compiler: g++ - func: uninstall-check - - name: uninstall-check-debian12-gcc-release-shared - run_on: debian12-large - tags: [uninstall-check, debian12, gcc, release, shared] + - name: uninstall-check-rhel80-gcc-debug-static + run_on: rhel80-large + tags: [uninstall-check, rhel80, gcc, debug, static] commands: - func: setup - func: fetch_c_driver_source - func: install-uv - func: compile vars: - build_type: Release + build_type: Debug cc_compiler: gcc cxx_compiler: g++ - func: uninstall-check - - name: uninstall-check-ubuntu1804-gcc-release-shared - run_on: ubuntu1804-large - tags: [uninstall-check, ubuntu1804, gcc, release, shared] + - name: uninstall-check-rhel80-gcc-release-shared + run_on: rhel80-large + tags: [uninstall-check, rhel80, gcc, release, shared] commands: - func: setup - func: fetch_c_driver_source @@ -15186,9 +15225,9 @@ tasks: cc_compiler: gcc cxx_compiler: g++ - func: uninstall-check - - name: uninstall-check-ubuntu2004-gcc-release-shared - run_on: ubuntu2004-large - tags: [uninstall-check, ubuntu2004, gcc, release, shared] + - name: uninstall-check-rhel80-gcc-release-static + run_on: rhel80-large + tags: [uninstall-check, rhel80, gcc, release, static] commands: - func: setup - func: fetch_c_driver_source @@ -15212,6 +15251,19 @@ tasks: generator: Visual Studio 15 2017 platform: x64 - func: uninstall-check + - name: uninstall-check-windows-2019-vs2017-x64-debug-static + run_on: windows-vsCurrent-large + tags: [uninstall-check, windows-vsCurrent, vs2017x64, debug, static] + commands: + - func: setup + - func: fetch_c_driver_source + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 15 2017 + platform: x64 + - func: uninstall-check - name: uninstall-check-windows-2019-vs2017-x64-release-shared run_on: windows-vsCurrent-large tags: [uninstall-check, windows-vsCurrent, vs2017x64, release, shared] @@ -15225,6 +15277,19 @@ tasks: generator: Visual Studio 15 2017 platform: x64 - func: uninstall-check + - name: uninstall-check-windows-2019-vs2017-x64-release-static + run_on: windows-vsCurrent-large + tags: [uninstall-check, windows-vsCurrent, vs2017x64, release, static] + commands: + - func: setup + - func: fetch_c_driver_source + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 15 2017 + platform: x64 + - func: uninstall-check - name: valgrind-ubuntu1804-shared-5.0-single run_on: ubuntu1804-large tags: [valgrind, ubuntu1804, shared, "5.0", single] From 2456c4395d46b3c2c2ebfd1d90abb12202317382 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:15 -0600 Subject: [PATCH 18/35] Refactor versioned API matrix to use highest-availability distros --- .../components/versioned_api.py | 6 +-- .evergreen/generated_configs/tasks.yml | 44 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.evergreen/config_generator/components/versioned_api.py b/.evergreen/config_generator/components/versioned_api.py index 8485d6cd00..7cdede01eb 100644 --- a/.evergreen/config_generator/components/versioned_api.py +++ b/.evergreen/config_generator/components/versioned_api.py @@ -21,9 +21,9 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('macos-14-arm64', None, ['Release'], ['shared'], [None]), - ('ubuntu2004', None, ['Debug' ], ['shared'], [None]), - ('windows-vsCurrent', 'vs2019x64', ['Debug' ], ['shared'], [None]), + ('rhel80', None, ['Debug'], ['shared'], [None]), + ('macos-14-arm64', None, ['Debug'], ['shared'], [None]), + ('windows-vsCurrent', 'vs2022x64', ['Debug'], ['shared'], [None]), ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 89f4542fe6..8d0c068bf9 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -15522,9 +15522,9 @@ tasks: TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: versioned-api-one-required-macos-14-arm64-release-shared + - name: versioned-api-one-required-macos-14-arm64-debug-shared run_on: macos-14-arm64 - tags: [versioned-api, macos-14-arm64, release, shared] + tags: [versioned-api, macos-14-arm64, debug, shared] commands: - func: setup - func: start_mongod @@ -15537,17 +15537,17 @@ tasks: - func: compile vars: ENABLE_TESTS: "ON" - build_type: Release + build_type: Debug - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single MONGODB_API_VERSION: 1 - build_type: Release - - name: versioned-api-one-required-ubuntu2004-debug-shared - run_on: ubuntu2004-large - tags: [versioned-api, ubuntu2004, debug, shared] + build_type: Debug + - name: versioned-api-one-required-rhel80-debug-shared + run_on: rhel80-large + tags: [versioned-api, rhel80, debug, shared] commands: - func: setup - func: start_mongod @@ -15568,9 +15568,9 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single MONGODB_API_VERSION: 1 build_type: Debug - - name: versioned-api-one-required-windows-2019-vs2019-x64-debug-shared + - name: versioned-api-one-required-windows-2019-vs2022-x64-debug-shared run_on: windows-vsCurrent-large - tags: [versioned-api, windows-vsCurrent, vs2019x64, debug, shared] + tags: [versioned-api, windows-vsCurrent, vs2022x64, debug, shared] commands: - func: setup - func: start_mongod @@ -15584,7 +15584,7 @@ tasks: vars: ENABLE_TESTS: "ON" build_type: Debug - generator: Visual Studio 16 2019 + generator: Visual Studio 17 2022 platform: x64 - func: fetch-det - func: run_kms_servers @@ -15594,11 +15594,11 @@ tasks: MONGODB_API_VERSION: 1 build_type: Debug example_projects_cxx_standard: 17 - generator: Visual Studio 16 2019 + generator: Visual Studio 17 2022 platform: x64 - - name: versioned-api-two-accepted-macos-14-arm64-release-shared + - name: versioned-api-two-accepted-macos-14-arm64-debug-shared run_on: macos-14-arm64 - tags: [versioned-api, macos-14-arm64, release, shared] + tags: [versioned-api, macos-14-arm64, debug, shared] commands: - func: setup - func: start_mongod @@ -15611,16 +15611,16 @@ tasks: - func: compile vars: ENABLE_TESTS: "ON" - build_type: Release + build_type: Debug - func: fetch-det - func: run_kms_servers - func: test vars: MONGOCXX_TEST_TOPOLOGY: single - build_type: Release - - name: versioned-api-two-accepted-ubuntu2004-debug-shared - run_on: ubuntu2004-large - tags: [versioned-api, ubuntu2004, debug, shared] + build_type: Debug + - name: versioned-api-two-accepted-rhel80-debug-shared + run_on: rhel80-large + tags: [versioned-api, rhel80, debug, shared] commands: - func: setup - func: start_mongod @@ -15640,9 +15640,9 @@ tasks: vars: MONGOCXX_TEST_TOPOLOGY: single build_type: Debug - - name: versioned-api-two-accepted-windows-2019-vs2019-x64-debug-shared + - name: versioned-api-two-accepted-windows-2019-vs2022-x64-debug-shared run_on: windows-vsCurrent-large - tags: [versioned-api, windows-vsCurrent, vs2019x64, debug, shared] + tags: [versioned-api, windows-vsCurrent, vs2022x64, debug, shared] commands: - func: setup - func: start_mongod @@ -15656,7 +15656,7 @@ tasks: vars: ENABLE_TESTS: "ON" build_type: Debug - generator: Visual Studio 16 2019 + generator: Visual Studio 17 2022 platform: x64 - func: fetch-det - func: run_kms_servers @@ -15665,5 +15665,5 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single build_type: Debug example_projects_cxx_standard: 17 - generator: Visual Studio 16 2019 + generator: Visual Studio 17 2022 platform: x64 From 9dc22e9c7f3e3b3ab8f768dee39461e47ac0bb2a Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:15 -0600 Subject: [PATCH 19/35] Refactor valgrind matrix to use highest-availability distros --- .../config_generator/components/valgrind.py | 4 +- .evergreen/generated_configs/tasks.yml | 367 ++++++++++++++++-- .evergreen/scripts/test.sh | 11 + 3 files changed, 343 insertions(+), 39 deletions(-) diff --git a/.evergreen/config_generator/components/valgrind.py b/.evergreen/config_generator/components/valgrind.py index c7e3183523..6f25cb281c 100644 --- a/.evergreen/config_generator/components/valgrind.py +++ b/.evergreen/config_generator/components/valgrind.py @@ -22,8 +22,8 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('ubuntu1804', None, ['shared', 'static'], [False, True], ['5.0' ], ['single']), - ('ubuntu2004', None, ['shared', 'static'], [False, True], ['latest'], ['single']), + # min-max-latest + ('rhel80', None, ['shared'], [False, True], ['4.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 8d0c068bf9..344acf0b5c 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -15290,9 +15290,9 @@ tasks: generator: Visual Studio 15 2017 platform: x64 - func: uninstall-check - - name: valgrind-ubuntu1804-shared-5.0-single - run_on: ubuntu1804-large - tags: [valgrind, ubuntu1804, shared, "5.0", single] + - name: valgrind-rhel80-shared-4.0-replica + run_on: rhel80-large + tags: [valgrind, rhel80, shared, "4.0", replica] commands: - command: expansions.update params: @@ -15301,7 +15301,65 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-4.0-sharded + run_on: rhel80-large + tags: [valgrind, rhel80, shared, "4.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-4.0-single + run_on: rhel80-large + tags: [valgrind, rhel80, shared, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" - func: install_c_driver vars: SKIP_INSTALL_LIBMONGOCRYPT: 1 @@ -15318,9 +15376,9 @@ tasks: TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu1804-shared-extra_alignment-5.0-single - run_on: ubuntu1804-large - tags: [valgrind, ubuntu1804, shared, extra_alignment, "5.0", single] + - name: valgrind-rhel80-shared-8.0-replica + run_on: rhel80-large + tags: [valgrind, rhel80, shared, "8.0", replica] commands: - command: expansions.update params: @@ -15329,7 +15387,94 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-8.0-sharded + run_on: rhel80-large + tags: [valgrind, rhel80, shared, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-8.0-single + run_on: rhel80-large + tags: [valgrind, rhel80, shared, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: single + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-extra_alignment-4.0-replica + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, "4.0", replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: "4.0" - func: install_c_driver vars: BSON_EXTRA_ALIGNMENT: 1 @@ -15343,31 +15488,61 @@ tasks: - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu1804-static-5.0-single - run_on: ubuntu1804-large - tags: [valgrind, ubuntu1804, static, "5.0", single] + - name: valgrind-rhel80-shared-extra_alignment-4.0-sharded + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, "4.0", sharded] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: sharded_cluster + mongodb_version: "4.0" - func: install_c_driver vars: + BSON_EXTRA_ALIGNMENT: 1 SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-extra_alignment-4.0-single + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, "4.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "4.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test @@ -15376,19 +15551,78 @@ tasks: TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu1804-static-extra_alignment-5.0-single - run_on: ubuntu1804-large - tags: [valgrind, ubuntu1804, static, extra_alignment, "5.0", single] + - name: valgrind-rhel80-shared-extra_alignment-8.0-replica + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, "8.0", replica] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: - mongodb_version: "5.0" + TOPOLOGY: replica_set + mongodb_version: "8.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-extra_alignment-8.0-sharded + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, "8.0", sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: "8.0" + - func: install_c_driver + vars: + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + BSON_EXTRA_ALIGNMENT: 1 + ENABLE_TESTS: "ON" + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-extra_alignment-8.0-single + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, "8.0", single] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + mongodb_version: "8.0" - func: install_c_driver vars: BSON_EXTRA_ALIGNMENT: 1 @@ -15406,9 +15640,9 @@ tasks: TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu2004-shared-extra_alignment-latest-single - run_on: ubuntu2004-large - tags: [valgrind, ubuntu2004, shared, extra_alignment, latest, single] + - name: valgrind-rhel80-shared-extra_alignment-latest-replica + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, latest, replica] commands: - command: expansions.update params: @@ -15417,6 +15651,7 @@ tasks: - func: setup - func: start_mongod vars: + TOPOLOGY: replica_set mongodb_version: latest - func: install_c_driver vars: @@ -15431,13 +15666,13 @@ tasks: - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu2004-shared-latest-single - run_on: ubuntu2004-large - tags: [valgrind, ubuntu2004, shared, latest, single] + - name: valgrind-rhel80-shared-extra_alignment-latest-sharded + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, latest, sharded] commands: - command: expansions.update params: @@ -15446,32 +15681,33 @@ tasks: - func: setup - func: start_mongod vars: + TOPOLOGY: sharded_cluster mongodb_version: latest - func: install_c_driver vars: + BSON_EXTRA_ALIGNMENT: 1 SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" - RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: sharded TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu2004-static-extra_alignment-latest-single - run_on: ubuntu2004-large - tags: [valgrind, ubuntu2004, static, extra_alignment, latest, single] + - name: valgrind-rhel80-shared-extra_alignment-latest-single + run_on: rhel80-large + tags: [valgrind, rhel80, shared, extra_alignment, latest, single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: @@ -15493,15 +15729,72 @@ tasks: TEST_WITH_VALGRIND: "ON" disable_slow_tests: 1 use_mongocryptd: true - - name: valgrind-ubuntu2004-static-latest-single - run_on: ubuntu2004-large - tags: [valgrind, ubuntu2004, static, latest, single] + - name: valgrind-rhel80-shared-latest-replica + run_on: rhel80-large + tags: [valgrind, rhel80, shared, latest, replica] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: replica_set + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: replica + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-latest-sharded + run_on: rhel80-large + tags: [valgrind, rhel80, shared, latest, sharded] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: start_mongod + vars: + TOPOLOGY: sharded_cluster + mongodb_version: latest + - func: install_c_driver + vars: + SKIP_INSTALL_LIBMONGOCRYPT: 1 + - func: install-uv + - func: compile + vars: + ENABLE_TESTS: "ON" + RUN_DISTCHECK: 1 + - func: fetch-det + - func: run_kms_servers + - func: test + vars: + MONGOCXX_TEST_TOPOLOGY: sharded + TEST_WITH_VALGRIND: "ON" + disable_slow_tests: 1 + use_mongocryptd: true + - name: valgrind-rhel80-shared-latest-single + run_on: rhel80-large + tags: [valgrind, rhel80, shared, latest, single] commands: - command: expansions.update params: updates: - { key: build_type, value: Debug } - - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod vars: diff --git a/.evergreen/scripts/test.sh b/.evergreen/scripts/test.sh index f38261f8d0..05195412e4 100755 --- a/.evergreen/scripts/test.sh +++ b/.evergreen/scripts/test.sh @@ -275,6 +275,17 @@ else export UBSAN_OPTIONS="print_stacktrace=1" export PATH="/usr/lib/llvm-3.8/bin:${PATH:-}" elif [[ "${TEST_WITH_VALGRIND:-}" == "ON" ]]; then + if ! command -v valgrind >/dev/null; then + if command -v yum >/dev/null; then + sudo yum install -q -y valgrind + elif command -v apt-get >/dev/null; then + sudo apt-get install -q -y valgrind + else + echo "Unknown how to valgrind on this distro: ${distro_id:?}" 1>&2 + exit 1 + fi + fi + valgrind --version run_test() { valgrind --leak-check=full --track-origins=yes --num-callers=50 --error-exitcode=1 --error-limit=no --read-var-info=yes --suppressions=../etc/memcheck.suppressions "$@" "${test_args[@]:?}" } From 8d3982d0cb43e73818aed80e06d17ae628bda79b Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:16 -0600 Subject: [PATCH 20/35] Refactor compile only matrix to use highest-availability distros --- .../components/compile_only.py | 145 +- .evergreen/generated_configs/tasks.yml | 2300 ++++++++++++++++- .evergreen/generated_configs/variants.yml | 6 +- 3 files changed, 2307 insertions(+), 144 deletions(-) diff --git a/.evergreen/config_generator/components/compile_only.py b/.evergreen/config_generator/components/compile_only.py index d110dad80d..46535a9aab 100644 --- a/.evergreen/config_generator/components/compile_only.py +++ b/.evergreen/config_generator/components/compile_only.py @@ -1,11 +1,12 @@ from config_generator.components.funcs.compile import Compile from config_generator.components.funcs.install_uv import InstallUV -from config_generator.components.funcs.fetch_c_driver_source import FetchCDriverSource +from config_generator.components.funcs.install_c_driver import InstallCDriver from config_generator.components.funcs.setup import Setup -from config_generator.etc.distros import find_large_distro, make_distro_str +from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str from shrub.v3.evg_build_variant import BuildVariant +from shrub.v3.evg_command import KeyValueParam, expansions_update from shrub.v3.evg_task import EvgTask, EvgTaskRef from itertools import product @@ -17,95 +18,82 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('rhel79', None, ['Release'], ['shared'], ['impls']), + ('rhel80', 'gcc', ['Debug', 'Release'], ['shared', 'static'], [11, 17, 20, 23]), + ('rhel80', 'clang', ['Debug', 'Release'], ['shared', 'static'], [11, 17, 20, 23]), - ('rhel81-power8', None, ['Release'], ['shared'], [None]), - ('rhel83-zseries', None, ['Release'], ['shared'], [None]), + ('ubuntu2004-arm64', 'gcc', ['Debug', 'Release'], ['shared', 'static'], [11, 17, 20, 23]), + ('ubuntu2004-arm64', 'clang', ['Debug', 'Release'], ['shared', 'static'], [11, 17, 20, 23]), - ('ubuntu2004', None, ['Debug'], ['shared'], [None]), - ('ubuntu2004', 'gcc', ['Debug'], ['shared'], [None]), - ('ubuntu2004', 'clang', ['Debug'], ['shared'], [None]), + ('rhel8-power', None, ['Debug', 'Release'], ['shared', 'static'], [11, 17]), + ('rhel8-zseries', None, ['Debug', 'Release'], ['shared', 'static'], [11, 17]), - ('windows-64-vs2015', 'vs2015x64', ['Debug', 'Release'], ['shared'], [None]), - ('windows-vsCurrent', 'vs2017x64', ['Debug', 'Release'], ['shared'], [None]), - ('windows-vsCurrent', 'vs2019x64', ['Debug', 'Release'], ['shared'], [None]), - ('windows-vsCurrent', 'vs2022x64', ['Debug', 'Release'], ['shared'], [None]), + ('macos-14-arm64', None, ['Debug', 'Release'], ['shared', 'static'], [11, 17]), + ('macos-14', None, ['Debug', 'Release'], ['shared', 'static'], [11, 17]), + + ('windows-64-vs2015', 'vs2015x64', ['Debug', 'Release'], ['shared', 'static'], [11, ]), # CXX-3215 + ('windows-vsCurrent', 'vs2017x64', ['Debug', 'Release'], ['shared', 'static'], [11, 17, ]), + ('windows-vsCurrent', 'vs2019x64', ['Debug', 'Release'], ['shared', 'static'], [11, 17, 20, ]), + ('windows-vsCurrent', 'vs2022x64', ['Debug', 'Release'], ['shared', 'static'], [11, 17, 20, 23]), ] # fmt: on # pylint: enable=line-too-long -def generate_tasks(): - res = [] - - for distro_name, compiler, build_types, link_types, polyfills in MATRIX: - for build_type, link_type, polyfill in product(build_types, link_types, polyfills): +def tasks(): + for distro_name, compiler, build_types, link_types, cxx_standards in MATRIX: + for build_type, link_type, cxx_standard in product(build_types, link_types, cxx_standards): distro = find_large_distro(distro_name) name = f'{TAG}-{make_distro_str(distro_name, compiler, None)}' tags = [TAG, distro_name] + if cxx_standard is not None: + name += f'-cxx{cxx_standard}' + tags += [f'cxx{cxx_standard}'] + if compiler is not None: tags.append(compiler) name += f'-{build_type.lower()}-{link_type}' tags += [build_type.lower(), link_type] - if polyfill is not None: - name += f'-{polyfill}' - tags.append(polyfill) + updates = [] + compile_vars = {} + + updates += [KeyValueParam(key='build_type', value=build_type)] + updates += [KeyValueParam(key=key, value=value) for key, value in compiler_to_vars(compiler).items()] - patchable = None + if cxx_standard is not None: + compile_vars |= {'REQUIRED_CXX_STANDARD': cxx_standard} + + if link_type == 'static': + compile_vars |= {'USE_STATIC_LIBS': 1} # PowerPC and zSeries are limited resources. - if any(pattern in distro_name for pattern in ['power8', 'zseries']): - patchable = False - - # In etc/calc_release_version.py: - # error: unknown option `format=...' - # usage: git tag ... - # or: ... - if distro_name == 'rhel79': - patchable = False - - res.append( - EvgTask( - name=name, - tags=tags, - run_on=distro.name, - patchable=patchable, - commands=[ - Setup.call(), - FetchCDriverSource.call(), - ] + ( - # DEVPROD-13875 + astral-sh/uv/issues/10231. - [] if "vs2015" in distro_name else [InstallUV.call()] - ) + [ - Compile.call( - build_type=build_type, - compiler=compiler, - polyfill=polyfill, - ) - ], + patchable = False if any(pattern in distro_name for pattern in ['power', 'zseries']) else None + + commands = [expansions_update(updates=updates)] if updates else [] + commands += [ + Setup.call(), + InstallCDriver.call(), + ] + ( + # DEVPROD-13875 + astral-sh/uv/issues/10231. + [] if "vs2015" in distro_name else [InstallUV.call()] + ) + [ + Compile.call( + build_type=build_type, + compiler=compiler, ) + ] + + yield EvgTask( + name=name, + tags=tags, + run_on=distro.name, + patchable=patchable, + commands=commands, ) - return res - - -TASKS = generate_tasks() - - -def tasks(): - res = TASKS.copy() - - # PowerPC and zSeries are limited resources. - for task in res: - if any(pattern in task.run_on for pattern in ["power8", "zseries"]): - task.patchable = False - - return res - def variants(): tasks = [] @@ -113,16 +101,21 @@ def variants(): one_day = 1440 # Seconds. # PowerPC and zSeries are limited resources. - tasks = [ - EvgTaskRef(name=f'.{TAG} .rhel81-power8', batchtime=one_day), - EvgTaskRef(name=f'.{TAG} .rhel83-zseries', batchtime=one_day), - EvgTaskRef(name=f'.{TAG} !.rhel81-power8 !.rhel83-zseries'), + limited_distros = [ + 'rhel8-power', + 'rhel8-zseries', ] - return [ - BuildVariant( - name=f'{TAG}-matrix', - display_name=f'{TAG}-matrix', - tasks=tasks, - ), + distros = sorted(list({entry[0] for entry in MATRIX})) + batched = [distro for distro in distros if distro in limited_distros] + tasks = [ + EvgTaskRef(name=f'.{TAG} .{distro}', batchtime=one_day) for distro in batched + ] + [ + EvgTaskRef(name=f'.{TAG}' + ''.join(f' !.{distro}' for distro in batched)) ] + + yield BuildVariant( + name=f'{TAG}-matrix', + display_name=f'{TAG}-matrix', + tasks=tasks, + ) diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 344acf0b5c..09b89d786b 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -166,162 +166,2332 @@ tasks: vars: cc_compiler: clang cxx_compiler: clang++ - - name: compile-only-rhel79-release-shared-impls - run_on: rhel79-large - tags: [compile-only, rhel79, release, shared, impls] + - name: compile-only-macos-14-arm64-cxx11-debug-shared + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx11, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-arm64-cxx11-debug-static + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx11, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-arm64-cxx11-release-shared + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx11, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-arm64-cxx11-release-static + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx11, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-arm64-cxx17-debug-shared + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx17, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-arm64-cxx17-debug-static + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx17, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-arm64-cxx17-release-shared + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx17, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-arm64-cxx17-release-static + run_on: macos-14-arm64 + tags: [compile-only, macos-14-arm64, cxx17, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-cxx11-debug-shared + run_on: macos-14 + tags: [compile-only, macos-14, cxx11, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-cxx11-debug-static + run_on: macos-14 + tags: [compile-only, macos-14, cxx11, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-cxx11-release-shared + run_on: macos-14 + tags: [compile-only, macos-14, cxx11, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-cxx11-release-static + run_on: macos-14 + tags: [compile-only, macos-14, cxx11, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-cxx17-debug-shared + run_on: macos-14 + tags: [compile-only, macos-14, cxx17, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-cxx17-debug-static + run_on: macos-14 + tags: [compile-only, macos-14, cxx17, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-macos-14-cxx17-release-shared + run_on: macos-14 + tags: [compile-only, macos-14, cxx17, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-macos-14-cxx17-release-static + run_on: macos-14 + tags: [compile-only, macos-14, cxx17, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-power-cxx11-debug-shared + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx11, debug, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-power-cxx11-debug-static + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx11, debug, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-power-cxx11-release-shared + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx11, release, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-power-cxx11-release-static + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx11, release, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-power-cxx17-debug-shared + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx17, debug, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-power-cxx17-debug-static + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx17, debug, static] patchable: false commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-power-cxx17-release-shared + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx17, release, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-power-cxx17-release-static + run_on: rhel8-power-large + tags: [compile-only, rhel8-power, cxx17, release, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-zseries-cxx11-debug-shared + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx11, debug, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-zseries-cxx11-debug-static + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx11, debug, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-zseries-cxx11-release-shared + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx11, release, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-zseries-cxx11-release-static + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx11, release, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-zseries-cxx17-debug-shared + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx17, debug, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-zseries-cxx17-debug-static + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx17, debug, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + - name: compile-only-rhel8-zseries-cxx17-release-shared + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx17, release, shared] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel8-zseries-cxx17-release-static + run_on: rhel8-zseries-large + tags: [compile-only, rhel8-zseries, cxx17, release, static] + patchable: false + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + - name: compile-only-rhel80-clang-cxx11-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx11-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx11-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx11-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx17-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx17-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx17-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx17-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx20-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx20-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx20-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx20-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx23-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx23-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx23-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-clang-cxx23-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-rhel80-gcc-cxx11-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx11-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx11-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx11-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx11, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx17-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx17-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx17-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx17-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx17, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx20-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx20-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx20-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx20-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx20, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx23-debug-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx23-debug-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx23-release-shared + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-rhel80-gcc-cxx23-release-static + run_on: rhel80-large + tags: [compile-only, rhel80, cxx23, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-clang-cxx11-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx11-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx11-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx11-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx17-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx17-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx17-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx17-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx20-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx20-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx20-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx20-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx23-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, clang, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx23-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, clang, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx23-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, clang, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-clang-cxx23-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, clang, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: clang } + - { key: cxx_compiler, value: clang++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: clang + cxx_compiler: clang++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx11-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx11-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx11-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx11-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx11, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx17-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx17-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx17-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx17-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx17, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx20-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx20-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx20-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx20-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx20, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx23-debug-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, gcc, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx23-debug-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, gcc, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx23-release-shared + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, gcc, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-ubuntu2004-arm64-gcc-cxx23-release-static + run_on: ubuntu2004-arm64-large + tags: [compile-only, ubuntu2004-arm64, cxx23, gcc, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: cc_compiler, value: gcc } + - { key: cxx_compiler, value: g++ } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + cc_compiler: gcc + cxx_compiler: g++ + - name: compile-only-vs2015-x64-cxx11-debug-shared + run_on: windows-64-vs2015-large + tags: [compile-only, windows-64-vs2015, cxx11, vs2015x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 14 2015 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: compile + vars: + build_type: Debug + generator: Visual Studio 14 2015 + platform: x64 + - name: compile-only-vs2015-x64-cxx11-debug-static + run_on: windows-64-vs2015-large + tags: [compile-only, windows-64-vs2015, cxx11, vs2015x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 14 2015 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: compile + vars: + build_type: Debug + generator: Visual Studio 14 2015 + platform: x64 + - name: compile-only-vs2015-x64-cxx11-release-shared + run_on: windows-64-vs2015-large + tags: [compile-only, windows-64-vs2015, cxx11, vs2015x64, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 14 2015 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: compile + vars: + build_type: Release + generator: Visual Studio 14 2015 + platform: x64 + - name: compile-only-vs2015-x64-cxx11-release-static + run_on: windows-64-vs2015-large + tags: [compile-only, windows-64-vs2015, cxx11, vs2015x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 14 2015 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: compile + vars: + build_type: Release + generator: Visual Studio 14 2015 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx11-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2017x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx11-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2017x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx11-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2017x64, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx11-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2017x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx17-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2017x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx17-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2017x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx17-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2017x64, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2017-x64-cxx17-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2017x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 15 2017 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 15 2017 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx11-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2019x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx11-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2019x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx11-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2019x64, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx11-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2019x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx17-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2019x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx17-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2019x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx17-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2019x64, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx17-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2019x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: - BSONCXX_POLYFILL: impls build_type: Release - - name: compile-only-rhel81-power8-release-shared - run_on: rhel81-power8-large - tags: [compile-only, rhel81-power8, release, shared] - patchable: false + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx20-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx20, vs2019x64, debug, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx20-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx20, vs2019x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx20-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx20, vs2019x64, release, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Release - - name: compile-only-rhel83-zseries-release-shared - run_on: rhel83-zseries-large - tags: [compile-only, rhel83-zseries, release, shared] - patchable: false + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2019-x64-cxx20-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx20, vs2019x64, release, static] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 16 2019 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Release - - name: compile-only-ubuntu2004-clang-debug-shared - run_on: ubuntu2004-large - tags: [compile-only, ubuntu2004, clang, debug, shared] + generator: Visual Studio 16 2019 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx11-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2022x64, debug, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Debug - cc_compiler: clang - cxx_compiler: clang++ - - name: compile-only-ubuntu2004-debug-shared - run_on: ubuntu2004-large - tags: [compile-only, ubuntu2004, debug, shared] + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx11-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2022x64, debug, static] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Debug - - name: compile-only-ubuntu2004-gcc-debug-shared - run_on: ubuntu2004-large - tags: [compile-only, ubuntu2004, gcc, debug, shared] + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx11-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2022x64, release, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx11-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx11, vs2022x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx17-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2022x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Debug - cc_compiler: gcc - cxx_compiler: g++ - - name: compile-only-vs2015-x64-debug-shared - run_on: windows-64-vs2015-large - tags: [compile-only, windows-64-vs2015, vs2015x64, debug, shared] + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx17-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2022x64, debug, static] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver + - func: install-uv - func: compile vars: build_type: Debug - generator: Visual Studio 14 2015 + generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-vs2015-x64-release-shared - run_on: windows-64-vs2015-large - tags: [compile-only, windows-64-vs2015, vs2015x64, release, shared] + - name: compile-only-windows-2019-vs2022-x64-cxx17-release-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx17, vs2022x64, release, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver + - func: install-uv - func: compile vars: build_type: Release - generator: Visual Studio 14 2015 + generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-windows-2019-vs2017-x64-debug-shared + - name: compile-only-windows-2019-vs2022-x64-cxx17-release-static run_on: windows-vsCurrent-large - tags: [compile-only, windows-vsCurrent, vs2017x64, debug, shared] + tags: [compile-only, windows-vsCurrent, cxx17, vs2022x64, release, static] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: - build_type: Debug - generator: Visual Studio 15 2017 + build_type: Release + generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-windows-2019-vs2017-x64-release-shared + - name: compile-only-windows-2019-vs2022-x64-cxx20-debug-shared run_on: windows-vsCurrent-large - tags: [compile-only, windows-vsCurrent, vs2017x64, release, shared] + tags: [compile-only, windows-vsCurrent, cxx20, vs2022x64, debug, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: - build_type: Release - generator: Visual Studio 15 2017 + build_type: Debug + generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-windows-2019-vs2019-x64-debug-shared + - name: compile-only-windows-2019-vs2022-x64-cxx20-debug-static run_on: windows-vsCurrent-large - tags: [compile-only, windows-vsCurrent, vs2019x64, debug, shared] + tags: [compile-only, windows-vsCurrent, cxx20, vs2022x64, debug, static] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Debug - generator: Visual Studio 16 2019 + generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-windows-2019-vs2019-x64-release-shared + - name: compile-only-windows-2019-vs2022-x64-cxx20-release-shared run_on: windows-vsCurrent-large - tags: [compile-only, windows-vsCurrent, vs2019x64, release, shared] + tags: [compile-only, windows-vsCurrent, cxx20, vs2022x64, release, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Release - generator: Visual Studio 16 2019 + generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-windows-2019-vs2022-x64-debug-shared + - name: compile-only-windows-2019-vs2022-x64-cxx20-release-static run_on: windows-vsCurrent-large - tags: [compile-only, windows-vsCurrent, vs2022x64, debug, shared] + tags: [compile-only, windows-vsCurrent, cxx20, vs2022x64, release, static] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx23-debug-shared + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx23, vs2022x64, debug, shared] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Debug + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx23-debug-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx23, vs2022x64, debug, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Debug } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver - func: install-uv - func: compile vars: build_type: Debug generator: Visual Studio 17 2022 platform: x64 - - name: compile-only-windows-2019-vs2022-x64-release-shared + - name: compile-only-windows-2019-vs2022-x64-cxx23-release-shared run_on: windows-vsCurrent-large - tags: [compile-only, windows-vsCurrent, vs2022x64, release, shared] + tags: [compile-only, windows-vsCurrent, cxx23, vs2022x64, release, shared] commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } - func: setup - - func: fetch_c_driver_source + - func: install_c_driver + - func: install-uv + - func: compile + vars: + build_type: Release + generator: Visual Studio 17 2022 + platform: x64 + - name: compile-only-windows-2019-vs2022-x64-cxx23-release-static + run_on: windows-vsCurrent-large + tags: [compile-only, windows-vsCurrent, cxx23, vs2022x64, release, static] + commands: + - command: expansions.update + params: + updates: + - { key: build_type, value: Release } + - { key: generator, value: Visual Studio 17 2022 } + - { key: platform, value: x64 } + - func: setup + - func: install_c_driver - func: install-uv - func: compile vars: diff --git a/.evergreen/generated_configs/variants.yml b/.evergreen/generated_configs/variants.yml index 5173815cd8..eda581a863 100644 --- a/.evergreen/generated_configs/variants.yml +++ b/.evergreen/generated_configs/variants.yml @@ -31,11 +31,11 @@ buildvariants: - name: compile-only-matrix display_name: compile-only-matrix tasks: - - name: .compile-only .rhel81-power8 + - name: .compile-only .rhel8-power batchtime: 1440 - - name: .compile-only .rhel83-zseries + - name: .compile-only .rhel8-zseries batchtime: 1440 - - name: .compile-only !.rhel81-power8 !.rhel83-zseries + - name: .compile-only !.rhel8-power !.rhel8-zseries - name: docker-build display_name: Docker Build tasks: From 440c66ae9ddce123fdf1f989297bf4da7cb9137c Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:16 -0600 Subject: [PATCH 21/35] Use rhel80 as the default Linux distro of choice --- .../components/atlas_search_indexes.py | 2 +- .../config_generator/components/clang_tidy.py | 2 +- .../components/docker_build.py | 4 +- .../config_generator/components/lint.py | 12 +-- .../components/macro_guards.py | 6 +- .../config_generator/components/mongohouse.py | 2 +- .../config_generator/components/packaging.py | 4 +- .../config_generator/components/scan_build.py | 2 +- .evergreen/generated_configs/tasks.yml | 73 +++++++++---------- 9 files changed, 48 insertions(+), 59 deletions(-) diff --git a/.evergreen/config_generator/components/atlas_search_indexes.py b/.evergreen/config_generator/components/atlas_search_indexes.py index 7bbc590254..5b6b6076fe 100644 --- a/.evergreen/config_generator/components/atlas_search_indexes.py +++ b/.evergreen/config_generator/components/atlas_search_indexes.py @@ -46,7 +46,7 @@ def functions(): def tasks(): - distro_name = 'ubuntu2004' + distro_name = 'rhel80' distro = find_large_distro(distro_name) return [ diff --git a/.evergreen/config_generator/components/clang_tidy.py b/.evergreen/config_generator/components/clang_tidy.py index 1762ba3977..51b1c33b3d 100644 --- a/.evergreen/config_generator/components/clang_tidy.py +++ b/.evergreen/config_generator/components/clang_tidy.py @@ -44,7 +44,7 @@ def functions(): def tasks(): - distro_name = 'ubuntu2004' + distro_name = 'rhel80' distro = find_small_distro(distro_name) return [ diff --git a/.evergreen/config_generator/components/docker_build.py b/.evergreen/config_generator/components/docker_build.py index 30aa49c9e7..5d35f30ef3 100644 --- a/.evergreen/config_generator/components/docker_build.py +++ b/.evergreen/config_generator/components/docker_build.py @@ -15,8 +15,8 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('ubuntu2204-arm64'), - ('ubuntu2204'), + ('ubuntu2204-arm64'), # `docker` is not available on RHEL distros by default. + ('ubuntu2204'), # `docker` is not available on RHEL distros by default. ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/config_generator/components/lint.py b/.evergreen/config_generator/components/lint.py index c265d78e1d..03587dff79 100644 --- a/.evergreen/config_generator/components/lint.py +++ b/.evergreen/config_generator/components/lint.py @@ -28,20 +28,14 @@ def functions(): def tasks(): - distro_names = [ - 'ubuntu2204', - 'ubuntu2004', - 'debian12', - 'debian11', - 'debian10', - ] - distros = [find_small_distro(name) for name in distro_names] + distro_name = 'rhel80' + distro = find_small_distro(distro_name) return [ EvgTask( name=TAG, tags=[TAG], - run_on=[distro.name for distro in distros], + run_on=distro.name, commands=[ Setup.call(), InstallUV.call(), diff --git a/.evergreen/config_generator/components/macro_guards.py b/.evergreen/config_generator/components/macro_guards.py index 5e3d4adfc8..ce215c6f25 100644 --- a/.evergreen/config_generator/components/macro_guards.py +++ b/.evergreen/config_generator/components/macro_guards.py @@ -15,9 +15,9 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('ubuntu2004', None ), - ('ubuntu2004', 'gcc' ), - ('ubuntu2004', 'clang'), + ('rhel80', None ), + ('rhel80', 'gcc' ), + ('rhel80', 'clang'), ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/config_generator/components/mongohouse.py b/.evergreen/config_generator/components/mongohouse.py index 270f946c63..a1f1f213fd 100644 --- a/.evergreen/config_generator/components/mongohouse.py +++ b/.evergreen/config_generator/components/mongohouse.py @@ -63,7 +63,7 @@ def functions(): def tasks(): - distro_name = 'ubuntu2204' + distro_name = 'ubuntu2204' # `docker` is not available on RHEL distros by default. distro = find_large_distro(distro_name) return [ diff --git a/.evergreen/config_generator/components/packaging.py b/.evergreen/config_generator/components/packaging.py index 72547c0958..bea1b25f4a 100644 --- a/.evergreen/config_generator/components/packaging.py +++ b/.evergreen/config_generator/components/packaging.py @@ -62,8 +62,8 @@ class RpmPackageBuild(Function): # pylint: disable=line-too-long # fmt: off MATRIX = [ - (DebianPackageBuild, 'debian12-latest'), - (RpmPackageBuild, 'rhel92-arm64' ), + (DebianPackageBuild, 'debian12-latest'), # Debian packaging. + (RpmPackageBuild, 'rhel92-arm64' ), # RHEL packaging. ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/config_generator/components/scan_build.py b/.evergreen/config_generator/components/scan_build.py index 39192c7021..bbbf6a7976 100644 --- a/.evergreen/config_generator/components/scan_build.py +++ b/.evergreen/config_generator/components/scan_build.py @@ -100,7 +100,7 @@ def functions(): def tasks(): res = [] - distro_name = 'ubuntu2204' + distro_name = 'rhel80' distro = find_large_distro(distro_name) for cxx_standard, polyfill in MATRIX: diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 09b89d786b..cb2a3f885d 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -120,8 +120,8 @@ tasks: cxx_standard: "23" polyfill: stdlib - name: atlas-search-indexes-7.0 - run_on: ubuntu2004-large - tags: [atlas-search-indexes, ubuntu2004] + run_on: rhel80-large + tags: [atlas-search-indexes, rhel80] commands: - func: install_c_driver - func: install-uv @@ -131,8 +131,8 @@ tasks: build_type: Debug - func: test-search-index-helpers - name: atlas-search-indexes-8.0 - run_on: ubuntu2004-large - tags: [atlas-search-indexes, ubuntu2004] + run_on: rhel80-large + tags: [atlas-search-indexes, rhel80] commands: - func: install_c_driver - func: install-uv @@ -153,8 +153,8 @@ tasks: - func: benchmarks-compile - func: benchmarks-run - name: clang-tidy - run_on: ubuntu2004-small - tags: [clang-tidy, ubuntu2004] + run_on: rhel80-small + tags: [clang-tidy, rhel80] commands: - func: setup - func: install-uv @@ -15590,20 +15590,15 @@ tasks: REQUIRED_CXX_STANDARD: 17 example_projects_cxx_standard: 17 - name: lint - run_on: - - ubuntu2204-small - - ubuntu2004-small - - debian12-small - - debian11-small - - debian10-small + run_on: rhel80-small tags: [lint] commands: - func: setup - func: install-uv - func: lint - - name: macro-guards-ubuntu2004 - run_on: ubuntu2004-large - tags: [macro-guards, ubuntu2004] + - name: macro-guards-rhel80 + run_on: rhel80-large + tags: [macro-guards, rhel80] commands: - func: setup - func: fetch_c_driver_source @@ -15612,9 +15607,9 @@ tasks: vars: COMPILE_MACRO_GUARD_TESTS: "ON" build_type: Debug - - name: macro-guards-ubuntu2004-clang - run_on: ubuntu2004-large - tags: [macro-guards, ubuntu2004, clang] + - name: macro-guards-rhel80-clang + run_on: rhel80-large + tags: [macro-guards, rhel80, clang] commands: - func: setup - func: fetch_c_driver_source @@ -15625,9 +15620,9 @@ tasks: build_type: Debug cc_compiler: clang cxx_compiler: clang++ - - name: macro-guards-ubuntu2004-gcc - run_on: ubuntu2004-large - tags: [macro-guards, ubuntu2004, gcc] + - name: macro-guards-rhel80-gcc + run_on: rhel80-large + tags: [macro-guards, rhel80, gcc] commands: - func: setup - func: fetch_c_driver_source @@ -17220,9 +17215,9 @@ tasks: example_projects_cxx: clang++ example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - - name: scan-build-ubuntu2204-std11-default - run_on: ubuntu2204-large - tags: [scan-build, ubuntu2204, std11] + - name: scan-build-rhel80-std11-default + run_on: rhel80-large + tags: [scan-build, rhel80, std11] commands: - func: setup - func: fetch_c_driver_source @@ -17230,9 +17225,9 @@ tasks: vars: CXX_STANDARD: 11 - func: upload scan artifacts - - name: scan-build-ubuntu2204-std11-impls - run_on: ubuntu2204-large - tags: [scan-build, ubuntu2204, std11, impls] + - name: scan-build-rhel80-std11-impls + run_on: rhel80-large + tags: [scan-build, rhel80, std11, impls] commands: - func: setup - func: fetch_c_driver_source @@ -17241,9 +17236,9 @@ tasks: BSONCXX_POLYFILL: impls CXX_STANDARD: 11 - func: upload scan artifacts - - name: scan-build-ubuntu2204-std14-default - run_on: ubuntu2204-large - tags: [scan-build, ubuntu2204, std14] + - name: scan-build-rhel80-std14-default + run_on: rhel80-large + tags: [scan-build, rhel80, std14] commands: - func: setup - func: fetch_c_driver_source @@ -17251,9 +17246,9 @@ tasks: vars: CXX_STANDARD: 14 - func: upload scan artifacts - - name: scan-build-ubuntu2204-std14-impls - run_on: ubuntu2204-large - tags: [scan-build, ubuntu2204, std14, impls] + - name: scan-build-rhel80-std14-impls + run_on: rhel80-large + tags: [scan-build, rhel80, std14, impls] commands: - func: setup - func: fetch_c_driver_source @@ -17262,9 +17257,9 @@ tasks: BSONCXX_POLYFILL: impls CXX_STANDARD: 14 - func: upload scan artifacts - - name: scan-build-ubuntu2204-std17-default - run_on: ubuntu2204-large - tags: [scan-build, ubuntu2204, std17] + - name: scan-build-rhel80-std17-default + run_on: rhel80-large + tags: [scan-build, rhel80, std17] commands: - func: setup - func: fetch_c_driver_source @@ -17272,9 +17267,9 @@ tasks: vars: CXX_STANDARD: 17 - func: upload scan artifacts - - name: scan-build-ubuntu2204-std17-impls - run_on: ubuntu2204-large - tags: [scan-build, ubuntu2204, std17, impls] + - name: scan-build-rhel80-std17-impls + run_on: rhel80-large + tags: [scan-build, rhel80, std17, impls] commands: - func: setup - func: fetch_c_driver_source From 3752e62d3d5cb81f6c443cf42605f9019ac4d021 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:16 -0600 Subject: [PATCH 22/35] Remove unused distros from distros.py --- .evergreen/config_generator/etc/distros.py | 70 +--------------------- 1 file changed, 2 insertions(+), 68 deletions(-) diff --git a/.evergreen/config_generator/etc/distros.py b/.evergreen/config_generator/etc/distros.py index 369fcee4ea..c64b4bd8a2 100644 --- a/.evergreen/config_generator/etc/distros.py +++ b/.evergreen/config_generator/etc/distros.py @@ -43,44 +43,21 @@ def validate_os_ver(cls, value): # pylint: disable=line-too-long #fmt: off DEBIAN_DISTROS = [ - Distro(name='debian10-large', os='debian', os_type='linux', os_ver='10', size='large'), - Distro(name='debian10-small', os='debian', os_type='linux', os_ver='10', size='small'), - Distro(name='debian11-large', os='debian', os_type='linux', os_ver='11', size='large'), - Distro(name='debian11-small', os='debian', os_type='linux', os_ver='11', size='small'), - Distro(name='debian12-large', os='debian', os_type='linux', os_ver='12', size='large'), - Distro(name='debian12-small', os='debian', os_type='linux', os_ver='12', size='small'), - Distro(name='debian92-large', os='debian', os_type='linux', os_ver='9.2', size='large'), - Distro(name='debian92-small', os='debian', os_type='linux', os_ver='9.2', size='small'), - Distro(name='debian12-latest-large', os='debian', os_type='linux', os_ver='latest', size='large'), Distro(name='debian12-latest-small', os='debian', os_type='linux', os_ver='latest', size='small'), ] MACOS_DISTROS = [ - Distro(name='macos-1100', os='macos', os_type='macos', os_ver='11.00'), Distro(name='macos-14', os='macos', os_type='macos', os_ver='14'), ] MACOS_ARM64_DISTROS = [ - Distro(name='macos-11-arm64', os='macos', os_type='macos', os_ver='11', arch='arm64'), Distro(name='macos-14-arm64', os='macos', os_type='macos', os_ver='14', arch='arm64'), ] RHEL_DISTROS = [ - Distro(name='rhel70-large', os='rhel', os_type='linux', os_ver='7.0', size='large'), - Distro(name='rhel70-small', os='rhel', os_type='linux', os_ver='7.0', size='small'), - Distro(name='rhel76-large', os='rhel', os_type='linux', os_ver='7.6', size='large'), - Distro(name='rhel76-small', os='rhel', os_type='linux', os_ver='7.6', size='small'), - Distro(name='rhel79-large', os='rhel', os_type='linux', os_ver='7.9', size='large'), - Distro(name='rhel79-small', os='rhel', os_type='linux', os_ver='7.9', size='small'), Distro(name='rhel80-large', os='rhel', os_type='linux', os_ver='8.0', size='large'), Distro(name='rhel80-small', os='rhel', os_type='linux', os_ver='8.0', size='small'), - Distro(name='rhel84-large', os='rhel', os_type='linux', os_ver='8.4', size='large'), - Distro(name='rhel84-small', os='rhel', os_type='linux', os_ver='8.4', size='small'), - Distro(name='rhel87-large', os='rhel', os_type='linux', os_ver='8.7', size='large'), - Distro(name='rhel87-small', os='rhel', os_type='linux', os_ver='8.7', size='small'), - Distro(name='rhel90-large', os='rhel', os_type='linux', os_ver='9.0', size='large'), - Distro(name='rhel90-small', os='rhel', os_type='linux', os_ver='9.0', size='small'), Distro(name='rhel95-large', os='rhel', os_type='linux', os_ver='9.5', size='large'), Distro(name='rhel95-small', os='rhel', os_type='linux', os_ver='9.5', size='small'), @@ -89,30 +66,16 @@ def validate_os_ver(cls, value): ] RHEL_ARM64_DISTROS = [ - Distro(name='rhel82-arm64-large', os='rhel', os_type='linux', os_ver='8.2', size='large', arch='arm64'), - Distro(name='rhel82-arm64-small', os='rhel', os_type='linux', os_ver='8.2', size='small', arch='arm64'), - Distro(name='rhel90-arm64-large', os='rhel', os_type='linux', os_ver='9.0', size='large', arch='arm64'), - Distro(name='rhel90-arm64-small', os='rhel', os_type='linux', os_ver='9.0', size='small', arch='arm64'), Distro(name='rhel92-arm64-large', os='rhel', os_type='linux', os_ver='9.2', size='large', arch='arm64'), Distro(name='rhel92-arm64-small', os='rhel', os_type='linux', os_ver='9.2', size='small', arch='arm64'), ] RHEL_POWER8_DISTROS = [ - Distro(name='rhel71-power8-large', os='rhel', os_type='linux', os_ver='7.1', size='large', arch='power8'), - Distro(name='rhel71-power8-small', os='rhel', os_type='linux', os_ver='7.1', size='small', arch='power8'), - Distro(name='rhel81-power8-large', os='rhel', os_type='linux', os_ver='8.1', size='large', arch='power8'), - Distro(name='rhel81-power8-small', os='rhel', os_type='linux', os_ver='8.1', size='small', arch='power8'), - Distro(name='rhel8-power-large', os='rhel', os_type='linux', os_ver='8', size='large', arch='power8'), Distro(name='rhel8-power-small', os='rhel', os_type='linux', os_ver='8', size='small', arch='power8'), ] RHEL_ZSERIES_DISTROS = [ - Distro(name='rhel72-zseries-large', os='rhel', os_type='linux', os_ver='7.2', size='large', arch='zseries'), - Distro(name='rhel72-zseries-small', os='rhel', os_type='linux', os_ver='7.2', size='small', arch='zseries'), - Distro(name='rhel83-zseries-large', os='rhel', os_type='linux', os_ver='8.3', size='large', arch='zseries'), - Distro(name='rhel83-zseries-small', os='rhel', os_type='linux', os_ver='8.3', size='small', arch='zseries'), - Distro(name='rhel7-zseries-large', os='rhel', os_type='linux', os_ver='7', size='large', arch='zseries'), Distro(name='rhel7-zseries-small', os='rhel', os_type='linux', os_ver='7', size='small', arch='zseries'), Distro(name='rhel8-zseries-large', os='rhel', os_type='linux', os_ver='8', size='large', arch='zseries'), @@ -120,21 +83,11 @@ def validate_os_ver(cls, value): ] UBUNTU_DISTROS = [ - Distro(name='ubuntu1604-large', os='ubuntu', os_type='linux', os_ver='16.04', size='large'), - Distro(name='ubuntu1604-small', os='ubuntu', os_type='linux', os_ver='16.04', size='small'), - Distro(name='ubuntu1804-large', os='ubuntu', os_type='linux', os_ver='18.04', size='large'), - Distro(name='ubuntu1804-small', os='ubuntu', os_type='linux', os_ver='18.04', size='small'), - Distro(name='ubuntu2004-large', os='ubuntu', os_type='linux', os_ver='20.04', size='large'), - Distro(name='ubuntu2004-small', os='ubuntu', os_type='linux', os_ver='20.04', size='small'), Distro(name='ubuntu2204-large', os='ubuntu', os_type='linux', os_ver='22.04', size='large'), Distro(name='ubuntu2204-small', os='ubuntu', os_type='linux', os_ver='22.04', size='small'), ] UBUNTU_ARM64_DISTROS = [ - Distro(name='ubuntu1604-arm64-large', os='ubuntu', os_type='linux', os_ver='16.04', size='large', arch='arm64'), - Distro(name='ubuntu1604-arm64-small', os='ubuntu', os_type='linux', os_ver='16.04', size='small', arch='arm64'), - Distro(name='ubuntu1804-arm64-large', os='ubuntu', os_type='linux', os_ver='18.04', size='large', arch='arm64'), - Distro(name='ubuntu1804-arm64-small', os='ubuntu', os_type='linux', os_ver='18.04', size='small', arch='arm64'), Distro(name='ubuntu2004-arm64-large', os='ubuntu', os_type='linux', os_ver='20.04', size='large', arch='arm64'), Distro(name='ubuntu2004-arm64-small', os='ubuntu', os_type='linux', os_ver='20.04', size='small', arch='arm64'), Distro(name='ubuntu2204-arm64-large', os='ubuntu', os_type='linux', os_ver='22.04', size='large', arch='arm64'), @@ -142,30 +95,11 @@ def validate_os_ver(cls, value): ] WINDOWS_DISTROS = [ - Distro(name='windows-64-vs2013-large', os='windows', os_type='windows', vs_ver='2013', size='large'), - Distro(name='windows-64-vs2013-small', os='windows', os_type='windows', vs_ver='2013', size='small'), Distro(name='windows-64-vs2015-large', os='windows', os_type='windows', vs_ver='2015', size='large'), Distro(name='windows-64-vs2015-small', os='windows', os_type='windows', vs_ver='2015', size='small'), - Distro(name='windows-64-vs2017-large', os='windows', os_type='windows', vs_ver='2017', size='large'), - Distro(name='windows-64-vs2017-small', os='windows', os_type='windows', vs_ver='2017', size='small'), - Distro(name='windows-64-vs2019-large', os='windows', os_type='windows', vs_ver='2019', size='large'), - Distro(name='windows-64-vs2019-small', os='windows', os_type='windows', vs_ver='2019', size='small'), - - Distro(name='windows-2022-large', os='windows', os_type='windows', os_ver='2022'), - Distro(name='windows-2022-small', os='windows', os_type='windows', os_ver='2022'), - - Distro(name='windows-64-2019', os='windows', os_type='windows', os_ver='2019'), - - Distro(name='windows-64-vsMulti-small', os='windows', os_type='windows', vs_ver='vsMulti', size='small'), - - Distro(name='windows-vsCurrent-2022-large', os='windows', os_type='windows', os_ver='2022', vs_ver='vsCurrent', size='large'), - Distro(name='windows-vsCurrent-2022-small', os='windows', os_type='windows', os_ver='2022', vs_ver='vsCurrent', size='small'), - - Distro(name='windows-vsCurrent-large', os='windows', os_type='windows', vs_ver='vsCurrent', size='large'), # Windows Server 2019 - Distro(name='windows-vsCurrent-small', os='windows', os_type='windows', vs_ver='vsCurrent', size='small'), # Windows Server 2019 - Distro(name='windows-vsCurrent2-large', os='windows', os_type='windows', vs_ver='vsCurrent2', size='large'), - Distro(name='windows-vsCurrent2-small', os='windows', os_type='windows', vs_ver='vsCurrent2', size='small'), + Distro(name='windows-vsCurrent-large', os='windows', os_type='windows', vs_ver='vsCurrent', size='large'), + Distro(name='windows-vsCurrent-small', os='windows', os_type='windows', vs_ver='vsCurrent', size='small'), ] #fmt: on # pylint: enable=line-too-long From dd8997451ee95fdad67a76b2033637487638a61b Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:17 -0600 Subject: [PATCH 23/35] Reduce large+small distro boilerplate --- .evergreen/config_generator/etc/distros.py | 92 ++++++++++------------ 1 file changed, 42 insertions(+), 50 deletions(-) diff --git a/.evergreen/config_generator/etc/distros.py b/.evergreen/config_generator/etc/distros.py index c64b4bd8a2..b624b092c9 100644 --- a/.evergreen/config_generator/etc/distros.py +++ b/.evergreen/config_generator/etc/distros.py @@ -39,13 +39,19 @@ class Distro(BaseModel): def validate_os_ver(cls, value): return value == 'latest' or Version(value) + +def ls_distro(name, **kwargs): + return [ + Distro(name=f'{name}-large', size='large', **kwargs), + Distro(name=f'{name}-small', size='small', **kwargs), + ] + # See: https://evergreen.mongodb.com/distros # pylint: disable=line-too-long #fmt: off -DEBIAN_DISTROS = [ - Distro(name='debian12-latest-large', os='debian', os_type='linux', os_ver='latest', size='large'), - Distro(name='debian12-latest-small', os='debian', os_type='linux', os_ver='latest', size='small'), -] +DEBIAN_DISTROS = [] + \ + ls_distro(name='debian12-latest', os='debian', os_type='linux', os_ver='latest') + \ + [] MACOS_DISTROS = [ Distro(name='macos-14', os='macos', os_type='macos', os_ver='14'), @@ -55,52 +61,38 @@ def validate_os_ver(cls, value): Distro(name='macos-14-arm64', os='macos', os_type='macos', os_ver='14', arch='arm64'), ] -RHEL_DISTROS = [ - Distro(name='rhel80-large', os='rhel', os_type='linux', os_ver='8.0', size='large'), - Distro(name='rhel80-small', os='rhel', os_type='linux', os_ver='8.0', size='small'), - Distro(name='rhel95-large', os='rhel', os_type='linux', os_ver='9.5', size='large'), - Distro(name='rhel95-small', os='rhel', os_type='linux', os_ver='9.5', size='small'), - - Distro(name='rhel8-latest-large', os='rhel', os_type='linux', os_ver='latest', size='large'), - Distro(name='rhel8-latest-small', os='rhel', os_type='linux', os_ver='latest', size='small'), -] - -RHEL_ARM64_DISTROS = [ - Distro(name='rhel92-arm64-large', os='rhel', os_type='linux', os_ver='9.2', size='large', arch='arm64'), - Distro(name='rhel92-arm64-small', os='rhel', os_type='linux', os_ver='9.2', size='small', arch='arm64'), -] - -RHEL_POWER8_DISTROS = [ - Distro(name='rhel8-power-large', os='rhel', os_type='linux', os_ver='8', size='large', arch='power8'), - Distro(name='rhel8-power-small', os='rhel', os_type='linux', os_ver='8', size='small', arch='power8'), -] - -RHEL_ZSERIES_DISTROS = [ - Distro(name='rhel7-zseries-large', os='rhel', os_type='linux', os_ver='7', size='large', arch='zseries'), - Distro(name='rhel7-zseries-small', os='rhel', os_type='linux', os_ver='7', size='small', arch='zseries'), - Distro(name='rhel8-zseries-large', os='rhel', os_type='linux', os_ver='8', size='large', arch='zseries'), - Distro(name='rhel8-zseries-small', os='rhel', os_type='linux', os_ver='8', size='small', arch='zseries'), -] - -UBUNTU_DISTROS = [ - Distro(name='ubuntu2204-large', os='ubuntu', os_type='linux', os_ver='22.04', size='large'), - Distro(name='ubuntu2204-small', os='ubuntu', os_type='linux', os_ver='22.04', size='small'), -] - -UBUNTU_ARM64_DISTROS = [ - Distro(name='ubuntu2004-arm64-large', os='ubuntu', os_type='linux', os_ver='20.04', size='large', arch='arm64'), - Distro(name='ubuntu2004-arm64-small', os='ubuntu', os_type='linux', os_ver='20.04', size='small', arch='arm64'), - Distro(name='ubuntu2204-arm64-large', os='ubuntu', os_type='linux', os_ver='22.04', size='large', arch='arm64'), - Distro(name='ubuntu2204-arm64-small', os='ubuntu', os_type='linux', os_ver='22.04', size='small', arch='arm64'), -] - -WINDOWS_DISTROS = [ - Distro(name='windows-64-vs2015-large', os='windows', os_type='windows', vs_ver='2015', size='large'), - Distro(name='windows-64-vs2015-small', os='windows', os_type='windows', vs_ver='2015', size='small'), - - Distro(name='windows-vsCurrent-large', os='windows', os_type='windows', vs_ver='vsCurrent', size='large'), - Distro(name='windows-vsCurrent-small', os='windows', os_type='windows', vs_ver='vsCurrent', size='small'), -] +RHEL_DISTROS = [] + \ + ls_distro(name='rhel80', os='rhel', os_type='linux', os_ver='8.0') + \ + ls_distro(name='rhel95', os='rhel', os_type='linux', os_ver='9.5') + \ + ls_distro(name='rhel8-latest', os='rhel', os_type='linux', os_ver='latest') + \ + [] + +RHEL_ARM64_DISTROS = [] + \ + ls_distro(name='rhel92-arm64', os='rhel', os_type='linux', os_ver='9.2', arch='arm64') + \ + [] + +RHEL_POWER8_DISTROS = [] + \ + ls_distro(name='rhel8-power', os='rhel', os_type='linux', os_ver='8', arch='power8') + \ + [] + +RHEL_ZSERIES_DISTROS = [] + \ + ls_distro(name='rhel7-zseries', os='rhel', os_type='linux', os_ver='7', arch='zseries') + \ + ls_distro(name='rhel8-zseries', os='rhel', os_type='linux', os_ver='8', arch='zseries') + \ + [] + +UBUNTU_DISTROS = [] + \ + ls_distro(name='ubuntu2204', os='ubuntu', os_type='linux', os_ver='22.04') + \ + [] + +UBUNTU_ARM64_DISTROS = [] + \ + ls_distro(name='ubuntu2004-arm64', os='ubuntu', os_type='linux', os_ver='20.04', arch='arm64') + \ + ls_distro(name='ubuntu2204-arm64', os='ubuntu', os_type='linux', os_ver='22.04', arch='arm64') + \ + [] + +WINDOWS_DISTROS = [] + \ + ls_distro(name='windows-64-vs2015', os='windows', os_type='windows', vs_ver='2015') + \ + ls_distro(name='windows-vsCurrent', os='windows', os_type='windows', vs_ver='vsCurrent') + \ + [] #fmt: on # pylint: enable=line-too-long From a4f5867e3c38106899e2771e663c0fe13e55485e Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Fri, 7 Feb 2025 10:35:17 -0600 Subject: [PATCH 24/35] Group tasks on non-limited distros into display tasks --- .../components/compile_only.py | 8 ++++++- .../components/integration.py | 8 ++++++- .evergreen/generated_configs/variants.yml | 24 +++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.evergreen/config_generator/components/compile_only.py b/.evergreen/config_generator/components/compile_only.py index 46535a9aab..f0aeb7c649 100644 --- a/.evergreen/config_generator/components/compile_only.py +++ b/.evergreen/config_generator/components/compile_only.py @@ -5,7 +5,7 @@ from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str -from shrub.v3.evg_build_variant import BuildVariant +from shrub.v3.evg_build_variant import BuildVariant, DisplayTask from shrub.v3.evg_command import KeyValueParam, expansions_update from shrub.v3.evg_task import EvgTask, EvgTaskRef @@ -118,4 +118,10 @@ def variants(): name=f'{TAG}-matrix', display_name=f'{TAG}-matrix', tasks=tasks, + display_tasks=[ + DisplayTask( + name=f'{TAG}-matrix', + execution_tasks=[f'.{TAG}' + ''.join(f' !.{distro}' for distro in batched)], + ) + ], ) diff --git a/.evergreen/config_generator/components/integration.py b/.evergreen/config_generator/components/integration.py index 6da1d5fee7..c32bf6c475 100644 --- a/.evergreen/config_generator/components/integration.py +++ b/.evergreen/config_generator/components/integration.py @@ -9,7 +9,7 @@ from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str -from shrub.v3.evg_build_variant import BuildVariant +from shrub.v3.evg_build_variant import BuildVariant, DisplayTask from shrub.v3.evg_command import KeyValueParam, expansions_update from shrub.v3.evg_task import EvgTask, EvgTaskRef @@ -211,4 +211,10 @@ def variants(): name=f'{TAG}-matrix-{name}', display_name=f'{TAG}-matrix-{name}', tasks=tasks, + display_tasks=[ + DisplayTask( + name=f'{TAG}-matrix-{name}', + execution_tasks=[f'.{TAG}' + ''.join(f' !.{distro}' for distro in batched)], + ) + ], ) diff --git a/.evergreen/generated_configs/variants.yml b/.evergreen/generated_configs/variants.yml index eda581a863..7fb57928f5 100644 --- a/.evergreen/generated_configs/variants.yml +++ b/.evergreen/generated_configs/variants.yml @@ -30,6 +30,10 @@ buildvariants: - name: .clang-tidy - name: compile-only-matrix display_name: compile-only-matrix + display_tasks: + - name: compile-only-matrix + execution_tasks: + - .compile-only !.rhel8-power !.rhel8-zseries tasks: - name: .compile-only .rhel8-power batchtime: 1440 @@ -42,6 +46,10 @@ buildvariants: - name: .docker-build - name: integration-matrix-extra_alignment display_name: integration-matrix-extra_alignment + display_tasks: + - name: integration-matrix-extra_alignment + execution_tasks: + - .integration !.rhel8-power !.rhel8-zseries tasks: - name: .integration .extra_alignment .rhel8-power batchtime: 1440 @@ -50,6 +58,10 @@ buildvariants: - name: .integration .extra_alignment !.rhel8-power !.rhel8-zseries - name: integration-matrix-linux display_name: integration-matrix-linux + display_tasks: + - name: integration-matrix-linux + execution_tasks: + - .integration !.rhel8-power !.rhel8-zseries tasks: - name: .integration .linux !.mongocryptd !.extra_alignment .rhel8-power batchtime: 1440 @@ -58,10 +70,18 @@ buildvariants: - name: .integration .linux !.mongocryptd !.extra_alignment !.rhel8-power !.rhel8-zseries - name: integration-matrix-macos display_name: integration-matrix-macos + display_tasks: + - name: integration-matrix-macos + execution_tasks: + - .integration tasks: - name: .integration .macos !.mongocryptd !.extra_alignment - name: integration-matrix-mongocryptd display_name: integration-matrix-mongocryptd + display_tasks: + - name: integration-matrix-mongocryptd + execution_tasks: + - .integration !.rhel8-power !.rhel8-zseries tasks: - name: .integration .mongocryptd .rhel8-power batchtime: 1440 @@ -70,6 +90,10 @@ buildvariants: - name: .integration .mongocryptd !.rhel8-power !.rhel8-zseries - name: integration-matrix-windows display_name: integration-matrix-windows + display_tasks: + - name: integration-matrix-windows + execution_tasks: + - .integration tasks: - name: .integration .windows !.mongocryptd !.extra_alignment - name: lint From 223c3b9338da320297aa608588ea1378ca7c6c5e Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Mon, 10 Feb 2025 16:33:38 -0600 Subject: [PATCH 25/35] Ignore std::bad_alloc exceptions when allocating examples::big_string --- .../api/bsoncxx/examples/bson_errors/big_string.hh | 14 ++++++++++++++ .../examples/bson_errors/create_arr_append.cpp | 2 +- .../bson_errors/create_arr_append_sub_array.cpp | 2 +- .../bson_errors/create_arr_append_sub_document.cpp | 2 +- .../examples/bson_errors/create_doc_append.cpp | 2 +- .../bson_errors/create_doc_append_sub_array.cpp | 2 +- .../bson_errors/create_doc_append_sub_document.cpp | 2 +- 7 files changed, 20 insertions(+), 6 deletions(-) diff --git a/examples/api/bsoncxx/examples/bson_errors/big_string.hh b/examples/api/bsoncxx/examples/bson_errors/big_string.hh index 34559a19c9..d8d14af18e 100644 --- a/examples/api/bsoncxx/examples/bson_errors/big_string.hh +++ b/examples/api/bsoncxx/examples/bson_errors/big_string.hh @@ -19,6 +19,7 @@ #include #include +#include #include namespace examples { @@ -39,4 +40,17 @@ struct big_string { } }; +template +void with_big_string(Fn fn) { + bsoncxx::stdx::optional big_string_opt; + + try { + big_string_opt.emplace(); + } catch (std::bad_alloc const&) { + return; // Some environments may not support big string allocation. + } + + fn(big_string_opt->view()); +} + } // namespace examples diff --git a/examples/api/bsoncxx/examples/bson_errors/create_arr_append.cpp b/examples/api/bsoncxx/examples/bson_errors/create_arr_append.cpp index 392528d03e..9c6c760893 100644 --- a/examples/api/bsoncxx/examples/bson_errors/create_arr_append.cpp +++ b/examples/api/bsoncxx/examples/bson_errors/create_arr_append.cpp @@ -52,5 +52,5 @@ void example(bsoncxx::stdx::string_view big_string) { } // namespace RUNNER_REGISTER_COMPONENT() { - example(examples::big_string().view()); + examples::with_big_string(example); } diff --git a/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_array.cpp b/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_array.cpp index c29ca07431..b38c0017ca 100644 --- a/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_array.cpp +++ b/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_array.cpp @@ -70,5 +70,5 @@ void example(bsoncxx::stdx::string_view big_string) { } // namespace RUNNER_REGISTER_COMPONENT() { - example(examples::big_string().view()); + examples::with_big_string(example); } diff --git a/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_document.cpp b/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_document.cpp index ce5d46f075..b5ec875b91 100644 --- a/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_document.cpp +++ b/examples/api/bsoncxx/examples/bson_errors/create_arr_append_sub_document.cpp @@ -73,5 +73,5 @@ void example(bsoncxx::stdx::string_view big_string) { } // namespace RUNNER_REGISTER_COMPONENT() { - example(examples::big_string().view()); + examples::with_big_string(example); } diff --git a/examples/api/bsoncxx/examples/bson_errors/create_doc_append.cpp b/examples/api/bsoncxx/examples/bson_errors/create_doc_append.cpp index 8511a0c1af..2d0bde3863 100644 --- a/examples/api/bsoncxx/examples/bson_errors/create_doc_append.cpp +++ b/examples/api/bsoncxx/examples/bson_errors/create_doc_append.cpp @@ -55,5 +55,5 @@ void example(bsoncxx::stdx::string_view big_string) { } // namespace RUNNER_REGISTER_COMPONENT() { - example(examples::big_string().view()); + examples::with_big_string(example); } diff --git a/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_array.cpp b/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_array.cpp index 99aea6d526..6365983a18 100644 --- a/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_array.cpp +++ b/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_array.cpp @@ -75,5 +75,5 @@ void example(bsoncxx::stdx::string_view big_string) { } // namespace RUNNER_REGISTER_COMPONENT() { - example(examples::big_string().view()); + examples::with_big_string(example); } diff --git a/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_document.cpp b/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_document.cpp index 32c5fd7eff..9c4228d475 100644 --- a/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_document.cpp +++ b/examples/api/bsoncxx/examples/bson_errors/create_doc_append_sub_document.cpp @@ -74,5 +74,5 @@ void example(bsoncxx::stdx::string_view big_string) { } // namespace RUNNER_REGISTER_COMPONENT() { - example(examples::big_string().view()); + examples::with_big_string(example); } From 02a47a7a325f8ce5b8332de1688641e48dbae8a4 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Mon, 10 Feb 2025 16:33:38 -0600 Subject: [PATCH 26/35] Reduce tasks on limited distros to csfle, latest, replica only --- .../components/integration.py | 8 +- .evergreen/generated_configs/tasks.yml | 994 +----------------- 2 files changed, 23 insertions(+), 979 deletions(-) diff --git a/.evergreen/config_generator/components/integration.py b/.evergreen/config_generator/components/integration.py index c32bf6c475..e3ecf3c97d 100644 --- a/.evergreen/config_generator/components/integration.py +++ b/.evergreen/config_generator/components/integration.py @@ -31,13 +31,13 @@ # Linux ARM64: 4.4+. ('ubuntu2004-arm64', None, ['Debug'], ['shared', 'static'], [11, 17], [None], ['plain', 'csfle'], [False], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), - # Linux Power (shared only, C++11 only, min-max-latest). + # Linux Power. # RHEL 8 Power: 4.2+. - ('rhel8-power', None, ['Debug'], ['shared'], [11], [None], ['plain', 'csfle'], [False], ['4.2', '8.0', 'latest'], ['single', 'replica', 'sharded']), + ('rhel8-power', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [False], ['latest'], ['replica']), - # Linux zSeries (shared only, C++11 only, min-max-latest). + # Linux zSeries. # RHEL 8 zSeries: 5.0+. - ('rhel8-zseries', None, ['Debug'], ['shared'], [11], [None], ['plain', 'csfle'], [False], ['5.0', '8.0', 'latest'], ['single', 'replica', 'sharded']), + ('rhel8-zseries', None, ['Debug'], ['shared'], [11], [None], ['csfle'], [False], ['latest'], ['replica']), ] MACOS_MATRIX = [ diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index cb2a3f885d..416db0980d 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -4097,744 +4097,9 @@ tasks: MONGOCXX_TEST_TOPOLOGY: single REQUIRED_CXX_STANDARD: 11 example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-4.2-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, "4.2", replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: "4.2" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-4.2-sharded - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, "4.2", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "4.2" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-4.2-single - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, "4.2", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: "4.2" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-8.0-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, "8.0", replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-8.0-sharded - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, "8.0", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-8.0-single - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, "8.0", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-4.2-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "4.2", replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: "4.2" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-4.2-sharded - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "4.2", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "4.2" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-4.2-single - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "4.2", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: "4.2" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-8.0-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "8.0", replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-8.0-sharded - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "8.0", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-8.0-single - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, "8.0", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-extra_alignment-latest-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: latest - - func: install_c_driver - vars: - BSON_EXTRA_ALIGNMENT: 1 - SKIP_INSTALL_LIBMONGOCRYPT: 1 - - func: install-uv - - func: compile - vars: - BSON_EXTRA_ALIGNMENT: 1 - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-replica-mongocryptd - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, replica, mongocryptd] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - use_mongocryptd: true - - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-sharded - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-single - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-latest-replica - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, latest, replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-latest-sharded - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, latest, sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-power-debug-shared-cxx11-latest-single - run_on: rhel8-power-large - tags: [integration, rhel8-power, linux, debug, shared, cxx11, latest, single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-5.0-replica - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "5.0", replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: "5.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-5.0-sharded - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "5.0", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "5.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-5.0-single - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "5.0", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: "5.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-8.0-replica - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "8.0", replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-8.0-sharded - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "8.0", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-8.0-single - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, "8.0", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-5.0-replica - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "5.0", replica] + - name: integration-rhel8-power-debug-shared-cxx11-csfle-extra_alignment-latest-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] patchable: false commands: - command: expansions.update @@ -4845,82 +4110,28 @@ tasks: - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "5.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-5.0-sharded - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "5.0", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "5.0" + mongodb_version: latest - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-5.0-single - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "5.0", single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod vars: - mongodb_version: "5.0" - - func: install_c_driver + BSON_EXTRA_ALIGNMENT: 1 + SKIP_INSTALL_LIBMONGOCRYPT: 1 - func: install-uv - func: compile vars: + BSON_EXTRA_ALIGNMENT: 1 ENABLE_TESTS: "ON" REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - func: fetch-det - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-8.0-replica - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "8.0", replica] + - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-replica + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, replica] patchable: false commands: - command: expansions.update @@ -4931,7 +4142,7 @@ tasks: - func: start_mongod vars: TOPOLOGY: replica_set - mongodb_version: "8.0" + mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile @@ -4947,38 +4158,9 @@ tasks: REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-8.0-sharded - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "8.0", sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: "8.0" - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-8.0-single - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, "8.0", single] + - name: integration-rhel8-power-debug-shared-cxx11-csfle-latest-replica-mongocryptd + run_on: rhel8-power-large + tags: [integration, rhel8-power, linux, debug, shared, cxx11, csfle, latest, replica, mongocryptd] patchable: false commands: - command: expansions.update @@ -4988,7 +4170,8 @@ tasks: - func: setup - func: start_mongod vars: - mongodb_version: "8.0" + TOPOLOGY: replica_set + mongodb_version: latest - func: install_c_driver - func: install-uv - func: compile @@ -5000,10 +4183,11 @@ tasks: - func: run_kms_servers - func: test vars: - MONGOCXX_TEST_TOPOLOGY: single + MONGOCXX_TEST_TOPOLOGY: replica REQUIRED_CXX_STANDARD: 11 TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 11 + use_mongocryptd: true - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-extra_alignment-latest-replica run_on: rhel8-zseries-large tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, extra_alignment, latest, replica] @@ -5095,146 +4279,6 @@ tasks: TEST_WITH_CSFLE: "ON" example_projects_cxx_standard: 11 use_mongocryptd: true - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-latest-sharded - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, latest, sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-csfle-latest-single - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, csfle, latest, single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - TEST_WITH_CSFLE: "ON" - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-latest-replica - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, latest, replica] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: replica_set - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: replica - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-latest-sharded - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, latest, sharded] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - TOPOLOGY: sharded_cluster - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: sharded - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - - name: integration-rhel8-zseries-debug-shared-cxx11-latest-single - run_on: rhel8-zseries-large - tags: [integration, rhel8-zseries, linux, debug, shared, cxx11, latest, single] - patchable: false - commands: - - command: expansions.update - params: - updates: - - { key: build_type, value: Debug } - - func: setup - - func: start_mongod - vars: - mongodb_version: latest - - func: install_c_driver - - func: install-uv - - func: compile - vars: - ENABLE_TESTS: "ON" - REQUIRED_CXX_STANDARD: 11 - RUN_DISTCHECK: 1 - - func: fetch-det - - func: run_kms_servers - - func: test - vars: - MONGOCXX_TEST_TOPOLOGY: single - REQUIRED_CXX_STANDARD: 11 - example_projects_cxx_standard: 11 - name: integration-rhel80-debug-shared-cxx11-4.0-replica run_on: rhel80-large tags: [integration, rhel80, linux, debug, shared, cxx11, "4.0", replica] From d55582bff6cf51f0fb3d63ae0b56def0f9a00222 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:27 -0600 Subject: [PATCH 27/35] Revert "Use alignas instead of std::aligned_storage to address C2338" This reverts commit ce45e075bca6b8196283ff1396a6b435369a13e3. --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh | 2 +- src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh index 8ef6ec84de..73338c8c19 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh @@ -99,7 +99,7 @@ class stack { } private: - alignas(T) unsigned char _object_memory[sizeof(T) * size]; + typename std::aligned_storage::type _object_memory[size]; std::list _buckets; diff --git a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp index fbecf2ee66..233a11699a 100644 --- a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp +++ b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/instance.cpp @@ -74,7 +74,7 @@ void user_log_handler( // A region of memory that acts as a sentintel value indicating that an instance object is being // destroyed. We only care about the address of this object, never its contents. -alignas(instance) unsigned char sentinel[sizeof(instance)]; +typename std::aligned_storage::type sentinel; std::atomic current_instance{nullptr}; static_assert(std::is_standard_layout::value, "Must be standard layout"); From b95d51d0325eb1d584b0ba7faeb9be1ad943a280 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:28 -0600 Subject: [PATCH 28/35] Revert "Silence -Walign-mismatch warnings for stack::emplace_back" This reverts commit 62c766a7d2e1aa68475aeeeef844c3460b230d1c. --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh index 73338c8c19..7f29bec927 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh @@ -77,12 +77,7 @@ class stack { _inc(); } - // Alignment is handled by `_object_memory`. - BSONCXX_PRIVATE_WARNINGS_PUSH(); - BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wunknown-warning-option")); - BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Walign-mismatch")); new (_get_ptr()) T(std::forward(args)...); - BSONCXX_PRIVATE_WARNINGS_POP(); } void pop_back() { From 2f15461dec0d29b188da71f43c21e947b3e17933 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:28 -0600 Subject: [PATCH 29/35] Revert "Ensure alignment of data members of new-allocated objects" This reverts commit 02825544c1033d07ca8adffc60f40dda6208097c. --- .../bsoncxx/v_noabi/bsoncxx/builder/core.cpp | 42 +++++-------------- .../mongocxx/private/client_session.hh | 12 ++---- 2 files changed, 13 insertions(+), 41 deletions(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp index ddbbf2a160..f945babc20 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp @@ -15,7 +15,6 @@ #include #include -#include #include #include @@ -73,33 +72,14 @@ class managed_bson_t { class core::impl { public: - ~impl() { - _root_ptr->~managed_bson_t(); - } - - impl(impl&&) = delete; - impl& operator=(impl&&) = delete; - - impl(impl const&) = delete; - impl& operator=(impl const&) = delete; - - impl(bool is_array) - : _depth(0), - _root_is_array(is_array), - _n(0), - _root_ptr([this] { - void* ptr = _root_storage; - std::size_t space = sizeof(_root_storage); - return new (std::align(alignof(managed_bson_t), sizeof(managed_bson_t), ptr, space)) managed_bson_t(); - }()), - _has_user_key(false) {} + impl(bool is_array) : _depth(0), _root_is_array(is_array), _n(0), _has_user_key(false) {} void reinit() { while (!_stack.empty()) { _stack.pop_back(); } - bson_reinit(_root_ptr->get()); + bson_reinit(_root.get()); _depth = 0; @@ -115,8 +95,8 @@ class core::impl { } uint32_t buf_len; - uint8_t* buf_ptr = bson_destroy_with_steal(_root_ptr->get(), true, &buf_len); - bson_init(_root_ptr->get()); + uint8_t* buf_ptr = bson_destroy_with_steal(_root.get(), true, &buf_len); + bson_init(_root.get()); return bsoncxx::v_noabi::document::value{buf_ptr, buf_len, bson_free_deleter}; } @@ -128,15 +108,15 @@ class core::impl { } uint32_t buf_len; - uint8_t* buf_ptr = bson_destroy_with_steal(_root_ptr->get(), true, &buf_len); - bson_init(_root_ptr->get()); + uint8_t* buf_ptr = bson_destroy_with_steal(_root.get(), true, &buf_len); + bson_init(_root.get()); return bsoncxx::v_noabi::array::value{buf_ptr, buf_len, bson_free_deleter}; } bson_t* back() { if (_stack.empty()) { - return _root_ptr->get(); + return _root.get(); } else { return &_stack.back().bson; } @@ -198,7 +178,7 @@ class core::impl { throw bsoncxx::v_noabi::exception{error_code::k_cannot_perform_document_operation_on_array}; } - return _root_ptr->get(); + return _root.get(); } // Throws bsoncxx::v_noabi::exception if the top-level BSON datum is a document. @@ -207,7 +187,7 @@ class core::impl { throw bsoncxx::v_noabi::exception{error_code::k_cannot_perform_array_operation_on_document}; } - return _root_ptr->get(); + return _root.get(); } bool is_array() { @@ -259,9 +239,7 @@ class core::impl { bool _root_is_array; std::size_t _n; - - unsigned char _root_storage[2u * sizeof(managed_bson_t)]; - managed_bson_t* _root_ptr; + managed_bson_t _root; // The bottom frame of _stack has _root as its parent. stack _stack; diff --git a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh index d0c520dd7c..b3e2803aa8 100644 --- a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh +++ b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/private/client_session.hh @@ -17,7 +17,6 @@ #include #include -#include #include #include @@ -74,11 +73,7 @@ bool with_transaction_cpp_cb(mongoc_client_session_t*, void* ctx, bson_t** reply class client_session::impl { public: impl(mongocxx::v_noabi::client const* client, options::client_session const& session_options) - : _client(client), _options(session_options), _session_t(nullptr, nullptr), _empty_cluster_time_ptr([this] { - void* ptr = const_cast(static_cast(_empty_cluster_time_storage)); - std::size_t space = sizeof(_empty_cluster_time_storage); - return new (std::align(alignof(bson_t), sizeof(bson_t), ptr, space)) bson_t BSON_INITIALIZER; - }()) { + : _client(client), _options(session_options), _session_t(nullptr, nullptr) { // Create a mongoc_session_opts_t from session_options. std::unique_ptr opt_t{ libmongoc::session_opts_new(), libmongoc::session_opts_destroy}; @@ -128,7 +123,7 @@ class client_session::impl { return bsoncxx::helpers::view_from_bson_t(ct); } - return bsoncxx::helpers::view_from_bson_t(_empty_cluster_time_ptr); + return bsoncxx::helpers::view_from_bson_t(&_empty_cluster_time); } bsoncxx::v_noabi::types::b_timestamp operation_time() const noexcept { @@ -241,8 +236,7 @@ class client_session::impl { unique_session _session_t; - unsigned char _empty_cluster_time_storage[2u * sizeof(bson_t)]; - bson_t const* _empty_cluster_time_ptr; // Just a long-lasting empty bson_t. Destruction is not required. + bson_t _empty_cluster_time = BSON_INITIALIZER; }; } // namespace v_noabi From 9fb715e5c184a22be06ebaa4b87f1a5ac1a09ade Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:28 -0600 Subject: [PATCH 30/35] Revert "Silence -Wover-aligned warnings" This reverts commit 43c4c6a300db61667cb005a047e623cd79795d78. --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp | 6 ------ .../lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh | 6 ------ .../lib/mongocxx/v_noabi/mongocxx/client_session.cpp | 6 ------ 3 files changed, 18 deletions(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp index f945babc20..7cc4931c59 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/builder/core.cpp @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include - #include #include @@ -253,11 +251,7 @@ class core::impl { }; core::core(bool is_array) { - BSONCXX_PRIVATE_WARNINGS_PUSH(); - BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wover-aligned")); - BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4316)); _impl = make_unique(is_array); - BSONCXX_PRIVATE_WARNINGS_POP(); } core::core(core&&) noexcept = default; diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh index 33fc4eeb0b..e3b6927e1a 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/make_unique.hh @@ -37,10 +37,6 @@ namespace bsoncxx { namespace detail { -BSONCXX_PRIVATE_WARNINGS_PUSH(); -BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wover-aligned")); -BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4316)); - // Switch backend of make_unique by the type we are creating. // It would be easier to 'if constexpr' on whether we are an array and whether to direct-init or // value-init, but we don't have if-constexpr and we need it to guard against an uterance of a @@ -98,8 +94,6 @@ struct make_unique_impl {}; template struct make_unique_impl {}; -BSONCXX_PRIVATE_WARNINGS_POP(); - } // namespace detail } // namespace bsoncxx diff --git a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp index 96e459a042..e127ceb648 100644 --- a/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp +++ b/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/client_session.cpp @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include - #include #include @@ -27,14 +25,10 @@ namespace mongocxx { namespace v_noabi { // Private constructors. -BSONCXX_PRIVATE_WARNINGS_PUSH(); -BSONCXX_PRIVATE_WARNINGS_DISABLE(Clang("-Wover-aligned")); -BSONCXX_PRIVATE_WARNINGS_DISABLE(MSVC(4316)); client_session::client_session( mongocxx::v_noabi::client const* client, mongocxx::v_noabi::options::client_session const& options) : _impl(bsoncxx::make_unique(client, options)) {} -BSONCXX_PRIVATE_WARNINGS_POP(); client_session::client_session(client_session&&) noexcept = default; From 255fa1ce930fdb444d3ed5bf6307a2f95927e347 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:29 -0600 Subject: [PATCH 31/35] Revert "Fix missing alignment parameter to std::aligned_storage" This reverts commit 20f6543bbf7a3dba8f12311d3fe331798eb55768. --- src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh index 7f29bec927..173edaf6d2 100644 --- a/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh +++ b/src/bsoncxx/lib/bsoncxx/v_noabi/bsoncxx/private/stack.hh @@ -94,7 +94,7 @@ class stack { } private: - typename std::aligned_storage::type _object_memory[size]; + typename std::aligned_storage::type _object_memory[size]; std::list _buckets; From 4e798e4b720f758ee0e6a401385f754a55d9b254 Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:29 -0600 Subject: [PATCH 32/35] Update path to llvm-symbolizer for print_stacktrace=1 output --- .evergreen/scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/scripts/test.sh b/.evergreen/scripts/test.sh index 05195412e4..41a8e6961a 100755 --- a/.evergreen/scripts/test.sh +++ b/.evergreen/scripts/test.sh @@ -273,7 +273,7 @@ else if [[ "${TEST_WITH_ASAN:-}" == "ON" || "${TEST_WITH_UBSAN:-}" == "ON" ]]; then export ASAN_OPTIONS="detect_leaks=1" export UBSAN_OPTIONS="print_stacktrace=1" - export PATH="/usr/lib/llvm-3.8/bin:${PATH:-}" + export PATH="/opt/mongodbtoolchain/v4/bin:${PATH:-}" # llvm-symbolizer elif [[ "${TEST_WITH_VALGRIND:-}" == "ON" ]]; then if ! command -v valgrind >/dev/null; then if command -v yum >/dev/null; then From a8b5988ef4c0c0e5820dab8f56f92ce0f9666dce Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:27 -0600 Subject: [PATCH 33/35] Use consistent LLVM toolchain for compiler and symbolizer --- .../config_generator/components/sanitizers.py | 7 +- .evergreen/generated_configs/tasks.yml | 180 +++++++++--------- 2 files changed, 95 insertions(+), 92 deletions(-) diff --git a/.evergreen/config_generator/components/sanitizers.py b/.evergreen/config_generator/components/sanitizers.py index 491df55501..5d546c5c0c 100644 --- a/.evergreen/config_generator/components/sanitizers.py +++ b/.evergreen/config_generator/components/sanitizers.py @@ -7,7 +7,7 @@ from config_generator.components.funcs.start_mongod import StartMongod from config_generator.components.funcs.test import Test -from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str +from config_generator.etc.distros import find_large_distro, make_distro_str from shrub.v3.evg_build_variant import BuildVariant, DisplayTask from shrub.v3.evg_command import KeyValueParam, expansions_update @@ -33,6 +33,8 @@ def tasks(): res = [] compiler = 'clang' + cc_compiler = f'/opt/mongodbtoolchain/v4/bin/{compiler}' + cxx_compiler = f'/opt/mongodbtoolchain/v4/bin/{compiler}++' for distro_name, sanitizers, link_types, with_extra_aligns, mongodb_versions, topologies in MATRIX: for sanitizer, link_type, with_extra_align, mongodb_version, topology in product( @@ -57,7 +59,8 @@ def tasks(): tags += [mongodb_version, topology] updates = [KeyValueParam(key='build_type', value='Debug')] - updates += [KeyValueParam(key=key, value=value) for key, value in compiler_to_vars(compiler).items()] + updates += [KeyValueParam(key=key, value=value) + for key, value in [('cc_compiler', cc_compiler), ('cxx_compiler', cxx_compiler)]] icd_vars = {'SKIP_INSTALL_LIBMONGOCRYPT': 1} compile_vars = {'ENABLE_TESTS': 'ON'} diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 416db0980d..64dd63427b 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -14707,8 +14707,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14741,8 +14741,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14775,8 +14775,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14808,8 +14808,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14842,8 +14842,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14876,8 +14876,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14909,8 +14909,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14944,8 +14944,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -14979,8 +14979,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15013,8 +15013,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15048,8 +15048,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15083,8 +15083,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15117,8 +15117,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15152,8 +15152,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15187,8 +15187,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15221,8 +15221,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15255,8 +15255,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15289,8 +15289,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - func: setup - func: start_mongod vars: @@ -15322,8 +15322,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15357,8 +15357,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15392,8 +15392,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15426,8 +15426,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15461,8 +15461,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15496,8 +15496,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15530,8 +15530,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15566,8 +15566,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15602,8 +15602,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15637,8 +15637,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15673,8 +15673,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15709,8 +15709,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15744,8 +15744,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15780,8 +15780,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15816,8 +15816,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15851,8 +15851,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15886,8 +15886,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15921,8 +15921,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15955,8 +15955,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -15990,8 +15990,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16025,8 +16025,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16059,8 +16059,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16094,8 +16094,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16129,8 +16129,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16163,8 +16163,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16198,8 +16198,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod @@ -16233,8 +16233,8 @@ tasks: params: updates: - { key: build_type, value: Debug } - - { key: cc_compiler, value: clang } - - { key: cxx_compiler, value: clang++ } + - { key: cc_compiler, value: /opt/mongodbtoolchain/v4/bin/clang } + - { key: cxx_compiler, value: /opt/mongodbtoolchain/v4/bin/clang++ } - { key: USE_STATIC_LIBS, value: "1" } - func: setup - func: start_mongod From 00f3bbc0192b9231de1fe0a74bdda9f3cdbfd01d Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 13:19:27 -0600 Subject: [PATCH 34/35] Remove _GLIBCXX_USE_CXX11_ABI=0 from compile flags --- .../config_generator/components/sanitizers.py | 4 +- .evergreen/generated_configs/tasks.yml | 90 +++++++++---------- .evergreen/scripts/compile.sh | 2 - 3 files changed, 47 insertions(+), 49 deletions(-) diff --git a/.evergreen/config_generator/components/sanitizers.py b/.evergreen/config_generator/components/sanitizers.py index 5d546c5c0c..5afa5a7e6f 100644 --- a/.evergreen/config_generator/components/sanitizers.py +++ b/.evergreen/config_generator/components/sanitizers.py @@ -89,7 +89,7 @@ def tasks(): test_vars |= { 'TEST_WITH_ASAN': 'ON', - 'example_projects_cxxflags': '-D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer', + 'example_projects_cxxflags': '-fsanitize=address -fno-omit-frame-pointer', 'example_projects_ldflags': '-fsanitize=address', } @@ -100,7 +100,7 @@ def tasks(): test_vars |= { 'TEST_WITH_UBSAN': 'ON', - 'example_projects_cxxflags': '-D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer', + 'example_projects_cxxflags': '-fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer', 'example_projects_ldflags': '-fsanitize=undefined -fno-sanitize-recover=undefined', } diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 64dd63427b..067b980a93 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -14731,7 +14731,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-4.0-sharded run_on: rhel80-large @@ -14765,7 +14765,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-4.0-single run_on: rhel80-large @@ -14798,7 +14798,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-8.0-replica run_on: rhel80-large @@ -14832,7 +14832,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-8.0-sharded run_on: rhel80-large @@ -14866,7 +14866,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-8.0-single run_on: rhel80-large @@ -14899,7 +14899,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-4.0-replica run_on: rhel80-large @@ -14934,7 +14934,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-4.0-sharded run_on: rhel80-large @@ -14969,7 +14969,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-4.0-single run_on: rhel80-large @@ -15003,7 +15003,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-8.0-replica run_on: rhel80-large @@ -15038,7 +15038,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-8.0-sharded run_on: rhel80-large @@ -15073,7 +15073,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-8.0-single run_on: rhel80-large @@ -15107,7 +15107,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-latest-replica run_on: rhel80-large @@ -15142,7 +15142,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-latest-sharded run_on: rhel80-large @@ -15177,7 +15177,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-extra_alignment-latest-single run_on: rhel80-large @@ -15211,7 +15211,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-latest-replica run_on: rhel80-large @@ -15245,7 +15245,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-latest-sharded run_on: rhel80-large @@ -15279,7 +15279,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-shared-latest-single run_on: rhel80-large @@ -15312,7 +15312,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-4.0-replica run_on: rhel80-large @@ -15347,7 +15347,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-4.0-sharded run_on: rhel80-large @@ -15382,7 +15382,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-4.0-single run_on: rhel80-large @@ -15416,7 +15416,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-8.0-replica run_on: rhel80-large @@ -15451,7 +15451,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-8.0-sharded run_on: rhel80-large @@ -15486,7 +15486,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-8.0-single run_on: rhel80-large @@ -15520,7 +15520,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-4.0-replica run_on: rhel80-large @@ -15556,7 +15556,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-4.0-sharded run_on: rhel80-large @@ -15592,7 +15592,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-4.0-single run_on: rhel80-large @@ -15627,7 +15627,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-8.0-replica run_on: rhel80-large @@ -15663,7 +15663,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-8.0-sharded run_on: rhel80-large @@ -15699,7 +15699,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-8.0-single run_on: rhel80-large @@ -15734,7 +15734,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-latest-replica run_on: rhel80-large @@ -15770,7 +15770,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-latest-sharded run_on: rhel80-large @@ -15806,7 +15806,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-extra_alignment-latest-single run_on: rhel80-large @@ -15841,7 +15841,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-latest-replica run_on: rhel80-large @@ -15876,7 +15876,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-latest-sharded run_on: rhel80-large @@ -15911,7 +15911,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-asan-rhel80-clang-static-latest-single run_on: rhel80-large @@ -15945,7 +15945,7 @@ tasks: TEST_WITH_ASAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=address -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=address - name: sanitizers-ubsan-rhel80-clang-static-4.0-replica run_on: rhel80-large @@ -15980,7 +15980,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-4.0-sharded run_on: rhel80-large @@ -16015,7 +16015,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-4.0-single run_on: rhel80-large @@ -16049,7 +16049,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-8.0-replica run_on: rhel80-large @@ -16084,7 +16084,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-8.0-sharded run_on: rhel80-large @@ -16119,7 +16119,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-8.0-single run_on: rhel80-large @@ -16153,7 +16153,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-latest-replica run_on: rhel80-large @@ -16188,7 +16188,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-latest-sharded run_on: rhel80-large @@ -16223,7 +16223,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: sanitizers-ubsan-rhel80-clang-static-latest-single run_on: rhel80-large @@ -16257,7 +16257,7 @@ tasks: TEST_WITH_UBSAN: "ON" example_projects_cc: clang example_projects_cxx: clang++ - example_projects_cxxflags: -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer + example_projects_cxxflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fno-omit-frame-pointer example_projects_ldflags: -fsanitize=undefined -fno-sanitize-recover=undefined - name: scan-build-rhel80-std11-default run_on: rhel80-large diff --git a/.evergreen/scripts/compile.sh b/.evergreen/scripts/compile.sh index afd6120f46..dbafd4b255 100755 --- a/.evergreen/scripts/compile.sh +++ b/.evergreen/scripts/compile.sh @@ -184,7 +184,6 @@ if [[ "${OSTYPE:?}" != cygwin ]]; then if [[ "${USE_SANITIZER_ASAN:-}" == "ON" ]]; then cxx_flags=( "${cxx_flags_init[@]}" - -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=address -O1 -g -fno-omit-frame-pointer ) @@ -194,7 +193,6 @@ if [[ "${OSTYPE:?}" != cygwin ]]; then if [[ "${USE_SANITIZER_UBSAN:-}" == "ON" ]]; then cxx_flags=( "${cxx_flags_init[@]}" - -D_GLIBCXX_USE_CXX11_ABI=0 -fsanitize=undefined -fsanitize-blacklist="$(pwd)/../etc/ubsan.ignorelist" -fno-sanitize-recover=undefined From b468a81e8e9e2f23ea86dc9b8216d8c8744f38ee Mon Sep 17 00:00:00 2001 From: Ezra Chung Date: Tue, 11 Feb 2025 16:15:42 -0600 Subject: [PATCH 35/35] Fix typo in error message for valgrind --- .evergreen/scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/scripts/test.sh b/.evergreen/scripts/test.sh index 41a8e6961a..36fd8e1457 100755 --- a/.evergreen/scripts/test.sh +++ b/.evergreen/scripts/test.sh @@ -281,7 +281,7 @@ else elif command -v apt-get >/dev/null; then sudo apt-get install -q -y valgrind else - echo "Unknown how to valgrind on this distro: ${distro_id:?}" 1>&2 + echo "Unknown how to install valgrind on this distro: ${distro_id:?}" 1>&2 exit 1 fi fi