diff --git a/.evergreen/config_generator/components/abi_compliance_check.py b/.evergreen/config_generator/components/abi_compliance_check.py index 6c53ea0e25e..565ad388e98 100644 --- a/.evergreen/config_generator/components/abi_compliance_check.py +++ b/.evergreen/config_generator/components/abi_compliance_check.py @@ -1,14 +1,14 @@ from shrub.v3.evg_command import EvgCommandType, s3_put from shrub.v3.evg_task import EvgTask -from config_generator.components.funcs.install_uv import InstallUV +from config_generator.components.funcs.set_cache_dir import SetCacheDir from config_generator.etc.function import Function from config_generator.etc.utils import bash_exec class CheckABICompliance(Function): name = 'abi-compliance-check' - commands = [ + commands = SetCacheDir.commands + [ bash_exec( command_type=EvgCommandType.SETUP, working_dir='mongoc', @@ -19,7 +19,7 @@ class CheckABICompliance(Function): command_type=EvgCommandType.TEST, add_expansions_to_env=True, working_dir='mongoc', - include_expansions_in_env=['MONGO_C_DRIVER_CACHE_DIR', 'UV_INSTALL_DIR'], + include_expansions_in_env=['MONGO_C_DRIVER_CACHE_DIR'], script='.evergreen/scripts/abi-compliance-check.sh', ), s3_put( @@ -56,7 +56,6 @@ def tasks(): EvgTask( name=CheckABICompliance.name, commands=[ - InstallUV.call(), CheckABICompliance.call(), ], ) diff --git a/.evergreen/config_generator/components/c_std_compile.py b/.evergreen/config_generator/components/c_std_compile.py index d70aee0c361..b7b85c45c8d 100644 --- a/.evergreen/config_generator/components/c_std_compile.py +++ b/.evergreen/config_generator/components/c_std_compile.py @@ -2,7 +2,6 @@ from shrub.v3.evg_command import EvgCommandType from shrub.v3.evg_task import EvgTask, EvgTaskRef -from config_generator.components.funcs.install_uv import InstallUV from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str from config_generator.etc.function import Function from config_generator.etc.utils import bash_exec @@ -14,8 +13,7 @@ # fmt: off MATRIX = [ ('rhel80', 'clang', None, [99, 11, 17, ]), # Clang 7.0 - ('ubuntu2004', 'clang-10', None, [99, 11, 17, 23]), # Clang 10.0 (max: C2x) - ('rhel84', 'clang', None, [99, 11, 17, 23]), # Clang 11.0 (max: C2x) + # ('rhel84', 'clang', None, [99, 11, 17, 23]), # Clang 11.0 (max: C2x) # No uv binary available. ('ubuntu2204', 'clang-12', None, [99, 11, 17, 23]), # Clang 12.0 (max: C2x) ('rhel90', 'clang', None, [99, 11, 17, 23]), # Clang 13.0 (max: C2x) ('rhel91', 'clang', None, [99, 11, 17, 23]), # Clang 14.0 (max: C2x) @@ -26,9 +24,8 @@ ('rhel7-latest', 'gcc', None, [99, 11, ]), # GCC 4.8 (max: C11) ('rhel80', 'gcc', None, [99, 11, 17, ]), # GCC 8.2 (max: C17) - ('rhel84', 'gcc', None, [99, 11, 17, ]), # GCC 8.4 (max: C17) - ('ubuntu2004', 'gcc-9', None, [99, 11, 17, 23]), # GCC 9.4 (max: C2x) - ('debian11', 'gcc-10', None, [99, 11, 17, 23]), # GCC 10.2 (max: C2x) + # ('rhel84', 'gcc', None, [99, 11, 17, ]), # GCC 8.4 (max: C17) # No uv binary available. + # ('debian11', 'gcc-10', None, [99, 11, 17, 23]), # GCC 10.2 (max: C2x) # No uv binary available. ('rhel90', 'gcc', None, [99, 11, 17, 23]), # GCC 11.2 (max: C2x) ('rhel92', 'gcc', None, [99, 11, 17, 23]), # GCC 11.3 (max: C2x) ('rhel94', 'gcc', None, [99, 11, 17, 23]), # GCC 11.4 (max: C2x) @@ -91,7 +88,7 @@ def tasks(): name=task_name, run_on=distro.name, tags=tags + [f'std-c{std}'], - commands=[InstallUV.call(), StdCompile.call(vars=compile_vars | with_std)], + commands=[StdCompile.call(vars=compile_vars | with_std)], ) ) diff --git a/.evergreen/config_generator/components/clang_format.py b/.evergreen/config_generator/components/clang_format.py index 04e8833a9b1..658da762171 100644 --- a/.evergreen/config_generator/components/clang_format.py +++ b/.evergreen/config_generator/components/clang_format.py @@ -2,7 +2,6 @@ from shrub.v3.evg_command import EvgCommandType from shrub.v3.evg_task import EvgTask, EvgTaskRef -from config_generator.components.funcs.install_uv import InstallUV from config_generator.etc.distros import find_small_distro from config_generator.etc.function import Function from config_generator.etc.utils import bash_exec @@ -19,7 +18,7 @@ class ClangFormat(Function): env={ 'DRYRUN': '1', }, - script='PATH="${UV_INSTALL_DIR}:$PATH" uv run --frozen --only-group=format tools/format.py --mode=check', + script='uv run --frozen --only-group=format tools/format.py --mode=check', ), ] @@ -33,7 +32,6 @@ def tasks(): name=TAG, tags=[TAG], commands=[ - InstallUV.call(), ClangFormat.call(), ], ) diff --git a/.evergreen/config_generator/components/cse/openssl.py b/.evergreen/config_generator/components/cse/openssl.py index 8e33bd6b793..6d2a40a8aa5 100644 --- a/.evergreen/config_generator/components/cse/openssl.py +++ b/.evergreen/config_generator/components/cse/openssl.py @@ -14,19 +14,17 @@ # fmt: off COMPILE_MATRIX = [ # For test matrix. - ('rhel8-latest', 'gcc', None, ['cyrus']), - ('rhel8-zseries', 'gcc', None, ['cyrus']), # Big Endian. - ('ubuntu2004-arm64', 'gcc', None, ['cyrus']), - ('windows-vsCurrent', 'vs2022x64', None, ['cyrus']), + ('rhel8-latest', 'gcc', None, ['cyrus']), + ('rhel8-arm64-latest', 'gcc', None, ['cyrus']), + ('rhel8-zseries', 'gcc', None, ['cyrus']), # Big Endian. + ('windows-vsCurrent', 'vs2022x64', None, ['cyrus']), # For compile only. - ('debian11', 'clang', None, ['cyrus']), - ('debian11', 'gcc', None, ['cyrus']), + # ('debian11', 'clang', None, ['cyrus']), # No uv binary available. + # ('debian11', 'gcc', None, ['cyrus']), # No uv binary available. ('debian12', 'clang', None, ['cyrus']), ('debian12', 'gcc', None, ['cyrus']), ('rhel80', 'gcc', None, ['cyrus']), - ('ubuntu2004', 'gcc', None, ['cyrus']), - ('ubuntu2004', 'clang', None, ['cyrus']), ('ubuntu2204', 'gcc', None, ['cyrus']), ('ubuntu2204', 'clang-12', None, ['cyrus']), ('ubuntu2404', 'gcc', None, ['cyrus']), @@ -37,13 +35,13 @@ TEST_MATRIX = [ ('rhel8-latest', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica', 'sharded'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), - ('windows-vsCurrent', 'vs2022x64', None, 'cyrus', ['auth'], ['server', 'replica', 'sharded'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), - - # ubuntu2004-arm64 only provides 4.4+. - ('ubuntu2004-arm64', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica', 'sharded'], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), + # rhel8-arm64 only provides 4.4+. + ('rhel8-arm64-latest', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica', 'sharded'], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), # rhel8-zseries only provides 5.0+. Resource-limited: use sparingly. ('rhel8-zseries', 'gcc', None, 'cyrus', ['auth'], ['sharded'], ['5.0', 'latest']), + + ('windows-vsCurrent', 'vs2022x64', None, 'cyrus', ['auth'], ['server', 'replica', 'sharded'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), ] # fmt: on # pylint: enable=line-too-long diff --git a/.evergreen/config_generator/components/earthly.py b/.evergreen/config_generator/components/earthly.py index f38aba8cf74..30c09ae47f8 100644 --- a/.evergreen/config_generator/components/earthly.py +++ b/.evergreen/config_generator/components/earthly.py @@ -274,7 +274,7 @@ def earthly_task( CONTAINER_RUN_DISTROS = [ 'amazon2', - 'debian11-large', + # "debian11-large", # No uv binary available. 'debian12-large', 'ubuntu2204-large', 'ubuntu2404-large', diff --git a/.evergreen/config_generator/components/funcs/install_uv.py b/.evergreen/config_generator/components/funcs/install_uv.py deleted file mode 100644 index b167beb1902..00000000000 --- a/.evergreen/config_generator/components/funcs/install_uv.py +++ /dev/null @@ -1,56 +0,0 @@ -from shrub.v3.evg_command import EvgCommandType, expansions_update - -from config_generator.components.funcs.set_cache_dir import SetCacheDir -from config_generator.etc.function import Function -from config_generator.etc.utils import bash_exec - - -class InstallUV(Function): - name = 'install-uv' - commands = SetCacheDir.commands + [ - bash_exec( - command_type=EvgCommandType.SETUP, - script="""\ - set -o errexit - set -o pipefail - - version="0.8.13" - - if [[ ! -n "${MONGO_C_DRIVER_CACHE_DIR}" ]]; then - echo "MONGO_C_DRIVER_CACHE_DIR is not defined!" 1>&2 - exit 1 - fi - - uv_install_dir="${MONGO_C_DRIVER_CACHE_DIR}/uv-$version" - mkdir -p "$uv_install_dir" - - if ! command -v "$uv_install_dir/uv" 2>/dev/null; then - script="$(mktemp)" - cp -f mongoc/.evergreen/scripts/uv-installer.sh "$script" - chmod +x "$script" - ( - . mongoc/.evergreen/scripts/patch-uv-installer.sh - patch_uv_installer "$script" "$version" - ) - env \\ - UV_INSTALL_DIR="$uv_install_dir" \\ - UV_UNMANAGED_INSTALL=1 \\ - INSTALLER_PRINT_VERBOSE=1 \\ - "$script" - fi - - PATH="$uv_install_dir:$PATH" command -V uv - PATH="$uv_install_dir:$PATH" uv --version - - printf "UV_INSTALL_DIR: %s\\n" "$uv_install_dir" >|expansions.uv.yml - """, - ), - expansions_update( - command_type=EvgCommandType.SETUP, - file='expansions.uv.yml', - ), - ] - - -def functions(): - return InstallUV.defn() diff --git a/.evergreen/config_generator/components/funcs/run_simple_http_server.py b/.evergreen/config_generator/components/funcs/run_simple_http_server.py index 614c717add6..0d773e7b1cc 100644 --- a/.evergreen/config_generator/components/funcs/run_simple_http_server.py +++ b/.evergreen/config_generator/components/funcs/run_simple_http_server.py @@ -12,11 +12,10 @@ class RunSimpleHTTPServer(Function): command_type=command_type, background=True, working_dir='mongoc', - include_expansions_in_env=['UV_INSTALL_DIR'], script="""\ set -o errexit echo "Starting simple HTTP server..." - PATH="${UV_INSTALL_DIR}:$PATH" uvx python .evergreen/scripts/simple_http_server.py + uvx python .evergreen/scripts/simple_http_server.py echo "Starting simple HTTP server... done." """, ), diff --git a/.evergreen/config_generator/components/loadbalanced.py b/.evergreen/config_generator/components/loadbalanced.py index e64c30c67d3..29c687396fe 100644 --- a/.evergreen/config_generator/components/loadbalanced.py +++ b/.evergreen/config_generator/components/loadbalanced.py @@ -5,7 +5,6 @@ from config_generator.components.funcs.bootstrap_mongo_orchestration import BootstrapMongoOrchestration from config_generator.components.funcs.fetch_build import FetchBuild from config_generator.components.funcs.fetch_det import FetchDET -from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.run_simple_http_server import RunSimpleHTTPServer from config_generator.components.funcs.run_tests import RunTests from config_generator.components.funcs.upload_build import UploadBuild @@ -57,8 +56,12 @@ def make_test_task(auth: bool, ssl: bool, server_version: str): 'LOAD_BALANCER': 'on', } ), - InstallUV.call(), RunSimpleHTTPServer.call(), + # haproxy may not be available on the current distro. + bash_exec( + command_type=EvgCommandType.SETUP, + script='uv tool install haproxy-cli', + ), FunctionCall(func='start-load-balancer', vars={'MONGODB_URI': 'mongodb://localhost:27017,localhost:27018'}), RunTests().call( vars={ @@ -79,11 +82,10 @@ def tasks(): run_on=find_large_distro(_DISTRO_NAME).name, tags=['loadbalanced', _DISTRO_NAME, _COMPILER], commands=[ - InstallUV.call(), bash_exec( command_type=EvgCommandType.TEST, env={'CC': _COMPILER, 'CFLAGS': '-fno-omit-frame-pointer', 'SSL': 'OPENSSL'}, - include_expansions_in_env=['distro_id', 'UV_INSTALL_DIR'], + include_expansions_in_env=['distro_id'], working_dir='mongoc', script='.evergreen/scripts/compile.sh', ), diff --git a/.evergreen/config_generator/components/make_docs.py b/.evergreen/config_generator/components/make_docs.py index 155507cd010..371aa9eda6d 100644 --- a/.evergreen/config_generator/components/make_docs.py +++ b/.evergreen/config_generator/components/make_docs.py @@ -1,7 +1,6 @@ from shrub.v3.evg_command import EvgCommandType, s3_put from shrub.v3.evg_task import EvgTask -from config_generator.components.funcs.install_uv import InstallUV from config_generator.etc.function import Function, merge_defns from config_generator.etc.utils import bash_exec @@ -15,7 +14,7 @@ class MakeDocs(Function): include_expansions_in_env=['distro_id'], script="""\ # See SphinxBuild.cmake for EVG_DOCS_BUILD reasoning - PATH="${UV_INSTALL_DIR}:$PATH" uv run --frozen --only-group docs env EVG_DOCS_BUILD=1 .evergreen/scripts/build-docs.sh + uv run --frozen --only-group docs env EVG_DOCS_BUILD=1 .evergreen/scripts/build-docs.sh """, ), ] @@ -116,7 +115,6 @@ def tasks(): EvgTask( name='make-docs', commands=[ - InstallUV.call(), MakeDocs.call(), UploadDocs.call(), UploadManPages.call(), diff --git a/.evergreen/config_generator/components/mock_server.py b/.evergreen/config_generator/components/mock_server.py index d1fe4d3b04d..a1e230a0394 100644 --- a/.evergreen/config_generator/components/mock_server.py +++ b/.evergreen/config_generator/components/mock_server.py @@ -2,7 +2,6 @@ from shrub.v3.evg_command import EvgCommandType from shrub.v3.evg_task import EvgTask, EvgTaskRef -from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.run_simple_http_server import RunSimpleHTTPServer from config_generator.etc.utils import bash_exec @@ -13,7 +12,6 @@ def tasks(): name='mock-server-test', run_on='ubuntu2204-small', commands=[ - InstallUV.call(), RunSimpleHTTPServer.call(), bash_exec( command_type=EvgCommandType.TEST, diff --git a/.evergreen/config_generator/components/openssl_compat.py b/.evergreen/config_generator/components/openssl_compat.py index 68043171cfe..30ff8ed48e8 100644 --- a/.evergreen/config_generator/components/openssl_compat.py +++ b/.evergreen/config_generator/components/openssl_compat.py @@ -5,7 +5,6 @@ from shrub.v3.evg_task import EvgTask, EvgTaskRef from config_generator.components.funcs.fetch_source import FetchSource -from config_generator.components.funcs.install_uv import InstallUV from config_generator.etc.distros import find_large_distro, make_distro_str from config_generator.etc.function import Function from config_generator.etc.utils import bash_exec @@ -51,7 +50,6 @@ class OpenSSLSetup(Function): include_expansions_in_env=[ 'OPENSSL_USE_STATIC_LIBS', 'OPENSSL_VERSION', - 'UV_INSTALL_DIR', ], script='.evergreen/scripts/openssl-compat-check.sh', ), @@ -78,7 +76,6 @@ def tasks(): tags=[TAG, f'openssl-{version}', f'openssl-{link_type}', distro_name, compiler], commands=[ FetchSource.call(), - InstallUV.call(), OpenSSLSetup.call(vars=vars), FunctionCall(func='run auth tests'), ], @@ -99,7 +96,6 @@ def tasks(): tags=[TAG, f'openssl-fips-{version}', f'openssl-{link_type}', distro_name, compiler], commands=[ FetchSource.call(), - InstallUV.call(), OpenSSLSetup.call(vars=vars), FunctionCall(func='run auth tests'), ], diff --git a/.evergreen/config_generator/components/sasl/openssl.py b/.evergreen/config_generator/components/sasl/openssl.py index c880c98a295..9ff1b84d7ff 100644 --- a/.evergreen/config_generator/components/sasl/openssl.py +++ b/.evergreen/config_generator/components/sasl/openssl.py @@ -15,17 +15,16 @@ COMPILE_MATRIX = [ # For test matrix. ('amazon2023-arm64-latest-large-m8g', 'gcc', None, ['cyrus']), - ('rhel8-latest', 'gcc', None, ['cyrus']), - ('rhel8-power', 'gcc', None, ['cyrus']), - ('rhel8-zseries', 'gcc', None, ['cyrus']), - ('ubuntu2004-arm64', 'gcc', None, ['cyrus']), - ('windows-vsCurrent', 'vs2017x64', None, ['cyrus']), + ('rhel8-latest', 'gcc', None, ['cyrus']), + ('rhel8-arm64-latest', 'gcc', None, ['cyrus']), + ('rhel8-power', 'gcc', None, ['cyrus']), + ('rhel8-zseries', 'gcc', None, ['cyrus']), + ('windows-vsCurrent', 'vs2017x64', None, ['cyrus']), # For compile only. - ('debian11', 'gcc', None, ['cyrus']), + # ('debian11', 'gcc', None, ['cyrus']), # No uv binary available. ('debian12', 'gcc', None, ['cyrus']), ('rhel80', 'gcc', None, ['cyrus']), - ('ubuntu2004', 'clang', None, ['cyrus']), ('ubuntu2204', 'gcc', None, ['cyrus']), ('ubuntu2204', 'clang-12', None, ['cyrus']), ('ubuntu2404', 'gcc', None, ['cyrus']), @@ -33,12 +32,12 @@ ] TEST_MATRIX = [ - ('rhel8-latest', 'gcc', None, 'cyrus', ['auth'], ['server'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), - ('rhel8-power', 'gcc', None, 'cyrus', ['auth'], ['server'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), - ('rhel8-zseries', 'gcc', None, 'cyrus', ['auth'], ['server'], [ '5.0', '6.0', '7.0', '8.0', 'latest']), + ('rhel8-latest', 'gcc', None, 'cyrus', ['auth'], ['server'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), + ('rhel8-arm64-latest', 'gcc', None, 'cyrus', ['auth'], ['server'], [ '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), + ('rhel8-power', 'gcc', None, 'cyrus', ['auth'], ['server'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), + ('rhel8-zseries', 'gcc', None, 'cyrus', ['auth'], ['server'], [ '5.0', '6.0', '7.0', '8.0', 'latest']), - ('ubuntu2004-arm64', 'gcc', None, 'cyrus', ['auth'], ['server'], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), - ('windows-vsCurrent', 'vs2017x64', None, 'cyrus', ['auth'], ['server'], [ 'latest']), + ('windows-vsCurrent', 'vs2017x64', None, 'cyrus', ['auth'], ['server'], ['latest']), # Test with Graviton processor: ('amazon2023-arm64-latest-large-m8g', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica', 'sharded'], ['latest']), diff --git a/.evergreen/config_generator/components/scan_build.py b/.evergreen/config_generator/components/scan_build.py index 75791c96c72..bd1d8a78362 100644 --- a/.evergreen/config_generator/components/scan_build.py +++ b/.evergreen/config_generator/components/scan_build.py @@ -2,7 +2,6 @@ from shrub.v3.evg_command import EvgCommandType, FunctionCall from shrub.v3.evg_task import EvgTask, EvgTaskRef -from config_generator.components.funcs.install_uv import InstallUV from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str from config_generator.etc.function import Function from config_generator.etc.utils import bash_exec @@ -13,9 +12,9 @@ # pylint: disable=line-too-long # fmt: off MATRIX = [ - ('macos-14-arm64', 'clang', None ), - ('ubuntu2004-arm64', 'clang', None ), - ('ubuntu2004', 'clang', 'i686'), + ('macos-14-arm64', 'clang', None ), + ('ubuntu2204-arm64', 'clang', None ), + ('ubuntu2204', 'clang-12', 'i686'), ] # fmt: on # pylint: enable=line-too-long @@ -63,7 +62,6 @@ def tasks(): run_on=distro.name, tags=tags, commands=[ - InstallUV.call(), ScanBuild.call(vars=compile_vars if compile_vars else None), FunctionCall(func='upload scan artifacts'), ], diff --git a/.evergreen/config_generator/etc/compile.py b/.evergreen/config_generator/etc/compile.py index 812062d15f1..047582ddc3f 100644 --- a/.evergreen/config_generator/etc/compile.py +++ b/.evergreen/config_generator/etc/compile.py @@ -1,6 +1,5 @@ from shrub.v3.evg_task import EvgTask -from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.upload_build import UploadBuild from config_generator.etc.distros import compiler_to_vars, find_large_distro, make_distro_str @@ -34,7 +33,6 @@ def generate_compile_tasks(SSL, TAG, SASL_TO_FUNC, MATRIX, MORE_TAGS=None, MORE_ task_name = f'{tag}-{task_name}' commands = [] - commands.append(InstallUV.call()) commands.append(SASL_TO_FUNC[sasl].call(vars=compile_vars if compile_vars else None)) commands.append(UploadBuild.call()) diff --git a/.evergreen/config_generator/etc/cse/test.py b/.evergreen/config_generator/etc/cse/test.py index 46940f8790f..41ecf1032f2 100644 --- a/.evergreen/config_generator/etc/cse/test.py +++ b/.evergreen/config_generator/etc/cse/test.py @@ -6,7 +6,6 @@ from config_generator.components.funcs.bootstrap_mongo_orchestration import BootstrapMongoOrchestration from config_generator.components.funcs.fetch_build import FetchBuild from config_generator.components.funcs.fetch_det import FetchDET -from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.run_mock_kms_servers import RunMockKMSServers from config_generator.components.funcs.run_tests import RunTests from config_generator.etc.distros import compiler_to_vars, find_large_distro, find_small_distro, make_distro_str @@ -59,7 +58,6 @@ def generate_test_tasks(SSL, TAG, MATRIX): test_commands.append(expansions_update(updates=updates)) test_commands.append(FetchDET.call()) test_commands.append(BootstrapMongoOrchestration.call()) - test_commands.append(InstallUV.call()) test_commands.append(RunMockKMSServers.call()) test_commands.append(RunTests.call()) diff --git a/.evergreen/config_generator/etc/distros.py b/.evergreen/config_generator/etc/distros.py index bef2f731700..b4da44b8d4a 100644 --- a/.evergreen/config_generator/etc/distros.py +++ b/.evergreen/config_generator/etc/distros.py @@ -74,6 +74,10 @@ def ls_distro(name, **kwargs): *ls_distro(name='rhel95', os='rhel', os_type='linux', os_ver='9.5'), # rhel9-latest ] +RHEL_ARM64_DISTROS = [ + *ls_distro(name='rhel8-arm64-latest', os='rhel', os_type='linux', os_ver='8', arch='arm64'), +] + RHEL_POWER_DISTROS = [ *ls_distro(name='rhel8-power', os='rhel', os_type='linux', os_ver='8', arch='power'), ] @@ -89,7 +93,7 @@ def ls_distro(name, **kwargs): ] 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 = [ @@ -109,6 +113,7 @@ def ls_distro(name, **kwargs): *MACOS_DISTROS, *MACOS_ARM64_DISTROS, *RHEL_DISTROS, + *RHEL_ARM64_DISTROS, *RHEL_POWER_DISTROS, *RHEL_ZSERIES_DISTROS, *UBUNTU_DISTROS, diff --git a/.evergreen/config_generator/etc/sanitizers/test.py b/.evergreen/config_generator/etc/sanitizers/test.py index 44310d1b2c1..9042082114e 100644 --- a/.evergreen/config_generator/etc/sanitizers/test.py +++ b/.evergreen/config_generator/etc/sanitizers/test.py @@ -6,7 +6,6 @@ from config_generator.components.funcs.bootstrap_mongo_orchestration import BootstrapMongoOrchestration from config_generator.components.funcs.fetch_build import FetchBuild from config_generator.components.funcs.fetch_det import FetchDET -from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.run_mock_kms_servers import RunMockKMSServers from config_generator.components.funcs.run_simple_http_server import RunSimpleHTTPServer from config_generator.components.funcs.run_tests import RunTests @@ -80,7 +79,6 @@ def generate_test_tasks(SSL, TAG, MATRIX, MORE_COMPILE_TAGS=None, MORE_TEST_TAGS test_commands.append(expansions_update(updates=updates)) test_commands.append(FetchDET.call()) test_commands.append(BootstrapMongoOrchestration.call()) - test_commands.append(InstallUV.call()) test_commands.append(RunSimpleHTTPServer.call()) if 'cse' in MORE_COMPILE_TAGS: diff --git a/.evergreen/config_generator/etc/sasl/test.py b/.evergreen/config_generator/etc/sasl/test.py index f10473c7a4f..f6a56cd725e 100644 --- a/.evergreen/config_generator/etc/sasl/test.py +++ b/.evergreen/config_generator/etc/sasl/test.py @@ -6,7 +6,6 @@ from config_generator.components.funcs.bootstrap_mongo_orchestration import BootstrapMongoOrchestration from config_generator.components.funcs.fetch_build import FetchBuild from config_generator.components.funcs.fetch_det import FetchDET -from config_generator.components.funcs.install_uv import InstallUV from config_generator.components.funcs.run_simple_http_server import RunSimpleHTTPServer from config_generator.components.funcs.run_tests import RunTests from config_generator.etc.distros import compiler_to_vars, find_large_distro, find_small_distro, make_distro_str @@ -60,7 +59,6 @@ def generate_test_tasks(SSL, TAG, MATRIX): test_commands.append(expansions_update(updates=updates)) test_commands.append(FetchDET.call()) test_commands.append(BootstrapMongoOrchestration.call()) - test_commands.append(InstallUV.call()) test_commands.append(RunSimpleHTTPServer.call()) test_commands.append(RunTests.call()) diff --git a/.evergreen/generated_configs/functions.yml b/.evergreen/generated_configs/functions.yml index 45987fbabbc..a42b2725fa2 100644 --- a/.evergreen/generated_configs/functions.yml +++ b/.evergreen/generated_configs/functions.yml @@ -1,5 +1,36 @@ functions: abi-compliance-check: + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - | + if [[ -n "$XDG_CACHE_DIR" ]]; then + cache_dir="$XDG_CACHE_DIR" # XDG Base Directory specification. + elif [[ -n "$LOCALAPPDATA" ]]; then + cache_dir="$LOCALAPPDATA" # Windows. + elif [[ -n "$USERPROFILE" ]]; then + cache_dir="$USERPROFILE/.cache" # Windows (fallback). + elif [[ -d "$HOME/Library/Caches" ]]; then + cache_dir="$HOME/Library/Caches" # MacOS. + elif [[ -n "$HOME" ]]; then + cache_dir="$HOME/.cache" # Linux-like. + elif [[ -d ~/.cache ]]; then + cache_dir="~/.cache" # Linux-like (fallback). + else + cache_dir="$(pwd)/.cache" # EVG task directory (fallback). + fi + + mkdir -p "$cache_dir/mongo-c-driver" || exit + cache_dir="$(cd "$cache_dir/mongo-c-driver" && pwd)" || exit + + printf "MONGO_C_DRIVER_CACHE_DIR: %s\n" "$cache_dir" >|expansions.set-cache-dir.yml + - command: expansions.update + type: setup + params: + file: expansions.set-cache-dir.yml - command: subprocess.exec type: setup params: @@ -18,7 +49,6 @@ functions: add_expansions_to_env: true include_expansions_in_env: - MONGO_C_DRIVER_CACHE_DIR - - UV_INSTALL_DIR args: - -c - .evergreen/scripts/abi-compliance-check.sh @@ -93,7 +123,7 @@ functions: DRYRUN: "1" args: - -c - - PATH="${UV_INSTALL_DIR}:$PATH" uv run --frozen --only-group=format tools/format.py --mode=check + - uv run --frozen --only-group=format tools/format.py --mode=check cse-sasl-cyrus-darwinssl-compile: - command: expansions.update params: @@ -251,81 +281,6 @@ functions: for file in $(find .evergreen/scripts -type f); do chmod +rx "$file" || exit done - install-uv: - - command: subprocess.exec - type: setup - params: - binary: bash - args: - - -c - - | - if [[ -n "$XDG_CACHE_DIR" ]]; then - cache_dir="$XDG_CACHE_DIR" # XDG Base Directory specification. - elif [[ -n "$LOCALAPPDATA" ]]; then - cache_dir="$LOCALAPPDATA" # Windows. - elif [[ -n "$USERPROFILE" ]]; then - cache_dir="$USERPROFILE/.cache" # Windows (fallback). - elif [[ -d "$HOME/Library/Caches" ]]; then - cache_dir="$HOME/Library/Caches" # MacOS. - elif [[ -n "$HOME" ]]; then - cache_dir="$HOME/.cache" # Linux-like. - elif [[ -d ~/.cache ]]; then - cache_dir="~/.cache" # Linux-like (fallback). - else - cache_dir="$(pwd)/.cache" # EVG task directory (fallback). - fi - - mkdir -p "$cache_dir/mongo-c-driver" || exit - cache_dir="$(cd "$cache_dir/mongo-c-driver" && pwd)" || exit - - printf "MONGO_C_DRIVER_CACHE_DIR: %s\n" "$cache_dir" >|expansions.set-cache-dir.yml - - command: expansions.update - type: setup - params: - file: expansions.set-cache-dir.yml - - command: subprocess.exec - type: setup - params: - binary: bash - args: - - -c - - | - set -o errexit - set -o pipefail - - version="0.8.13" - - if [[ ! -n "${MONGO_C_DRIVER_CACHE_DIR}" ]]; then - echo "MONGO_C_DRIVER_CACHE_DIR is not defined!" 1>&2 - exit 1 - fi - - uv_install_dir="${MONGO_C_DRIVER_CACHE_DIR}/uv-$version" - mkdir -p "$uv_install_dir" - - if ! command -v "$uv_install_dir/uv" 2>/dev/null; then - script="$(mktemp)" - cp -f mongoc/.evergreen/scripts/uv-installer.sh "$script" - chmod +x "$script" - ( - . mongoc/.evergreen/scripts/patch-uv-installer.sh - patch_uv_installer "$script" "$version" - ) - env \ - UV_INSTALL_DIR="$uv_install_dir" \ - UV_UNMANAGED_INSTALL=1 \ - INSTALLER_PRINT_VERBOSE=1 \ - "$script" - fi - - PATH="$uv_install_dir:$PATH" command -V uv - PATH="$uv_install_dir:$PATH" uv --version - - printf "UV_INSTALL_DIR: %s\n" "$uv_install_dir" >|expansions.uv.yml - - command: expansions.update - type: setup - params: - file: expansions.uv.yml kms-divergence-check: - command: subprocess.exec type: test @@ -347,7 +302,7 @@ functions: - -c - | # See SphinxBuild.cmake for EVG_DOCS_BUILD reasoning - PATH="${UV_INSTALL_DIR}:$PATH" uv run --frozen --only-group docs env EVG_DOCS_BUILD=1 .evergreen/scripts/build-docs.sh + uv run --frozen --only-group docs env EVG_DOCS_BUILD=1 .evergreen/scripts/build-docs.sh openssl-compat: - command: subprocess.exec type: setup @@ -369,7 +324,6 @@ functions: include_expansions_in_env: - OPENSSL_USE_STATIC_LIBS - OPENSSL_VERSION - - UV_INSTALL_DIR args: - -c - .evergreen/scripts/openssl-compat-check.sh @@ -455,14 +409,12 @@ functions: binary: bash working_dir: mongoc background: true - include_expansions_in_env: - - UV_INSTALL_DIR args: - -c - | set -o errexit echo "Starting simple HTTP server..." - PATH="${UV_INSTALL_DIR}:$PATH" uvx python .evergreen/scripts/simple_http_server.py + uvx python .evergreen/scripts/simple_http_server.py echo "Starting simple HTTP server... done." run-tests: - command: subprocess.exec diff --git a/.evergreen/generated_configs/legacy-config.yml b/.evergreen/generated_configs/legacy-config.yml index 671f24d2453..653f602d480 100644 --- a/.evergreen/generated_configs/legacy-config.yml +++ b/.evergreen/generated_configs/legacy-config.yml @@ -88,7 +88,6 @@ functions: working_dir: mongoc include_expansions_in_env: - distro_id - - UV_INSTALL_DIR shell: bash script: |- set -o errexit @@ -97,7 +96,6 @@ functions: export BUILD_SAMPLE_WITH_CMAKE=${BUILD_SAMPLE_WITH_CMAKE} export ENABLE_SSL=${ENABLE_SSL} export ENABLE_SNAPPY=${ENABLE_SNAPPY} - PATH="${UV_INSTALL_DIR}:$PATH" LINK_STATIC= .evergreen/scripts/link-sample-program.sh LINK_STATIC=1 .evergreen/scripts/link-sample-program.sh link sample program bson: @@ -107,13 +105,11 @@ functions: working_dir: mongoc include_expansions_in_env: - distro_id - - UV_INSTALL_DIR shell: bash script: |- set -o errexit # Compile a program that links dynamically or statically to libbson, # using variables from pkg-config or from CMake's find_package command. - PATH="${UV_INSTALL_DIR}:$PATH" BUILD_SAMPLE_WITH_CMAKE= LINK_STATIC= .evergreen/scripts/link-sample-program-bson.sh BUILD_SAMPLE_WITH_CMAKE= LINK_STATIC=1 .evergreen/scripts/link-sample-program-bson.sh BUILD_SAMPLE_WITH_CMAKE=1 LINK_STATIC= .evergreen/scripts/link-sample-program-bson.sh @@ -131,7 +127,6 @@ functions: # find_package command. export ENABLE_SSL=${ENABLE_SSL} export ENABLE_SNAPPY=${ENABLE_SNAPPY} - PATH="${UV_INSTALL_DIR}:$PATH" LINK_STATIC= cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc.cmd LINK_STATIC=1 cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc.cmd link sample program mingw: @@ -144,7 +139,6 @@ functions: set -o errexit # Build libmongoc with CMake and compile a program that links # dynamically to it, using variables from pkg-config.exe. - PATH="${UV_INSTALL_DIR}:$PATH" cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-mingw.cmd link sample program MSVC bson: - command: shell.exec @@ -159,7 +153,6 @@ functions: # find_package command. export ENABLE_SSL=${ENABLE_SSL} export ENABLE_SNAPPY=${ENABLE_SNAPPY} - PATH="${UV_INSTALL_DIR}:$PATH" LINK_STATIC= cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc-bson.cmd LINK_STATIC=1 cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc-bson.cmd link sample program mingw bson: @@ -172,7 +165,6 @@ functions: set -o errexit # Build libmongoc with CMake and compile a program that links # dynamically to it, using variables from pkg-config.exe. - PATH="${UV_INSTALL_DIR}:$PATH" cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-mingw-bson.cmd update codecov.io: - command: shell.exec @@ -237,7 +229,6 @@ tasks: tags: - hardened commands: - - func: install-uv - command: shell.exec type: test params: @@ -253,7 +244,6 @@ tasks: - compression - zlib commands: - - func: install-uv - command: shell.exec type: test params: @@ -269,7 +259,6 @@ tasks: - compression - snappy commands: - - func: install-uv - command: shell.exec type: test params: @@ -285,7 +274,6 @@ tasks: - compression - zstd commands: - - func: install-uv - command: shell.exec type: test params: @@ -302,7 +290,6 @@ tasks: - nosasl - nossl commands: - - func: install-uv - command: shell.exec type: test params: @@ -315,7 +302,6 @@ tasks: - func: upload-build - name: debug-compile-lto commands: - - func: install-uv - command: shell.exec type: test params: @@ -328,7 +314,6 @@ tasks: - func: upload-build - name: debug-compile-lto-thin commands: - - func: install-uv - command: shell.exec type: test params: @@ -344,7 +329,6 @@ tasks: - debug-compile - no-counters commands: - - func: install-uv - command: shell.exec type: test params: @@ -357,7 +341,6 @@ tasks: - func: upload-build - name: compile-tracing commands: - - func: install-uv - command: shell.exec type: test params: @@ -370,7 +353,6 @@ tasks: - func: upload-build - name: release-compile commands: - - func: install-uv - command: shell.exec type: test params: @@ -387,7 +369,6 @@ tasks: - nosasl - openssl commands: - - func: install-uv - command: shell.exec type: test params: @@ -404,7 +385,6 @@ tasks: - debug-compile - nosasl commands: - - func: install-uv - command: shell.exec type: test params: @@ -421,7 +401,6 @@ tasks: - nosasl - winssl commands: - - func: install-uv - command: shell.exec type: test params: @@ -438,7 +417,6 @@ tasks: - openssl - sasl commands: - - func: install-uv - command: shell.exec type: test params: @@ -455,7 +433,6 @@ tasks: - debug-compile - sasl commands: - - func: install-uv - command: shell.exec type: test params: @@ -468,7 +445,6 @@ tasks: - func: upload-build - name: debug-compile-rdtscp commands: - - func: install-uv - command: shell.exec type: test params: @@ -485,7 +461,6 @@ tasks: - sspi - winssl commands: - - func: install-uv - command: shell.exec type: test params: @@ -500,7 +475,6 @@ tasks: tags: - debug-compile commands: - - func: install-uv - command: shell.exec type: test params: @@ -515,7 +489,6 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program vars: BUILD_SAMPLE_WITH_CMAKE: 1 @@ -523,7 +496,6 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program vars: BUILD_SAMPLE_WITH_CMAKE: 1 @@ -532,7 +504,6 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program vars: BUILD_SAMPLE_WITH_CMAKE: 1 @@ -541,7 +512,6 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program vars: BUILD_SAMPLE_WITH_CMAKE: 1 @@ -549,7 +519,6 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program MSVC - name: link-with-cmake-windows-ssl commands: @@ -557,7 +526,6 @@ tasks: - func: bootstrap-mongo-orchestration vars: SSL: openssl - - func: install-uv - func: link sample program MSVC vars: ENABLE_SSL: 1 @@ -565,7 +533,6 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program MSVC vars: ENABLE_SNAPPY: 'ON' @@ -573,43 +540,35 @@ tasks: commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program mingw - name: link-with-pkg-config commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program - name: link-with-pkg-config-mac commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program - name: link-with-pkg-config-ssl commands: - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: link sample program vars: ENABLE_SSL: 1 - name: link-with-bson commands: - - func: install-uv - func: link sample program bson - name: link-with-bson-mac commands: - - func: install-uv - func: link sample program bson - name: link-with-bson-windows commands: - - func: install-uv - func: link sample program MSVC bson - name: link-with-bson-mingw commands: - - func: install-uv - func: link sample program mingw bson - name: debian-package-build commands: @@ -717,7 +676,6 @@ tasks: .evergreen/scripts/build_snapshot_rpm.sh - name: debug-compile-with-warnings commands: - - func: install-uv - command: shell.exec type: test params: @@ -730,14 +688,12 @@ tasks: - func: upload-build - name: install-libmongoc-after-libbson commands: - - func: install-uv - command: shell.exec type: test params: working_dir: mongoc include_expansions_in_env: - distro_id - - UV_INSTALL_DIR shell: bash script: |- set -o errexit @@ -747,7 +703,6 @@ tasks: - latest - test-coverage commands: - - func: install-uv - func: compile coverage vars: SASL: AUTO @@ -773,7 +728,6 @@ tasks: - latest - test-coverage commands: - - func: install-uv - func: compile coverage vars: COMPILE_LIBMONGOCRYPT: 'ON' @@ -944,7 +898,6 @@ tasks: vars: AUTH: noauth SSL: nossl - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -967,7 +920,6 @@ tasks: vars: AUTH: noauth SSL: nossl - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -990,7 +942,6 @@ tasks: vars: AUTH: noauth SSL: nossl - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1009,7 +960,6 @@ tasks: vars: MONGODB_VERSION: latest TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1029,7 +979,6 @@ tasks: vars: MONGODB_VERSION: latest TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1087,7 +1036,6 @@ tasks: - asan - authentication-tests commands: - - func: install-uv - command: shell.exec type: test params: @@ -1118,7 +1066,6 @@ tasks: REQUIRE_API_VERSION: 'true' SSL: ssl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1143,7 +1090,6 @@ tasks: ORCHESTRATION_FILE: versioned-api-testing.json SSL: nossl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1168,7 +1114,6 @@ tasks: REQUIRE_API_VERSION: 'true' SSL: ssl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1193,7 +1138,6 @@ tasks: ORCHESTRATION_FILE: versioned-api-testing.json SSL: nossl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1218,7 +1162,6 @@ tasks: REQUIRE_API_VERSION: 'true' SSL: ssl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1243,7 +1186,6 @@ tasks: ORCHESTRATION_FILE: versioned-api-testing.json SSL: nossl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1268,7 +1210,6 @@ tasks: REQUIRE_API_VERSION: 'true' SSL: ssl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1293,7 +1234,6 @@ tasks: ORCHESTRATION_FILE: versioned-api-testing.json SSL: nossl TOPOLOGY: server - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1315,7 +1255,6 @@ tasks: BUILD_NAME: debug-compile-nosasl-nossl - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1335,7 +1274,6 @@ tasks: BUILD_NAME: debug-compile-nosasl-nossl - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1355,7 +1293,6 @@ tasks: BUILD_NAME: debug-compile-nosasl-nossl - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests vars: @@ -1375,14 +1312,12 @@ tasks: BUILD_NAME: debug-compile-nosasl-nossl - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests vars: URI: mongodb://localhost/ - name: debug-compile-aws commands: - - func: install-uv - command: shell.exec type: test params: @@ -1395,10 +1330,15 @@ tasks: set -o errexit set -o errexit set -o pipefail - PATH="${UV_INSTALL_DIR}:$PATH" # Use ccache if able. . .evergreen/scripts/find-ccache.sh find_ccache_and_export_vars "$(pwd)" || true + # Ubuntu 20.04 does not have uv. + if ! command -v uv >/dev/null; then + prefix="$(mktemp -d)" + python3 -m pip install --prefix "$prefix" uv + PATH="$prefix/bin:$PATH" + fi # Compile test-awsauth. Disable unnecessary dependencies since test-awsauth is copied to a remote Ubuntu 20.04 ECS cluster for testing, which may not have all dependent libraries. uvx cmake -DENABLE_TRACING=ON -DENABLE_SASL=OFF -DENABLE_SNAPPY=OFF -DENABLE_ZSTD=OFF -DENABLE_CLIENT_SIDE_ENCRYPTION=OFF -S . -B cmake-build uvx cmake --build cmake-build --target test-awsauth @@ -9826,7 +9766,6 @@ tasks: - name: testazurekms-task commands: - func: fetch-source - - func: install-uv - command: shell.exec params: add_expansions_to_env: true @@ -9869,7 +9808,6 @@ tasks: - name: testazurekms-fail-task commands: - func: fetch-source - - func: install-uv - command: shell.exec params: add_expansions_to_env: true @@ -9894,7 +9832,6 @@ tasks: - name: testgcpkms-task commands: - func: fetch-source - - func: install-uv - command: shell.exec params: add_expansions_to_env: true @@ -9934,7 +9871,6 @@ tasks: GCPKMS_CMD="LD_LIBRARY_PATH=./testgcpkms MONGODB_URI='mongodb://localhost:27017' ./testgcpkms/test-gcpkms" $DRIVERS_TOOLS/.evergreen/csfle/gcpkms/run-command.sh - name: testgcpkms-fail-task commands: - - func: install-uv - command: shell.exec params: add_expansions_to_env: true @@ -10043,9 +9979,9 @@ buildvariants: - name: abi-compliance-check display_name: ABI Compliance Check run_on: - - ubuntu2004-small - - ubuntu2004-medium - - ubuntu2004-large + - ubuntu2204-small + - ubuntu2204-medium + - ubuntu2204-large tasks: - abi-compliance-check - name: smoke @@ -10080,7 +10016,7 @@ buildvariants: - windows-vsCurrent-large - name: link-with-pkg-config distros: - - ubuntu2004-test + - ubuntu2204-test - name: link-with-pkg-config-mac distros: - macos-14-arm64 @@ -10100,22 +10036,12 @@ buildvariants: - install-libmongoc-after-libbson tags: - pr-merge-gate -- name: clang37 - display_name: clang 3.7 (Archlinux) - expansions: - CC: clang - run_on: archlinux-test - tasks: - - release-compile - - debug-compile-sasl-openssl - - debug-compile-nosasl-openssl - - .authentication-tests .openssl -- name: clang100-i686 - display_name: clang 10.0 (i686) (Ubuntu 20.04) +- name: clang12-i686 + display_name: Clang 12 (i686) (Ubuntu 22.04) expansions: - CC: clang + CC: clang-12 MARCH: i686 - run_on: ubuntu2004-test + run_on: ubuntu2204-large tasks: - release-compile - debug-compile-nosasl-nossl @@ -10135,30 +10061,30 @@ buildvariants: - debug-compile-sasl-openssl - .authentication-tests .openssl - .latest .nossl -- name: gcc102 - display_name: GCC 10.2 (Debian 11.0) +- name: gcc12 + display_name: GCC 12 (Debian 12.0) expansions: CC: gcc - run_on: debian11-large + run_on: debian12-large tasks: - release-compile - debug-compile-nosasl-nossl - .latest .nossl -- name: gcc94-i686 - display_name: GCC 9.4 (i686) (Ubuntu 20.04) +- name: gcc11-i686 + display_name: GCC 11 (i686) (Ubuntu 22.04) expansions: CC: gcc MARCH: i686 - run_on: ubuntu2004-test + run_on: ubuntu2204-large tasks: - release-compile - debug-compile-nosasl-nossl - .latest .nossl .nosasl -- name: gcc94 - display_name: GCC 9.4 (Ubuntu 20.04) +- name: gcc13 + display_name: GCC 13 (Ubuntu 24.04) expansions: CC: gcc - run_on: ubuntu2004-test + run_on: ubuntu2404-large tasks: - .compression !.zstd - debug-compile-nosrv @@ -10253,11 +10179,11 @@ buildvariants: - test-dns-openssl patchable: false batchtime: 1440 -- name: arm-ubuntu2004 - display_name: '*ARM (aarch64) (Ubuntu 20.04)' +- name: arm-ubuntu2204 + display_name: '*ARM (aarch64) (Ubuntu 22.04)' expansions: CC: gcc - run_on: ubuntu2004-arm64-large + run_on: ubuntu2204-arm64-large tasks: - .compression !.snappy !.zstd - release-compile @@ -10304,7 +10230,7 @@ buildvariants: - .test-aws .latest - name: ocsp display_name: OCSP tests - run_on: ubuntu2004-small + run_on: ubuntu2204-small tasks: - name: debug-compile-nosasl-openssl - name: debug-compile-nosasl-darwinssl @@ -10341,9 +10267,9 @@ buildvariants: - rhel90-arm64-small tags: - pr-merge-gate -- name: versioned-api-ubuntu2004 - display_name: Versioned API Tests (Ubuntu 20.04) - run_on: ubuntu2004-test +- name: versioned-api + display_name: Versioned API Tests + run_on: rhel8-latest-large tasks: - debug-compile-nosasl-openssl - debug-compile-nosasl-nossl @@ -10360,7 +10286,7 @@ buildvariants: batchtime: 20160 - name: testgcpkms-variant display_name: GCP KMS - run_on: debian11-small + run_on: debian12-small tasks: - testgcpkms_task_group - testgcpkms-fail-task diff --git a/.evergreen/generated_configs/tasks.yml b/.evergreen/generated_configs/tasks.yml index 7d270fae2bf..05057c96dd6 100644 --- a/.evergreen/generated_configs/tasks.yml +++ b/.evergreen/generated_configs/tasks.yml @@ -1,13 +1,11 @@ tasks: - name: abi-compliance-check commands: - - func: install-uv - func: abi-compliance-check - name: asan-cse-sasl-cyrus-openssl-rhel8-latest-clang-compile run_on: rhel8-latest-large tags: [sanitizers-matrix-asan, compile, rhel8-latest, clang, cse, asan, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: clang @@ -33,7 +31,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -58,7 +55,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -82,7 +78,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -107,7 +102,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -131,7 +125,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -156,7 +149,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -180,7 +172,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -205,7 +196,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -229,7 +219,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -254,7 +243,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -278,7 +266,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -303,7 +290,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -327,7 +313,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -352,7 +337,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -376,7 +360,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -401,7 +384,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -425,7 +407,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -450,7 +431,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -474,7 +454,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -499,7 +478,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -523,7 +501,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -548,7 +525,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -572,7 +548,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -597,7 +572,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -621,7 +595,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -646,7 +619,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -670,7 +642,6 @@ tasks: - { key: CLIENT_SIDE_ENCRYPTION, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -695,7 +666,6 @@ tasks: - { key: SKIP_CRYPT_SHARED_LIB, value: "on" } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-mock-kms-servers - func: run-tests @@ -703,7 +673,6 @@ tasks: run_on: rhel8-latest-large tags: [sanitizers-matrix-asan, compile, rhel8-latest, clang, asan, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: clang @@ -728,7 +697,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.2-server-auth @@ -750,7 +718,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.2-sharded-auth @@ -772,7 +739,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.4-replica-auth @@ -794,7 +760,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.4-server-auth @@ -816,7 +781,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.4-sharded-auth @@ -838,7 +802,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-5.0-replica-auth @@ -860,7 +823,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-5.0-server-auth @@ -882,7 +844,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-5.0-sharded-auth @@ -904,7 +865,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-6.0-replica-auth @@ -926,7 +886,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-6.0-server-auth @@ -948,7 +907,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-6.0-sharded-auth @@ -970,7 +928,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-7.0-replica-auth @@ -992,7 +949,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-7.0-server-auth @@ -1014,7 +970,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-7.0-sharded-auth @@ -1036,7 +991,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-8.0-replica-auth @@ -1058,7 +1012,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-8.0-server-auth @@ -1080,7 +1033,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-8.0-sharded-auth @@ -1102,7 +1054,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-latest-replica-auth @@ -1124,7 +1075,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-latest-server-auth @@ -1146,7 +1096,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: asan-sasl-cyrus-openssl-rhel8-latest-clang-test-latest-sharded-auth @@ -1168,7 +1117,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: check-headers @@ -1177,7 +1125,6 @@ tasks: - name: "check:sasl=Cyrus\_\u2022\_tls=OpenSSL\_\u2022\_test_mongocxx_ref=master" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1220,7 +1167,6 @@ tasks: - name: "check:sasl=Cyrus\_\u2022\_tls=OpenSSL\_\u2022\_test_mongocxx_ref=none" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1263,7 +1209,6 @@ tasks: - name: "check:sasl=Cyrus\_\u2022\_tls=OpenSSL\_\u2022\_test_mongocxx_ref=r4.1.0" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1306,7 +1251,6 @@ tasks: - name: "check:sasl=Cyrus\_\u2022\_tls=off\_\u2022\_test_mongocxx_ref=master" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1349,7 +1293,6 @@ tasks: - name: "check:sasl=Cyrus\_\u2022\_tls=off\_\u2022\_test_mongocxx_ref=none" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1392,7 +1335,6 @@ tasks: - name: "check:sasl=Cyrus\_\u2022\_tls=off\_\u2022\_test_mongocxx_ref=r4.1.0" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1435,7 +1377,6 @@ tasks: - name: "check:sasl=off\_\u2022\_tls=OpenSSL\_\u2022\_test_mongocxx_ref=master" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1478,7 +1419,6 @@ tasks: - name: "check:sasl=off\_\u2022\_tls=OpenSSL\_\u2022\_test_mongocxx_ref=none" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1521,7 +1461,6 @@ tasks: - name: "check:sasl=off\_\u2022\_tls=OpenSSL\_\u2022\_test_mongocxx_ref=r4.1.0" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1564,7 +1503,6 @@ tasks: - name: "check:sasl=off\_\u2022\_tls=off\_\u2022\_test_mongocxx_ref=master" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1607,7 +1545,6 @@ tasks: - name: "check:sasl=off\_\u2022\_tls=off\_\u2022\_test_mongocxx_ref=none" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1650,7 +1587,6 @@ tasks: - name: "check:sasl=off\_\u2022\_tls=off\_\u2022\_test_mongocxx_ref=r4.1.0" run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large @@ -1693,13 +1629,11 @@ tasks: - name: clang-format tags: [clang-format] commands: - - func: install-uv - func: clang-format - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-compile run_on: macos-14-arm64 tags: [cse-matrix-darwinssl, compile, macos-14-arm64, clang, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-darwinssl-compile vars: CC: clang @@ -1724,7 +1658,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-6.0-server-auth @@ -1746,7 +1679,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-6.0-sharded-auth @@ -1768,7 +1700,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-7.0-replica-auth @@ -1790,7 +1721,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-7.0-server-auth @@ -1812,7 +1742,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-7.0-sharded-auth @@ -1834,7 +1763,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-8.0-replica-auth @@ -1856,7 +1784,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-8.0-server-auth @@ -1878,7 +1805,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-8.0-sharded-auth @@ -1900,7 +1826,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-latest-replica-auth @@ -1922,7 +1847,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-latest-server-auth @@ -1944,7 +1868,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-arm64-clang-test-latest-sharded-auth @@ -1966,14 +1889,12 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-clang-compile run_on: macos-14 tags: [cse-matrix-darwinssl, compile, macos-14, clang, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-darwinssl-compile vars: CC: clang @@ -1998,7 +1919,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-clang-test-4.4-sharded-auth @@ -2020,7 +1940,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-darwinssl-macos-14-clang-test-5.0-sharded-auth @@ -2042,34 +1961,12 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-debian11-clang-compile - run_on: debian11-large - tags: [cse-matrix-openssl, compile, debian11, clang, cse, sasl-cyrus] - commands: - - func: install-uv - - func: cse-sasl-cyrus-openssl-compile - vars: - CC: clang - CXX: clang++ - - func: upload-build - - name: cse-sasl-cyrus-openssl-debian11-gcc-compile - run_on: debian11-large - tags: [cse-matrix-openssl, compile, debian11, gcc, cse, sasl-cyrus] - commands: - - func: install-uv - - func: cse-sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - name: cse-sasl-cyrus-openssl-debian12-clang-compile run_on: debian12-large tags: [cse-matrix-openssl, compile, debian12, clang, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: clang @@ -2079,421 +1976,410 @@ tasks: run_on: debian12-large tags: [cse-matrix-openssl, compile, debian12, gcc, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: gcc CXX: g++ - func: upload-build - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, compile, rhel8-latest, gcc, cse, sasl-cyrus] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + run_on: rhel8-arm64-latest-large + tags: [cse-matrix-openssl, compile, rhel8-arm64-latest, gcc, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: gcc CXX: g++ - func: upload-build - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-replica-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "4.2", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-replica-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, replica, "4.4", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.2" } + - { key: MONGODB_VERSION, value: "4.4" } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-server-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "4.2", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-server-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, server, "4.4", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.2" } + - { key: MONGODB_VERSION, value: "4.4" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-sharded-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "4.2", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-sharded-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, sharded, "4.4", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.2" } + - { key: MONGODB_VERSION, value: "4.4" } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-replica-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "4.4", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-replica-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, replica, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.4" } + - { key: MONGODB_VERSION, value: "5.0" } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-server-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "4.4", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, server, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.4" } + - { key: MONGODB_VERSION, value: "5.0" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-sharded-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "4.4", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-sharded-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, sharded, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.4" } + - { key: MONGODB_VERSION, value: "5.0" } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-replica-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-replica-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, replica, "6.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } + - { key: MONGODB_VERSION, value: "6.0" } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-server-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, server, "6.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } + - { key: MONGODB_VERSION, value: "6.0" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-sharded-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-sharded-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, sharded, "6.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } + - { key: MONGODB_VERSION, value: "6.0" } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-replica-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "6.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-replica-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, replica, "7.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "6.0" } + - { key: MONGODB_VERSION, value: "7.0" } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-server-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "6.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, server, "7.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "6.0" } + - { key: MONGODB_VERSION, value: "7.0" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-sharded-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "6.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-sharded-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, sharded, "7.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "6.0" } + - { key: MONGODB_VERSION, value: "7.0" } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-replica-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "7.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-replica-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, replica, "8.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "7.0" } + - { key: MONGODB_VERSION, value: "8.0" } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-server-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "7.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, server, "8.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "7.0" } + - { key: MONGODB_VERSION, value: "8.0" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-sharded-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "7.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-sharded-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, sharded, "8.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "7.0" } + - { key: MONGODB_VERSION, value: "8.0" } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-replica-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "8.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-replica-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, replica, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "8.0" } + - { key: MONGODB_VERSION, value: latest } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-server-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "8.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-server-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, server, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "8.0" } + - { key: MONGODB_VERSION, value: latest } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-sharded-auth - run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "8.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-sharded-auth + run_on: rhel8-arm64-latest-small + tags: [cse-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, cse, auth, sharded, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "8.0" } + - { key: MONGODB_VERSION, value: latest } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, latest, openssl] + tags: [cse-matrix-openssl, compile, rhel8-latest, gcc, cse, sasl-cyrus] + commands: + - func: cse-sasl-cyrus-openssl-compile + vars: + CC: gcc + CXX: g++ + - func: upload-build + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "4.2", openssl] depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build @@ -2505,17 +2391,16 @@ tasks: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } + - { key: MONGODB_VERSION, value: "4.2" } - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-server-auth run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, latest, openssl] + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "4.2", openssl] depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build @@ -2527,17 +2412,16 @@ tasks: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } + - { key: MONGODB_VERSION, value: "4.2" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-sharded-auth + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-sharded-auth run_on: rhel8-latest-large - tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, latest, openssl] + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "4.2", openssl] depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build @@ -2549,99 +2433,63 @@ tasks: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } + - { key: MONGODB_VERSION, value: "4.2" } - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile - run_on: rhel8-zseries-large - tags: [cse-matrix-openssl, compile, rhel8-zseries, gcc, cse, sasl-cyrus] - patchable: false - commands: - - func: install-uv - - func: cse-sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-test-5.0-sharded-auth - run_on: rhel8-zseries-small - tags: [cse-matrix-openssl, test, rhel8-zseries, gcc, sasl-cyrus, cse, auth, sharded, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile }] - patchable: false + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "4.4", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: "4.4" } + - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-test-latest-sharded-auth - run_on: rhel8-zseries-small - tags: [cse-matrix-openssl, test, rhel8-zseries, gcc, sasl-cyrus, cse, auth, sharded, latest, openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile }] - patchable: false + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-server-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "4.4", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: "4.4" } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-rhel80-gcc-compile - run_on: rhel80-large - tags: [cse-matrix-openssl, compile, rhel80, gcc, cse, sasl-cyrus] - commands: - - func: install-uv - - func: cse-sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - run_on: ubuntu2004-arm64-large - tags: [cse-matrix-openssl, compile, ubuntu2004-arm64, gcc, cse, sasl-cyrus] - commands: - - func: install-uv - - func: cse-sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-replica-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, replica, "4.4", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-sharded-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "4.4", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: @@ -2649,65 +2497,62 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: "4.4" } - - { key: TOPOLOGY, value: replica_set } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-server-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, server, "4.4", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.4" } - - { key: TOPOLOGY, value: server } + - { key: MONGODB_VERSION, value: "5.0" } + - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-sharded-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, sharded, "4.4", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-server-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.4" } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: "5.0" } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-replica-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, replica, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-sharded-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: @@ -2715,65 +2560,62 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: "5.0" } - - { key: TOPOLOGY, value: replica_set } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, server, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "6.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } - - { key: TOPOLOGY, value: server } + - { key: MONGODB_VERSION, value: "6.0" } + - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-sharded-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, sharded, "5.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-server-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "6.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: "6.0" } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-replica-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, replica, "6.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-sharded-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "6.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: @@ -2781,65 +2623,62 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: "6.0" } - - { key: TOPOLOGY, value: replica_set } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, server, "6.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "7.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "6.0" } - - { key: TOPOLOGY, value: server } + - { key: MONGODB_VERSION, value: "7.0" } + - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-sharded-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, sharded, "6.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-server-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "7.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "6.0" } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: "7.0" } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-replica-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, replica, "7.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-sharded-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "7.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: @@ -2847,65 +2686,62 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: "7.0" } - - { key: TOPOLOGY, value: replica_set } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, server, "7.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, "8.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "7.0" } - - { key: TOPOLOGY, value: server } + - { key: MONGODB_VERSION, value: "8.0" } + - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-sharded-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, sharded, "7.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-server-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, "8.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "7.0" } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: "8.0" } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-replica-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, replica, "8.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-sharded-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, "8.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: @@ -2913,65 +2749,62 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: "8.0" } - - { key: TOPOLOGY, value: replica_set } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, server, "8.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-replica-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, replica, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "8.0" } - - { key: TOPOLOGY, value: server } + - { key: MONGODB_VERSION, value: latest } + - { key: TOPOLOGY, value: replica_set } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-sharded-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, sharded, "8.0", openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-server-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, server, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "8.0" } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: MONGODB_VERSION, value: latest } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-replica-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, replica, latest, openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-sharded-auth + run_on: rhel8-latest-large + tags: [cse-matrix-openssl, test, rhel8-latest, gcc, sasl-cyrus, cse, auth, sharded, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - command: expansions.update params: updates: @@ -2979,43 +2812,53 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: latest } - - { key: TOPOLOGY, value: replica_set } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-server-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, server, latest, openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile + run_on: rhel8-zseries-large + tags: [cse-matrix-openssl, compile, rhel8-zseries, gcc, cse, sasl-cyrus] + patchable: false + commands: + - func: cse-sasl-cyrus-openssl-compile + vars: + CC: gcc + CXX: g++ + - func: upload-build + - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-test-5.0-sharded-auth + run_on: rhel8-zseries-small + tags: [cse-matrix-openssl, test, rhel8-zseries, gcc, sasl-cyrus, cse, auth, sharded, "5.0", openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile }] + patchable: false commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } - - { key: TOPOLOGY, value: server } + - { key: MONGODB_VERSION, value: "5.0" } + - { key: TOPOLOGY, value: sharded_cluster } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-sharded-auth - run_on: ubuntu2004-arm64-small - tags: [cse-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, cse, auth, sharded, latest, openssl] - depends_on: [{ name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] + - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-test-latest-sharded-auth + run_on: rhel8-zseries-small + tags: [cse-matrix-openssl, test, rhel8-zseries, gcc, sasl-cyrus, cse, auth, sharded, latest, openssl] + depends_on: [{ name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile }] + patchable: false commands: - func: fetch-build vars: - BUILD_NAME: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile + BUILD_NAME: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-compile - command: expansions.update params: updates: @@ -3027,24 +2870,12 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - - name: cse-sasl-cyrus-openssl-ubuntu2004-clang-compile - run_on: ubuntu2004-large - tags: [cse-matrix-openssl, compile, ubuntu2004, clang, cse, sasl-cyrus] - commands: - - func: install-uv - - func: cse-sasl-cyrus-openssl-compile - vars: - CC: clang - CXX: clang++ - - func: upload-build - - name: cse-sasl-cyrus-openssl-ubuntu2004-gcc-compile - run_on: ubuntu2004-large - tags: [cse-matrix-openssl, compile, ubuntu2004, gcc, cse, sasl-cyrus] + - name: cse-sasl-cyrus-openssl-rhel80-gcc-compile + run_on: rhel80-large + tags: [cse-matrix-openssl, compile, rhel80, gcc, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: gcc @@ -3054,7 +2885,6 @@ tasks: run_on: ubuntu2204-large tags: [cse-matrix-openssl, compile, ubuntu2204, clang-12, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: clang-12 @@ -3064,7 +2894,6 @@ tasks: run_on: ubuntu2204-large tags: [cse-matrix-openssl, compile, ubuntu2204, gcc, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: gcc @@ -3074,7 +2903,6 @@ tasks: run_on: ubuntu2404-large tags: [cse-matrix-openssl, compile, ubuntu2404, clang-14, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: clang-14 @@ -3084,7 +2912,6 @@ tasks: run_on: ubuntu2404-large tags: [cse-matrix-openssl, compile, ubuntu2404, gcc, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CC: gcc @@ -3094,7 +2921,6 @@ tasks: run_on: windows-vsCurrent-large tags: [cse-matrix-openssl, compile, windows-vsCurrent, vs2022x64, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-openssl-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -3119,7 +2945,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-4.2-server-auth @@ -3141,7 +2966,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-4.2-sharded-auth @@ -3163,7 +2987,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-4.4-replica-auth @@ -3185,7 +3008,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-4.4-server-auth @@ -3207,7 +3029,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-4.4-sharded-auth @@ -3229,7 +3050,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-5.0-replica-auth @@ -3251,7 +3071,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-5.0-server-auth @@ -3273,7 +3092,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-5.0-sharded-auth @@ -3295,7 +3113,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-6.0-replica-auth @@ -3317,7 +3134,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-6.0-server-auth @@ -3339,7 +3155,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-6.0-sharded-auth @@ -3361,7 +3176,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-7.0-replica-auth @@ -3383,7 +3197,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-7.0-server-auth @@ -3405,7 +3218,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-7.0-sharded-auth @@ -3427,7 +3239,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-8.0-replica-auth @@ -3449,7 +3260,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-8.0-server-auth @@ -3471,7 +3281,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-8.0-sharded-auth @@ -3493,7 +3302,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-latest-replica-auth @@ -3515,7 +3323,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-latest-server-auth @@ -3537,7 +3344,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-openssl-windows-2019-vs2022-x64-test-latest-sharded-auth @@ -3559,14 +3365,12 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2015-x64-compile run_on: windows-vsCurrent-large tags: [cse-matrix-winssl, compile, windows-vsCurrent, vs2015x64, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 14 2015 @@ -3591,7 +3395,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2015-x64-test-latest-sharded-auth @@ -3613,14 +3416,12 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-compile run_on: windows-vsCurrent-large tags: [cse-matrix-winssl, compile, windows-vsCurrent, vs2022x64, cse, sasl-cyrus] commands: - - func: install-uv - func: cse-sasl-cyrus-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -3645,7 +3446,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-4.2-server-auth @@ -3667,7 +3467,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-4.2-sharded-auth @@ -3689,7 +3488,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-4.4-replica-auth @@ -3711,7 +3509,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-4.4-server-auth @@ -3733,7 +3530,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-4.4-sharded-auth @@ -3755,7 +3551,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-5.0-replica-auth @@ -3777,7 +3572,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-5.0-server-auth @@ -3799,7 +3593,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-5.0-sharded-auth @@ -3821,7 +3614,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-6.0-replica-auth @@ -3843,7 +3635,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-6.0-server-auth @@ -3865,7 +3656,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-6.0-sharded-auth @@ -3887,7 +3677,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-7.0-replica-auth @@ -3909,7 +3698,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-7.0-server-auth @@ -3931,7 +3719,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-7.0-sharded-auth @@ -3953,7 +3740,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-8.0-replica-auth @@ -3975,7 +3761,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-8.0-server-auth @@ -3997,7 +3782,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-8.0-sharded-auth @@ -4019,7 +3803,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-latest-replica-auth @@ -4041,7 +3824,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-latest-server-auth @@ -4063,7 +3845,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: cse-sasl-cyrus-winssl-windows-2019-vs2022-x64-test-latest-sharded-auth @@ -4085,7 +3866,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-mock-kms-servers - func: run-tests - name: kms-divergence-check @@ -4095,7 +3875,6 @@ tasks: run_on: rhel8-latest-large tags: [loadbalanced, rhel8-latest, gcc] commands: - - func: install-uv - command: subprocess.exec type: test params: @@ -4107,7 +3886,6 @@ tasks: SSL: OPENSSL include_expansions_in_env: - distro_id - - UV_INSTALL_DIR args: - -c - .evergreen/scripts/compile.sh @@ -4128,8 +3906,14 @@ tasks: MONGODB_VERSION: "5.0" SSL: openssl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4155,8 +3939,14 @@ tasks: MONGODB_VERSION: "5.0" SSL: nossl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4182,8 +3972,14 @@ tasks: MONGODB_VERSION: "6.0" SSL: openssl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4209,8 +4005,14 @@ tasks: MONGODB_VERSION: "6.0" SSL: nossl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4236,8 +4038,14 @@ tasks: MONGODB_VERSION: "7.0" SSL: openssl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4263,8 +4071,14 @@ tasks: MONGODB_VERSION: "7.0" SSL: nossl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4290,8 +4104,14 @@ tasks: MONGODB_VERSION: "8.0" SSL: openssl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4317,8 +4137,14 @@ tasks: MONGODB_VERSION: "8.0" SSL: nossl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4344,8 +4170,14 @@ tasks: MONGODB_VERSION: latest SSL: openssl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4371,8 +4203,14 @@ tasks: MONGODB_VERSION: latest SSL: nossl TOPOLOGY: sharded_cluster - - func: install-uv - func: run-simple-http-server + - command: subprocess.exec + type: setup + params: + binary: bash + args: + - -c + - uv tool install haproxy-cli - func: start-load-balancer vars: MONGODB_URI: mongodb://localhost:27017,localhost:27018 @@ -4384,14 +4222,12 @@ tasks: SSL: nossl - name: make-docs commands: - - func: install-uv - func: make-docs - func: upload-docs - func: upload-man-pages - name: mock-server-test run_on: ubuntu2204-small commands: - - func: install-uv - func: run-simple-http-server - command: subprocess.exec type: test @@ -4415,7 +4251,6 @@ tasks: tags: [openssl-compat, openssl-1.0.2, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 1.0.2 @@ -4425,7 +4260,6 @@ tasks: tags: [openssl-compat, openssl-1.0.2, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4436,7 +4270,6 @@ tasks: tags: [openssl-compat, openssl-1.1.1, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 1.1.1 @@ -4446,7 +4279,6 @@ tasks: tags: [openssl-compat, openssl-1.1.1, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4457,7 +4289,6 @@ tasks: tags: [openssl-compat, openssl-3.0.9, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 3.0.9 @@ -4467,7 +4298,6 @@ tasks: tags: [openssl-compat, openssl-3.0.9, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4478,7 +4308,6 @@ tasks: tags: [openssl-compat, openssl-3.1.2, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 3.1.2 @@ -4488,7 +4317,6 @@ tasks: tags: [openssl-compat, openssl-3.1.2, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4499,7 +4327,6 @@ tasks: tags: [openssl-compat, openssl-3.2.5, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 3.2.5 @@ -4509,7 +4336,6 @@ tasks: tags: [openssl-compat, openssl-3.2.5, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4520,7 +4346,6 @@ tasks: tags: [openssl-compat, openssl-3.3.4, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 3.3.4 @@ -4530,7 +4355,6 @@ tasks: tags: [openssl-compat, openssl-3.3.4, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4541,7 +4365,6 @@ tasks: tags: [openssl-compat, openssl-3.4.2, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 3.4.2 @@ -4551,7 +4374,6 @@ tasks: tags: [openssl-compat, openssl-3.4.2, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4562,7 +4384,6 @@ tasks: tags: [openssl-compat, openssl-3.5.1, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_VERSION: 3.5.1 @@ -4572,7 +4393,6 @@ tasks: tags: [openssl-compat, openssl-3.5.1, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_USE_STATIC_LIBS: "ON" @@ -4583,7 +4403,6 @@ tasks: tags: [openssl-compat, openssl-fips-3.0.9, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_ENABLE_FIPS: "ON" @@ -4594,7 +4413,6 @@ tasks: tags: [openssl-compat, openssl-fips-3.0.9, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_ENABLE_FIPS: "ON" @@ -4606,7 +4424,6 @@ tasks: tags: [openssl-compat, openssl-fips-3.1.2, openssl-shared, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_ENABLE_FIPS: "ON" @@ -4617,7 +4434,6 @@ tasks: tags: [openssl-compat, openssl-fips-3.1.2, openssl-static, ubuntu2404, gcc] commands: - func: fetch-source - - func: install-uv - func: openssl-compat vars: OPENSSL_ENABLE_FIPS: "ON" @@ -4628,7 +4444,6 @@ tasks: run_on: macos-14-arm64 tags: [sasl-matrix-darwinssl, compile, macos-14-arm64, clang, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-darwinssl-compile vars: CC: clang @@ -4653,7 +4468,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-darwinssl-macos-14-arm64-clang-test-7.0-replica-auth @@ -4675,7 +4489,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-darwinssl-macos-14-arm64-clang-test-8.0-replica-auth @@ -4697,7 +4510,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-darwinssl-macos-14-arm64-clang-test-latest-replica-auth @@ -4719,14 +4531,12 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-darwinssl-macos-14-clang-compile run_on: macos-14 tags: [sasl-matrix-darwinssl, compile, macos-14, clang, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-darwinssl-compile vars: CC: clang @@ -4751,7 +4561,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-darwinssl-macos-14-clang-test-4.4-replica-auth @@ -4773,7 +4582,6 @@ tasks: - { key: SSL, value: darwinssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-darwinssl-macos-14-clang-test-5.0-replica-auth @@ -4790,76 +4598,216 @@ tasks: - { key: CC, value: clang } - { key: CXX, value: clang++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } - - { key: TOPOLOGY, value: replica_set } - - { key: SSL, value: darwinssl } + - { key: MONGODB_VERSION, value: "5.0" } + - { key: TOPOLOGY, value: replica_set } + - { key: SSL, value: darwinssl } + - func: fetch-det + - func: bootstrap-mongo-orchestration + - func: run-simple-http-server + - func: run-tests + - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + run_on: amazon2023-arm64-latest-large-m8g + tags: [sasl-matrix-openssl, compile, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus] + commands: + - func: sasl-cyrus-openssl-compile + vars: + CC: gcc + CXX: g++ + - func: upload-build + - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-replica-auth + run_on: amazon2023-arm64-latest-large-m8g + tags: [sasl-matrix-openssl, test, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus, auth, replica, latest, openssl] + depends_on: [{ name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile }] + commands: + - func: fetch-build + vars: + BUILD_NAME: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + - command: expansions.update + params: + updates: + - { key: CC, value: gcc } + - { key: CXX, value: g++ } + - { key: AUTH, value: auth } + - { key: MONGODB_VERSION, value: latest } + - { key: TOPOLOGY, value: replica_set } + - { key: SSL, value: openssl } + - func: fetch-det + - func: bootstrap-mongo-orchestration + - func: run-simple-http-server + - func: run-tests + - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-server-auth + run_on: amazon2023-arm64-latest-large-m8g + tags: [sasl-matrix-openssl, test, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus, auth, server, latest, openssl] + depends_on: [{ name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile }] + commands: + - func: fetch-build + vars: + BUILD_NAME: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + - command: expansions.update + params: + updates: + - { key: CC, value: gcc } + - { key: CXX, value: g++ } + - { key: AUTH, value: auth } + - { key: MONGODB_VERSION, value: latest } + - { key: TOPOLOGY, value: server } + - { key: SSL, value: openssl } + - func: fetch-det + - func: bootstrap-mongo-orchestration + - func: run-simple-http-server + - func: run-tests + - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-sharded-auth + run_on: amazon2023-arm64-latest-large-m8g + tags: [sasl-matrix-openssl, test, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus, auth, sharded, latest, openssl] + depends_on: [{ name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile }] + commands: + - func: fetch-build + vars: + BUILD_NAME: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + - command: expansions.update + params: + updates: + - { key: CC, value: gcc } + - { key: CXX, value: g++ } + - { key: AUTH, value: auth } + - { key: MONGODB_VERSION, value: latest } + - { key: TOPOLOGY, value: sharded_cluster } + - { key: SSL, value: openssl } + - func: fetch-det + - func: bootstrap-mongo-orchestration + - func: run-simple-http-server + - func: run-tests + - name: sasl-cyrus-openssl-debian12-gcc-compile + run_on: debian12-large + tags: [sasl-matrix-openssl, compile, debian12, gcc, sasl-cyrus] + commands: + - func: sasl-cyrus-openssl-compile + vars: + CC: gcc + CXX: g++ + - func: upload-build + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + run_on: rhel8-arm64-latest-large + tags: [sasl-matrix-openssl, compile, rhel8-arm64-latest, gcc, sasl-cyrus] + commands: + - func: sasl-cyrus-openssl-compile + vars: + CC: gcc + CXX: g++ + - func: upload-build + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-server-auth + run_on: rhel8-arm64-latest-small + tags: [sasl-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, auth, server, "4.4", openssl] + depends_on: [{ name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] + commands: + - func: fetch-build + vars: + BUILD_NAME: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + - command: expansions.update + params: + updates: + - { key: CC, value: gcc } + - { key: CXX, value: g++ } + - { key: AUTH, value: auth } + - { key: MONGODB_VERSION, value: "4.4" } + - { key: TOPOLOGY, value: server } + - { key: SSL, value: openssl } + - func: fetch-det + - func: bootstrap-mongo-orchestration + - func: run-simple-http-server + - func: run-tests + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [sasl-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, auth, server, "5.0", openssl] + depends_on: [{ name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] + commands: + - func: fetch-build + vars: + BUILD_NAME: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + - command: expansions.update + params: + updates: + - { key: CC, value: gcc } + - { key: CXX, value: g++ } + - { key: AUTH, value: auth } + - { key: MONGODB_VERSION, value: "5.0" } + - { key: TOPOLOGY, value: server } + - { key: SSL, value: openssl } + - func: fetch-det + - func: bootstrap-mongo-orchestration + - func: run-simple-http-server + - func: run-tests + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [sasl-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, auth, server, "6.0", openssl] + depends_on: [{ name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] + commands: + - func: fetch-build + vars: + BUILD_NAME: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + - command: expansions.update + params: + updates: + - { key: CC, value: gcc } + - { key: CXX, value: g++ } + - { key: AUTH, value: auth } + - { key: MONGODB_VERSION, value: "6.0" } + - { key: TOPOLOGY, value: server } + - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile - run_on: amazon2023-arm64-latest-large-m8g - tags: [sasl-matrix-openssl, compile, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus] - commands: - - func: install-uv - - func: sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-replica-auth - run_on: amazon2023-arm64-latest-large-m8g - tags: [sasl-matrix-openssl, test, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus, auth, replica, latest, openssl] - depends_on: [{ name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile }] + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [sasl-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, auth, server, "7.0", openssl] + depends_on: [{ name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + BUILD_NAME: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } - - { key: TOPOLOGY, value: replica_set } + - { key: MONGODB_VERSION, value: "7.0" } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-server-auth - run_on: amazon2023-arm64-latest-large-m8g - tags: [sasl-matrix-openssl, test, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus, auth, server, latest, openssl] - depends_on: [{ name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile }] + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-server-auth + run_on: rhel8-arm64-latest-small + tags: [sasl-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, auth, server, "8.0", openssl] + depends_on: [{ name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + BUILD_NAME: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: - { key: CC, value: gcc } - { key: CXX, value: g++ } - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } + - { key: MONGODB_VERSION, value: "8.0" } - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-sharded-auth - run_on: amazon2023-arm64-latest-large-m8g - tags: [sasl-matrix-openssl, test, amazon2023-arm64-latest-large-m8g, gcc, sasl-cyrus, auth, sharded, latest, openssl] - depends_on: [{ name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile }] + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-server-auth + run_on: rhel8-arm64-latest-small + tags: [sasl-matrix-openssl, test, rhel8-arm64-latest, gcc, sasl-cyrus, auth, server, latest, openssl] + depends_on: [{ name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile }] commands: - func: fetch-build vars: - BUILD_NAME: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-compile + BUILD_NAME: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile - command: expansions.update params: updates: @@ -4867,38 +4815,16 @@ tasks: - { key: CXX, value: g++ } - { key: AUTH, value: auth } - { key: MONGODB_VERSION, value: latest } - - { key: TOPOLOGY, value: sharded_cluster } + - { key: TOPOLOGY, value: server } - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - - name: sasl-cyrus-openssl-debian11-gcc-compile - run_on: debian11-large - tags: [sasl-matrix-openssl, compile, debian11, gcc, sasl-cyrus] - commands: - - func: install-uv - - func: sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - - name: sasl-cyrus-openssl-debian12-gcc-compile - run_on: debian12-large - tags: [sasl-matrix-openssl, compile, debian12, gcc, sasl-cyrus] - commands: - - func: install-uv - - func: sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - name: sasl-cyrus-openssl-rhel8-latest-gcc-compile run_on: rhel8-latest-large tags: [sasl-matrix-openssl, compile, rhel8-latest, gcc, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: gcc @@ -4923,7 +4849,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-server-auth @@ -4945,7 +4870,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-5.0-server-auth @@ -4967,7 +4891,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-6.0-server-auth @@ -4989,7 +4912,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-7.0-server-auth @@ -5011,7 +4933,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-8.0-server-auth @@ -5033,7 +4954,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-latest-server-auth @@ -5055,7 +4975,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-compile @@ -5063,7 +4982,6 @@ tasks: tags: [sasl-matrix-openssl, compile, rhel8-power, gcc, sasl-cyrus] patchable: false commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: gcc @@ -5089,7 +5007,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-test-4.4-server-auth @@ -5112,7 +5029,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-test-5.0-server-auth @@ -5135,7 +5051,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-test-6.0-server-auth @@ -5158,7 +5073,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-test-7.0-server-auth @@ -5181,7 +5095,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-test-8.0-server-auth @@ -5204,7 +5117,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-power-gcc-test-latest-server-auth @@ -5227,7 +5139,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-zseries-gcc-compile @@ -5235,7 +5146,6 @@ tasks: tags: [sasl-matrix-openssl, compile, rhel8-zseries, gcc, sasl-cyrus] patchable: false commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: gcc @@ -5261,7 +5171,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-zseries-gcc-test-6.0-server-auth @@ -5284,7 +5193,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-zseries-gcc-test-7.0-server-auth @@ -5307,7 +5215,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-zseries-gcc-test-8.0-server-auth @@ -5330,7 +5237,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel8-zseries-gcc-test-latest-server-auth @@ -5353,176 +5259,21 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-cyrus-openssl-rhel80-gcc-compile run_on: rhel80-large tags: [sasl-matrix-openssl, compile, rhel80, gcc, sasl-cyrus] commands: - - func: install-uv - - func: sasl-cyrus-openssl-compile - vars: - CC: gcc - CXX: g++ - - func: upload-build - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - run_on: ubuntu2004-arm64-large - tags: [sasl-matrix-openssl, compile, ubuntu2004-arm64, gcc, sasl-cyrus] - commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: gcc CXX: g++ - func: upload-build - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-server-auth - run_on: ubuntu2004-arm64-small - tags: [sasl-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, auth, server, "4.4", openssl] - depends_on: [{ name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] - commands: - - func: fetch-build - vars: - BUILD_NAME: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - command: expansions.update - params: - updates: - - { key: CC, value: gcc } - - { key: CXX, value: g++ } - - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "4.4" } - - { key: TOPOLOGY, value: server } - - { key: SSL, value: openssl } - - func: fetch-det - - func: bootstrap-mongo-orchestration - - func: install-uv - - func: run-simple-http-server - - func: run-tests - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [sasl-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, auth, server, "5.0", openssl] - depends_on: [{ name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] - commands: - - func: fetch-build - vars: - BUILD_NAME: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - command: expansions.update - params: - updates: - - { key: CC, value: gcc } - - { key: CXX, value: g++ } - - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "5.0" } - - { key: TOPOLOGY, value: server } - - { key: SSL, value: openssl } - - func: fetch-det - - func: bootstrap-mongo-orchestration - - func: install-uv - - func: run-simple-http-server - - func: run-tests - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [sasl-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, auth, server, "6.0", openssl] - depends_on: [{ name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] - commands: - - func: fetch-build - vars: - BUILD_NAME: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - command: expansions.update - params: - updates: - - { key: CC, value: gcc } - - { key: CXX, value: g++ } - - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "6.0" } - - { key: TOPOLOGY, value: server } - - { key: SSL, value: openssl } - - func: fetch-det - - func: bootstrap-mongo-orchestration - - func: install-uv - - func: run-simple-http-server - - func: run-tests - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [sasl-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, auth, server, "7.0", openssl] - depends_on: [{ name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] - commands: - - func: fetch-build - vars: - BUILD_NAME: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - command: expansions.update - params: - updates: - - { key: CC, value: gcc } - - { key: CXX, value: g++ } - - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "7.0" } - - { key: TOPOLOGY, value: server } - - { key: SSL, value: openssl } - - func: fetch-det - - func: bootstrap-mongo-orchestration - - func: install-uv - - func: run-simple-http-server - - func: run-tests - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-server-auth - run_on: ubuntu2004-arm64-small - tags: [sasl-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, auth, server, "8.0", openssl] - depends_on: [{ name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] - commands: - - func: fetch-build - vars: - BUILD_NAME: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - command: expansions.update - params: - updates: - - { key: CC, value: gcc } - - { key: CXX, value: g++ } - - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: "8.0" } - - { key: TOPOLOGY, value: server } - - { key: SSL, value: openssl } - - func: fetch-det - - func: bootstrap-mongo-orchestration - - func: install-uv - - func: run-simple-http-server - - func: run-tests - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-server-auth - run_on: ubuntu2004-arm64-small - tags: [sasl-matrix-openssl, test, ubuntu2004-arm64, gcc, sasl-cyrus, auth, server, latest, openssl] - depends_on: [{ name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile }] - commands: - - func: fetch-build - vars: - BUILD_NAME: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - command: expansions.update - params: - updates: - - { key: CC, value: gcc } - - { key: CXX, value: g++ } - - { key: AUTH, value: auth } - - { key: MONGODB_VERSION, value: latest } - - { key: TOPOLOGY, value: server } - - { key: SSL, value: openssl } - - func: fetch-det - - func: bootstrap-mongo-orchestration - - func: install-uv - - func: run-simple-http-server - - func: run-tests - - name: sasl-cyrus-openssl-ubuntu2004-clang-compile - run_on: ubuntu2004-large - tags: [sasl-matrix-openssl, compile, ubuntu2004, clang, sasl-cyrus] - commands: - - func: install-uv - - func: sasl-cyrus-openssl-compile - vars: - CC: clang - CXX: clang++ - - func: upload-build - name: sasl-cyrus-openssl-ubuntu2204-clang-12-compile run_on: ubuntu2204-large tags: [sasl-matrix-openssl, compile, ubuntu2204, clang-12, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: clang-12 @@ -5532,7 +5283,6 @@ tasks: run_on: ubuntu2204-large tags: [sasl-matrix-openssl, compile, ubuntu2204, gcc, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: gcc @@ -5542,7 +5292,6 @@ tasks: run_on: ubuntu2404-large tags: [sasl-matrix-openssl, compile, ubuntu2404, clang-14, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: clang-14 @@ -5552,7 +5301,6 @@ tasks: run_on: ubuntu2404-large tags: [sasl-matrix-openssl, compile, ubuntu2404, gcc, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: gcc @@ -5562,7 +5310,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-openssl, compile, windows-vsCurrent, vs2017x64, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CMAKE_GENERATOR: Visual Studio 15 2017 @@ -5587,14 +5334,12 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-compile run_on: rhel8-latest-large tags: [sasl-matrix-nossl, compile, rhel8-latest, gcc, sasl-off] commands: - - func: install-uv - func: sasl-off-nossl-compile vars: CC: gcc @@ -5619,7 +5364,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-4.2-server-noauth @@ -5641,7 +5385,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-4.2-sharded-noauth @@ -5663,7 +5406,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-4.4-replica-noauth @@ -5685,7 +5427,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-4.4-server-noauth @@ -5707,7 +5448,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-4.4-sharded-noauth @@ -5729,7 +5469,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-5.0-replica-noauth @@ -5751,7 +5490,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-5.0-server-noauth @@ -5773,7 +5511,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-5.0-sharded-noauth @@ -5795,7 +5532,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-6.0-replica-noauth @@ -5817,7 +5553,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-6.0-server-noauth @@ -5839,7 +5574,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-6.0-sharded-noauth @@ -5861,7 +5595,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-7.0-replica-noauth @@ -5883,7 +5616,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-7.0-server-noauth @@ -5905,7 +5637,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-7.0-sharded-noauth @@ -5927,7 +5658,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-8.0-replica-noauth @@ -5949,7 +5679,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-8.0-server-noauth @@ -5971,7 +5700,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-8.0-sharded-noauth @@ -5993,7 +5721,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-latest-replica-noauth @@ -6015,7 +5742,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-latest-server-noauth @@ -6037,7 +5763,6 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-rhel8-latest-gcc-test-latest-sharded-noauth @@ -6059,14 +5784,12 @@ tasks: - { key: SSL, value: nossl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-off-nossl-ubuntu2204-gcc-compile run_on: ubuntu2204-large tags: [sasl-matrix-nossl, compile, ubuntu2204, gcc, sasl-off] commands: - - func: install-uv - func: sasl-off-nossl-compile vars: CC: gcc @@ -6076,7 +5799,6 @@ tasks: run_on: ubuntu2404-large tags: [sasl-matrix-nossl, compile, ubuntu2404, gcc, sasl-off] commands: - - func: install-uv - func: sasl-off-nossl-compile vars: CC: gcc @@ -6086,7 +5808,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-nossl, compile, windows-vsCurrent, vs2017x64, sasl-off] commands: - - func: install-uv - func: sasl-off-nossl-compile vars: CMAKE_GENERATOR: Visual Studio 15 2017 @@ -6096,7 +5817,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2015x64, sasl-off] commands: - - func: install-uv - func: sasl-off-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 14 2015 @@ -6106,7 +5826,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2017x64, sasl-off] commands: - - func: install-uv - func: sasl-off-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 15 2017 @@ -6116,7 +5835,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2019x64, sasl-off] commands: - - func: install-uv - func: sasl-off-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 16 2019 @@ -6126,7 +5844,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2022x64, sasl-off] commands: - - func: install-uv - func: sasl-off-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -6136,7 +5853,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2022x86, sasl-off] commands: - - func: install-uv - func: sasl-off-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -6146,7 +5862,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, mingw, sasl-sspi] commands: - - func: install-uv - func: sasl-sspi-winssl-compile vars: CC: gcc @@ -6171,7 +5886,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-mingw-test-latest-sharded-auth @@ -6193,14 +5907,12 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2015-x64-compile run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2015x64, sasl-sspi] commands: - - func: install-uv - func: sasl-sspi-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 14 2015 @@ -6210,7 +5922,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2017x64, sasl-sspi] commands: - - func: install-uv - func: sasl-sspi-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 15 2017 @@ -6220,7 +5931,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2019x64, sasl-sspi] commands: - - func: install-uv - func: sasl-sspi-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 16 2019 @@ -6230,7 +5940,6 @@ tasks: run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2022x64, sasl-sspi] commands: - - func: install-uv - func: sasl-sspi-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -6255,7 +5964,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-4.2-server-auth @@ -6277,7 +5985,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-4.2-sharded-auth @@ -6299,7 +6006,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-4.4-replica-auth @@ -6321,7 +6027,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-4.4-server-auth @@ -6343,7 +6048,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-4.4-sharded-auth @@ -6365,7 +6069,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-5.0-replica-auth @@ -6387,7 +6090,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-5.0-server-auth @@ -6409,7 +6111,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-5.0-sharded-auth @@ -6431,7 +6132,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-6.0-replica-auth @@ -6453,7 +6153,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-6.0-server-auth @@ -6475,7 +6174,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-6.0-sharded-auth @@ -6497,7 +6195,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-7.0-replica-auth @@ -6519,7 +6216,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-7.0-server-auth @@ -6541,7 +6237,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-7.0-sharded-auth @@ -6563,7 +6258,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-8.0-replica-auth @@ -6585,7 +6279,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-8.0-server-auth @@ -6607,7 +6300,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-8.0-sharded-auth @@ -6629,7 +6321,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-latest-replica-auth @@ -6651,7 +6342,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-latest-server-auth @@ -6673,7 +6363,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x64-test-latest-sharded-auth @@ -6695,14 +6384,12 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x86-compile run_on: windows-vsCurrent-large tags: [sasl-matrix-winssl, compile, windows-vsCurrent, vs2022x86, sasl-sspi] commands: - - func: install-uv - func: sasl-sspi-winssl-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -6727,7 +6414,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sasl-sspi-winssl-windows-2019-vs2022-x86-test-latest-sharded-auth @@ -6749,7 +6435,6 @@ tasks: - { key: SSL, value: winssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: sbom @@ -6761,48 +6446,34 @@ tasks: run_on: macos-14-arm64 tags: [scan-build-matrix, macos-14-arm64, clang] commands: - - func: install-uv - func: scan-build vars: CC: clang CXX: clang++ - func: upload scan artifacts - - name: scan-build-ubuntu2004-arm64-clang - run_on: ubuntu2004-arm64-large - tags: [scan-build-matrix, ubuntu2004-arm64, clang] + - name: scan-build-ubuntu2204-arm64-clang + run_on: ubuntu2204-arm64-large + tags: [scan-build-matrix, ubuntu2204-arm64, clang] commands: - - func: install-uv - func: scan-build vars: CC: clang CXX: clang++ - func: upload scan artifacts - - name: scan-build-ubuntu2004-clang-i686 - run_on: ubuntu2004-large - tags: [scan-build-matrix, ubuntu2004, clang, i686] + - name: scan-build-ubuntu2204-clang-12-i686 + run_on: ubuntu2204-large + tags: [scan-build-matrix, ubuntu2204, clang-12, i686] commands: - - func: install-uv - func: scan-build vars: - CC: clang - CXX: clang++ + CC: clang-12 + CXX: clang++-12 MARCH: i686 - func: upload scan artifacts - - name: std-c11-debian11-gcc-compile - run_on: debian11-large - tags: [std-matrix, debian11, gcc, compile, std-c11] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-10 - CXX: g++-10 - C_STD_VERSION: 11 - name: std-c11-macos-14-arm64-clang-compile run_on: macos-14-arm64 tags: [std-matrix, macos-14-arm64, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6812,7 +6483,6 @@ tasks: run_on: rhel7-latest-large tags: [std-matrix, rhel7-latest, gcc, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -6822,7 +6492,6 @@ tasks: run_on: rhel80-large tags: [std-matrix, rhel80, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6832,27 +6501,6 @@ tasks: run_on: rhel80-large tags: [std-matrix, rhel80, gcc, compile, std-c11] commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc - CXX: g++ - C_STD_VERSION: 11 - - name: std-c11-rhel84-clang-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, clang, compile, std-c11] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang - CXX: clang++ - C_STD_VERSION: 11 - - name: std-c11-rhel84-gcc-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, gcc, compile, std-c11] - commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -6862,7 +6510,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6872,7 +6519,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, gcc, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -6882,7 +6528,6 @@ tasks: run_on: rhel91-large tags: [std-matrix, rhel91, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6892,7 +6537,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6902,7 +6546,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, gcc, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -6912,7 +6555,6 @@ tasks: run_on: rhel93-large tags: [std-matrix, rhel93, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6922,7 +6564,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6932,7 +6573,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, gcc, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -6942,7 +6582,6 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -6952,37 +6591,15 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, gcc, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: gcc CXX: g++ C_STD_VERSION: 11 - - name: std-c11-ubuntu2004-clang-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, clang, compile, std-c11] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang-10 - CXX: clang++-10 - C_STD_VERSION: 11 - - name: std-c11-ubuntu2004-gcc-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, gcc, compile, std-c11] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-9 - CXX: g++-9 - C_STD_VERSION: 11 - name: std-c11-ubuntu2204-clang-compile run_on: ubuntu2204-large tags: [std-matrix, ubuntu2204, clang, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: clang-12 @@ -6992,7 +6609,6 @@ tasks: run_on: ubuntu2404-large tags: [std-matrix, ubuntu2404, gcc, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CC: gcc-13 @@ -7002,7 +6618,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2015x64, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 14 2015 @@ -7012,7 +6627,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2017x64, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 15 2017 @@ -7022,7 +6636,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2019x64, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 16 2019 @@ -7032,27 +6645,15 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2022x64, compile, std-c11] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 CMAKE_GENERATOR_PLATFORM: x64 C_STD_VERSION: 11 - - name: std-c17-debian11-gcc-compile - run_on: debian11-large - tags: [std-matrix, debian11, gcc, compile, std-c17] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-10 - CXX: g++-10 - C_STD_VERSION: 17 - name: std-c17-macos-14-arm64-clang-compile run_on: macos-14-arm64 tags: [std-matrix, macos-14-arm64, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7062,7 +6663,6 @@ tasks: run_on: rhel80-large tags: [std-matrix, rhel80, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7072,27 +6672,6 @@ tasks: run_on: rhel80-large tags: [std-matrix, rhel80, gcc, compile, std-c17] commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc - CXX: g++ - C_STD_VERSION: 17 - - name: std-c17-rhel84-clang-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, clang, compile, std-c17] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang - CXX: clang++ - C_STD_VERSION: 17 - - name: std-c17-rhel84-gcc-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, gcc, compile, std-c17] - commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7102,7 +6681,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7112,7 +6690,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, gcc, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7122,7 +6699,6 @@ tasks: run_on: rhel91-large tags: [std-matrix, rhel91, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7132,7 +6708,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7142,7 +6717,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, gcc, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7152,7 +6726,6 @@ tasks: run_on: rhel93-large tags: [std-matrix, rhel93, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7162,7 +6735,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7172,7 +6744,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, gcc, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7182,7 +6753,6 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7192,37 +6762,15 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, gcc, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: gcc CXX: g++ C_STD_VERSION: 17 - - name: std-c17-ubuntu2004-clang-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, clang, compile, std-c17] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang-10 - CXX: clang++-10 - C_STD_VERSION: 17 - - name: std-c17-ubuntu2004-gcc-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, gcc, compile, std-c17] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-9 - CXX: g++-9 - C_STD_VERSION: 17 - name: std-c17-ubuntu2204-clang-compile run_on: ubuntu2204-large tags: [std-matrix, ubuntu2204, clang, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: clang-12 @@ -7232,7 +6780,6 @@ tasks: run_on: ubuntu2404-large tags: [std-matrix, ubuntu2404, gcc, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CC: gcc-13 @@ -7242,7 +6789,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2019x64, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 16 2019 @@ -7252,37 +6798,15 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2022x64, compile, std-c17] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 CMAKE_GENERATOR_PLATFORM: x64 C_STD_VERSION: 17 - - name: std-c23-debian11-gcc-compile - run_on: debian11-large - tags: [std-matrix, debian11, gcc, compile, std-c23] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-10 - CXX: g++-10 - C_STD_VERSION: 23 - name: std-c23-macos-14-arm64-clang-compile run_on: macos-14-arm64 tags: [std-matrix, macos-14-arm64, clang, compile, std-c23] commands: - - func: install-uv - - func: std-compile - vars: - CC: clang - CXX: clang++ - C_STD_VERSION: 23 - - name: std-c23-rhel84-clang-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, clang, compile, std-c23] - commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7292,7 +6816,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7302,7 +6825,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, gcc, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7312,7 +6834,6 @@ tasks: run_on: rhel91-large tags: [std-matrix, rhel91, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7322,7 +6843,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7332,7 +6852,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, gcc, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7342,7 +6861,6 @@ tasks: run_on: rhel93-large tags: [std-matrix, rhel93, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7352,7 +6870,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7362,7 +6879,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, gcc, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7372,7 +6888,6 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7382,37 +6897,15 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, gcc, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: gcc CXX: g++ C_STD_VERSION: 23 - - name: std-c23-ubuntu2004-clang-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, clang, compile, std-c23] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang-10 - CXX: clang++-10 - C_STD_VERSION: 23 - - name: std-c23-ubuntu2004-gcc-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, gcc, compile, std-c23] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-9 - CXX: g++-9 - C_STD_VERSION: 23 - name: std-c23-ubuntu2204-clang-compile run_on: ubuntu2204-large tags: [std-matrix, ubuntu2204, clang, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: clang-12 @@ -7422,27 +6915,15 @@ tasks: run_on: ubuntu2404-large tags: [std-matrix, ubuntu2404, gcc, compile, std-c23] commands: - - func: install-uv - func: std-compile vars: CC: gcc-13 CXX: g++-13 C_STD_VERSION: 23 - - name: std-c99-debian11-gcc-compile - run_on: debian11-large - tags: [std-matrix, debian11, gcc, compile, std-c99] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-10 - CXX: g++-10 - C_STD_VERSION: 99 - name: std-c99-macos-14-arm64-clang-compile run_on: macos-14-arm64 tags: [std-matrix, macos-14-arm64, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7452,7 +6933,6 @@ tasks: run_on: rhel7-latest-large tags: [std-matrix, rhel7-latest, gcc, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7462,7 +6942,6 @@ tasks: run_on: rhel80-large tags: [std-matrix, rhel80, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7472,27 +6951,6 @@ tasks: run_on: rhel80-large tags: [std-matrix, rhel80, gcc, compile, std-c99] commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc - CXX: g++ - C_STD_VERSION: 99 - - name: std-c99-rhel84-clang-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, clang, compile, std-c99] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang - CXX: clang++ - C_STD_VERSION: 99 - - name: std-c99-rhel84-gcc-compile - run_on: rhel84-large - tags: [std-matrix, rhel84, gcc, compile, std-c99] - commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7502,7 +6960,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7512,7 +6969,6 @@ tasks: run_on: rhel90-large tags: [std-matrix, rhel90, gcc, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7522,7 +6978,6 @@ tasks: run_on: rhel91-large tags: [std-matrix, rhel91, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7532,7 +6987,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7542,7 +6996,6 @@ tasks: run_on: rhel92-large tags: [std-matrix, rhel92, gcc, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7552,7 +7005,6 @@ tasks: run_on: rhel93-large tags: [std-matrix, rhel93, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7562,7 +7014,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7572,7 +7023,6 @@ tasks: run_on: rhel94-large tags: [std-matrix, rhel94, gcc, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: gcc @@ -7582,7 +7032,6 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang @@ -7592,37 +7041,15 @@ tasks: run_on: rhel95-large tags: [std-matrix, rhel95, gcc, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: gcc CXX: g++ C_STD_VERSION: 99 - - name: std-c99-ubuntu2004-clang-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, clang, compile, std-c99] - commands: - - func: install-uv - - func: std-compile - vars: - CC: clang-10 - CXX: clang++-10 - C_STD_VERSION: 99 - - name: std-c99-ubuntu2004-gcc-compile - run_on: ubuntu2004-large - tags: [std-matrix, ubuntu2004, gcc, compile, std-c99] - commands: - - func: install-uv - - func: std-compile - vars: - CC: gcc-9 - CXX: g++-9 - C_STD_VERSION: 99 - name: std-c99-ubuntu2204-clang-compile run_on: ubuntu2204-large tags: [std-matrix, ubuntu2204, clang, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: clang-12 @@ -7632,7 +7059,6 @@ tasks: run_on: ubuntu2404-large tags: [std-matrix, ubuntu2404, gcc, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CC: gcc-13 @@ -7642,7 +7068,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2015x64, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 14 2015 @@ -7652,7 +7077,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2017x64, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 15 2017 @@ -7662,7 +7086,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2019x64, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 16 2019 @@ -7672,7 +7095,6 @@ tasks: run_on: windows-vsCurrent-large tags: [std-matrix, windows-vsCurrent, vs2022x64, compile, std-c99] commands: - - func: install-uv - func: std-compile vars: CMAKE_GENERATOR: Visual Studio 17 2022 @@ -7682,7 +7104,6 @@ tasks: run_on: rhel8-latest-large tags: [sanitizers-matrix-tsan, compile, rhel8-latest, clang, tsan, sasl-cyrus] commands: - - func: install-uv - func: sasl-cyrus-openssl-compile vars: CC: clang @@ -7707,7 +7128,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.2-server-auth @@ -7729,7 +7149,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.2-sharded-auth @@ -7751,7 +7170,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.4-replica-auth @@ -7773,7 +7191,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.4-server-auth @@ -7795,7 +7212,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-4.4-sharded-auth @@ -7817,7 +7233,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-5.0-replica-auth @@ -7839,7 +7254,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-5.0-server-auth @@ -7861,7 +7275,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-5.0-sharded-auth @@ -7883,7 +7296,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-6.0-replica-auth @@ -7905,7 +7317,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-6.0-server-auth @@ -7927,7 +7338,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-6.0-sharded-auth @@ -7949,7 +7359,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-7.0-replica-auth @@ -7971,7 +7380,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-7.0-server-auth @@ -7993,7 +7401,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-7.0-sharded-auth @@ -8015,7 +7422,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-8.0-replica-auth @@ -8037,7 +7443,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-8.0-server-auth @@ -8059,7 +7464,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-8.0-sharded-auth @@ -8081,7 +7485,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-latest-replica-auth @@ -8103,7 +7506,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-latest-server-auth @@ -8125,7 +7527,6 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: tsan-sasl-cyrus-openssl-rhel8-latest-clang-test-latest-sharded-auth @@ -8147,13 +7548,11 @@ tasks: - { key: SSL, value: openssl } - func: fetch-det - func: bootstrap-mongo-orchestration - - func: install-uv - func: run-simple-http-server - func: run-tests - name: verify-headers run_on: - amazon2 - - debian11-large - debian12-large - ubuntu2204-large - ubuntu2404-large diff --git a/.evergreen/generated_configs/variants.yml b/.evergreen/generated_configs/variants.yml index 85d0d3dc80b..bc06d44b3b2 100644 --- a/.evergreen/generated_configs/variants.yml +++ b/.evergreen/generated_configs/variants.yml @@ -156,10 +156,27 @@ buildvariants: expansions: CLIENT_SIDE_ENCRYPTION: "on" tasks: - - name: cse-sasl-cyrus-openssl-debian11-clang-compile - - name: cse-sasl-cyrus-openssl-debian11-gcc-compile - name: cse-sasl-cyrus-openssl-debian12-clang-compile - name: cse-sasl-cyrus-openssl-debian12-gcc-compile + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-sharded-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-sharded-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-sharded-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-sharded-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-sharded-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-replica-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-server-auth + - name: cse-sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-sharded-auth - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-compile - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-replica-auth - name: cse-sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-server-auth @@ -189,27 +206,6 @@ buildvariants: - name: cse-sasl-cyrus-openssl-rhel8-zseries-gcc-test-latest-sharded-auth batchtime: 1440 - name: cse-sasl-cyrus-openssl-rhel80-gcc-compile - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-replica-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-server-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-sharded-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-replica-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-server-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-sharded-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-replica-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-server-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-sharded-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-replica-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-server-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-sharded-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-replica-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-server-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-sharded-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-replica-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-server-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-sharded-auth - - name: cse-sasl-cyrus-openssl-ubuntu2004-clang-compile - - name: cse-sasl-cyrus-openssl-ubuntu2004-gcc-compile - name: cse-sasl-cyrus-openssl-ubuntu2204-clang-12-compile - name: cse-sasl-cyrus-openssl-ubuntu2204-gcc-compile - name: cse-sasl-cyrus-openssl-ubuntu2404-clang-14-compile @@ -295,8 +291,14 @@ buildvariants: - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-replica-auth - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-server-auth - name: sasl-cyrus-openssl-amazon2023-arm64-latest-large-m8g-gcc-test-latest-sharded-auth - - name: sasl-cyrus-openssl-debian11-gcc-compile - name: sasl-cyrus-openssl-debian12-gcc-compile + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-compile + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-4.4-server-auth + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-5.0-server-auth + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-6.0-server-auth + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-7.0-server-auth + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-8.0-server-auth + - name: sasl-cyrus-openssl-rhel8-arm64-latest-gcc-test-latest-server-auth - name: sasl-cyrus-openssl-rhel8-latest-gcc-compile - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-4.2-server-auth - name: sasl-cyrus-openssl-rhel8-latest-gcc-test-4.4-server-auth @@ -334,14 +336,6 @@ buildvariants: - name: sasl-cyrus-openssl-rhel8-zseries-gcc-test-latest-server-auth batchtime: 1440 - name: sasl-cyrus-openssl-rhel80-gcc-compile - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-compile - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-4.4-server-auth - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-5.0-server-auth - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-6.0-server-auth - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-7.0-server-auth - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-8.0-server-auth - - name: sasl-cyrus-openssl-ubuntu2004-arm64-gcc-test-latest-server-auth - - name: sasl-cyrus-openssl-ubuntu2004-clang-compile - name: sasl-cyrus-openssl-ubuntu2204-clang-12-compile - name: sasl-cyrus-openssl-ubuntu2204-gcc-compile - name: sasl-cyrus-openssl-ubuntu2404-clang-14-compile diff --git a/.evergreen/legacy_config_generator/evergreen_config_lib/functions.py b/.evergreen/legacy_config_generator/evergreen_config_lib/functions.py index b8175fcdd1d..f0fcedc7439 100644 --- a/.evergreen/legacy_config_generator/evergreen_config_lib/functions.py +++ b/.evergreen/legacy_config_generator/evergreen_config_lib/functions.py @@ -111,11 +111,10 @@ export BUILD_SAMPLE_WITH_CMAKE=${BUILD_SAMPLE_WITH_CMAKE} export ENABLE_SSL=${ENABLE_SSL} export ENABLE_SNAPPY=${ENABLE_SNAPPY} - PATH="${UV_INSTALL_DIR}:$PATH" LINK_STATIC= .evergreen/scripts/link-sample-program.sh LINK_STATIC=1 .evergreen/scripts/link-sample-program.sh """, - include_expansions_in_env=['distro_id', 'UV_INSTALL_DIR'], + include_expansions_in_env=['distro_id'], ), ), ), @@ -126,13 +125,12 @@ r""" # Compile a program that links dynamically or statically to libbson, # using variables from pkg-config or from CMake's find_package command. - PATH="${UV_INSTALL_DIR}:$PATH" BUILD_SAMPLE_WITH_CMAKE= LINK_STATIC= .evergreen/scripts/link-sample-program-bson.sh BUILD_SAMPLE_WITH_CMAKE= LINK_STATIC=1 .evergreen/scripts/link-sample-program-bson.sh BUILD_SAMPLE_WITH_CMAKE=1 LINK_STATIC= .evergreen/scripts/link-sample-program-bson.sh BUILD_SAMPLE_WITH_CMAKE=1 LINK_STATIC=1 .evergreen/scripts/link-sample-program-bson.sh """, - include_expansions_in_env=['distro_id', 'UV_INSTALL_DIR'], + include_expansions_in_env=['distro_id'], ), ), ), @@ -146,7 +144,6 @@ # find_package command. export ENABLE_SSL=${ENABLE_SSL} export ENABLE_SNAPPY=${ENABLE_SNAPPY} - PATH="${UV_INSTALL_DIR}:$PATH" LINK_STATIC= cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc.cmd LINK_STATIC=1 cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc.cmd """, @@ -160,7 +157,6 @@ r""" # Build libmongoc with CMake and compile a program that links # dynamically to it, using variables from pkg-config.exe. - PATH="${UV_INSTALL_DIR}:$PATH" cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-mingw.cmd """, ) @@ -176,7 +172,6 @@ # find_package command. export ENABLE_SSL=${ENABLE_SSL} export ENABLE_SNAPPY=${ENABLE_SNAPPY} - PATH="${UV_INSTALL_DIR}:$PATH" LINK_STATIC= cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc-bson.cmd LINK_STATIC=1 cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-msvc-bson.cmd """, @@ -190,7 +185,6 @@ r""" # Build libmongoc with CMake and compile a program that links # dynamically to it, using variables from pkg-config.exe. - PATH="${UV_INSTALL_DIR}:$PATH" cmd.exe /c .\\.evergreen\\scripts\\link-sample-program-mingw-bson.cmd """, ) diff --git a/.evergreen/legacy_config_generator/evergreen_config_lib/tasks.py b/.evergreen/legacy_config_generator/evergreen_config_lib/tasks.py index 8a1da6aaa51..6ba26d5d1c4 100644 --- a/.evergreen/legacy_config_generator/evergreen_config_lib/tasks.py +++ b/.evergreen/legacy_config_generator/evergreen_config_lib/tasks.py @@ -28,7 +28,6 @@ ) from packaging.version import Version -from config_generator.components.funcs.install_uv import InstallUV from evergreen_config_lib import shell_mongoc ToggleStr = Literal['OFF', 'ON'] @@ -122,7 +121,6 @@ def to_dict(self): script += ' .evergreen/scripts/compile.sh' - commands.append(func(InstallUV.name)) commands.append(shell_mongoc(script, add_expansions_to_env=True)) commands.append(func('upload-build')) commands.extend(self.suffix_commands) @@ -169,8 +167,6 @@ def __init__( else: bootstrap_commands = [] - bootstrap_commands += [func(InstallUV.name)] - super().__init__( task_name=task_name, commands=bootstrap_commands + list(suffix_commands), @@ -285,10 +281,9 @@ def __init__( NamedTask( 'install-libmongoc-after-libbson', commands=[ - func(InstallUV.name), shell_mongoc( '.evergreen/scripts/install-libmongoc-after-libbson.sh', - include_expansions_in_env=['distro_id', 'UV_INSTALL_DIR'], + include_expansions_in_env=['distro_id'], ), ], ), @@ -327,7 +322,6 @@ def cse(self) -> bool: return bool(self.settings.cse) def post_commands(self) -> Iterable[Value]: - yield func(InstallUV.name) if self.cse: yield func( 'compile coverage', @@ -469,7 +463,6 @@ def post_commands(self) -> Iterable[Value]: yield func('fetch-build', BUILD_NAME=self.build_task_name) yield func('fetch-det') yield func('bootstrap-mongo-orchestration', AUTH='noauth', SSL='nossl') - yield func(InstallUV.name) yield func('run-simple-http-server') yield func('run-tests', AUTH='noauth', SSL='nossl', COMPRESSORS=','.join(self._compressor_list())) @@ -517,7 +510,6 @@ def pre_commands(self) -> Iterable[Value]: yield func('fetch-build', BUILD_NAME=self._main_dep) yield func('fetch-det') yield func('bootstrap-mongo-orchestration', MONGODB_VERSION=self._version, TOPOLOGY=self._topo) - yield func(InstallUV.name) yield func('run-simple-http-server') yield func('run-tests', URI=self._uri) @@ -586,7 +578,6 @@ def pre_commands(self) -> Iterable[Value]: 'authentication-tests-asan-memcheck', tags=['authentication-tests', 'asan'], commands=[ - func(InstallUV.name), shell_mongoc( """ env SANITIZE=address SASL=AUTO SSL=OPENSSL .evergreen/scripts/compile.sh @@ -618,7 +609,6 @@ def pre_commands(self) -> Iterable[Value]: MONGODB_VERSION=server_version, REQUIRE_API_VERSION='true', ), - func(InstallUV.name), func('run-simple-http-server'), func('run-tests', MONGODB_API_VERSION=1, AUTH='auth', SSL='ssl'), ], @@ -637,7 +627,6 @@ def pre_commands(self) -> Iterable[Value]: MONGODB_VERSION=server_version, ORCHESTRATION_FILE='versioned-api-testing.json', ), - func(InstallUV.name), func('run-simple-http-server'), func('run-tests', MONGODB_API_VERSION=1, AUTH='noauth', SSL='nossl'), ], @@ -668,7 +657,6 @@ def post_commands(self) -> Iterable[Value]: func('fetch-build', BUILD_NAME='debug-compile-nosasl-nossl'), func('fetch-det'), func('bootstrap-mongo-orchestration'), - func(InstallUV.name), func('run-simple-http-server'), func( 'run-tests', @@ -706,18 +694,22 @@ def do_is_valid_combination(self) -> bool: aws_compile_task = NamedTask( 'debug-compile-aws', commands=[ - func(InstallUV.name), shell_mongoc( """ set -o errexit set -o pipefail - PATH="${UV_INSTALL_DIR}:$PATH" - # Use ccache if able. . .evergreen/scripts/find-ccache.sh find_ccache_and_export_vars "$(pwd)" || true + # Ubuntu 20.04 does not have uv. + if ! command -v uv >/dev/null; then + prefix="$(mktemp -d)" + python3 -m pip install --prefix "$prefix" uv + PATH="$prefix/bin:$PATH" + fi + # Compile test-awsauth. Disable unnecessary dependencies since test-awsauth is copied to a remote Ubuntu 20.04 ECS cluster for testing, which may not have all dependent libraries. uvx cmake -DENABLE_TRACING=ON -DENABLE_SASL=OFF -DENABLE_SNAPPY=OFF -DENABLE_ZSTD=OFF -DENABLE_CLIENT_SIDE_ENCRYPTION=OFF -S . -B cmake-build uvx cmake --build cmake-build --target test-awsauth diff --git a/.evergreen/legacy_config_generator/evergreen_config_lib/testazurekms.py b/.evergreen/legacy_config_generator/evergreen_config_lib/testazurekms.py index 4d34fb16699..638b240233b 100644 --- a/.evergreen/legacy_config_generator/evergreen_config_lib/testazurekms.py +++ b/.evergreen/legacy_config_generator/evergreen_config_lib/testazurekms.py @@ -23,15 +23,12 @@ from evergreen_config_generator.tasks import NamedTask from evergreen_config_generator.variants import Variant -from config_generator.components.funcs.install_uv import InstallUV - def _create_tasks(): # passtask is expected to run on a remote Azure VM and succeed at obtaining credentials. passtask = NamedTask(task_name='testazurekms-task') passtask.commands = [ func('fetch-source'), - func(InstallUV.name), shell_exec( r""" echo "Building test-azurekms ... begin" @@ -76,7 +73,6 @@ def _create_tasks(): failtask = NamedTask(task_name='testazurekms-fail-task') failtask.commands = [ func('fetch-source'), - func(InstallUV.name), shell_exec( r""" pushd mongoc diff --git a/.evergreen/legacy_config_generator/evergreen_config_lib/testgcpkms.py b/.evergreen/legacy_config_generator/evergreen_config_lib/testgcpkms.py index 1790636fac9..0eaf7271398 100644 --- a/.evergreen/legacy_config_generator/evergreen_config_lib/testgcpkms.py +++ b/.evergreen/legacy_config_generator/evergreen_config_lib/testgcpkms.py @@ -22,15 +22,12 @@ from evergreen_config_generator.tasks import NamedTask from evergreen_config_generator.variants import Variant -from config_generator.components.funcs.install_uv import InstallUV - def _create_tasks(): passtask = NamedTask( task_name='testgcpkms-task', commands=[ func('fetch-source'), - func(InstallUV.name), shell_exec( r""" echo "Building test-gcpkms ... begin" @@ -72,7 +69,6 @@ def _create_tasks(): failtask = NamedTask( task_name='testgcpkms-fail-task', commands=[ - func(InstallUV.name), shell_exec( r""" pushd mongoc @@ -99,8 +95,7 @@ def _create_variant(): return Variant( name='testgcpkms-variant', display_name='GCP KMS', - # GCP Virtual Machine created is Debian 11. - run_on='debian11-small', + run_on='debian12-small', # GCP Virtual Machine is actually Debian 11. tasks=['testgcpkms_task_group', 'testgcpkms-fail-task'], batchtime=20160, ) # Use a batchtime of 14 days as suggested by the CSFLE test README diff --git a/.evergreen/legacy_config_generator/evergreen_config_lib/variants.py b/.evergreen/legacy_config_generator/evergreen_config_lib/variants.py index 1b1b7a67692..b6984d20082 100644 --- a/.evergreen/legacy_config_generator/evergreen_config_lib/variants.py +++ b/.evergreen/legacy_config_generator/evergreen_config_lib/variants.py @@ -33,7 +33,7 @@ def days(n: int) -> int: Variant( 'abi-compliance-check', 'ABI Compliance Check', - ['ubuntu2004-small', 'ubuntu2004-medium', 'ubuntu2004-large'], + ['ubuntu2204-small', 'ubuntu2204-medium', 'ubuntu2204-large'], ['abi-compliance-check'], ), Variant( @@ -55,7 +55,7 @@ def days(n: int) -> int: OD([('name', 'link-with-cmake-windows-ssl'), ('distros', ['windows-vsCurrent-large'])]), OD([('name', 'link-with-cmake-windows-snappy'), ('distros', ['windows-vsCurrent-large'])]), OD([('name', 'link-with-cmake-mingw'), ('distros', ['windows-vsCurrent-large'])]), - OD([('name', 'link-with-pkg-config'), ('distros', ['ubuntu2004-test'])]), + OD([('name', 'link-with-pkg-config'), ('distros', ['ubuntu2204-test'])]), OD([('name', 'link-with-pkg-config-mac'), ('distros', ['macos-14-arm64'])]), 'link-with-pkg-config-ssl', 'link-with-bson', @@ -73,28 +73,16 @@ def days(n: int) -> int: tags=['pr-merge-gate'], ), Variant( - 'clang37', - 'clang 3.7 (Archlinux)', - 'archlinux-test', - [ - 'release-compile', - 'debug-compile-sasl-openssl', - 'debug-compile-nosasl-openssl', - '.authentication-tests .openssl', - ], - {'CC': 'clang'}, - ), - Variant( - 'clang100-i686', - 'clang 10.0 (i686) (Ubuntu 20.04)', - 'ubuntu2004-test', + 'clang12-i686', + 'Clang 12 (i686) (Ubuntu 22.04)', + 'ubuntu2204-large', [ 'release-compile', 'debug-compile-nosasl-nossl', '.debug-compile !.sspi .nossl .nosasl', '.latest .nossl .nosasl', ], - {'CC': 'clang', 'MARCH': 'i686'}, + {'CC': 'clang-12', 'MARCH': 'i686'}, ), Variant( 'gcc82rhel', @@ -113,23 +101,23 @@ def days(n: int) -> int: {'CC': 'gcc'}, ), Variant( - 'gcc102', - 'GCC 10.2 (Debian 11.0)', - 'debian11-large', + 'gcc12', + 'GCC 12 (Debian 12.0)', + 'debian12-large', ['release-compile', 'debug-compile-nosasl-nossl', '.latest .nossl'], {'CC': 'gcc'}, ), Variant( - 'gcc94-i686', - 'GCC 9.4 (i686) (Ubuntu 20.04)', - 'ubuntu2004-test', + 'gcc11-i686', + 'GCC 11 (i686) (Ubuntu 22.04)', + 'ubuntu2204-large', ['release-compile', 'debug-compile-nosasl-nossl', '.latest .nossl .nosasl'], {'CC': 'gcc', 'MARCH': 'i686'}, ), Variant( - 'gcc94', - 'GCC 9.4 (Ubuntu 20.04)', - 'ubuntu2004-test', + 'gcc13', + 'GCC 13 (Ubuntu 24.04)', + 'ubuntu2404-large', [ '.compression !.zstd', 'debug-compile-nosrv', @@ -236,9 +224,9 @@ def days(n: int) -> int: batchtime=days(1), ), Variant( - 'arm-ubuntu2004', - '*ARM (aarch64) (Ubuntu 20.04)', - 'ubuntu2004-arm64-large', + 'arm-ubuntu2204', + '*ARM (aarch64) (Ubuntu 22.04)', + 'ubuntu2204-arm64-large', [ '.compression !.snappy !.zstd', 'release-compile', @@ -298,7 +286,7 @@ def days(n: int) -> int: Variant( 'ocsp', 'OCSP tests', - 'ubuntu2004-small', + 'ubuntu2204-small', [ OD([('name', 'debug-compile-nosasl-openssl')]), OD([('name', 'debug-compile-nosasl-darwinssl'), ('distros', ['macos-14-arm64'])]), @@ -335,11 +323,10 @@ def days(n: int) -> int: {}, tags=['pr-merge-gate'], ), - # Test 7.0+ with Ubuntu 20.04+ since MongoDB 7.0 no longer ships binaries for Ubuntu 18.04. Variant( - 'versioned-api-ubuntu2004', - 'Versioned API Tests (Ubuntu 20.04)', - 'ubuntu2004-test', + 'versioned-api', + 'Versioned API Tests', + 'rhel8-latest-large', [ 'debug-compile-nosasl-openssl', 'debug-compile-nosasl-nossl', diff --git a/.evergreen/scripts/compile-std.sh b/.evergreen/scripts/compile-std.sh index 2a55fb69d1d..a628982ddd6 100755 --- a/.evergreen/scripts/compile-std.sh +++ b/.evergreen/scripts/compile-std.sh @@ -7,8 +7,6 @@ set -o pipefail . "$(dirname "${BASH_SOURCE[0]}")/env-var-utils.sh" . "$(dirname "${BASH_SOURCE[0]}")/use-tools.sh" paths -check_var_req UV_INSTALL_DIR - check_var_opt CC check_var_opt CMAKE_GENERATOR "Ninja" check_var_opt CMAKE_GENERATOR_PLATFORM diff --git a/.evergreen/scripts/compile-test-azurekms.sh b/.evergreen/scripts/compile-test-azurekms.sh index b1da4a9a49c..c28cde9f4ba 100755 --- a/.evergreen/scripts/compile-test-azurekms.sh +++ b/.evergreen/scripts/compile-test-azurekms.sh @@ -7,6 +7,13 @@ set -o nounset ROOT=$(pwd) INSTALL_DIR=$ROOT/install +# Ubuntu 20.04 does not have uv. +if ! command -v uv >/dev/null; then + prefix="$(mktemp -d)" + python3 -m pip install --prefix "$prefix" uv + PATH="$prefix/bin:$PATH" +fi + . .evergreen/scripts/install-build-tools.sh install_build_tools export CMAKE_GENERATOR="Ninja" diff --git a/.evergreen/scripts/compile-unix.sh b/.evergreen/scripts/compile-unix.sh index 4be89742ae9..375cc249095 100755 --- a/.evergreen/scripts/compile-unix.sh +++ b/.evergreen/scripts/compile-unix.sh @@ -7,8 +7,6 @@ set -o pipefail . "$(dirname "${BASH_SOURCE[0]}")/env-var-utils.sh" . "$(dirname "${BASH_SOURCE[0]}")/use-tools.sh" paths -check_var_req UV_INSTALL_DIR - check_var_opt C_STD_VERSION # CMake default: 99. check_var_opt CC check_var_opt CMAKE_GENERATOR "Ninja" @@ -96,6 +94,12 @@ configure_flags_append_if_not_null SSL "-DENABLE_SSL=${SSL:-}" if [[ "${COVERAGE}" == "ON" ]]; then configure_flags_append "-DENABLE_COVERAGE=ON" "-DENABLE_EXAMPLES=OFF" + + # Ensure no pre-existing and outdated coverage data is present prior to execution. + find . -name '*.gcno' -o -name '*.gcda' -exec rm -f {} \+ + + # Avoid confusing gcov with potentially-mismatched source files. + export CCACHE_DISABLE=1 fi declare -a flags diff --git a/.evergreen/scripts/compile-windows.sh b/.evergreen/scripts/compile-windows.sh index a3254507187..4b581916bfc 100755 --- a/.evergreen/scripts/compile-windows.sh +++ b/.evergreen/scripts/compile-windows.sh @@ -9,8 +9,6 @@ set -o igncr # Ignore CR in this script for Windows compatibility. . "$(dirname "${BASH_SOURCE[0]}")/env-var-utils.sh" . "$(dirname "${BASH_SOURCE[0]}")/use-tools.sh" paths -check_var_req UV_INSTALL_DIR - check_var_opt C_STD_VERSION # CMake default: 99. check_var_opt CC check_var_opt CMAKE_GENERATOR diff --git a/.evergreen/scripts/install-build-tools.sh b/.evergreen/scripts/install-build-tools.sh index d9fd9c894f6..1edf3e9cb22 100755 --- a/.evergreen/scripts/install-build-tools.sh +++ b/.evergreen/scripts/install-build-tools.sh @@ -4,7 +4,7 @@ export_uv_tool_dirs() { UV_TOOL_DIR="$(pwd)/uv-tool" || return UV_TOOL_BIN_DIR="$(pwd)/uv-bin" || return - PATH="${UV_TOOL_BIN_DIR:?}:${UV_INSTALL_DIR:?}:${PATH:-}" + PATH="${UV_TOOL_BIN_DIR:?}:${PATH:-}" # Windows requires "C:\path\to\dir" instead of "/cygdrive/c/path/to/dir" (PATH is automatically converted). if [[ "${OSTYPE:?}" == cygwin ]]; then diff --git a/.evergreen/scripts/link-sample-program.sh b/.evergreen/scripts/link-sample-program.sh index 8c600cf9cd5..185552f20c4 100755 --- a/.evergreen/scripts/link-sample-program.sh +++ b/.evergreen/scripts/link-sample-program.sh @@ -10,8 +10,6 @@ set -o errexit # Exit the script with error if any of the commands fail echo "LINK_STATIC=$LINK_STATIC BUILD_SAMPLE_WITH_CMAKE=$BUILD_SAMPLE_WITH_CMAKE" -: "${UV_INSTALL_DIR:?}" - DIR=$(dirname $0) . "${DIR:?}/install-build-tools.sh" diff --git a/.evergreen/scripts/openssl-compat-check.sh b/.evergreen/scripts/openssl-compat-check.sh index dbddd811eab..b052831a8ef 100755 --- a/.evergreen/scripts/openssl-compat-check.sh +++ b/.evergreen/scripts/openssl-compat-check.sh @@ -10,8 +10,6 @@ set -o pipefail check_var_req OPENSSL_VERSION check_var_opt OPENSSL_USE_STATIC_LIBS -check_var_req UV_INSTALL_DIR - declare script_dir script_dir="$(to_absolute "$(dirname "${BASH_SOURCE[0]}")")" diff --git a/.evergreen/scripts/patch-uv-installer.sh b/.evergreen/scripts/patch-uv-installer.sh deleted file mode 100755 index 046263b3e26..00000000000 --- a/.evergreen/scripts/patch-uv-installer.sh +++ /dev/null @@ -1,83 +0,0 @@ -#!/usr/bin/env bash - -# A convenient helper function to download the list of checksums for the specified release. -# The output of this function should be copy-pasted as-is into the array of checksums below. -download_checksums() { - declare version - version="${1:?"usage: download_checkums "}" - - for checksum in $(curl -sSL "https://github.com/astral-sh/uv/releases/download/${version:?}/dist-manifest.json" | jq -r '.releases[0].artifacts.[] | select(startswith("uv-") and (endswith(".zip.sha256") or endswith(".tar.gz.sha256")))'); do - curl -sSL "https://github.com/astral-sh/uv/releases/download/${version:?}/${checksum:?}" - done -} - -# Patches the specified uv-installer.sh script with checksums. -patch_uv_installer() { - declare script version - script="${1:?"usage: patch_uv_installer "}" - version="${2:?"usage: patch_uv_installer "}" - - [[ -f "${script:?}" ]] || { - echo "${script:?} does not exist?" - return 1 - } >&2 - - command -v perl >/dev/null || return - - # Ensure the uv-installer.sh script's version matches the expected version. - app_version="$(perl -lne 'print $1 if m|APP_VERSION="([^"]+)"|' "${script:?}")" || return - - [[ "${app_version:?}" == "${version:?}" ]] || { - echo "${script:?} version ${app_version:?} does not match expected version ${version:?}" - return 1 - } >&2 - - # The output of the `download_checksums` helper function. - checksums=( - c3eddc0e314abb8588f1cdf312f0b060d79e1906eff8f43b64a05ff5e2727872 uv-aarch64-apple-darwin.tar.gz - 5b3a80d385d26fb9f63579a0712d020ec413ada38a6900e88fdfd41b58795b7e *uv-aarch64-pc-windows-msvc.zip - 3bb77b764618f65a969da063d1c4a507d8de5360ca2858f771cab109fa879a4d uv-aarch64-unknown-linux-gnu.tar.gz - 40ba6e62de35820e8460eacee2b5b8f4add70a834d3859f7a60cdfc6b19ab599 uv-aarch64-unknown-linux-musl.tar.gz - f108a49a17b0700d7121b0215575f96c46a203774ed80ef40544005d7af74a67 uv-arm-unknown-linux-musleabihf.tar.gz - 730d8ef57f221ecc572d47b227ecbd8261be08157efb351311f7bc1f6c1c944a uv-armv7-unknown-linux-gnueabihf.tar.gz - b78dacab7c2fb352301d8997c0c705c3959a4e44d7b3afe670aee2397a2c9ab3 uv-armv7-unknown-linux-musleabihf.tar.gz - 08482edef8b077e12e73f76e6b4bb0300c054b8009cfac5cc354297f47d24623 *uv-i686-pc-windows-msvc.zip - 0ce384911d4af9007576ceba2557c5d474a953ced34602ee4e09bd888cee13c0 uv-i686-unknown-linux-gnu.tar.gz - b6462dc8190c7a1eafa74287d8ff213764baa49e098aeeb522fa479d29e1c0bf uv-i686-unknown-linux-musl.tar.gz - 9a8e8a8927df9fa39af79214ab1acfc227dba9d9e690a424cef1dc17296161a8 uv-powerpc64-unknown-linux-gnu.tar.gz - 4880a8e2ba5086e7ed4bd3aecfdae5e353da569ddaac02cd3db598b4c8e77193 uv-powerpc64le-unknown-linux-gnu.tar.gz - 0cd68055cedbc5b1194e7e7ab2b35ac7aa1d835c586fb3778c7acb0e8a8ac822 uv-riscv64gc-unknown-linux-gnu.tar.gz - 8cc2e70bee35c9e437c2308f130b79acc0d7c43e710296990ed76e702e220912 uv-s390x-unknown-linux-gnu.tar.gz - b799253441726351bc60c2e91254a821001e5e2e22a0e2b077d8983f583e8139 uv-x86_64-apple-darwin.tar.gz - 60870fa18d438737088e533ed06617549e42531c522cc9a8fe4455d8e745dc29 *uv-x86_64-pc-windows-msvc.zip - 8ca3db7b2a3199171cfc0870be1f819cb853ddcec29a5fa28dae30278922b7ba uv-x86_64-unknown-linux-gnu.tar.gz - 38ade73396b48fce89d9d1cb8a7e8f02b6e18a2d87467525ee8fb7e09899f70d uv-x86_64-unknown-linux-musl.tar.gz - ) - - # Substitution: - # local _checksum_value - # -> - # local _checksum_value="sha256" - perl -i'' -lpe "s|local _checksum_style$|local _checksum_style=\"sha256\"|" "${script:?}" || return - - # Substitution (for each checksum + artifact in the checksums array): - # case "$_artifact_name" in - # ... - # "") - # ... - # esac - # -> - # case "$_artifact_name" in - # ... - # "") _checksum_value="" - # ... - # esac - for ((i = 0; i < "${#checksums[@]}"; i += 2)); do - declare checksum artifact - checksum="${checksums[i]:?}" - artifact="${checksums[i + 1]:?}" - - [[ "${artifact:?}" =~ ^\* ]] && artifact="${artifact:1}" - perl -i'' -lpe "s|(\"${artifact:?}\"\))|\$1 _checksum_value=\"${checksum:?}\"|" "${script:?}" || return - done -} diff --git a/.evergreen/scripts/run-auth-tests.sh b/.evergreen/scripts/run-auth-tests.sh index 7cd4de5a36b..dbe2020e8ec 100755 --- a/.evergreen/scripts/run-auth-tests.sh +++ b/.evergreen/scripts/run-auth-tests.sh @@ -112,8 +112,7 @@ if [[ -d "${openssl_install_dir:?}" ]]; then LD_LIBRARY_PATH="${openssl_install_dir:?}/lib:${LD_LIBRARY_PATH:-}" export LD_LIBRARY_PATH - # Archlinux stores their trust list under /etc/ca-certificates/extracted/. - # Copy it into the custom OpenSSL installation's trust store. + # Import the system's trust list into the custom OpenSSL installation's trust store. declare pem_file="/etc/ca-certificates/extracted/tls-ca-bundle.pem" if [[ -f "${pem_file:?}" ]]; then cp -v "${pem_file:?}" "${openssl_install_dir:?}/ssl/cert.pem" @@ -135,6 +134,16 @@ elif command -v otool >/dev/null; then otool -L "${test_gssapi:?}" | grep "libssl" || true fi +# libkrb5.so.3 and libgssapi_krb5.so.2 and report memory leaks on Ubuntu. +if [[ -n "$(grep "Ubuntu" /etc/os-release)" ]]; then + supps="$(pwd)/.lsan-suppressions-ubuntu" + cat >|"${supps:?}" <, at your -# option. This file may not be copied, modified, or distributed -# except according to those terms. - -# This runs on Unix shells like bash/dash/ksh/zsh. It uses the common `local` -# extension. Note: Most shells limit `local` to 1 var per line, contra bash. - -# Some versions of ksh have no `local` keyword. Alias it to `typeset`, but -# beware this makes variables global with f()-style function syntax in ksh93. -# mksh has this alias by default. -has_local() { - # shellcheck disable=SC2034 # deliberately unused - local _has_local -} - -has_local 2>/dev/null || alias local=typeset - -set -u - -APP_NAME="uv" -APP_VERSION="0.8.13" -# Look for GitHub Enterprise-style base URL first -if [ -n "${UV_INSTALLER_GHE_BASE_URL:-}" ]; then - INSTALLER_BASE_URL="$UV_INSTALLER_GHE_BASE_URL" -else - INSTALLER_BASE_URL="${UV_INSTALLER_GITHUB_BASE_URL:-https://github.com}" -fi -if [ -n "${UV_DOWNLOAD_URL:-}" ]; then - ARTIFACT_DOWNLOAD_URL="$UV_DOWNLOAD_URL" -elif [ -n "${INSTALLER_DOWNLOAD_URL:-}" ]; then - ARTIFACT_DOWNLOAD_URL="$INSTALLER_DOWNLOAD_URL" -else - ARTIFACT_DOWNLOAD_URL="${INSTALLER_BASE_URL}/astral-sh/uv/releases/download/0.8.13" -fi -if [ -n "${UV_PRINT_VERBOSE:-}" ]; then - PRINT_VERBOSE="$UV_PRINT_VERBOSE" -else - PRINT_VERBOSE=${INSTALLER_PRINT_VERBOSE:-0} -fi -if [ -n "${UV_PRINT_QUIET:-}" ]; then - PRINT_QUIET="$UV_PRINT_QUIET" -else - PRINT_QUIET=${INSTALLER_PRINT_QUIET:-0} -fi -if [ -n "${UV_NO_MODIFY_PATH:-}" ]; then - NO_MODIFY_PATH="$UV_NO_MODIFY_PATH" -else - NO_MODIFY_PATH=${INSTALLER_NO_MODIFY_PATH:-0} -fi -if [ "${UV_DISABLE_UPDATE:-0}" = "1" ]; then - INSTALL_UPDATER=0 -else - INSTALL_UPDATER=1 -fi -UNMANAGED_INSTALL="${UV_UNMANAGED_INSTALL:-}" -if [ -n "${UNMANAGED_INSTALL}" ]; then - NO_MODIFY_PATH=1 - INSTALL_UPDATER=0 -fi -AUTH_TOKEN="${UV_GITHUB_TOKEN:-}" - -read -r RECEIPT <&2 - say_verbose " from $_url" 1>&2 - say_verbose " to $_file" 1>&2 - - ensure mkdir -p "$_dir" - - if ! downloader "$_url" "$_file"; then - say "failed to download $_url" - say "this may be a standard network error, but it may also indicate" - say "that $APP_NAME's release process is not working. When in doubt" - say "please feel free to open an issue!" - exit 1 - fi - - if [ -n "${_checksum_style:-}" ]; then - verify_checksum "$_file" "$_checksum_style" "$_checksum_value" - else - say "no checksums to verify" - fi - - # ...and then the updater, if it exists - if [ -n "$_updater_name" ] && [ "$INSTALL_UPDATER" = "1" ]; then - local _updater_url="$ARTIFACT_DOWNLOAD_URL/$_updater_name" - # This renames the artifact while doing the download, removing the - # target triple and leaving just the appname-update format - local _updater_file="$_dir/$APP_NAME-update" - - if ! downloader "$_updater_url" "$_updater_file"; then - say "failed to download $_updater_url" - say "this may be a standard network error, but it may also indicate" - say "that $APP_NAME's release process is not working. When in doubt" - say "please feel free to open an issue!" - exit 1 - fi - - # Add the updater to the list of binaries to install - _bins="$_bins $APP_NAME-update" - fi - - # unpack the archive - case "$_zip_ext" in - ".zip") - ensure unzip -q "$_file" -d "$_dir" - ;; - - ".tar."*) - ensure tar xf "$_file" --strip-components 1 -C "$_dir" - ;; - *) - err "unknown archive format: $_zip_ext" - ;; - esac - - install "$_dir" "$_bins" "$_libs" "$_staticlibs" "$_arch" "$@" - local _retval=$? - if [ "$_retval" != 0 ]; then - return "$_retval" - fi - - ignore rm -rf "$_dir" - - # Install the install receipt - if [ "$INSTALL_UPDATER" = "1" ]; then - if ! mkdir -p "$RECEIPT_HOME"; then - err "unable to create receipt directory at $RECEIPT_HOME" - else - echo "$RECEIPT" > "$RECEIPT_HOME/$APP_NAME-receipt.json" - # shellcheck disable=SC2320 - local _retval=$? - fi - else - local _retval=0 - fi - - return "$_retval" -} - -# Replaces $HOME with the variable name for display to the user, -# only if $HOME is defined. -replace_home() { - local _str="$1" - - if [ -n "${HOME:-}" ]; then - echo "$_str" | sed "s,$HOME,\$HOME," - else - echo "$_str" - fi -} - -json_binary_aliases() { - local _arch="$1" - - case "$_arch" in - "aarch64-apple-darwin") - echo '{}' - ;; - "aarch64-pc-windows-gnu") - echo '{}' - ;; - "aarch64-unknown-linux-gnu") - echo '{}' - ;; - "aarch64-unknown-linux-musl-dynamic") - echo '{}' - ;; - "aarch64-unknown-linux-musl-static") - echo '{}' - ;; - "arm-unknown-linux-gnueabihf") - echo '{}' - ;; - "arm-unknown-linux-musl-dynamiceabihf") - echo '{}' - ;; - "arm-unknown-linux-musl-staticeabihf") - echo '{}' - ;; - "armv7-unknown-linux-gnueabihf") - echo '{}' - ;; - "armv7-unknown-linux-musl-dynamiceabihf") - echo '{}' - ;; - "armv7-unknown-linux-musl-staticeabihf") - echo '{}' - ;; - "i686-pc-windows-gnu") - echo '{}' - ;; - "i686-unknown-linux-gnu") - echo '{}' - ;; - "i686-unknown-linux-musl-dynamic") - echo '{}' - ;; - "i686-unknown-linux-musl-static") - echo '{}' - ;; - "powerpc64-unknown-linux-gnu") - echo '{}' - ;; - "powerpc64le-unknown-linux-gnu") - echo '{}' - ;; - "riscv64gc-unknown-linux-gnu") - echo '{}' - ;; - "s390x-unknown-linux-gnu") - echo '{}' - ;; - "x86_64-apple-darwin") - echo '{}' - ;; - "x86_64-pc-windows-gnu") - echo '{}' - ;; - "x86_64-unknown-linux-gnu") - echo '{}' - ;; - "x86_64-unknown-linux-musl-dynamic") - echo '{}' - ;; - "x86_64-unknown-linux-musl-static") - echo '{}' - ;; - *) - echo '{}' - ;; - esac -} - -aliases_for_binary() { - local _bin="$1" - local _arch="$2" - - case "$_arch" in - "aarch64-apple-darwin") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "aarch64-pc-windows-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "aarch64-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "aarch64-unknown-linux-musl-dynamic") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "aarch64-unknown-linux-musl-static") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "arm-unknown-linux-gnueabihf") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "arm-unknown-linux-musl-dynamiceabihf") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "arm-unknown-linux-musl-staticeabihf") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "armv7-unknown-linux-gnueabihf") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "armv7-unknown-linux-musl-dynamiceabihf") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "armv7-unknown-linux-musl-staticeabihf") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "i686-pc-windows-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "i686-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "i686-unknown-linux-musl-dynamic") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "i686-unknown-linux-musl-static") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "powerpc64-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "powerpc64le-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "riscv64gc-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "s390x-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "x86_64-apple-darwin") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "x86_64-pc-windows-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "x86_64-unknown-linux-gnu") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "x86_64-unknown-linux-musl-dynamic") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - "x86_64-unknown-linux-musl-static") - case "$_bin" in - *) - echo "" - ;; - esac - ;; - *) - echo "" - ;; - esac -} - -select_archive_for_arch() { - local _true_arch="$1" - local _archive - - # try each archive, checking runtime conditions like libc versions - # accepting the first one that matches, as it's the best match - case "$_true_arch" in - "aarch64-apple-darwin") - _archive="uv-aarch64-apple-darwin.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-x86_64-apple-darwin.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "aarch64-pc-windows-gnu") - _archive="uv-aarch64-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "aarch64-pc-windows-msvc") - _archive="uv-aarch64-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-x86_64-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-i686-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "aarch64-unknown-linux-gnu") - _archive="uv-aarch64-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "28"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-aarch64-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "aarch64-unknown-linux-musl-dynamic") - _archive="uv-aarch64-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "aarch64-unknown-linux-musl-static") - _archive="uv-aarch64-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "arm-unknown-linux-gnueabihf") - _archive="uv-arm-unknown-linux-musleabihf.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "arm-unknown-linux-musl-dynamiceabihf") - _archive="uv-arm-unknown-linux-musleabihf.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "arm-unknown-linux-musl-staticeabihf") - _archive="uv-arm-unknown-linux-musleabihf.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "armv7-unknown-linux-gnueabihf") - _archive="uv-armv7-unknown-linux-gnueabihf.tar.gz" - if ! check_glibc "2" "17"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-armv7-unknown-linux-musleabihf.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "armv7-unknown-linux-musl-dynamiceabihf") - _archive="uv-armv7-unknown-linux-musleabihf.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "armv7-unknown-linux-musl-staticeabihf") - _archive="uv-armv7-unknown-linux-musleabihf.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "i686-pc-windows-gnu") - _archive="uv-i686-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "i686-pc-windows-msvc") - _archive="uv-i686-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "i686-unknown-linux-gnu") - _archive="uv-i686-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "17"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-i686-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "i686-unknown-linux-musl-dynamic") - _archive="uv-i686-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "i686-unknown-linux-musl-static") - _archive="uv-i686-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "powerpc64-unknown-linux-gnu") - _archive="uv-powerpc64-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "17"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "powerpc64le-unknown-linux-gnu") - _archive="uv-powerpc64le-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "17"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "riscv64gc-unknown-linux-gnu") - _archive="uv-riscv64gc-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "31"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "s390x-unknown-linux-gnu") - _archive="uv-s390x-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "17"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "x86_64-apple-darwin") - _archive="uv-x86_64-apple-darwin.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "x86_64-pc-windows-gnu") - _archive="uv-x86_64-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "x86_64-pc-windows-msvc") - _archive="uv-x86_64-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-i686-pc-windows-msvc.zip" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "x86_64-unknown-linux-gnu") - _archive="uv-x86_64-unknown-linux-gnu.tar.gz" - if ! check_glibc "2" "17"; then - _archive="" - fi - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - _archive="uv-x86_64-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "x86_64-unknown-linux-musl-dynamic") - _archive="uv-x86_64-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - "x86_64-unknown-linux-musl-static") - _archive="uv-x86_64-unknown-linux-musl.tar.gz" - if [ -n "$_archive" ]; then - echo "$_archive" - return 0 - fi - ;; - *) - err "there isn't a download for your platform $_true_arch" - ;; - esac - err "no compatible downloads were found for your platform $_true_arch" -} - -check_glibc() { - local _min_glibc_major="$1" - local _min_glibc_series="$2" - - # Parsing version out from line 1 like: - # ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35 - _local_glibc="$(ldd --version | awk -F' ' '{ if (FNR<=1) print $NF }')" - - if [ "$(echo "${_local_glibc}" | awk -F. '{ print $1 }')" = "$_min_glibc_major" ] && [ "$(echo "${_local_glibc}" | awk -F. '{ print $2 }')" -ge "$_min_glibc_series" ]; then - return 0 - else - say "System glibc version (\`${_local_glibc}') is too old; checking alternatives" >&2 - return 1 - fi -} - -# See discussion of late-bound vs early-bound for why we use single-quotes with env vars -# shellcheck disable=SC2016 -install() { - # This code needs to both compute certain paths for itself to write to, and - # also write them to shell/rc files so that they can look them up to e.g. - # add them to PATH. This requires an active distinction between paths - # and expressions that can compute them. - # - # The distinction lies in when we want env-vars to be evaluated. For instance - # if we determine that we want to install to $HOME/.myapp, which do we add - # to e.g. $HOME/.profile: - # - # * early-bound: export PATH="/home/myuser/.myapp:$PATH" - # * late-bound: export PATH="$HOME/.myapp:$PATH" - # - # In this case most people would prefer the late-bound version, but in other - # cases the early-bound version might be a better idea. In particular when using - # other env-vars than $HOME, they are more likely to be only set temporarily - # for the duration of this install script, so it's more advisable to erase their - # existence with early-bounding. - # - # This distinction is handled by "double-quotes" (early) vs 'single-quotes' (late). - # - # However if we detect that "$SOME_VAR/..." is a subdir of $HOME, we try to rewrite - # it to be '$HOME/...' to get the best of both worlds. - # - # This script has a few different variants, the most complex one being the - # CARGO_HOME version which attempts to install things to Cargo's bin dir, - # potentially setting up a minimal version if the user hasn't ever installed Cargo. - # - # In this case we need to: - # - # * Install to $HOME/.cargo/bin/ - # * Create a shell script at $HOME/.cargo/env that: - # * Checks if $HOME/.cargo/bin/ is on PATH - # * and if not prepends it to PATH - # * Edits $INFERRED_HOME/.profile to run $HOME/.cargo/env (if the line doesn't exist) - # - # To do this we need these 4 values: - - # The actual path we're going to install to - local _install_dir - # The directory C dynamic/static libraries install to - local _lib_install_dir - # The install prefix we write to the receipt. - # For organized install methods like CargoHome, which have - # subdirectories, this is the root without `/bin`. For other - # methods, this is the same as `_install_dir`. - local _receipt_install_dir - # Path to the an shell script that adds install_dir to PATH - local _env_script_path - # Potentially-late-bound version of install_dir to write env_script - local _install_dir_expr - # Potentially-late-bound version of env_script_path to write to rcfiles like $HOME/.profile - local _env_script_path_expr - # Forces the install to occur at this path, not the default - local _force_install_dir - # Which install layout to use - "flat" or "hierarchical" - local _install_layout="unspecified" - # A list of binaries which are shadowed in the PATH - local _shadowed_bins="" - - # Check the newer app-specific variable before falling back - # to the older generic one - if [ -n "${UV_INSTALL_DIR:-}" ]; then - _force_install_dir="$UV_INSTALL_DIR" - _install_layout="flat" - elif [ -n "${CARGO_DIST_FORCE_INSTALL_DIR:-}" ]; then - _force_install_dir="$CARGO_DIST_FORCE_INSTALL_DIR" - _install_layout="flat" - elif [ -n "$UNMANAGED_INSTALL" ]; then - _force_install_dir="$UNMANAGED_INSTALL" - _install_layout="flat" - fi - - # Check if the install layout should be changed from `flat` to `cargo-home` - # for backwards compatible updates of applications that switched layouts. - if [ -n "${_force_install_dir:-}" ]; then - if [ "$_install_layout" = "flat" ]; then - # If the install directory is targeting the Cargo home directory, then - # we assume this application was previously installed that layout - if [ "$_force_install_dir" = "${CARGO_HOME:-${INFERRED_HOME:-}/.cargo}" ]; then - _install_layout="cargo-home" - fi - fi - fi - - # Before actually consulting the configured install strategy, see - # if we're overriding it. - if [ -n "${_force_install_dir:-}" ]; then - case "$_install_layout" in - "hierarchical") - _install_dir="$_force_install_dir/bin" - _lib_install_dir="$_force_install_dir/lib" - _receipt_install_dir="$_force_install_dir" - _env_script_path="$_force_install_dir/env" - _install_dir_expr="$(replace_home "$_force_install_dir/bin")" - _env_script_path_expr="$(replace_home "$_force_install_dir/env")" - ;; - "cargo-home") - _install_dir="$_force_install_dir/bin" - _lib_install_dir="$_force_install_dir/bin" - _receipt_install_dir="$_force_install_dir" - _env_script_path="$_force_install_dir/env" - _install_dir_expr="$(replace_home "$_force_install_dir/bin")" - _env_script_path_expr="$(replace_home "$_force_install_dir/env")" - ;; - "flat") - _install_dir="$_force_install_dir" - _lib_install_dir="$_force_install_dir" - _receipt_install_dir="$_install_dir" - _env_script_path="$_force_install_dir/env" - _install_dir_expr="$(replace_home "$_force_install_dir")" - _env_script_path_expr="$(replace_home "$_force_install_dir/env")" - ;; - *) - err "Unrecognized install layout: $_install_layout" - ;; - esac - fi - if [ -z "${_install_dir:-}" ]; then - _install_layout="flat" - # Install to $XDG_BIN_HOME - if [ -n "${XDG_BIN_HOME:-}" ]; then - _install_dir="$XDG_BIN_HOME" - _lib_install_dir="$_install_dir" - _receipt_install_dir="$_install_dir" - _env_script_path="$XDG_BIN_HOME/env" - _install_dir_expr="$(replace_home "$_install_dir")" - _env_script_path_expr="$(replace_home "$_env_script_path")" - fi - fi - if [ -z "${_install_dir:-}" ]; then - _install_layout="flat" - # Install to $XDG_DATA_HOME/../bin - if [ -n "${XDG_DATA_HOME:-}" ]; then - _install_dir="$XDG_DATA_HOME/../bin" - _lib_install_dir="$_install_dir" - _receipt_install_dir="$_install_dir" - _env_script_path="$XDG_DATA_HOME/../bin/env" - _install_dir_expr="$(replace_home "$_install_dir")" - _env_script_path_expr="$(replace_home "$_env_script_path")" - fi - fi - if [ -z "${_install_dir:-}" ]; then - _install_layout="flat" - # Install to $HOME/.local/bin - if [ -n "${INFERRED_HOME:-}" ]; then - _install_dir="$INFERRED_HOME/.local/bin" - _lib_install_dir="$INFERRED_HOME/.local/bin" - _receipt_install_dir="$_install_dir" - _env_script_path="$INFERRED_HOME/.local/bin/env" - _install_dir_expr="$INFERRED_HOME_EXPRESSION/.local/bin" - _env_script_path_expr="$INFERRED_HOME_EXPRESSION/.local/bin/env" - fi - fi - - if [ -z "$_install_dir_expr" ]; then - err "could not find a valid path to install to!" - fi - - # Identical to the sh version, just with a .fish file extension - # We place it down here to wait until it's been assigned in every - # path. - _fish_env_script_path="${_env_script_path}.fish" - _fish_env_script_path_expr="${_env_script_path_expr}.fish" - - # Replace the temporary cargo home with the calculated one - RECEIPT=$(echo "$RECEIPT" | sed "s,AXO_INSTALL_PREFIX,$_receipt_install_dir,") - # Also replace the aliases with the arch-specific one - RECEIPT=$(echo "$RECEIPT" | sed "s'\"binary_aliases\":{}'\"binary_aliases\":$(json_binary_aliases "$_arch")'") - # And replace the install layout - RECEIPT=$(echo "$RECEIPT" | sed "s'\"install_layout\":\"unspecified\"'\"install_layout\":\"$_install_layout\"'") - if [ "$NO_MODIFY_PATH" = "1" ]; then - RECEIPT=$(echo "$RECEIPT" | sed "s'\"modify_path\":true'\"modify_path\":false'") - fi - - say "installing to $_install_dir" - ensure mkdir -p "$_install_dir" - ensure mkdir -p "$_lib_install_dir" - - # copy all the binaries to the install dir - local _src_dir="$1" - local _bins="$2" - local _libs="$3" - local _staticlibs="$4" - local _arch="$5" - for _bin_name in $_bins; do - local _bin="$_src_dir/$_bin_name" - ensure mv "$_bin" "$_install_dir" - # unzip seems to need this chmod - ensure chmod +x "$_install_dir/$_bin_name" - for _dest in $(aliases_for_binary "$_bin_name" "$_arch"); do - ln -sf "$_install_dir/$_bin_name" "$_install_dir/$_dest" - done - say " $_bin_name" - done - # Like the above, but no aliases - for _lib_name in $_libs; do - local _lib="$_src_dir/$_lib_name" - ensure mv "$_lib" "$_lib_install_dir" - # unzip seems to need this chmod - ensure chmod +x "$_lib_install_dir/$_lib_name" - say " $_lib_name" - done - for _lib_name in $_staticlibs; do - local _lib="$_src_dir/$_lib_name" - ensure mv "$_lib" "$_lib_install_dir" - # unzip seems to need this chmod - ensure chmod +x "$_lib_install_dir/$_lib_name" - say " $_lib_name" - done - - say "everything's installed!" - - # Avoid modifying the users PATH if they are managing their PATH manually - case :$PATH: - in *:$_install_dir:*) NO_MODIFY_PATH=1 ;; - *) ;; - esac - - if [ "0" = "$NO_MODIFY_PATH" ]; then - add_install_dir_to_ci_path "$_install_dir" - add_install_dir_to_path "$_install_dir_expr" "$_env_script_path" "$_env_script_path_expr" ".profile" "sh" - exit1=$? - shotgun_install_dir_to_path "$_install_dir_expr" "$_env_script_path" "$_env_script_path_expr" ".profile .bashrc .bash_profile .bash_login" "sh" - exit2=$? - add_install_dir_to_path "$_install_dir_expr" "$_env_script_path" "$_env_script_path_expr" ".zshrc .zshenv" "sh" - exit3=$? - # This path may not exist by default - ensure mkdir -p "$INFERRED_HOME/.config/fish/conf.d" - exit4=$? - add_install_dir_to_path "$_install_dir_expr" "$_fish_env_script_path" "$_fish_env_script_path_expr" ".config/fish/conf.d/$APP_NAME.env.fish" "fish" - exit5=$? - - if [ "${exit1:-0}" = 1 ] || [ "${exit2:-0}" = 1 ] || [ "${exit3:-0}" = 1 ] || [ "${exit4:-0}" = 1 ] || [ "${exit5:-0}" = 1 ]; then - say "" - say "To add $_install_dir_expr to your PATH, either restart your shell or run:" - say "" - say " source $_env_script_path_expr (sh, bash, zsh)" - say " source $_fish_env_script_path_expr (fish)" - fi - fi - - _shadowed_bins="$(check_for_shadowed_bins "$_install_dir" "$_bins")" - if [ -n "$_shadowed_bins" ]; then - warn "The following commands are shadowed by other commands in your PATH:$_shadowed_bins" - fi -} - -check_for_shadowed_bins() { - local _install_dir="$1" - local _bins="$2" - local _shadow - - for _bin_name in $_bins; do - _shadow="$(command -v "$_bin_name")" - if [ -n "$_shadow" ] && [ "$_shadow" != "$_install_dir/$_bin_name" ]; then - _shadowed_bins="$_shadowed_bins $_bin_name" - fi - done - - echo "$_shadowed_bins" -} - -print_home_for_script() { - local script="$1" - - local _home - case "$script" in - # zsh has a special ZDOTDIR directory, which if set - # should be considered instead of $HOME - .zsh*) - if [ -n "${ZDOTDIR:-}" ]; then - _home="$ZDOTDIR" - else - _home="$INFERRED_HOME" - fi - ;; - *) - _home="$INFERRED_HOME" - ;; - esac - - echo "$_home" -} - -add_install_dir_to_ci_path() { - # Attempt to do CI-specific rituals to get the install-dir on PATH faster - local _install_dir="$1" - - # If GITHUB_PATH is present, then write install_dir to the file it refs. - # After each GitHub Action, the contents will be added to PATH. - # So if you put a curl | sh for this script in its own "run" step, - # the next step will have this dir on PATH. - # - # Note that GITHUB_PATH will not resolve any variables, so we in fact - # want to write install_dir and not install_dir_expr - if [ -n "${GITHUB_PATH:-}" ]; then - ensure echo "$_install_dir" >> "$GITHUB_PATH" - fi -} - -add_install_dir_to_path() { - # Edit rcfiles ($HOME/.profile) to add install_dir to $PATH - # - # We do this slightly indirectly by creating an "env" shell script which checks if install_dir - # is on $PATH already, and prepends it if not. The actual line we then add to rcfiles - # is to just source that script. This allows us to blast it into lots of different rcfiles and - # have it run multiple times without causing problems. It's also specifically compatible - # with the system rustup uses, so that we don't conflict with it. - local _install_dir_expr="$1" - local _env_script_path="$2" - local _env_script_path_expr="$3" - local _rcfiles="$4" - local _shell="$5" - - if [ -n "${INFERRED_HOME:-}" ]; then - local _target - local _home - - # Find the first file in the array that exists and choose - # that as our target to write to - for _rcfile_relative in $_rcfiles; do - _home="$(print_home_for_script "$_rcfile_relative")" - local _rcfile="$_home/$_rcfile_relative" - - if [ -f "$_rcfile" ]; then - _target="$_rcfile" - break - fi - done - - # If we didn't find anything, pick the first entry in the - # list as the default to create and write to - if [ -z "${_target:-}" ]; then - local _rcfile_relative - _rcfile_relative="$(echo "$_rcfiles" | awk '{ print $1 }')" - _home="$(print_home_for_script "$_rcfile_relative")" - _target="$_home/$_rcfile_relative" - fi - - # `source x` is an alias for `. x`, and the latter is more portable/actually-posix. - # This apparently comes up a lot on freebsd. It's easy enough to always add - # the more robust line to rcfiles, but when telling the user to apply the change - # to their current shell ". x" is pretty easy to misread/miscopy, so we use the - # prettier "source x" line there. Hopefully people with Weird Shells are aware - # this is a thing and know to tweak it (or just restart their shell). - local _robust_line=". \"$_env_script_path_expr\"" - local _pretty_line="source \"$_env_script_path_expr\"" - - # Add the env script if it doesn't already exist - if [ ! -f "$_env_script_path" ]; then - say_verbose "creating $_env_script_path" - if [ "$_shell" = "sh" ]; then - write_env_script_sh "$_install_dir_expr" "$_env_script_path" - else - write_env_script_fish "$_install_dir_expr" "$_env_script_path" - fi - else - say_verbose "$_env_script_path already exists" - fi - - # Check if the line is already in the rcfile - # grep: 0 if matched, 1 if no match, and 2 if an error occurred - # - # Ideally we could use quiet grep (-q), but that makes "match" and "error" - # have the same behaviour, when we want "no match" and "error" to be the same - # (on error we want to create the file, which >> conveniently does) - # - # We search for both kinds of line here just to do the right thing in more cases. - if ! grep -F "$_robust_line" "$_target" > /dev/null 2>/dev/null && \ - ! grep -F "$_pretty_line" "$_target" > /dev/null 2>/dev/null - then - # If the script now exists, add the line to source it to the rcfile - # (This will also create the rcfile if it doesn't exist) - if [ -f "$_env_script_path" ]; then - local _line - # Fish has deprecated `.` as an alias for `source` and - # it will be removed in a later version. - # https://fishshell.com/docs/current/cmds/source.html - # By contrast, `.` is the traditional syntax in sh and - # `source` isn't always supported in all circumstances. - if [ "$_shell" = "fish" ]; then - _line="$_pretty_line" - else - _line="$_robust_line" - fi - say_verbose "adding $_line to $_target" - # prepend an extra newline in case the user's file is missing a trailing one - ensure echo "" >> "$_target" - ensure echo "$_line" >> "$_target" - return 1 - fi - else - say_verbose "$_install_dir already on PATH" - fi - fi -} - -shotgun_install_dir_to_path() { - # Edit rcfiles ($HOME/.profile) to add install_dir to $PATH - # (Shotgun edition - write to all provided files that exist rather than just the first) - local _install_dir_expr="$1" - local _env_script_path="$2" - local _env_script_path_expr="$3" - local _rcfiles="$4" - local _shell="$5" - - if [ -n "${INFERRED_HOME:-}" ]; then - local _found=false - local _home - - for _rcfile_relative in $_rcfiles; do - _home="$(print_home_for_script "$_rcfile_relative")" - local _rcfile_abs="$_home/$_rcfile_relative" - - if [ -f "$_rcfile_abs" ]; then - _found=true - add_install_dir_to_path "$_install_dir_expr" "$_env_script_path" "$_env_script_path_expr" "$_rcfile_relative" "$_shell" - fi - done - - # Fall through to previous "create + write to first file in list" behavior - if [ "$_found" = false ]; then - add_install_dir_to_path "$_install_dir_expr" "$_env_script_path" "$_env_script_path_expr" "$_rcfiles" "$_shell" - fi - fi -} - -write_env_script_sh() { - # write this env script to the given path (this cat/EOF stuff is a "heredoc" string) - local _install_dir_expr="$1" - local _env_script_path="$2" - ensure cat < "$_env_script_path" -#!/bin/sh -# add binaries to PATH if they aren't added yet -# affix colons on either side of \$PATH to simplify matching -case ":\${PATH}:" in - *:"$_install_dir_expr":*) - ;; - *) - # Prepending path in case a system-installed binary needs to be overridden - export PATH="$_install_dir_expr:\$PATH" - ;; -esac -EOF -} - -write_env_script_fish() { - # write this env script to the given path (this cat/EOF stuff is a "heredoc" string) - local _install_dir_expr="$1" - local _env_script_path="$2" - ensure cat < "$_env_script_path" -if not contains "$_install_dir_expr" \$PATH - # Prepending path in case a system-installed binary needs to be overridden - set -x PATH "$_install_dir_expr" \$PATH -end -EOF -} - -get_current_exe() { - # Returns the executable used for system architecture detection - # This is only run on Linux - local _current_exe - if test -L /proc/self/exe ; then - _current_exe=/proc/self/exe - else - warn "Unable to find /proc/self/exe. System architecture detection might be inaccurate." - if test -n "$SHELL" ; then - _current_exe=$SHELL - else - need_cmd /bin/sh - _current_exe=/bin/sh - fi - warn "Falling back to $_current_exe." - fi - echo "$_current_exe" -} - -get_bitness() { - need_cmd head - # Architecture detection without dependencies beyond coreutils. - # ELF files start out "\x7fELF", and the following byte is - # 0x01 for 32-bit and - # 0x02 for 64-bit. - # The printf builtin on some shells like dash only supports octal - # escape sequences, so we use those. - local _current_exe=$1 - local _current_exe_head - _current_exe_head=$(head -c 5 "$_current_exe") - if [ "$_current_exe_head" = "$(printf '\177ELF\001')" ]; then - echo 32 - elif [ "$_current_exe_head" = "$(printf '\177ELF\002')" ]; then - echo 64 - else - err "unknown platform bitness" - fi -} - -is_host_amd64_elf() { - local _current_exe=$1 - - need_cmd head - need_cmd tail - # ELF e_machine detection without dependencies beyond coreutils. - # Two-byte field at offset 0x12 indicates the CPU, - # but we're interested in it being 0x3E to indicate amd64, or not that. - local _current_exe_machine - _current_exe_machine=$(head -c 19 "$_current_exe" | tail -c 1) - [ "$_current_exe_machine" = "$(printf '\076')" ] -} - -get_endianness() { - local _current_exe=$1 - local cputype=$2 - local suffix_eb=$3 - local suffix_el=$4 - - # detect endianness without od/hexdump, like get_bitness() does. - need_cmd head - need_cmd tail - - local _current_exe_endianness - _current_exe_endianness="$(head -c 6 "$_current_exe" | tail -c 1)" - if [ "$_current_exe_endianness" = "$(printf '\001')" ]; then - echo "${cputype}${suffix_el}" - elif [ "$_current_exe_endianness" = "$(printf '\002')" ]; then - echo "${cputype}${suffix_eb}" - else - err "unknown platform endianness" - fi -} - -# Detect the Linux/LoongArch UAPI flavor, with all errors being non-fatal. -# Returns 0 or 234 in case of successful detection, 1 otherwise (/tmp being -# noexec, or other causes). -check_loongarch_uapi() { - need_cmd base64 - - local _tmp - if ! _tmp="$(ensure mktemp)"; then - return 1 - fi - - # Minimal Linux/LoongArch UAPI detection, exiting with 0 in case of - # upstream ("new world") UAPI, and 234 (-EINVAL truncated) in case of - # old-world (as deployed on several early commercial Linux distributions - # for LoongArch). - # - # See https://gist.github.com/xen0n/5ee04aaa6cecc5c7794b9a0c3b65fc7f for - # source to this helper binary. - ignore base64 -d > "$_tmp" <&1 | grep -q 'musl'; then - _clibtype="musl-dynamic" - else - # Assume all other linuxes are glibc (even if wrong, static libc fallback will apply) - _clibtype="gnu" - fi - fi - - if [ "$_ostype" = Darwin ]; then - # Darwin `uname -m` can lie due to Rosetta shenanigans. If you manage to - # invoke a native shell binary and then a native uname binary, you can - # get the real answer, but that's hard to ensure, so instead we use - # `sysctl` (which doesn't lie) to check for the actual architecture. - if [ "$_cputype" = i386 ]; then - # Handling i386 compatibility mode in older macOS versions (<10.15) - # running on x86_64-based Macs. - # Starting from 10.15, macOS explicitly bans all i386 binaries from running. - # See: - - # Avoid `sysctl: unknown oid` stderr output and/or non-zero exit code. - if sysctl hw.optional.x86_64 2> /dev/null || true | grep -q ': 1'; then - _cputype=x86_64 - fi - elif [ "$_cputype" = x86_64 ]; then - # Handling x86-64 compatibility mode (a.k.a. Rosetta 2) - # in newer macOS versions (>=11) running on arm64-based Macs. - # Rosetta 2 is built exclusively for x86-64 and cannot run i386 binaries. - - # Avoid `sysctl: unknown oid` stderr output and/or non-zero exit code. - if sysctl hw.optional.arm64 2> /dev/null || true | grep -q ': 1'; then - _cputype=arm64 - fi - fi - fi - - if [ "$_ostype" = SunOS ]; then - # Both Solaris and illumos presently announce as "SunOS" in "uname -s" - # so use "uname -o" to disambiguate. We use the full path to the - # system uname in case the user has coreutils uname first in PATH, - # which has historically sometimes printed the wrong value here. - if [ "$(/usr/bin/uname -o)" = illumos ]; then - _ostype=illumos - fi - - # illumos systems have multi-arch userlands, and "uname -m" reports the - # machine hardware name; e.g., "i86pc" on both 32- and 64-bit x86 - # systems. Check for the native (widest) instruction set on the - # running kernel: - if [ "$_cputype" = i86pc ]; then - _cputype="$(isainfo -n)" - fi - fi - - local _current_exe - case "$_ostype" in - - Android) - _ostype=linux-android - ;; - - Linux) - _current_exe=$(get_current_exe) - _ostype=unknown-linux-$_clibtype - _bitness=$(get_bitness "$_current_exe") - ;; - - FreeBSD) - _ostype=unknown-freebsd - ;; - - NetBSD) - _ostype=unknown-netbsd - ;; - - DragonFly) - _ostype=unknown-dragonfly - ;; - - Darwin) - _ostype=apple-darwin - ;; - - illumos) - _ostype=unknown-illumos - ;; - - MINGW* | MSYS* | CYGWIN* | Windows_NT) - _ostype=pc-windows-gnu - ;; - - *) - err "unrecognized OS type: $_ostype" - ;; - - esac - - case "$_cputype" in - - i386 | i486 | i686 | i786 | x86) - _cputype=i686 - ;; - - xscale | arm) - _cputype=arm - if [ "$_ostype" = "linux-android" ]; then - _ostype=linux-androideabi - fi - ;; - - armv6l) - _cputype=arm - if [ "$_ostype" = "linux-android" ]; then - _ostype=linux-androideabi - else - _ostype="${_ostype}eabihf" - fi - ;; - - armv7l | armv8l) - _cputype=armv7 - if [ "$_ostype" = "linux-android" ]; then - _ostype=linux-androideabi - else - _ostype="${_ostype}eabihf" - fi - ;; - - aarch64 | arm64) - _cputype=aarch64 - ;; - - x86_64 | x86-64 | x64 | amd64) - _cputype=x86_64 - ;; - - mips) - _cputype=$(get_endianness "$_current_exe" mips '' el) - ;; - - mips64) - if [ "$_bitness" -eq 64 ]; then - # only n64 ABI is supported for now - _ostype="${_ostype}abi64" - _cputype=$(get_endianness "$_current_exe" mips64 '' el) - fi - ;; - - ppc) - _cputype=powerpc - ;; - - ppc64) - _cputype=powerpc64 - ;; - - ppc64le) - _cputype=powerpc64le - ;; - - s390x) - _cputype=s390x - ;; - riscv64) - _cputype=riscv64gc - ;; - loongarch64) - _cputype=loongarch64 - ensure_loongarch_uapi - ;; - *) - err "unknown CPU type: $_cputype" - - esac - - # Detect 64-bit linux with 32-bit userland - if [ "${_ostype}" = unknown-linux-gnu ] && [ "${_bitness}" -eq 32 ]; then - case $_cputype in - x86_64) - # 32-bit executable for amd64 = x32 - if is_host_amd64_elf "$_current_exe"; then { - err "x32 linux unsupported" - }; else - _cputype=i686 - fi - ;; - mips64) - _cputype=$(get_endianness "$_current_exe" mips '' el) - ;; - powerpc64) - _cputype=powerpc - ;; - aarch64) - _cputype=armv7 - if [ "$_ostype" = "linux-android" ]; then - _ostype=linux-androideabi - else - _ostype="${_ostype}eabihf" - fi - ;; - riscv64gc) - err "riscv64 with 32-bit userland unsupported" - ;; - esac - fi - - # Detect armv7 but without the CPU features Rust needs in that build, - # and fall back to arm. - if [ "$_ostype" = "unknown-linux-gnueabihf" ] && [ "$_cputype" = armv7 ]; then - if ! (ensure grep '^Features' /proc/cpuinfo | grep -E -q 'neon|simd') ; then - # Either `/proc/cpuinfo` is malformed or unavailable, or - # at least one processor does not have NEON (which is asimd on armv8+). - _cputype=arm - fi - fi - - _arch="${_cputype}-${_ostype}" - - RETVAL="$_arch" -} - -say() { - if [ "0" = "$PRINT_QUIET" ]; then - echo "$1" - fi -} - -say_verbose() { - if [ "1" = "$PRINT_VERBOSE" ]; then - echo "$1" - fi -} - -warn() { - if [ "0" = "$PRINT_QUIET" ]; then - local red - local reset - red=$(tput setaf 1 2>/dev/null || echo '') - reset=$(tput sgr0 2>/dev/null || echo '') - say "${red}WARN${reset}: $1" >&2 - fi -} - -err() { - if [ "0" = "$PRINT_QUIET" ]; then - local red - local reset - red=$(tput setaf 1 2>/dev/null || echo '') - reset=$(tput sgr0 2>/dev/null || echo '') - say "${red}ERROR${reset}: $1" >&2 - fi - exit 1 -} - -need_cmd() { - if ! check_cmd "$1" - then err "need '$1' (command not found)" - fi -} - -check_cmd() { - command -v "$1" > /dev/null 2>&1 - return $? -} - -assert_nz() { - if [ -z "$1" ]; then err "assert_nz $2"; fi -} - -# Run a command that should never fail. If the command fails execution -# will immediately terminate with an error showing the failing -# command. -ensure() { - if ! "$@"; then err "command failed: $*"; fi -} - -# This is just for indicating that commands' results are being -# intentionally ignored. Usually, because it's being executed -# as part of error handling. -ignore() { - "$@" -} - -# This wraps curl or wget. Try curl first, if not installed, -# use wget instead. -downloader() { - # Check if we have a broken snap curl - # https://github.com/boukendesho/curl-snap/issues/1 - _snap_curl=0 - if command -v curl > /dev/null 2>&1; then - _curl_path=$(command -v curl) - if echo "$_curl_path" | grep "/snap/" > /dev/null 2>&1; then - _snap_curl=1 - fi - fi - - # Check if we have a working (non-snap) curl - if check_cmd curl && [ "$_snap_curl" = "0" ] - then _dld=curl - # Try wget for both no curl and the broken snap curl - elif check_cmd wget - then _dld=wget - # If we can't fall back from broken snap curl to wget, report the broken snap curl - elif [ "$_snap_curl" = "1" ] - then - say "curl installed with snap cannot be used to install $APP_NAME" - say "due to missing permissions. Please uninstall it and" - say "reinstall curl with a different package manager (e.g., apt)." - say "See https://github.com/boukendesho/curl-snap/issues/1" - exit 1 - else _dld='curl or wget' # to be used in error message of need_cmd - fi - - if [ "$1" = --check ] - then need_cmd "$_dld" - elif [ "$_dld" = curl ]; then - if [ -n "${AUTH_TOKEN:-}" ]; then - curl -sSfL --header "Authorization: Bearer ${AUTH_TOKEN}" "$1" -o "$2" - else - curl -sSfL "$1" -o "$2" - fi - elif [ "$_dld" = wget ]; then - if [ -n "${AUTH_TOKEN:-}" ]; then - wget --header "Authorization: Bearer ${AUTH_TOKEN}" "$1" -O "$2" - else - wget "$1" -O "$2" - fi - else err "Unknown downloader" # should not reach here - fi -} - -verify_checksum() { - local _file="$1" - local _checksum_style="$2" - local _checksum_value="$3" - local _calculated_checksum - - if [ -z "$_checksum_value" ]; then - return 0 - fi - case "$_checksum_style" in - sha256) - if ! check_cmd sha256sum; then - say "skipping sha256 checksum verification (it requires the 'sha256sum' command)" - return 0 - fi - _calculated_checksum="$(sha256sum -b "$_file" | awk '{printf $1}')" - ;; - sha512) - if ! check_cmd sha512sum; then - say "skipping sha512 checksum verification (it requires the 'sha512sum' command)" - return 0 - fi - _calculated_checksum="$(sha512sum -b "$_file" | awk '{printf $1}')" - ;; - sha3-256) - if ! check_cmd openssl; then - say "skipping sha3-256 checksum verification (it requires the 'openssl' command)" - return 0 - fi - _calculated_checksum="$(openssl dgst -sha3-256 "$_file" | awk '{printf $NF}')" - ;; - sha3-512) - if ! check_cmd openssl; then - say "skipping sha3-512 checksum verification (it requires the 'openssl' command)" - return 0 - fi - _calculated_checksum="$(openssl dgst -sha3-512 "$_file" | awk '{printf $NF}')" - ;; - blake2s) - if ! check_cmd b2sum; then - say "skipping blake2s checksum verification (it requires the 'b2sum' command)" - return 0 - fi - # Test if we have official b2sum with blake2s support - local _well_known_blake2s_checksum="93314a61f470985a40f8da62df10ba0546dc5216e1d45847bf1dbaa42a0e97af" - local _test_blake2s - _test_blake2s="$(printf "can do blake2s" | b2sum -a blake2s | awk '{printf $1}')" || _test_blake2s="" - - if [ "X$_test_blake2s" = "X$_well_known_blake2s_checksum" ]; then - _calculated_checksum="$(b2sum -a blake2s "$_file" | awk '{printf $1}')" || _calculated_checksum="" - else - say "skipping blake2s checksum verification (installed b2sum doesn't support blake2s)" - return 0 - fi - ;; - blake2b) - if ! check_cmd b2sum; then - say "skipping blake2b checksum verification (it requires the 'b2sum' command)" - return 0 - fi - _calculated_checksum="$(b2sum "$_file" | awk '{printf $1}')" - ;; - false) - ;; - *) - say "skipping unknown checksum style: $_checksum_style" - return 0 - ;; - esac - - if [ "$_calculated_checksum" != "$_checksum_value" ]; then - err "checksum mismatch - want: $_checksum_value - got: $_calculated_checksum" - fi -} - -download_binary_and_run_installer "$@" || exit 1 diff --git a/CMakeLists.txt b/CMakeLists.txt index 4343a19442b..634c26446fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,6 +189,13 @@ add_compile_definitions(_MLIB_BUILD_CONFIG=$) if(ENABLE_COVERAGE) mongo_platform_link_options(--coverage) mongo_platform_compile_options($) + + include(CheckCCompilerFlag) + check_c_compiler_flag("-fprofile-update=prefer-atomic" mongo_c_driver_prefer_atomic) + if("$CACHE{mongo_c_driver_prefer_atomic}") + # Avoid "ERROR: Unexpected negative count" errors on some newer platforms. + mongo_platform_compile_options($) + endif() endif() # Enable multi-threading: